19. DNSCache

The DNSCache module evaluates the entries of the local DNS cache. It compares the entries with known C2 servers and reports suspicious entries based on some regular expression checks.

19.1. Samples

Aug 19 11:27:08 system444.local.net/172.27.2.7
THOR: Alert: MODULE: DNSCache
MESSAGE: Malware Domain found in DNS Cache
ENTRY: 60.10.1.183.in-addr.arpa
IP: 10.252.8.5
SIGNATURE: 60.10.1.
DESC: Graphedt Group
SCORE: 100
Jul 8 11:30:56 system88.local.net/10.10.9.15
THOR: Warning: MODULE: DNSCache
MESSAGE: Entry with dangerous TLD found
TLD: biz
ENTRY: altftp.compsys.biz
IP: 10.11.11.40
SCORE: 75

19.2. Typical False Positives

  • Legitimate company domains registered with a black-listed Top Level Domain (TLD) (e.g. vpnaccess.companybranch.info)

  • False positives caused by in-add.arpa reversed strings that match on black-listed IP addresses

  • Too short domain names from 3rd party IOC sources (e.g. ipv6.com matching on benign-site-ipv6.com)

19.3. Attribute Evaluation

Attribute

Question

Answer

Indication

Weight

IP

Is the IP known for malicious activity? (Check the platforms listed in chapter 33 Tools for Event Analysis)

Yes

Bad

Medium

No

Good

Medium

ENTRY

Is the FQDN known for malicious activity?

Yes

Bad

Medium

No

Good

Medium

TLD

Seems the FQDN to be legitimate although it is registered under a suspicious TLD? (e.g. servftp.companyname.biz, www2.companybranch.cn)

No

Bad

Medium

Yes

Good

High