<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0" -->

---
title: DarkMe RAT: A VB6 APT Trojan Turned Conventional Infostealer
description: Huntress researchers detail a 2026 DarkMe RAT campaign that abandons the zero-day exploits (CVE-2023-38831, CVE-2024-21412) formerly used by the APT-linked...
canonical: https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: DarkMe RAT: A VB6 APT Trojan Turned Conventional Infostealer | daily.dev
og:description: Huntress researchers detail a 2026 DarkMe RAT campaign that abandons the zero-day exploits (CVE-2023-38831, CVE-2024-21412) formerly used by the APT-linked...
og:url: https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0
og:image: https://api.daily.dev/og/posts/5iIgZsyq0.png
og:image:alt: DarkMe RAT: A VB6 APT Trojan Turned Conventional Infostealer
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# DarkMe RAT: A VB6 APT Trojan Turned Conventional Infostealer

**[Huntress Blog](https://daily.dev/sources/huntress-blog)** · 25 min read · 0 upvotes · 0 comments

## Summary

Huntress researchers detail a 2026 DarkMe RAT campaign that abandons the zero-day exploits (CVE-2023-38831, CVE-2024-21412) formerly used by the APT-linked group Water Hydra, instead relying on a simple .pif file disguised as an image delivered via phishing email. The infection chain runs through msiexec fetching a remote MSI, a WSF staging script, three obfuscated VB6 loader DLLs (Coconout.dll, Use.dll, Finalized.dll), a 329-application 'human presence' check, and process hollowing into a signed Microsoft binary (clspack.exe). The piece also reverse-engineers a broken RC4 implementation in the payload decryption that had been mischaracterized in prior reporting as a simple XOR, recovers a new RC4 key and C2 domain (thatawful.boutique), and provides detection rules, IOCs, and remediation steps.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.huntress.com/blog/darkme-rat-abandons-exploits>

## Questions this post answers

### How does the current DarkMe RAT campaign get initial access without using zero-day exploits?

It uses a phishing email linking to a URL that appears to serve an image but actually delivers a .pif file (image.pif), a Windows executable disguised with forged file metadata implying it belongs to a security product called Aegis Sentinel. Double-clicking the file triggers msiexec to fetch a remote MSI, starting the infection chain, with no exploit involved at all.

_Security teams tracking phishing-delivered malware chains can follow deep technical writeups like this on daily.dev._

### What was wrong with the RC4 decryption algorithm used to decrypt the DarkMe RAT payload from company.cer?

The implementation omitted the key-scheduling swap step, so the S-box was never shuffled and stayed as the identity permutation, turning what looked like RC4 into a simple recurrence that collapses to a fixed point after seven bytes, after which the output byte is always 2. This means only the first seven bytes of the payload are protected by the key (matching the MS-DOS stub exactly); the rest is effectively XORed with 0x02, contradicting earlier public reports that called it a plain single-byte XOR by design.

_Malware reverse engineers piecing apart broken crypto implementations can find detailed writeups like this on daily.dev._

### How does DarkMe RAT's process gate decide whether to run on an infected machine?

Stage 2 (Use.dll) enumerates the running process list against 329 hardcoded executable names covering crypto wallets, password managers, trading terminals, poker clients, game launchers, and even RGB lighting utilities like razersynapse.exe and icue.exe. If none of these are found running, the malware exits with the string 'No protected apps found - exiting FillText', effectively using consumer software as a proxy for detecting a real human user rather than checking for analysis tools.

_Threat hunters building detection rules against anti-sandbox tricks can track deep-dive analyses like this on daily.dev._

## Similar posts on daily.dev

- [Zero-day hackers ditch exploits for a fake image file in new DarkMe campaign](https://daily.dev/posts/zero-day-hackers-ditch-exploits-for-a-fake-image-file-in-new-darkme-campaign-chtgrqusy) · IT Security Guru · 0 upvotes · 0 comments
- [This stealthy Windows RAT holds live conversations with its operators](https://daily.dev/posts/this-stealthy-windows-rat-holds-live-conversations-with-its-operators-5bhtgzqlt) · CSO Online · 0 upvotes · 0 comments
- [SilverFox Hackers Use Go RAT, AV Killer, and Kernel Rootkit in ValleyRAT Campaign](https://daily.dev/posts/silverfox-hackers-use-go-rat-av-killer-and-kernel-rootkit-in-valleyrat-campaign-8mnjmf0s7) · Security Boulevard · 0 upvotes · 0 comments
- [New Malware Campaign Delivers Remcos RAT Through Multi-Stage Windows Attack](https://daily.dev/posts/new-malware-campaign-delivers-remcos-rat-through-multi-stage-windows-attack-c7pnftjdg) · The Hacker News · 0 upvotes · 0 comments

---

Tags: [#malware](https://daily.dev/tags/malware), [#phishing](https://daily.dev/tags/phishing)

[View this post on daily.dev](https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"DarkMe RAT: A VB6 APT Trojan Turned Conventional Infostealer","url":"https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0"},"datePublished":"2026-09-23T07:39:27.447Z","dateModified":"2026-09-23T07:39:57.168Z","description":"Huntress researchers detail a 2026 DarkMe RAT campaign that abandons the zero-day exploits (CVE-2023-38831, CVE-2024-21412) formerly used by the APT-linked...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/10683ba61791559ff34f0359d9efbe3b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/10683ba61791559ff34f0359d9efbe3b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Huntress Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Huntress Blog","logo":"https://media.daily.dev/image/upload/s--kDC1MDsj--/f_auto,q_auto/v1780213277/logos/huntress-blog?_a=BAMAMiWQ0","url":"https://daily.dev/sources/huntress-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"malware,phishing","timeRequired":"PT25M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Huntress Blog","item":"https://daily.dev/sources/huntress-blog"},{"@type":"ListItem","position":3,"name":"DarkMe RAT: A VB6 APT Trojan Turned Conventional Infostealer"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/darkme-rat-a-vb6-apt-trojan-turned-conventional-infostealer-5iigzsyq0#faq","mainEntity":[{"@type":"Question","name":"How does the current DarkMe RAT campaign get initial access without using zero-day exploits?","acceptedAnswer":{"@type":"Answer","text":"It uses a phishing email linking to a URL that appears to serve an image but actually delivers a .pif file (image.pif), a Windows executable disguised with forged file metadata implying it belongs to a security product called Aegis Sentinel. Double-clicking the file triggers msiexec to fetch a remote MSI, starting the infection chain, with no exploit involved at all. Security teams tracking phishing-delivered malware chains can follow deep technical writeups like this on daily.dev."}},{"@type":"Question","name":"What was wrong with the RC4 decryption algorithm used to decrypt the DarkMe RAT payload from company.cer?","acceptedAnswer":{"@type":"Answer","text":"The implementation omitted the key-scheduling swap step, so the S-box was never shuffled and stayed as the identity permutation, turning what looked like RC4 into a simple recurrence that collapses to a fixed point after seven bytes, after which the output byte is always 2. This means only the first seven bytes of the payload are protected by the key (matching the MS-DOS stub exactly); the rest is effectively XORed with 0x02, contradicting earlier public reports that called it a plain single-byte XOR by design. Malware reverse engineers piecing apart broken crypto implementations can find detailed writeups like this on daily.dev."}},{"@type":"Question","name":"How does DarkMe RAT's process gate decide whether to run on an infected machine?","acceptedAnswer":{"@type":"Answer","text":"Stage 2 (Use.dll) enumerates the running process list against 329 hardcoded executable names covering crypto wallets, password managers, trading terminals, poker clients, game launchers, and even RGB lighting utilities like razersynapse.exe and icue.exe. If none of these are found running, the malware exits with the string 'No protected apps found - exiting FillText', effectively using consumer software as a proxy for detecting a real human user rather than checking for analysis tools. Threat hunters building detection rules against anti-sandbox tricks can track deep-dive analyses like this on daily.dev."}}]}
```

