Skip to content

Instantly share code, notes, and snippets.

@andregironda1
Last active May 21, 2026 13:44
Show Gist options
  • Select an option

  • Save andregironda1/c6e3b310b306b6ef610c369500868aa9 to your computer and use it in GitHub Desktop.

Select an option

Save andregironda1/c6e3b310b306b6ef610c369500868aa9 to your computer and use it in GitHub Desktop.
Tracking the Webworm 2026 Kit -- methodology + collection

Tracking the Webworm 2026 Kit -- methodology + collection

How we got to the new findings (the steps behind each new IOC and TTP below)

  1. Vendor publication, same day. Pulled the vendor's same-day blog post on Webworm. Matched six SHA-1 hashes from the case to the vendor's new tool list -- EchoCreep, WormFrp, WormHole, GraphWorm, WormSocket, SmuxProxy.

  2. VirusTotal community-comment pivot. Comments on two case IPs pointed to a second vendor paper. That paper named three more hashes as ShadowRelay samples and gave the AES keys plus a packet signature.

  3. VirusTotal execution-parents lookup (zero hits = a finding). Walked the actor's lure domains and seed samples through VT's execution-parents tree. Zero new siblings. This confirms the actor delivers tools through operator-controlled open directories, not mass-mail or drive-by chains.

  4. YARA rule that tells WormFrp apart from vanilla FRP. Strings extraction on the on-disk garble-obfuscated Go PE surfaced both (a) FRP-internal log literals shared with vanilla github.com/fatedier/frp and (b) garble obfuscation artifacts -- file-source paths that survived the obfuscator. A YARA rule that requires both, plus rejects the vanilla FRP build-info path, fires on WormFrp only.

  5. Same operator username across two compilers. A .NET MSIL proxy carried a PDB path with username hello. A Go test binary on the same C2 server had mod hello (devel). Same operator workstation built both -- one in C#, one in Go.

  6. Source-path strings in a C++ binary. The GraphWorm binary carried VS2019 source paths (AutoStart.cpp, BaseInfo.cpp, Beacon.cpp), a build tag v0316 (March 16), OneDrive call sites, and an OAuth refresh_token literal. Confirms the published Microsoft Graph + OneDrive C&C role at the file level.

  7. Passive DNS, reverse direction. Looked up the history of the reverse-shell endpoint IP. Found the current actor subdomain (active April-May 2026). Also found that in 2024 the same IP hosted KTLVdoor C2 under a Cloudfront-typosquat domain (random-prefix subdomains, port 9999). Same IP, two campaigns, two years apart -- direct evidence the two clusters share an operator pool.

  8. Passive DNS, forward direction. Forward-resolved the actor's lure apex set. Found a sibling apex (dnslog.ink) registered at the same Namecheap second as digimg.store. The shared registration second is a fingerprint.

  9. Port history for an actor host. Public port-history records show one of the actor's Vultr hosts running SOCKS5 on port 16755 in 2024. The vendor later confirmed the same IP as the WormSocket server in 2025. Bridges the operator timeline back two years.

  10. VirusTotal hash lookup, SHA-1 to SHA-256. The vendor publishes SHA-1 only. Per-hash VT lookups gave SHA-256 forms for WormFrp, WormHole, and GraphWorm. Three lookup forms the vendor did not publish.

  11. Tag pivot on a related cluster's tool name (XDealer). Pivot in the public sample database for tag:XDealer returned 11 samples. All 11 match on-disk samples in this case. Full overlap with the related cluster's catalog -- shared operator pool.

  12. Tag pivot in the same database for the ShadowRelay tag. Returned an UnpacMe-unpacked sibling of a ShadowRelay server sample we already had. New SHA-256 added.

  13. Sandbox family search for family:sparkrat. Returned a per-victim SparkRAT sibling submitted independently to the sandbox. Its ldflags COMMIT differs from the case sample. Confirms the operator uses per-target SparkRAT builds.

  14. Certificate Transparency log, bulk issuance burst. Walked CT queries across the actor's lure domain set. Found a 10-minute burst on 2026-04-12 where the operator pulled certs for the apex, wildcard, cdn., and sleve. in one window -- one DV-automation script.

  15. Code-signing abuse database lookup (zero hits = a gap). No rows for any Chinese-APT cluster. That database is curated around e-crime, not state-aligned actors. The zero is a community-coverage gap, not absence of abuse.

  16. YARA rule generalization. The WormHole rule was built on one sample's developer markers (csocks.pdb, project name, username path). When six new sibling samples arrived, the rule matched all six. The developer markers stay constant across the operator's WormHole builds.

  17. Re-read of the full vendor paper. The first pass used summary coverage only. A second pass on the full paper added:

    • 3 new IPs (two SmuxProxy servers, one WormFrp server)
    • 1 file-stager URL (a forked WordPress GitHub repo)
    • 2 related cluster names (SixLittleMonkeys, FishMonger)
    • 1 operator Discord handle (jonson889912)
    • 1 ITW exploit script (_1.sh = CVE-2017-7692 SquirrelMail post-auth RCE used against a webmail target)
    • 1 persistence task name (MicrosoftSSHUpdate)
    • 3 crypto-mode fixes (WormFrp = AES-ECB; EchoCreep = AES-CBC-128; GraphWorm = AES-256-CBC)

