Cobalt Strike-style DNS Beaconing Queries (DNS)

Flags DNS queries with Cobalt Strike-style stage subdomain patterns used for covert beaconing.

FreeReviewedSigma · Critical · v2
Category
dns
Author
Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2018-05-10
Updated
2026-07-31
title: Cobalt Strike-style DNS Beaconing Queries (DNS)
id: b43679c7-0aad-448b-b0a8-c7f79c8db99a
status: test
description: This rule flags DNS queries with patterns commonly associated with Cobalt Strike beaconing, including specific query prefixes and a distinctive substring marker. Such DNS-based communication can blend into normal traffic while providing an attacker a resilient command-and-control channel. It relies on DNS query telemetry, matching on query string prefix and substring content.
references:
  - https://www.icebrg.io/blog/footprints-of-fin7-tracking-actor-patterns
  - https://www.sekoia.io/en/hunting-and-detecting-cobalt-strike/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/network/dns/net_dns_mal_cobaltstrike.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2018-05-10
modified: 2022-10-09
tags:
  - attack.command-and-control
  - attack.t1071.004
logsource:
  category: dns
detection:
  selection1:
    query|startswith:
      - aaa.stage.
      - post.1
  selection2:
    query|contains: .stage.123456.
  condition: 1 of selection*
falsepositives:
  - Unknown
level: critical
license: DRL-1.1
related:
  - id: 2975af79-28c4-4d2f-a951-9095f229df29
    type: derived