CmdID

CmdID / Rules / Windows

Exports Registry Key To an Alternate Data Stream

A Sigma rule for alternate data streams being written on Windows, by Oddvar Moe, Sander Wiebing, oscd.community.

high 1 ATT&CK technique

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection:
    Image|endswith: '\regedit.exe'
  condition: 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 Oddvar Moe, Sander Wiebing, oscd.community, under the Detection Rule License 1.1. CmdID evaluates it on the file stream a command line writes - a redirection, a download, the destination of esentutl, expand, makecab, reg export or regedit - as Sysmon records it: 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 regedit.exe trip it: each is on its program’s page, read by CmdID.

ATT&CK

the techniques it is tagged with
T1564.004Hide Artifacts: NTFS File Attributes