YARA and Suricata rules below are the operational deliverables from steps 4, 5, 6, 16.

IOC HOSTS cdn.freecountrys.com digimg.store dnslog.ink freecountrys.com sleve.freecountrys.com stock.windupbird.eu.org wamanharipethe.s3.ap-south-1.amazonaws.com whpjewellers.s3.amazonaws.com

IOC URLS https://github.com/anjsdgasdf/WordPress # Webworm file stager (forked WordPress; taken down)

IOC IPS 5.34.176.39 45.77.13.67 64.176.85.158 94.131.2.59 104.243.23.43 108.61.200.151 144.168.60.233 172.234.24.211

IOC SHA256 0968de8d650848e2c3e381593e47e4216cfecd45e377264fab976ba214b38fec 22d2028065b6d592c63dc2c03883db3e546ed45478e5abeecd0de7400f5d7ebf 504d27aa26256fff8083cb7563d8bb0123516f1120f8c609ba57d91acf349416 541628370c4d4f64468021bd83414efa9ee1634554acf29055c6c1dfa601a5e5 5429e9553e28bfe91b8542b6f9561e13f297c16752f1ba5d6a54c9e4c6668c4c 611a42a8710860c4d73f53f14d478d13166ee549006b6d48f518d4ddb7fa0dcb 6eb6a34252195ddc7f5fb94c4fb382dedde227c4dfee4a80e9e0ee6f80c8bcb1 967b2bd32387b31bc16d2df7181e5f596cf31595dc0fd4b69b41532b6f63edcb 97a8e5b2bc51f3b3f7cd2117cf0da8fc49bee2e597ecc04637dcfdccfbf7e8e0 9aae7e27dea211b5a3e87fe8027a502e416be3880f03793688ccdc506f06ed60 aefc1a500eb669f56826fcf80d1d3d2f8b83617ed417bacbe00430b06c3d6cdd bd93fd7c18fdb514d451f8faf64a68584e967403ef5f75886ccafbadb203f422 e49c6b37f1f37f2d3f85d6d459c6b7b7869a68b5f709b424bb9f63910b60186b e99664504c1b3740ee94782308fc5b8c6a7452bdebb0197c67555d2fdcb4a1c5 fb13c5b5397d0ca855094bc24cc3d161ee36211c1e12ae0e83e1743f792247d7

IOC CRYPTO ]zf,.Hso'!x3|ezz/hzHzxa(P=x.bB.r # ShadowRelay client AES-256-CBC key bcudisbofds42bio # ShadowRelay server AES-128-CBC key 53 26 6A 30 24 30 31 30 30 30 30 30 30 # ShadowRelay packet start ("S&j0$0100000") AES-CBC-128 # EchoCreep (Discord messages) AES-256-CBC via OpenSSL EVP # GraphWorm (OneDrive messages) AES-ECB # WormFrp (S3 config files; one key per build)

IOC DEVELOPER FINGERPRINT C:\Users\hello\Desktop\c#\proxy\csocks\csocks\obj\Release\csocks.pdb # WormHole PDB F:\1-Codefield\VS2019\C2OverOneDrive_v0316\ # GraphWorm dev path v0316 # GraphWorm build tag ldflags COMMIT 08059e95dacafe0bf6e5782f8e2c8ec9cd8c5a17 # SparkRAT build hash hello # operator workstation user jonson889912 # Discord operator handle MicrosoftSSHUpdate # EchoCreep persistence task

