Detection rules › Sigma

Download From Suspicious TLD - Whitelist

Status
test
Severity
low
Log source
category proxy
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects executable downloads from suspicious remote systems

MITRE ATT&CK coverage

Rule body yaml

title: Download From Suspicious TLD - Whitelist
id: b5de2919-b74a-4805-91a7-5049accbaefe
related:
    - id: 00d0b5ab-1f55-4120-8e83-487c0a7baf19
      type: similar
status: test
description: Detects executable downloads from suspicious remote systems
references:
    - Internal Research
author: Florian Roth (Nextron Systems)
date: 2017-03-13
modified: 2023-05-18
tags:
    - attack.initial-access
    - attack.t1566
    - attack.execution
    - attack.t1203
    - attack.t1204.002
logsource:
    category: proxy
detection:
    selection:
        c-uri-extension:
            - 'exe'
            - 'vbs'
            - 'bat'
            - 'rar'
            - 'ps1'
            - 'doc'
            - 'docm'
            - 'xls'
            - 'xlsm'
            - 'pptm'
            - 'rtf'
            - 'hta'
            - 'dll'
            - 'ws'
            - 'wsf'
            - 'sct'
            - 'zip'
            # If you want to add more extensions - see https://docs.google.com/spreadsheets/d/1TWS238xacAto-fLKh1n5uTsdijWdCEsGIM0Y0Hvmc5g/
    filter:
        cs-host|endswith:
            - '.com'
            - '.org'
            - '.net'
            - '.edu'
            - '.gov'
            - '.uk'
            - '.ca'
            - '.de'
            - '.jp'
            - '.fr'
            - '.au'
            - '.us'
            - '.ch'
            - '.it'
            - '.nl'
            - '.se'
            - '.no'
            - '.es'
            # Extend this list as needed
    condition: selection and not filter
falsepositives:
    - All kind of software downloads
level: low

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    c-uri-extension:
        - 'exe'
        - 'vbs'
        - 'bat'
        - 'rar'
        - 'ps1'
        - 'doc'
        - 'docm'
        - 'xls'
        - 'xlsm'
        - 'pptm'
        - 'rtf'
        - 'hta'
        - 'dll'
        - 'ws'
        - 'wsf'
        - 'sct'
        - 'zip'

Stage 2: not filter

filter:
    cs-host|endswith:
        - '.com'
        - '.org'
        - '.net'
        - '.edu'
        - '.gov'
        - '.uk'
        - '.ca'
        - '.de'
        - '.jp'
        - '.fr'
        - '.au'
        - '.us'
        - '.ch'
        - '.it'
        - '.nl'
        - '.se'
        - '.no'
        - '.es'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
cs-hostends_with.au
cs-hostends_with.ca
cs-hostends_with.ch
cs-hostends_with.com
cs-hostends_with.de
cs-hostends_with.edu
cs-hostends_with.es
cs-hostends_with.fr
cs-hostends_with.gov
cs-hostends_with.it
cs-hostends_with.jp
cs-hostends_with.net
cs-hostends_with.nl
cs-hostends_with.no
cs-hostends_with.org
cs-hostends_with.se
cs-hostends_with.uk
cs-hostends_with.us

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
c-uri-extensioneq
  • bat
  • dll
  • doc
  • docm
  • exe
  • hta
  • pptm
  • ps1
  • rar
  • rtf
  • sct
  • vbs
  • ws
  • wsf
  • xls
  • xlsm
  • zip