Hexastrike Details S5PIVOT Proxy in Qilin Ransomware Intrusion

Summary
Hexastrike reconstructs a Qilin intrusion at a German company, detailing S5PIVOT, a Python-based SOCKS5 backconnect proxy, credential-led access, evidence of cloud exfiltration and encryption, and defensive lessons. The total data transferred remains unknown.
Key points
- Hexastrike attributes the intrusion to Qilin affiliates and says initial access most likely used valid credentials on a SonicWall SSL-VPN without MFA; the exact credential source remains uncertain.
- The attackers exploited excessive domain privileges, exposed service-account credentials and reused local administrator passwords to move through the network.
- S5PIVOT used a SYSTEM scheduled task and Python startup hook to load a layered payload, then maintained an outbound TLS connection for SOCKS5 proxy access.
- A Windows Error Reporting dump preserved AzCopy commands and progress showing 145 of roughly 4,300 files uploaded at the time of a crash; the total volume and complete file list could not be established.
- The Qilin/Agenda encryptor disabled exclusion filters, encrypted system directories and left several servers unbootable; event logs were cleared, but other host artifacts supported reconstruction.
- The report recommends phishing-resistant MFA, reduced privileged access, centralized logging, application controls, restricted server egress and protected, tested backups.
Article Details
- Attack Vectors
- Initial access most likely used valid domain credentials to log on through the SonicWall SSL-VPN, which did not require MFA; the article reports no evidence of an exploit, phishing, or unauthorized remote-support access.
- The operator tested credentials against domain accounts and used a password spray against the built-in Administrator account; shared local administrator passwords and accounts already holding Domain Admin rights enabled broader access.
- The backup account, which had Domain Admin rights, was used for WinRM sessions to deploy S5PIVOT and run exfiltration activity.
- S5PIVOT persisted through a SYSTEM scheduled task that repeatedly launched an embeddable Python runtime; a sitecustomize.py hook loaded the proxy payload without a script appearing on the command line.
- AzCopy commands copied selected business documents to an attacker-controlled Azure blob container. The article reports that the amount transferred and full object list could not be recovered.
- The Qilin/Agenda encryptor disabled recovery-related services, encrypted files including system directories, cleared Windows event logs, and persisted through a Run registry value that later relaunched it.
- Defensive Notes
- Require phishing-resistant MFA on remote-access paths, restrict VPN access to managed devices or expected locations, forward VPN logs centrally, and retain them for several months.
- Alert on VPN-originated NTLM logons with default or unrecognized workstation names, and on bursts of event 4776 credential-validation failures interleaved with successful logons for the same accounts.
- Limit privileged group membership, prevent service accounts from using Domain Admin or Enterprise Admin privileges, use group managed service accounts where appropriate, and remove unnecessary local administrator grants.
- Use Windows LAPS to provide unique, automatically rotated local administrator passwords across machines.
- Apply application control to prevent interpreters from running out of writable locations such as ProgramData; alert on recurring interpreter tasks without script arguments, numeric task names, and suspicious Register-ScheduledTask commands.
- Restrict server egress to approved destinations and alert on new, long-lived TLS sessions and unusual outbound volume. Where feasible, limit uploads to organizational storage accounts.
- Alert on shadow-copy deletion, backup or database services being disabled, suspicious Defender policy changes, and unusual SMB or symbolic-link configuration changes.
- Forward Security, System, PowerShell, and Sysmon events to central storage as they are written; retain them for at least 90 days and alert on event 1102 and bursts of event 104.
- Neutralize suspicious scheduled tasks and autostart entries before interactive logon to affected hosts; maintain backups protected by separate credentials and test restores regularly.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| DOMAIN | kyowa-spring[.]com | S5PIVOT backconnect command-and-control endpoint. |
| DOMAIN | sdf557hht5[.]blob[.]core[.]windows[.]net | Azure blob destination used for attacker-controlled data exfiltration. |
| DOMAIN | sports-chamber[.]com | S5PIVOT backconnect command-and-control endpoint. |
| DOMAIN | zeroseum[.]com | S5PIVOT backconnect command-and-control endpoint. |
| SHA256 | 228c7ac798b4ffe26fb8439a53fbcfe2453b3a7d6f606f7116e319063f5a9c05 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 3aabad36c1502b866410c7784c313f47b25d57d3403cb8380bffab9688a1d966 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 5eac10e0ff9e39597749b54b46400f1f0e5b217117a9be84a61ee1301ef467a4 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 675e7aeac1e1a95c2a2608319ffd6a197130d17f58639724e28b9ee3cdc974f2 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 709a5116d5634236a3d69db61261ee334d5f61a6537f299eb2114d91cf694399 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 81cc9db1c0a1a979fdc9cb351f6e401f4d48fea7bcf69ad2d0ee601c8141832a | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 8ab791f083e47086d8286f3ac20fb3d3c5640d3b7a2a68e2cad5e497aa49f31e | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 936bed238410aee76f4ad4ff385fdb8dbfbb88a4ba540923e42fdd14c698a5d1 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | 9fa892212460b6670fad23f702d12e18a2405ccb8845b20d59615141b9d3b2ba | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | a59b1da93649db7f802c81be575034fa4e8def0e298c44aebcbd215027110160 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | c7effa4b730275ccb9df54a468ecda1b59b214d1f73f008bdfb2def53adcca08 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | cd578333a4be96988080597063b8e35a46452b578f5f70abf2f81374924bc45e | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | d651b5d26bcd0979bd85415664ddd73c18458f6fdbb1d3803dc8ae8050181fe9 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | f138753c6fd62f18317a7455d71dd1f45d0e9cb1edab7d0a0bbe21513c29a088 | S5PIVOT file hash listed in the article's indicators. |
| SHA256 | f8681f691d1177dd3be9ada794b475d96c3514259cd8e68905101cac19130834 | S5PIVOT file hash listed in the article's indicators. |
MITRE ATT&CK
T1021.006 · Windows Remote ManagementWinRM sessions under the backup account were used to register S5PIVOT tasks and conduct other remote operations.T1053.005 · Scheduled TaskRandomly named scheduled tasks running as SYSTEM launched pythonw.exe every minute to maintain S5PIVOT.T1059.001 · PowerShellPowerShell commands registered the scheduled tasks and were used in repeated passes to clear event logs.T1059.006 · PythonThe scheduled Python runtime loaded sitecustomize.py, which invoked runpy.run_path to execute the S5PIVOT payload.T1070.001 · Clear Windows Event LogsThe encryptor cleared Windows event logs on ten servers after encryption.T1078 · Valid AccountsThe intrusion used valid domain credentials, including a backup account with Domain Admin rights, for access across the estate.T1090 · ProxyS5PIVOT established an outbound SOCKS5 backconnect proxy session that the operator used to reach internal systems.T1110.003 · Password SprayingThe operator password-sprayed the built-in Administrator account and tested candidate credentials against other accounts.T1133 · External Remote ServicesThe operator most likely gained initial access through the company's SonicWall SSL-VPN using valid domain credentials.T1486 · Data Encrypted for ImpactThe Qilin/Agenda encryptor encrypted files, including system directories, leaving several servers unbootable.T1489 · Service StopThe encryptor disabled the volume shadow copy service, backup-agent services, and database services.T1490 · Inhibit System RecoveryThe encryptor deleted shadow copies as part of inhibiting recovery.T1547.001 · Registry Run Keys / Startup FolderThe encryptor persisted through a machine-level Run registry value that relaunched it at later interactive logons.T1562.001 · Disable or Modify ToolsThe operator set the DisableAntiSpyware policy value on two servers; the article assesses that it likely disabled Defender Antivirus, though this was not confirmed by surviving logs.T1567.002 · Exfiltration to Cloud StorageAzCopy commands uploaded selected business documents to an attacker-controlled Azure blob container.
Threat Actors
Malware
Qilin/AgendaThe Qilin/Agenda encryptor ran on most servers with its exclusion filters disabled, which encrypted system directories, left several servers unbootable and, in our assessment, terminated lsass.exe as collateral damage,S5PIVOTDuring the response to a Qilin ransomware attack on a mid-sized German company, Hexastrike found a previously unknown remote-access tool that the attackers installed alongside the ransomware, which we track as S5PIVOT.
Vendors
AcronisOn three member servers, one of them a file server, the Acronis Managed Machine Service ran under the forest administrator account, a member of Domain Admins and Enterprise Admins.Microsofton its own, so the operator needed no Azure account on the victim’s side, and the traffic went to a Microsoft storage endpoint that outbound filtering rarely blocks.SonicWallInitial access most likely came through the SonicWall SSL-VPN, which enforced no multi-factor authentication, and the operator’s first actions inside the estate were to check which of the passwords it already held still
Products
Acronis Cyber ProtectOn one server SRUM records the Acronis Cyber Protect uninstaller running four times from the backup account’s temporary folders, and each host was cleanly restarted shortly before its run.AzureReporting dump of the WinRM host process that preserved the AzCopy exfiltration to an attacker-controlled Azure blob container, and registry values, the USN journal, SRUM and log slack that dated the remaining steps.Defender for EndpointMicrosoft has deprecated the setting, current Defender platforms ignore it on devices onboarded to Defender for Endpoint, and Tamper Protection blocks it outright.Entrawith credentials exposed earlier through an infostealer infection and a sign-in campaign against the Entra tenant.Microsoft Defender AntivirusOn two servers the operator set DisableAntiSpyware to 1 under the Defender policy key, the value behind the Group Policy setting “Turn off Microsoft Defender Antivirus”.SonicWall SSL-VPNInitial access most likely came through the SonicWall SSL-VPN, which enforced no multi-factor authentication, and the operator’s first actions inside the estate were to check which of the passwords it already held stillWindows Server 2019These were Windows Server 2019 hosts with neither Tamper Protection configured nor onboarding to Defender for Endpoint, a configuration for which Microsoft’s documentation still describes the value as turning Defender
Tools
AzCopyfrom what survived, including a Windows Error Reporting dump of the WinRM host process that preserved the AzCopy exfiltration to an attacker-controlled Azure blob container, and registry values, the USN journal, SRUMVIPERTUNNELNo security vendor detected it at the time, and its code is very likely derived from an earlier tool known as VIPERTUNNEL.