Collection -- IOC table

# IOC Type Role First seen
1 freecountrys.com host lure apex 2026-04-12
2 cdn.freecountrys.com host wildcard substrate 2026-04-12
3 sleve.freecountrys.com host sibling subdomain 2026-04-12
4 digimg.store host lure apex, Namecheap 2024-11-20
5 dnslog.ink host sibling-registered with digimg.store 2024-11-20
6 stock.windupbird.eu.org host reverse-shell host on 144.168.60.233 2026-04-07
7 whpjewellers.s3.amazonaws.com host compromised customer S3 (us-east-1) 2025-04-14
8 wamanharipethe.s3.ap-south-1.amazonaws.com host compromised customer S3 (ap-south-1) 2025-04-14
9 https://github.com/anjsdgasdf/WordPress URL file stager; forked WordPress; taken down 2025 (per vendor)
10 5.34.176.39 IPv4 ShadowRelay client C2 (Green Floid SG) 2026-01-20
11 45.77.13.67 IPv4 WormSocket server (Vultr) 2024 (port-hist), 2025-04-07
12 64.176.85.158 IPv4 SmuxProxy server (Constant Co.) 2025-06-28
13 94.131.2.59 IPv4 ShadowRelay client C2 2026-01-20
14 104.243.23.43 IPv4 SmuxProxy server #2 (IT7) 2025-04-09
15 108.61.200.151 IPv4 WormFrp proxy server (Vultr) 2025-04-10
16 144.168.60.233 IPv4 reverse-shell IP; 2024 KTLVdoor reuse 2024-02-20
17 172.234.24.211 IPv4 opendir port 8080 (Akamai) 2026-04-28
18 0968de8d…f349416 SHA-256 ShadowRelay client (publicrundll64.exe) 2026-01-20
19 22d2028065b6d592… SHA-256 WormHole sibling #1 (MSIL) 2026-05-20
20 504d27aa…cf349416 SHA-256 ShadowRelay client (comms.exe) 2026-01-20
21 541628370c…01a5e5 SHA-256 ShadowRelay server (jx71a1wa.exe) 2026-01-20
22 5429e9553e28bfe9… SHA-256 WormHole sibling #2 (MSIL) 2026-05-20
23 611a42a8…b7fa0dcb SHA-256 SparkRAT per-victim build (Linux Go ELF) 2026-05-20
24 6eb6a342…0c8bcb1 SHA-256 GraphWorm (C2OverOneDrive_v0316.exe) 2026-05-20
25 967b2bd32387b31b… SHA-256 WormHole sibling #3 (MSIL) 2026-05-20
26 97a8e5b2…cbf7e8e0 SHA-256 WormFrp (frpc_g.exe, garble Windows Go) 2026-05-20
27 9aae7e27…f06ed60 SHA-256 UnpacMe-unpacked ShadowRelay server sibling 2026-05-20
28 aefc1a50…c3d6cdd SHA-256 SparkRAT per-victim sibling (client.exe) 2026-05-16
29 bd93fd7c…203f422 SHA-256 WormHole (csocks.exe / pcjhn.exe) 2026-05-20
30 e49c6b37f1f37f2d… SHA-256 WormHole sibling #4 (MSIL) 2026-05-20
31 e99664504c1b3740… SHA-256 WormHole sibling #5 (MSIL) 2026-05-20
32 fb13c5b5397d0ca8… SHA-256 WormHole sibling #6 (MSIL) 2026-05-20
33 ]zf,.Hso'!x3|ezz/… AES-256 key ShadowRelay client mode 2026-01-20
34 bcudisbofds42bio AES-128 key ShadowRelay server mode 2026-01-20
35 53 26 6A 30 24 … packet sig ShadowRelay packet start 2026-01-20
36 C:\Users\hello\…csocks.pdb PDB path WormHole dev workstation 2026-05-20
37 F:\1-Codefield\VS2019\… dev path GraphWorm dev workstation 2026-05-20
38 v0316 version tag GraphWorm build (March 16) 2026-05-20
39 08059e95dacafe0b… git COMMIT SparkRAT ldflags build hash 2026-05-20
40 hello username operator workstation 2026-05-20
41 jonson889912 Discord handle operator account 2025-04 → 2026
42 MicrosoftSSHUpdate task name EchoCreep persistence task 2025-04 → 2026

