CmdID

CmdID / Rules / Windows

Potential Remote SquiblyTwo Technique Execution

A Sigma rule for process creation on Windows, by Markus Neis, Florian Roth, Swachchhanda Shrawan Poudel (Nextron Systems).

high 4 ATT&CK techniques 1 program it names

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection_cli:
    CommandLine|contains:
      - '://'
      - '\\\\'
    CommandLine|contains|windash: '/format:'
  selection_pe:
    - Image|endswith: '\wmic.exe'
    - OriginalFileName: 'wmic.exe'
    - Hashes|contains:
        - 'IMPHASH=1B1A3F43BF37B5BFE60751F2EE2F326E'
        - 'IMPHASH=37777A96245A3C74EB217308F3546F4C'
        - 'IMPHASH=9D87C9D67CE724033C0B40CC4CA1B206'
        - 'IMPHASH=B12619881D79C3ACADF45E752A58554A'
        - 'IMPHASH=16A48C3CABF98A9DC1BF02C07FE1EA00'
  condition: all of selection_*

The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Markus Neis, Florian Roth, Swachchhanda Shrawan Poudel (Nextron Systems), under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.

Command lines that trip it

documented abuse, read by CmdID

The commands LOLBAS or GTFOBins documents for wmic.exe trip it: each is on its program’s page, read by CmdID.

Programs and files it names

their pages here

ATT&CK

the techniques it is tagged with
T1047Windows Management Instrumentation
T1059.005Command and Scripting Interpreter: Visual Basic
T1059.007Command and Scripting Interpreter: JavaScript
T1220XSL Script Processing