Skip to main content
Mallory
Malware

SetcodeRat

Tracked since Dec 12, 2025 · Updated 7 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK0Techniques
IOCs0Tracked

SetcodeRat is a remote access trojan (RAT) and secret-stealing malware reported by QiAnXin in attacks targeting Chinese-speaking users in China. It has been propagated via malvertising since at least October 2025 and is described as Telegram-based, with the ability to communicate either through Telegram or a conventional C2 server for tasking. The malware includes regional gating logic and only proceeds when the victim system language is set to Chinese locales including Zh-CN, Zh-HK, Zh-MO, or Zh-TW; it also terminates if it cannot connect to a Bilibili URL, indicating additional environment validation.

For execution, SetcodeRat uses DLL sideloading: it launches pnm2png.exe to load zlib1.dll, which decrypts qt.conf to run the RAT payload. Reported capabilities include taking screenshots, logging keystrokes, reading and setting folders, starting processes, executing cmd.exe, establishing socket connections, collecting system and network information, and updating itself. Reporting states that hundreds of computers, including government and enterprise systems, were infected within one month. High-confidence artifacts and identifiers mentioned in the source include pnm2png.exe, zlib1.dll, qt.conf, Telegram-based communications, and the Bilibili connectivity check.

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
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 matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs 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 mappingEvery documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.