Skip to main content
Mallory
Malware1 associated CVE

Asnarök

Tracked since Dec 2, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors0Associated
ATT&CK3Techniques
IOCs30Tracked
Type
Infostealer
Capabilities
Credential theftExfiltrationPersistenceDefense evasionReconnaissance
Platforms
LinuxNetwork device

Asnarök is a credential-stealing malware toolkit comprising Linux ELF binaries and shell scripts, identified in April 2020 attacks against physical and virtual Sophos XG Firewall appliances. Attackers deployed it by exploiting CVE-2020-12271, a previously unknown SQL injection vulnerability that enabled remote code execution on firewalls exposing their HTTPS administration interface or User Portal to the internet.

Its staged infection chain downloads additional components and establishes persistence by modifying an operating-system script and arranging execution through a firewall service. Evasion behaviors include altering database records to conceal activity, deleting an executable from disk after launch, and masquerading as a legitimate firewall process. A data-theft module collects local administrator and user account information, encrypted passwords and password hashes, VPN access permissions, firewall licensing details, and system and network configuration data. It archives the collected information, encrypts it using Triple-DES, and attempts to upload it to attacker-controlled infrastructure before deleting temporary collection files. Companion backdoors provide continued control of compromised appliances.

After Sophos disclosed the attacks and released a hotfix, the operators modified the attack chain to attempt deployment of the distinct Ragnarok ransomware family against vulnerable Windows systems behind compromised firewalls, using EternalBlue and DoublePulsar. Sophos reported that its hotfix removed the firewall malware and backdoors and prevented the revised ransomware deployment attempts on patched appliances. Attribution to a specific threat actor is not established.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2020-12271via zdnet zero dayExploited in the wildSQL Injection in Sophos XG FirewallAn attacker discovered an SQL injection vulnerability (CVE-2020-12271) in the Sophos XG firewall. Attackers used the zero-day to plant malware on the device and subsequently changed their attack routine to deploy ransomware.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

3 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence3

The Asnarok trojan infection was initiated after the attacker discovered and exploited a zero-day (SQL injection remote code execution) in Sophos XG firewalls. | Vulnerability exploit: attackers will search for exploitable and unpatched publicly faced components in order to access systems. As an example, the attacker behind the NOTROBIN backdoor exploited CVE-2019-19781, a vulnerability in Citrix NetScaler, to spread the malware.

Execution

1 technique
T1059.004Unix ShellEvidence1

This initial injected command triggered an affected device to download a Linux shell script named Install.sh from a remote server... used the chmod program to designate the file as executable, and executed it.

Credential Access

1 technique
T1555Credentials from Password StoresEvidence1

Starting April 2020, threat actors behind the Asnarök trojan malware had exploited the zero-day to try and steal firewall usernames and hashed passwords from vulnerable XG Firewall instances.

Indicators of compromise

Observables

30 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching30Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping3Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.