Detection rules › Sigma

HackTool - Certify Execution

Status
test
Severity
high
Log source
product windows, category process_creation
Author
pH-T (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects Certify a tool for Active Directory certificate abuse based on PE metadata characteristics and common command line arguments.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1649 Steal or Forge Authentication Certificates

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: HackTool - Certify Execution
id: 762f2482-ff21-4970-8939-0aa317a886bb
status: test
description: Detects Certify a tool for Active Directory certificate abuse based on PE metadata characteristics and common command line arguments.
references:
    - https://github.com/GhostPack/Certify
author: pH-T (Nextron Systems)
date: 2023-04-17
modified: 2023-04-25
tags:
    - attack.discovery
    - attack.credential-access
    - attack.t1649
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\Certify.exe'
        - OriginalFileName: 'Certify.exe'
        - Description|contains: 'Certify'
    selection_cli_commands:
        CommandLine|contains:
            - '.exe cas '
            - '.exe find '
            - '.exe pkiobjects '
            - '.exe request '
            - '.exe download '
    selection_cli_options:
        CommandLine|contains:
            - ' /vulnerable'
            - ' /template:'
            - ' /altname:'
            - ' /domain:'
            - ' /path:'
            - ' /ca:'
    condition: selection_img or all of selection_cli_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_img or all of selection_cli_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\Certify.exe'
    - OriginalFileName: 'Certify.exe'
    - Description|contains: 'Certify'

Stage 2: selection_cli_commands

selection_cli_commands:
    CommandLine|contains:
        - '.exe cas '
        - '.exe find '
        - '.exe pkiobjects '
        - '.exe request '
        - '.exe download '

Stage 3: selection_cli_options

selection_cli_options:
    CommandLine|contains:
        - ' /vulnerable'
        - ' /template:'
        - ' /altname:'
        - ' /domain:'
        - ' /path:'
        - ' /ca:'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • /altname:
  • /ca:
  • /domain:
  • /path:
  • /template:
  • /vulnerable
  • .exe cas
  • .exe download
  • .exe find
  • .exe pkiobjects
  • .exe request
Descriptionmatch
  • Certify
Imageends_with
  • \Certify.exe corpus 2 (sigma 2)
OriginalFileNameeq
  • Certify.exe