Detection rules › Sigma

HackTool - CrackMapExec File Indicators

Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects file creation events with filename patterns used by CrackMapExec.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003.001 OS Credential Dumping: LSASS Memory

Event coverage

ProviderEvent IDTitle
Sysmon11FileCreate

Stages and Predicates

Stage 1: selection_path

TargetFilename|startswith: 'C:\Windows\Temp\'

Stage 2: 1 of selection_names_str

or:
TargetFilename|endswith: '\msol.ps1'
TargetFilename|endswith: '\temp.ps1'

Stage 3: 1 of selection_names_re

or:
TargetFilename|re: '\\[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.txt$'
TargetFilename|re: '\\[a-zA-Z]{8}\.tmp$'

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
TargetFilenameends_with
  • \msol.ps1
  • \temp.ps1
TargetFilenameregex_match
  • \\[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.txt$
  • \\[a-zA-Z]{8}\.tmp$
TargetFilenamestarts_with
  • C:\Windows\Temp\ corpus 4 (sigma 4)