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
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
The commands LOLBAS or GTFOBins documents for regedit.exe trip it: each is on its program’s page, read by CmdID.