Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
whatsapp-valleyrat-analysis — WhatsApp-delivered Winos 4.0 / ValleyRAT stager: DLL sideloading, BYOVD Defender kill (CVE-2026-36425), custom C2 protocol on TCP 443, and previously unreported C2 infrastructure. | Kitploit
Tools/GitHubGitHub/macawad/whatsapp-valleyrat-analysis
Indicator of Compromise (IOC) ManagementStatic AnalysisDynamic Analysis (Sandboxing)Reverse EngineeringMalware AnalysisDigital ForensicsBinary AnalysisThreat Intelligence
Share
Papers & Research
Incident Response
GitHubmacawad/whatsapp-valleyrat-analysis

whatsapp-valleyrat-analysis

WhatsApp-delivered Winos 4.0 / ValleyRAT stager: DLL sideloading, BYOVD Defender kill (CVE-2026-36425), custom C2 protocol on TCP 443, and previously unreported C2 infrastructure.

View Repository
1Nov 1, 2026Not yet reviewed

WhatsApp Malware Analysis: Winos 4.0 / ValleyRAT Stager with a BYOVD AV Killer

Author: Mac Awad, Cyber Security student (Certificate IV, TAFE Queensland) · LinkedIn Date: 30 Oct to 1 Nov 2026 (times in AEST, UTC+10) Status: Reported to ASD's ACSC (ReportCyber), ThreatFox and the domain registrar

A "payment statement" ZIP sent from a hijacked WhatsApp account turned out to be a Winos 4.0 / ValleyRAT stager. In an isolated lab it killed Microsoft Defender with a signed vulnerable driver, then beaconed to a previously unreported C2 domain over a custom binary protocol on TCP 443. Passive OSINT traced the C2 to a pool of disposable Windows servers in Hong Kong.

TL;DR

  • Delivery: WhatsApp message from a hijacked business contact, ZIP > VHD > signed EXE + hidden DLL (DLL sideloading)
  • Defence evasion: Mark-of-the-Web bypass (VHD), RC4-encrypted strings, UAC bypass, BYOVD: OPSWAT ardrv.sys (CVE-2026-36425) used to kill Microsoft Defender
  • C2: wwwapko[.]top → 156.234.7[.]71, raw TCP/443 (not TLS), 16-byte hello, beacon about every 67 s
  • Infrastructure: domain registered 2 days before the attack; C2 is a fresh Windows Server 2022 box in Hong Kong; its default hostname also appears on 156.234.7[.]170 a day earlier, most likely the same server before an IP change
  • Family: VirusTotal YARA rules identify it as a Winos 4.0 / ValleyRAT stager, a Gh0st RAT descendant attributed to the Silver Fox group
  • Code: reversed in Ghidra; mapped 15 functions, including a multi-driver AV killer, two UAC bypasses, a watchdog pair and decoy Microsoft traffic
  • New intel: I found no public reports of the C2 domain or IPs and reported them first on ThreatFox

Attack chain

flowchart TD
    A[WhatsApp lure<br/>from hijacked contact] --> B[ZIP]
    B --> C[VHD mounted as drive<br/>no MOTW warning]
    C --> D[Signed SETTINGM.exe<br/>sideloads hidden Is.Dll]
    D --> E[Stage in Users\Public\Libraries<br/>relaunch via rundll32]
    E --> F[UAC bypass]
    F --> G[Drop ardrv.sys<br/>kill Defender]
    G --> H[Beacon to wwwapko.top<br/>TCP 443, every ~67 s]
    H --> I[Next stage: Winos 4.0<br/>online module, not received]

1. Delivery

WhatsApp lure, contact blurred

The message used a classic invoice-fraud script: urgency ("resolve this payment gap"), authority ("forward it to your finance head") and platform steering ("open it on a computer", because the payload only runs on Windows). The account owner sent a spam warning 47 minutes later, confirming the account was hijacked.

Account owner's warning, contact blurred

2. Static analysis

FileSizeNotes
E-statement Proforma Invoice (2).zip2.9 MBWrapper
10301023482034.vhd6.3 MBDynamic VHD, exFAT, volume label "Business", built 30 Oct 02:24 UTC on a UTC+8 clock
I1030102341.exe360 KBGenuine Menksoft SETTINGM.exe (2017), validly signed; imports 3 functions from Is.dll
Is.Dll4.28 MBMalicious, Hidden + System, compiled 29 Oct 2026 17:03 UTC, export name MSEdgeWebView.dll

VHD contents in Kali: the hidden Is.Dll is visible on Linux

Key findings from Is.Dll:

  • Exports the three functions the host needs, plus a fake vcruntime140_1_app used to relaunch itself through rundll32
  • A 1.33 MB section with a Chinese name (starting 正在) and entropy 7.49 (packed payload)
  • Resources disguised as OneDrive data; three of them (SETTINGSDATABASE, SYNCENGINEDATABASE, UXDATABASE) are encrypted payloads
  • Download fallbacks in clear text: curl -L -s -o, bitsadmin /transfer, certutil -urlcache, msiexec /qn
  • Config strings stored as hex and encrypted with RC4, key = the ASCII string 3DC0C2FE338F567442B73E4B644B4F1A

Decryptor (static, never executes the sample):

import re, sys
key = b'3DC0C2FE338F567442B73E4B644B4F1A'
def rc4(k, d):
    S = list(range(256)); j = 0
    for i in range(256):
        j = (j + S[i] + k[i % len(k)]) % 256; S[i], S[j] = S[j], S[i]
    i = j = 0; out = bytearray()
    for b in d:
        i = (i + 1) % 256; j = (j + S[i]) % 256; S[i], S[j] = S[j], S[i]
        out.append(b ^ S[(S[i] + S[j]) % 256])
    return bytes(out)
data = open(sys.argv[1], 'rb').read()
for m in re.finditer(rb'(?:[0-9A-F]\x00){16,}', data):
    h = m.group().decode('utf-16le')
    if len(h) % 2: continue
    pt = rc4(key, bytes.fromhex(h))
    if sum(32 <= c < 127 for c in pt) > 0.85 * len(pt):
        print(pt.decode()[:150])

Decrypted strings revealed:

  • Vulnerable driver devices: \\.\HWAudioX64, \\.\ardrv, \\.\Alinubx
  • AV kill lists: 227 process names across Defender, CrowdStrike, SentinelOne, Sophos, Kaspersky, ESET, Bitdefender, Trend Micro, K7, 360, AhnLab and more
  • UAC bypasses: HKCU\Software\Classes\ms-settings\shell\open\command + ComputerDefaults.exe, and the CMSTPLUA elevation moniker {3E5FC7F9-9A51-4367-9063-A120244FBEC7}
  • Staging path: C:\Users\Public\Libraries\<random>\<random>

3. Dynamic analysis (isolated lab)

Setup: Windows 11 VM (Defender on, Sysinternals Procmon, Process Explorer, Autoruns) and a Kali VM as fake internet (INetSim, a small fake DNS script, tcpdump), on a private VMware LAN segment with no real internet. Clean snapshot before each run.

TimeObservation
21:40VHD mounts as "Business"; only the EXE is visible; no window appears
21:40Kit copied to 3 hidden junk-named folders in C:\Users\Public\Libraries, host EXE renamed after OneDrive files (SafeDelete.db-wal.exe, telemetry-dll-ramp-value.exe, SyncEngineDatabase.db.exe)
21:40Relaunch: rundll32.exe "...\IS.dll",vcruntime140_1_app
21:40:25Drops a 17,744-byte driver and creates kernel service ardrv (OPSWAT, verified signature)
21:40Defender killed: MsMpEng gone, real-time protection off, no detection logged
21:40:39First DNS lookup for wwwapko[.]top; 1,080 lookups in under an hour

Victim view and the relaunched rundll32

Defender off and the ardrv driver running

Autoruns: the only new entry is the signed OPSWAT driver

The dropped driver's SHA-256 7504887e... matches OPSWAT AppRemover ardrv.sys, CVE-2026-36425: its IOCTL 0x2420031 terminates any process ID from kernel mode. No Run key or scheduled task was created, so persistence would come from the next stage.

4. C2 protocol

With a working fake DNS, the malware resolved the domain and connected to TCP 443, but never started TLS. It sent a 16-byte binary hello instead:

10 00 00 00  2c 4b 0a 00  5d 8e 13 33 fb  00  66 62
Download Tool

Related Tools

  • MISP

    MISP (core software) - Open Source Threat Intelligence and Sharing Platform

  • opencti

    Open Cyber Threat Intelligence Platform

  • IntelOwl

    Scalable threat intelligence platform that enriches observables and files using 200+ analyzers, with built-in GUI, REST API, and automated workflows for SOC analysts and DFIR teams.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    801
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    455
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    392
  • 5

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    350
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    332

Explore all tools

Browse our collection of tools

View all tools →