Researchers identified Godlua, a Lua-based backdoor for Linux and Windows, as one of the first malware strains observed abusing DNS over HTTPS (DoH) to hide command-and-control activity. The malware was linked in part to exploitation of Atlassian Confluence vulnerability CVE-2019-3396 on unpatched servers, and some early samples were initially mislabeled as cryptocurrency miners before investigators tied them to distributed denial-of-service activity. Netlab reported that Godlua had already been used in attacks, including HTTP flood operations targeting liuxiaobei.com.
Godlua uses a layered, redundant control architecture that pulls staged payloads and C2 data from hardcoded domains, GitHub, Pastebin, DNS TXT records, and encrypted DoH queries, reducing visibility for tools that rely on passive DNS monitoring. Researchers said the malware downloads files disguised as PNG images, decrypts them with AES-CBC, loads modified Lua bytecode directly into memory, and then executes commands that support shell access, file execution, upgrades, proxying, and further Lua-based attack logic. The use of DoH to retrieve TXT-record-based C2 locations marked a notable escalation in malware tradecraft because it can blend malicious DNS lookups into normal encrypted web traffic.

Get the actors, campaigns, and ATT&CK mapping behind it.
4 events from the most recent confirmed update back to the earliest known activity.
Qihoo 360's Netlab published a report describing Godlua as the first malware observed abusing DNS over HTTPS to retrieve command-and-control information from DNS TXT records. The report also linked at least some Linux infections to exploitation of Atlassian Confluence vulnerability CVE-2019-3396.
Google announced support for DNS over HTTPS on its public DNS service in the month before Netlab's report. The article cites this as part of the broader adoption of DoH by major internet platforms.
Netlab documented active Godlua versions ranging from 20190415103713 to 20190621174731, showing the malware was being actively updated. The newer branch supported both Linux and Windows and expanded command capabilities.
360 Netlab's Unknown Threat Detection System highlighted a suspicious ELF file that researchers identified as the Lua-based Godlua Backdoor. Some antivirus vendors initially labeled it as mining-related, but researchers observed DDoS behavior instead.
Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.
Indicator values are masked on this page. View all 12 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.
Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.