Early Detection of Spam Domains with Passive DNS and SPF - Archive ouverte HAL Access content directly
Book Sections Year : 2022

Early Detection of Spam Domains with Passive DNS and SPF


Spam domains are sources of unsolicited mails and one of the primary vehicles for fraud and malicious activities such as phishing campaigns or malware distribution. Spam domain detection is a race: as soon as the spam mails are sent, taking down the domain or blacklisting it is of relative use, as spammers have to register a new domain for their next campaign. To prevent malicious actors from sending mails, we need to detect them as fast as possible and, ideally, even before the campaign is launched. In this paper, using near-real-time passive DNS data from Farsight Security, we monitor the DNS traffic of newly registered domains and the contents of their TXT records, in particular, the configuration of the Sender Policy Framework, an anti-spoofing protocol for domain names and the first line of defense against devastating Business Email Compromise scams. Because spammers and benign domains have different SPF rules and different traffic profiles, we build a new method to detect spam domains using features collected from passive DNS traffic. Using the SPF configuration and the traffic to the TXT records of a domain, we accurately detect a significant proportion of spam domains with a low false positives rate demonstrating its potential in real-world deployments. Our classification scheme can detect spam domains before they send any mail, using only a single DNS query and later on, it can refine its classification by monitoring more traffic to the domain name.
Fichier principal
Vignette du fichier
article.pdf (473.15 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03655065 , version 1 (03-05-2022)



Simon Fernandez, Maciej Korczyński, Andrzej Duda. Early Detection of Spam Domains with Passive DNS and SPF. Passive and Active Measurement, 13210, Springer International Publishing, pp.30-49, 2022, Lecture Notes in Computer Science, ⟨10.1007/978-3-030-98785-5_2⟩. ⟨hal-03655065⟩
52 View
95 Download



Gmail Facebook X LinkedIn More