🔥 Alert: Evasion via excessive multi-cloud staging
🔗 Report:
vmray.com/analyses/evasion-v…
We have recently caught a malware delivery chain, which seems to utilize numerous cloud services to host several, staged payloads that reference each other back and forth. This “cloud-hopping” strategy is making use of less-known online code-sharing and file hosting platforms and ultimately tries to evade automated systems. The excessive cloud-hopping is actually why this “manufactured complexity” stands out from standard attacks.
The multi-stage attack chain starts with an obfuscated PowerShell payload (arithmetic calculations, Deflate and Base64), then hops across PythonAnywhere, and ends at the service Pastes[.]dev. The latter pulls 4 samples from the image-hosting service image2url (which can host .exe files too), like UnixStealer or FunnyLoader, and downloads a PyInstaller executable.
A Python script is then pulled from Pastes[.]dev again, which sets up a localhost tunnel via a free service called Pinggy and deploys the open-source Gost/GoSimpleTunnel for bridging the tunnel.
💡 Takeaways:
- PowerShell loader uses arithmetic calculations, Deflate compression and Base64 encoding for obfuscation
- Script checks for username ”runneradmin” to avoid running in GitHub Actions Runners environment
- Next stage PowerShell code grabbed from PythonAnywhere, followed by another one from Pastes[.]dev
- 4 PE files fetched from image2url (UnixStealer, FunnyLoader, XWormLoader, PyInstaller)
- Another stage executes Python script from another Pastes[.]dev link, which connects to Discord C2
- Local proxy configured via downloaded Gost (GoSimpleTunnel) client and the tunneling service free.pinggy[.]io
- Code is marked with Vietnamese comments with references to: “hello sigma”, ”sigma miner”, “iamsigmaboy” and “sigmatoilet”
- Actor uses different usernames like “hai”, “haingng16“ and “haideptrai“ on several cloud platforms
- Additional stages are pulled from GitHub, GitLab, Pastefy and Codeberg along the chain to establish persistence