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.
翻译:垃圾邮件域是非索要邮件的来源,也是欺诈和恶意活动的主要工具之一,如钓鱼运动或恶意软件分发。垃圾域探测是一种竞赛:一旦发送垃圾邮件,即降低域名或黑名单相对使用,因为垃圾邮件必须为下一个运动登记一个新的域名。为了防止恶意行为者发送邮件,我们需要尽可能快地发现这些域名,最好是在发起运动之前发现这些域名。在本文中,我们利用从远距安全处收集的近实时被动 DNS 数据,监测新登记域名的DNS 流量及其TXT记录的内容,特别是发送者政策框架的配置、域名的反吸附协议以及防止破坏性商业邮件电子邮件Compromise骗取的第一个防线。由于垃圾邮件和良域名有不同的SPF规则以及不同的交通简况,我们只能利用从被动 DNS 交通流量收集的特征来探测垃圾域名域名。我们利用SPF配置和交通流量到TXT记录的内容,在域域域名前准确地检测其真实域名的域名,我们可以准确地探测一个更精确的域名域名域名的域域域名,然后用一个域名域名域名域域域名域名域名的域名域名的域名的域名,我们可以探测一个相当的域名的域名的域名域名域名。