← Lab /Security & privacy

Citrus ransomware hides C2 in VLESS HTTPS tunnels and uses LLM-generated scripts

Citrus ransomware disguises its command-and-control traffic using VLESS tunnels over port 443 and that the group generates its PowerShell scripts with large language models.

Security & privacy Securelist 11 Nov 2026 Attack Real-world evidence

Published as “Citrus Ransomware: VLESS for traffic, Sn00py for encryption, and LLMs lending a hand”

Why it matters

Existing security products can detect Citrus’s techniques, underscoring the need for strict contractor account controls.

Summary

The writeup details how the Citrus ransomware group gains initial access via compromised contractor accounts, then uses VLESS tunnels (implemented with Xray) over port 443 to blend C2 traffic with normal HTTPS. They automate script creation with large language models, producing PowerShell scripts that contain characteristic LLM comments. Their ransomware payload, Sn00py, encrypts files with RSA-2048 and ChaCha20, appending a .citrus extension, and the group leverages standard tools like mimikatz, Impacket, and AnyDesk for lateral movement and credential theft. Evidence comes from multiple victim incident analyses, but exact command details for some scheduled tasks were not observed.

What they found 3

  1. Citrus disguises its C2 traffic using VLESS tunnels over port 443

    “Judging by the configuration files recovered during the analysis, the attackers used port 443 on the VLESS server to blend in with legitimate HTTPS traffic.”

  2. The group generates PowerShell scripts with large language models

    “Both commands come with comments, something attackers rarely bother with, so the comments very likely point to LLM use.”

  3. Sn00py ransomware encrypts files with RSA-2048 and ChaCha20, adding .citrus extension

    “It’s written in Go and uses the RSA-2048 and ChaCha20 algorithms to encrypt user files (but not system files) on Windows systems. Encrypted files receive the .citrus extension.”

Caveats 2

  • Kaspersky solutions detect all the activity described in this article.
  • We did not see the exact commands behind these tasks, but Group Policy was refreshed after they ran, so they most likely executed gpupdate /force.

What’s new here 4

  • Use of VLESS tunnels via Xray to hide C2 traffic on port 443
  • Integration of large language models to generate PowerShell scripts with LLM-style comments
  • Deployment of Sn00py ransomware employing RSA-2048 and ChaCha20 encryption
  • Combination of classic tools (Impacket, mimikatz, ADRecon) with AI-assisted automation

In the news