YARA rules (sample-confirmed against on-disk binaries)

import "pe"

rule MAL_Webworm_WormFrp
{
    meta:
        author = "Mallory.ai CTI"
        date = "2026-05-21"
        family = "WormFrp"
        threat_actor = "Webworm"
        reference = "ESET WeLiveSecurity 2026-05-20"
        hash_sha256 = "97a8e5b2bc51f3b3f7cd2117cf0da8fc49bee2e597ecc04637dcfdccfbf7e8e0"
        hash_sha1 = "1df40a4a31b30b62ec33dc6fecc2c4408302adc7"

    strings:
        $frp_1 = "frpc sudp visitor proxy is closed" ascii
        $frp_2 = "nathole prepare success" ascii
        $frp_3 = "unmarshal VisitorConfig" ascii
        $frp_4 = "xtcp read from workConn" ascii
        $frp_5 = "loginFailExit" ascii
        $frp_6 = "GetClientConn" ascii
        $garble_1 = "/tmp/garble-shared" ascii
        $garble_re = /\/tmp\/garble-shared[0-9]{8,12}\/[A-Za-z0-9_]+\/[a-z_]+\.go/ ascii

    condition:
        uint16(0) == 0x5a4d and filesize > 5MB
        and 2 of ($frp_*)
        and any of ($garble_*)
}

rule MAL_Webworm_WormFrp_vs_Vanilla_FRP
{
    meta:
        author = "Mallory.ai CTI"
        date = "2026-05-21"
        family = "WormFrp"
        description = "Tells WormFrp apart from vanilla github.com/fatedier/frp"

    strings:
        $frp_1 = "frpc sudp visitor proxy is closed" ascii
        $frp_2 = "nathole prepare success" ascii
        $frp_3 = "unmarshal VisitorConfig" ascii
        $garble_1 = "/tmp/garble-shared" ascii
        $vanilla_fatedier = "github.com/fatedier/frp" ascii

    condition:
        uint16(0) == 0x5a4d
        and 2 of ($frp_*)
        and $garble_1
        and not $vanilla_fatedier
}

rule MAL_Webworm_GraphWorm
{
    meta:
        author = "Mallory.ai CTI"
        date = "2026-05-21"
        family = "GraphWorm"
        threat_actor = "Webworm"
        reference = "ESET WeLiveSecurity 2026-05-20 (full paper)"
        hash_sha1 = "77f1970d620216c5fff4e14a6ccc13fccc267217"
        hash_sha256 = "6eb6a34252195ddc7f5fb94c4fb382dedde227c4dfee4a80e9e0ee6f80c8bcb1"
        confidence = "high"

    strings:
        $graph_1 = "graph.microsoft.com" ascii
        $graph_2 = "/v1.0/me/drive/" ascii
        $oauth_1 = "login.microsoftonline.com" ascii
        $oauth_2 = "/oauth2/v2.0/token" ascii
        $oauth_3 = "refresh_token" ascii
        $onedrive_1 = "OneDrive" ascii wide
        $onedrive_2 = "Full OneDrive path:" ascii
        $devname_1 = "C2OverOneDrive" ascii wide

        // File artifacts from the full paper
        $file_1 = "beacon_shell_output.txt" ascii wide
        $file_2 = "alive.txt" ascii wide
        $file_3 = "config.dat" ascii wide
        // Large-file upload endpoint
        $endpoint_upload = "createUploadSession" ascii
        // Operator command set (from the OneDrive job folder)
        $cmd_1 = "keyExchange" ascii wide
        $cmd_2 = "sessionKey" ascii wide
        $cmd_3 = "heartbeat" ascii wide
        $cmd_4 = "upgrade" ascii wide
        // Per-victim OneDrive subfolders
        $subfolder_1 = "/files" ascii
        $subfolder_2 = "/result" ascii
        $subfolder_3 = "/job" ascii
        // Host-info JSON keys
        $hostinfo_1 = "\"Privilege\":" ascii
        $hostinfo_2 = "\"Workgroup\":" ascii
        $hostinfo_3 = "\"publicKey\":" ascii

    condition:
        uint16(0) == 0x5a4d
        and (
            (any of ($file_*) and 1 of ($graph_*))
            or ($endpoint_upload and 1 of ($graph_*))
            or (2 of ($cmd_*) and 1 of ($graph_*))
            or (2 of ($subfolder_*) and 1 of ($graph_*))
            or (2 of ($hostinfo_*) and 1 of ($graph_*))
            or (2 of ($graph_*) and 1 of ($oauth_*))
            or (1 of ($graph_*) and $devname_1)
            or (any of ($onedrive_*) and 1 of ($graph_*) and 1 of ($oauth_*))
        )
}

