基于香农熵检测域生成算法(DGA)生成的完全限定域名(FQDN)
Detecting Domain-Generation Algorithm (DGA) Based Fully-Qualified Domain Names (FQDNs) with Shannon Entropy
AI总结:
本文提出利用香农熵和单变量t检验分析DNS日志,以检测SUNBURST后门通过仿冒AWS域名的DGA生成FQDN进行数据窃取的C2活动。
摘要:
域名系统(DNS)是互联网的骨干。然而,威胁行为者已经滥用这一过时的协议,以新颖的方式促进命令与控制(C2)行动、进行隧道传输或窃取敏感信息。2020年末的FireEye入侵事件和Solarwinds入侵事件展示了黑客组织的复杂程度。研究人员急于对恶意软件进行逆向工程,并急于解码加密流量。值得注意的是,各组织都渴望率先“解开谜题”。SANS研究所的Eric Cole博士经常表示“预防是理想目标,但检测是必须手段”。检测分析在加密流量中可能并不总能提供底层上下文,但至少会给防御者一个发现异常的机会。SUNBURST是影响Solarwinds Orion的后门的开源代号。在与安全厂商研究一起分析该恶意软件时,发现网络杀伤链的C2阶段可能存在一个单点故障,这为防御者利用并检测该活动本身提供了一条途径。一次微小的机会总比没有好。其假设是加密会增加字符串中的熵。SUNBURST依靠加密通过DNS查询来窃取数据,攻击者将这些查询前置到已注册的完全限定域名(FQDN)上。这些FQDN被恶意抢注以模仿亚马逊云服务(AWS)域名。通过对给定一天内所有DNS日志进行简单的单变量t检验,即可实现对SUNBURST的检测。检测代码位于GitHub(https://github.com/MalwareMorghulis/SUNBURST)。
英文摘要:
Domain Name System (DNS) is the backbone of the Internet. However, threat actors have abused the antiquated protocol to facilitate command-and-control (C2) actions, to tunnel, or to exfiltrate sensitive information in novel ways. The FireEye breach and Solarwinds intrusions of late 2020 demonstrated the sophistication of hacker groups. Researchers were eager to reverse-engineer the malware and eager to decode the encrypted traffic. Noticeably, organizations were keen on being first to "solve the puzzle". Dr. Eric Cole of SANS Institute routinely expressed "prevention is ideal, but detection is a must". Detection analytics may not always provide the underlying context in encrypted traffic, but will at least give a fighting chance for defenders to detect the anomaly. SUNBURST is an open-source moniker for the backdoor that affected Solarwinds Orion. While analyzing the malware with security vendor research, there is a possible single-point-of-failure in the C2 phase of the Cyber Kill Chain provides an avenue for defenders to exploit and detect the activity itself. One small chance is better than none. The assumption is that encryption increases entropy in strings. SUNBURST relied on encryption to exfiltrate data through DNS queries of which the adversary prepended to registered Fully-Qualified Domain Names (FQDNs). These FQDNs were typo-squatted to mimic Amazon Web Services (AWS) domains. SUNBURST detection is possible through a simple 1-variable t-test across all DNS logs for a given day. The detection code is located on GitHub (https://github.com/MalwareMorghulis/SUNBURST).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。