Skip to content

Commit 66eee4f

Browse files
committed
new: Potential DNScat2 DNS Tunneling
1 parent bc43378 commit 66eee4f

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
title: Potential DNScat2 DNS Tunneling
2+
id: 8d28e7ad-d532-4a59-a181-bcea4afbffcc
3+
status: test
4+
description: |
5+
Detects DNS queries generated by the dnscat2 tunneling tool when it is run
6+
without a dedicated authoritative domain ("direct" connection mode). In this
7+
mode the client prefixes every request with the static label "dnscat."
8+
followed by hex-encoded command-and-control data, which is a high-signal
9+
artifact rarely seen in legitimate DNS traffic.
10+
This complements the existing process-creation detection (which requires the
11+
tool binary to run on a monitored Windows endpoint) by catching the tunnel
12+
on the wire from any host, including Linux, IoT, and unmanaged devices.
13+
references:
14+
- https://github.com/iagox86/dnscat2
15+
- https://www.activecountermeasures.com/malware-of-the-day-dnscat2-dns-tunneling/
16+
author: Shae Mark
17+
date: 2026-07-07
18+
tags:
19+
- attack.exfiltration
20+
- attack.t1048.001
21+
- attack.command-and-control
22+
- attack.t1071.004
23+
- attack.t1132.001
24+
logsource:
25+
category: dns
26+
detection:
27+
selection:
28+
query|startswith: 'dnscat.'
29+
condition: selection
30+
falsepositives:
31+
- Legitimate hostnames that begin with the label "dnscat" (very rare)
32+
level: high

0 commit comments

Comments
 (0)