Skip to main content
Mallory
Malware1 associated CVE

QSnatch

Tracked since Jan 25, 2026 · Updated 3 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&CK13Techniques
IOCs62Tracked
Type
Backdoor
Capabilities
Credential theftExfiltrationPersistencePost exploitationDefense evasion
Platforms
LinuxNetwork device

QSnatch is a QNAP-focused malware family targeting network-attached storage devices. It has been active in multiple campaigns since at least 2014 and became widely known for large-scale compromises of internet-exposed QNAP NAS systems. The malware is commonly characterized as a backdoor trojan and has been associated with long-term, stealth-oriented access rather than overt monetization.

QSnatch infects QNAP NAS devices and establishes persistence by modifying system behavior to interfere with legitimate firmware updates, helping compromised devices remain vulnerable and under attacker control. It has been reported to disable or evade security tooling on affected systems and to use a domain generation algorithm to locate command-and-control infrastructure. Samples have been described as shell scripts, including SHC-compiled ELF shell scripts, and the malware appears to integrate into device firmware execution flow.

Its capabilities include credential theft through fake administrative login mechanisms and credential-scraping components, collection and exfiltration of files such as configuration and log data, remote code execution through an SSH backdoor, and webshell-style remote access. QSnatch can also retrieve and execute additional malicious code from its command-and-control infrastructure, making it a flexible post-compromise platform. Reporting has additionally noted theft of user data including passwords and multifactor-related settings.

The initial infection vector has not been conclusively identified in the available reporting, though unpatched or exposed QNAP devices have been repeatedly highlighted as at risk. Victimology has been broad and opportunistic, with infections observed globally and especially high counts in North America and Europe. Public reporting has not conclusively attributed QSnatch to a known threat actor, and the operators' objectives have remained unclear, though some assessments have suggested an espionage-oriented design due to its emphasis on persistence, credential capture, and data theft.

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-2017-7494via cisa certSambaCry (EternalRed)One notable point is that some samples intentionally patch the infected QNAP for Samba remote code execution vulnerability CVE-2017-7494. | CISA and NCSC are investigating a strain of malware known as QSnatch, which attackers used in late 2019 to target Network Attached Storage (NAS) devices manufactured by the firm QNAP.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1566.003Spearphishing via ServiceEvidence1

Stealing credentials by installing a fake login web app

Execution

1 technique
T1059Command and Scripting InterpreterEvidence1

Once in, the ransomware uses the built-in tools to attack the system.

Persistence

2 techniques
T1112Modify RegistryEvidence1

The attacker modifies the system host’s file, redirecting core domain names used by the NAS to local out-of-date versions so updates can never be installed.

T1505.003Web ShellEvidence1

Webshell functionality for remote access

Stealth

1 technique
T1070Indicator RemovalEvidence1

before anything else, it clears out the related MalwareRemover rules to remain undetected.

Defense Impairment

2 techniques
T1112Modify RegistryEvidence1

The attacker modifies the system host’s file, redirecting core domain names used by the NAS to local out-of-date versions so updates can never be installed.

T1685Disable or Modify ToolsEvidence2

To start things out, it disables both the embedded ClamAV antivirus shipped with QNAP and the McAfee Antivirus...

Credential Access

1 technique
T1056Input CaptureEvidence1

CGI password logger This installs a fake version of the device admin login page, logging successful authentications and passing them to the legitimate login page.

Collection

1 technique
T1056Input CaptureEvidence1

CGI password logger This installs a fake version of the device admin login page, logging successful authentications and passing them to the legitimate login page.

Command and Control

5 techniques
T1071Application Layer ProtocolEvidence1

QSnatch is a malware that infects QNAP NAS devices. It collects and exfiltrates user credentials from vulnerable devices, and can also load malicious code from its command and control (C2) servers.

T1071.001Web ProtocolsEvidence1

using the following HTTP GET request: HTTP GET https://[generated-address]/qnap_firmware.xml?=t[timestamp]

T1105Ingress Tool TransferEvidence1

It collects and exfiltrates user credentials from vulnerable devices, and can also load malicious code from its command and control (C2) servers.

T1568.002Domain Generation AlgorithmsEvidence4

README.md ... Domain Generation Algorithms (DGAs) of Malware reimplemented in Python.

T1573Encrypted ChannelEvidence1

Using encryption for all network communications

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

When run, QSnatch steals a predetermined list of files, which includes system configurations and log files. These are encrypted with the actor’s public key and sent to their infrastructure over HTTPS.

Indicators of compromise

Observables

62 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 matching62Match 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 mapping13Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.