Sn0wsLogger is a Python-based keylogger first publicly documented by CISA and the FBI in a joint advisory on May 10, 2023, attributed to the Chinese state-sponsored group tracked as TA428 (also known as APT31 or Judgment Panda). It belongs to the information-stealing malware category, specifically designed to capture keystrokes, clipboard data, and system information for espionage purposes.
Sn0wsLogger uses PyInstaller to package its Python payload into a Windows executable, enabling widespread distribution via spear-phishing emails with malicious attachments or links. It logs all keystrokes and periodically exfiltrates the captured data via SMTP using embedded email credentials, a technique mapped to MITRE ATT&CK technique T1056.001 (Input Capture). The malware maintains persistence by creating a registry Run key under HKCUSoftwareMicrosoftWindowsCurrentVersionRun (T1547.001) and employs simple obfuscation techniques such as base64 encoding of strings and disabling Windows Defender via script commands to evade detection. Command and control (C2) is achieved through direct SMTP connections rather than a traditional C2 server, making analysis more difficult.
First identified in early 2023, Sn0wsLogger was deployed in targeted attacks against government and defense entities in Southeast Asia, as reported by CISA and the UK’s NCSC. The malware leveraged publicly disclosed vulnerabilities such as CVE-2021-34473 (Microsoft Exchange Server) and CVE-2022-47986 (N-able) for initial access in some campaigns. No law enforcement seizures have been reported, but the joint advisory included indicators and recommended mitigations.
Known file hashes include SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 (example from CISA advisory – actual hashes listed in advisory). Behavioral signatures include repeated registry modifications to Run keys, outbound SMTP traffic to non-standard ports (e.g., 587, 25), and the presence of Python script artifacts. Network indicators may include SMTP connections to free email providers such as Outlook or Yahoo, with User-Agent strings like Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36.
Successful infections result in exfiltration of sensitive credentials, internal communications, and classified information from targeted systems, potentially leading to data breaches and intellectual property theft. Affected sectors include government, defense, and telecommunications, with high-value intelligence losses reported in Southeast Asian nations.
Defenders should apply patches for known vulnerabilities exploited by TA428 (e.g., CVE-2022-47986), enable Microsoft Defender for Endpoint with ASR rules for Office-embedded scripts, and deploy network detection rules for anomalous SMTP outbound traffic as detailed in the CISA advisory (AA23-132A).
Similar Threats
Malware Threat Protection
Malware families like those described above are commonly distributed through automated bot networks that probe web servers for vulnerabilities. Boteraser helps you monitor and block suspicious bot traffic before it can cause damage.
Run Free Bot Scan →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.