Detection rules › Sigma

Potentially Suspicious File Download From ZIP TLD

Status
test
Severity
high
Log source
product windows, category create_stream_hash
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the download of a file with a potentially suspicious extension from a .zip top level domain.

MITRE ATT&CK coverage

TacticTechniques
StealthNo specific technique

Event coverage

ProviderEventTitle
SysmonEvent ID 15FileCreateStreamHash

Rule body yaml

title: Potentially Suspicious File Download From ZIP TLD
id: 0bb4bbeb-fe52-4044-b40c-430a04577ebe
status: test
description: Detects the download of a file with a potentially suspicious extension from a .zip top level domain.
references:
    - https://twitter.com/cyb3rops/status/1659175181695287297
    - https://fabian-voith.de/2020/06/25/sysmon-v11-1-reads-alternate-data-streams/
author: Florian Roth (Nextron Systems)
date: 2023-05-18
tags:
    - attack.stealth
logsource:
    product: windows
    category: create_stream_hash
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
falsepositives:
    - Legitimate file downloads from a websites and web services that uses the ".zip" top level domain.
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

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'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Contentsmatch
  • .zip/
TargetFilenamematch
  • .bat:Zone corpus 3 (sigma 3)
  • .dat:Zone
  • .dll:Zone corpus 3 (sigma 3)
  • .doc:Zone
  • .docm:Zone corpus 2 (sigma 2)
  • .exe:Zone corpus 3 (sigma 3)
  • .hta:Zone corpus 3 (sigma 3)
  • .pptm:Zone corpus 2 (sigma 2)
  • .ps1:Zone corpus 3 (sigma 3)
  • .rar:Zone
  • .rtf:Zone
  • .sct:Zone
  • .vbe:Zone corpus 3 (sigma 3)
  • .vbs:Zone corpus 3 (sigma 3)
  • .ws:Zone
  • .wsf:Zone
  • .xll:Zone corpus 3 (sigma 3)
  • .xls:Zone
  • .xlsm:Zone corpus 2 (sigma 2)
  • .zip:Zone