CmdID

CmdID / Rules / Windows

Potentially Suspicious File Download From ZIP TLD

A Sigma rule for alternate data streams being written on Windows, by Florian Roth (Nextron Systems).

high

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection:
    Contents|contains: '.zip/'
    TargetFilename|contains:
      - '.bat:Zone'
      - '.dat:Zone'
      - '.dll:Zone'
      - '.doc:Zone'
      - '.docm:Zone'
      - '.exe:Zone'
      - '.hta:Zone'
      - '.pptm:Zone'
      - '.ps1:Zone'
      - '.rar:Zone'
      - '.rtf:Zone'
      - '.sct:Zone'
      - '.vbe:Zone'
      - '.vbs:Zone'
      - '.ws:Zone'
      - '.wsf:Zone'
      - '.xll:Zone'
      - '.xls:Zone'
      - '.xlsm:Zone'
      - '.zip:Zone'
  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 Florian Roth (Nextron Systems), 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.

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.