Detection rules › Sigma

Download From Suspicious TLD - Blacklist

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

Detects download of certain file types from hosts in suspicious TLDs

MITRE ATT&CK coverage

Rule body yaml

title: Download From Suspicious TLD - Blacklist
id: 00d0b5ab-1f55-4120-8e83-487c0a7baf19
related:
    - id: b5de2919-b74a-4805-91a7-5049accbaefe
      type: similar
status: test
description: Detects download of certain file types from hosts in suspicious TLDs
references:
    - https://www.symantec.com/connect/blogs/shady-tld-research-gdn-and-our-2016-wrap
    - https://promos.mcafee.com/en-US/PDF/MTMW_Report.pdf
    - https://www.spamhaus.org/statistics/tlds/
    - https://krebsonsecurity.com/2018/06/bad-men-at-work-please-dont-click/
author: Florian Roth (Nextron Systems)
date: 2017-11-07
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/
        cs-host|endswith:
            # Symantec / Chris Larsen analysis
            - '.country'
            - '.stream'
            - '.gdn'
            - '.mom'
            - '.xin'
            - '.kim'
            - '.men'
            - '.loan'
            - '.download'
            - '.racing'
            - '.online'
            - '.science'
            - '.ren'
            - '.gb'
            - '.win'
            - '.top'
            - '.review'
            - '.vip'
            - '.party'
            - '.tech'
            - '.xyz'
            - '.date'
            - '.faith'
            - '.zip'
            - '.cricket'
            - '.space'
            # McAfee report
            - '.info'
            - '.vn'
            - '.cm'
            - '.am'
            - '.cc'
            - '.asia'
            - '.ws'
            - '.tk'
            - '.biz'
            - '.su'
            - '.st'
            - '.ro'
            - '.ge'
            - '.ms'
            - '.pk'
            - '.nu'
            - '.me'
            - '.ph'
            - '.to'
            - '.tt'
            - '.name'
            - '.tv'
            - '.kz'
            - '.tc'
            - '.mobi'
            # Spamhaus
            - '.study'
            - '.click'
            - '.link'
            - '.trade'
            - '.accountant'
            # Spamhaus 2018 https://krebsonsecurity.com/2018/06/bad-men-at-work-please-dont-click/
            - '.cf'
            - '.gq'
            - '.ml'
            - '.ga'
            # Custom
            - '.pw'
    condition: selection
falsepositives:
    - All kinds of software downloads
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    c-uri-extension:
        - 'exe'
        - 'vbs'
        - 'bat'
        - 'rar'
        - 'ps1'
        - 'doc'
        - 'docm'
        - 'xls'
        - 'xlsm'
        - 'pptm'
        - 'rtf'
        - 'hta'
        - 'dll'
        - 'ws'
        - 'wsf'
        - 'sct'
        - 'zip'
    cs-host|endswith:
        - '.country'
        - '.stream'
        - '.gdn'
        - '.mom'
        - '.xin'
        - '.kim'
        - '.men'
        - '.loan'
        - '.download'
        - '.racing'
        - '.online'
        - '.science'
        - '.ren'
        - '.gb'
        - '.win'
        - '.top'
        - '.review'
        - '.vip'
        - '.party'
        - '.tech'
        - '.xyz'
        - '.date'
        - '.faith'
        - '.zip'
        - '.cricket'
        - '.space'
        - '.info'
        - '.vn'
        - '.cm'
        - '.am'
        - '.cc'
        - '.asia'
        - '.ws'
        - '.tk'
        - '.biz'
        - '.su'
        - '.st'
        - '.ro'
        - '.ge'
        - '.ms'
        - '.pk'
        - '.nu'
        - '.me'
        - '.ph'
        - '.to'
        - '.tt'
        - '.name'
        - '.tv'
        - '.kz'
        - '.tc'
        - '.mobi'
        - '.study'
        - '.click'
        - '.link'
        - '.trade'
        - '.accountant'
        - '.cf'
        - '.gq'
        - '.ml'
        - '.ga'
        - '.pw'

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
cs-hostends_with
  • .accountant
  • .am
  • .asia
  • .biz
  • .cc
  • .cf
  • .click
  • .cm
  • .country
  • .cricket
  • .date
  • .download
  • .faith
  • .ga
  • .gb
  • .gdn
  • .ge
  • .gq
  • .info
  • .kim
  • .kz
  • .link
  • .loan
  • .me
  • .men
  • .ml
  • .mobi
  • .mom
  • .ms
  • .name
  • .nu
  • .online
  • .party
  • .ph
  • .pk
  • .pw
  • .racing
  • .ren
  • .review
  • .ro
  • .science
  • .space
  • .st
  • .stream
  • .study
  • .su
  • .tc
  • .tech
  • .tk
  • .to
  • .top
  • .trade
  • .tt
  • .tv
  • .vip
  • .vn
  • .win
  • .ws
  • .xin
  • .xyz
  • .zip