rule MAL_Webworm_WormHole
{
    meta:
        author = "Mallory.ai CTI"
        date = "2026-05-21"
        family = "WormHole"
        threat_actor = "Webworm"
        reference = "ESET WeLiveSecurity 2026-05-20"
        hash_sha1 = "7dcfe9ee25841dfd58d3d6871bf867fe32141dfb"
        hash_sha256 = "bd93fd7c18fdb514d451f8faf64a68584e967403ef5f75886ccafbadb203f422"
        validation = "7 samples confirmed (1 original + 6 siblings caught by the rule)"

    strings:
        $msil_1 = "_CorExeMain" ascii
        $msil_2 = "mscoree.dll" ascii
        $msil_3 = "BSJB" ascii
        $msil_4 = "System.Reflection" ascii
        $pdb_csocks = "csocks\\csocks\\obj\\Release\\csocks.pdb" ascii
        $pdb_hello_user = "C:\\Users\\hello\\Desktop\\c#" ascii
        $project_name = "csocks" ascii
        $net_1 = "System.Net.Sockets" ascii
        $net_2 = "System.Net" ascii

    condition:
        uint16(0) == 0x5a4d
        and 2 of ($msil_*)
        and (
            $pdb_csocks
            or $pdb_hello_user
            or (2 of ($net_*) and $project_name)
        )
}

More YARA rules (in the case-folder YARA file):

  • EchoCreep (HIGH) -- adds MicrosoftSSHUpdate task name, Up Success handshake string, and Discord-JSON field literals.
  • WormSocket (HIGH) -- adds message-class names InitiateForwarderClientReq, InitiateForwarderClientRep, SendDataMessage, CheckInMessage.
  • ChainWorm (MEDIUM-HIGH) -- promoted from scaffold; matches on the SOCKS5-error byte sequence 05 01 00 01 00 00 00 00 00 00, with a guard against WormFrp.
  • SmuxProxy (HIGH) -- matches on the IOX + SMUX library combo.

All four are still waiting on on-disk samples to confirm, but the n6 markers raise their confidence.

Suricata / Snort rule (per the vendor ShadowRelay paper -- packet signature)

alert tcp any any -> any any (
    sid:1000001; rev:1;
    msg:"MALWARE ShadowRelay Backdoor";
    classtype:trojan-activity;
    content:"|53 26 6A 30 24 30 31 30 30 30 30 30 30|";
    startswith;
    reference:md5,0bd08e75f20e0e664c219d744d28f57b;
    metadata:place perimeter;
    metadata:malware ShadowRelay;
    metadata:MITRE T1071;
)

THREAT ACTOR NAME Webworm (linked: SixLittleMonkeys, FishMonger; cross-tracker: Space Pirates, ShadowPad / SNAPPYBEE)

MALWARE FILES SearchApp.exe (EchoCreep), ssh.exe (WormFrp), svc.exe / csocks.exe / pcjhn.exe (WormHole), C2OverOneDrive_v0316.exe (GraphWorm), MessengerClient.exe (WormSocket), dsocks.exe (SmuxProxy), comms.exe (ShadowRelay client), publicrundll64.exe (ShadowRelay client), jx71a1wa.exe (ShadowRelay server), client (SparkRAT per-victim build), frpc_g.exe (WormFrp Windows garble), SharpSecretsdump (Impacket secretsdump.py port, staged in S3), _1.sh (LegalHackers CVE-2017-7692 SquirrelMail PoC, used against a webmail target)

CREATED DATE 2026-05-21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment