Skip to main content
Mallory
Malware

Pygmy Goat

Tracked since Dec 2, 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

Pygmy Goat is a Linux backdoor observed on Sophos XG firewall devices and designed to target additional Linux-based systems, including cloud environments. It was discovered exploiting the vulnerable libsophos.so library file to gain initial access and persistence via authentication bypass in CVE-2022-1040. Reporting cited in the content places it among actively updated Linux ELF malware families used against cloud infrastructure, with at least 20 unique sightings in the wild and multiple significant code updates over the last year. The malware has been associated in the reporting context with China-linked activity targeting edge infrastructure, where custom malware was used to maintain persistent remote access and repurpose compromised devices as stealthy proxies. Targeting noted in the content includes government, NGO, healthcare, and transportation sectors in Asia-Pacific. High-confidence behavioral details directly mentioned are Linux backdoor functionality, persistence through rootkit-like use of libsophos.so, exploitation of Sophos firewall devices, and abuse of CVE-2022-1040. The content also identifies Pygmy Goat as a threat defenders should monitor alongside Asnarök and Gh0st RAT in Sophos-related intrusion contexts.

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.