SAWSNAKE
- Capabilities
- Credential theftSession hijackingPrivilege escalationDefense evasionPost exploitationSpoofing
- Platforms
- Linux
SAWSNAKE is a Go-based SAML authentication-forgery utility used against VMware vCenter environments. It can extract identity-provider signing keys from a copied vCenter directory database and use compromised Security Token Service signing material to forge SAML 2.0 assertions. This Golden SAML capability allows attackers to impersonate users, including administrators, and obtain authenticated sessions without supplying their passwords or completing multifactor authentication.
SAWSNAKE is associated with ARMORY CASTLE, formerly tracked as UNC5221, a suspected China-nexus cyberespionage actor. It was deployed in an intrusion chain that progressed from compromised BeyondTrust Remote Support infrastructure through internal Linux appliances to VMware vCenter. Within that workflow, the companion BONESAW exploitation utility provided access to vCenter and its directory database, while SAWSNAKE supported subsequent identity impersonation and privileged access. Its role is post-compromise authentication abuse rather than initial exploitation. Previously compromised signing material can remain usable for token forgery after the underlying vCenter vulnerability is patched.
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.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
BONESAW and SAWSNAKE exploit vCenter and forge administrator SAML access
The group next deployed custom malware, including a tool called Bonesaw, to exploit vCenter, steal credentials and create administrator accounts, and used another tool codenamed Sawsnake to forge authentication tokens, bypass multifactor authentication and impersonate users.
Following the exploitation, the hackers deployed another tool called SAWSNAKE, which enables so-called Golden SAML attacks to forge authentication tokens, bypass multifactor authentication, and impersonate legitimate users.
Techniques & procedures
6 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Suspected PRC-nexus actor ARMORY CASTLE chained BeyondTrust and VMware vCenter zero-days to forge SAML admin access and raid guest VMs
Credential Access
3 techniques
Credential Access
BONESAW (/tmp/123) is that tool, a custom Go utility that performs the exploitation, creates the Single Sign-On administrator account, steals the directory database, and lifts the SAML signing keys.
Those keys fed Golden SAML token forgery through SAWSNAKE, letting the actor bypass multifactor authentication and impersonate legitimate users.
SAWSNAKE (/tmp/sss) runs downstream of it, using those keys to forge tokens in a Golden SAML attack.
Lateral Movement
2 techniques
Lateral Movement
A second tool, SAWSNAKE, used those keys to forge logins and get past multifactor authentication.
BONESAW and SAWSNAKE exploit vCenter and forge administrator SAML access
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.