CmdID

CmdID / Rules / Windows

LOLBIN Execution From Abnormal Drive

A Sigma rule for process creation on Windows, by Christopher Peacock '@securepeacock', SCYTHE '@scythe_io', Angelo Violetti - SEC Consult '@angelo_violetti', Aaron Herman.

medium 9 programs it names

What it looks for

its detection, as SigmaHQ writes it
detection:
  filter_main_currentdirectory:
    CurrentDirectory|contains: 'C:\'
  filter_main_empty:
    CurrentDirectory: ''
  filter_main_null:
    CurrentDirectory: null
  selection:
    - Image|endswith:
        - '\calc.exe'
        - '\certutil.exe'
        - '\cmstp.exe'
        - '\cscript.exe'
        - '\installutil.exe'
        - '\mshta.exe'
        - '\regsvr32.exe'
        - '\rundll32.exe'
        - '\wscript.exe'
    - OriginalFileName:
        - 'CALC.EXE'
        - 'CertUtil.exe'
        - 'CMSTP.EXE'
        - 'cscript.exe'
        - 'installutil.exe'
        - 'MSHTA.EXE'
        - 'REGSVR32.EXE'
        - 'RUNDLL32.EXE'
        - 'wscript.exe'
  condition: selection and not 1 of filter_main_*

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 Christopher Peacock '@securepeacock', SCYTHE '@scythe_io', Angelo Violetti - SEC Consult '@angelo_violetti', Aaron Herman, 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.

None of the everyday examples and documented commands on CmdID’s program pages trips it. To see whether a command line does, paste it into CmdID.

Programs and files it names

their pages here