Threat reportVulnerabilityTL-2026-3836
BlueKeep (CVE-2019-0708) RDP exploitation observed in the wild delivering cryptocurrency miner
Kryptos Logic, working with researchers Kevin Beaumont and Marcus Hutchins, confirmed the first in-the-wild exploitation of the BlueKeep RDP use-after-free vulnerability (CVE-2019-0708) on 2019-11-02. The shellcode matched the BlueKeep Metasploit module and led to a multi-stage encoded PowerShell chain that installed a Monero cryptocurrency miner. First disclosed .
Key facts
| Identifiers | TL-2026-3836, CVE-2019-0708 |
|---|---|
| Also known as | BlueKeep, BlueKeep Monero Miner |
| Severity | CRITICAL |
| CVSS | 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| First disclosed | |
| Exploitation status | Linked CVE exploited in the wild; Listed in CISA KEV: CVE-2019-0708 (added ) |
| EPSS | CVE-2019-0708: 99.9% (99.9th percentile) |
| Affected products | Microsoft Windows 7; Microsoft Windows Server 2008; Siemens Medical imaging equipment running affected Windows versions; Huawei Servers and storage systems running affected Windows versions |
| Weaknesses (CWE) | CWE-416 |
| Malware | Monero Miner |
| Tools | Metasploit Framework (BlueKeep module), metasploit |
| MITRE ATT&CK techniques | T1027 Obfuscated Files or Information, T1036.005 Masquerading: Match Legitimate Resource Name or Location, T1053.005 Scheduled Task/Job: Scheduled Task, T1059.001 Command and Scripting Interpreter: PowerShell, T1071.001 Application Layer Protocol: Web Protocols, T1140 Deobfuscate/Decode Files or Information, T1190 Exploit Public-Facing Application, T1203 Exploitation for Client Execution, T1496.001 Resource Hijacking: Compute Hijacking |
| Motivation | FINANCIAL |
| Target sectors | technology, health |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-10-17, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3836 across Splunk SPL, Microsoft KQL and Sigma, covering 8 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: BlueKeep Post-Exploitation — Nested Encoded PowerShell and Scheduled Task Persistence
Detects the post-exploitation chain Microsoft documented after BlueKeep (CVE-2019-0708) shellcode execution: multiple nested powershell -EncodedCommand stages (stage 2 fetched from 5.135.199.19 over 443, final stage downloading the miner) and a schtasks /create persistence step launching PowerShell or C:\Windows\System32\spool\svchost.exe. Covers T1059.001, T1027, T1140 and T1053.005.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1059.001, T1027, T1140, T1053.005
- Data sources: sysmon, process_creation
- Severity: high
- Confidence: medium
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h | eval img=lower(Image), parent=lower(ParentImage), cmd=lower(CommandLine) | eval enc_ps=if((like(img,"%powershell.exe") OR like(img,"%pwsh.exe")) AND match(cmd,"\s-e(c|n|nc|ncodedcommand)?\s+[a-z0-9+/=]{20,}"),1,0) | eval nested_enc=if(enc_ps=1 AND (like(parent,"%powershell.exe") OR like(parent,"%pwsh.exe")),1,0) | eval task_create=if(like(img,"%schtasks.exe") AND like(cmd,"%/create%") AND (like(cmd,"%powershell%") OR like(cmd,"%spool%svchost.exe%")),1,0) | where enc_ps=1 OR task_create=1 | stats sum(enc_ps) as encoded_ps sum(nested_enc) as nested_encoded sum(task_create) as task_creates values(CommandLine) as command_lines min(_time) as first_seen by host User | where (encoded_ps>=2 AND nested_encoded>=1) OR task_creates>=1 | convert ctime(first_seen)Microsoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where (FileName in~ ("powershell.exe", "pwsh.exe") and ProcessCommandLine matches regex @"(?i)\s-e(c|n|nc|ncodedcommand)?\s+[A-Za-z0-9+/=]{20,}")
or (FileName =~ "schtasks.exe" and ProcessCommandLine has "/create" and (ProcessCommandLine has "powershell" or ProcessCommandLine has @"spool\svchost.exe"))
| extend IsEncPs = FileName in~ ("powershell.exe", "pwsh.exe"), IsSchtask = FileName =~ "schtasks.exe"
| summarize EncPs = countif(IsEncPs), NestedEnc = countif(IsEncPs and InitiatingProcessFileName in~ ("powershell.exe", "pwsh.exe")), SchtaskCreate = countif(IsSchtask), Cmds = make_set(ProcessCommandLine, 10), FirstSeen = min(Timestamp) by DeviceName, AccountName
| where (EncPs >= 2 and NestedEnc >= 1) or SchtaskCreate > 0
| project DeviceName, AccountName, EncPs, NestedEnc, SchtaskCreate, FirstSeen, CmdsSigma
title: BlueKeep Post-Exploitation Nested Encoded PowerShell and Scheduled Task Persistence
id: a2d94e17-83b5-4c60-8f1e-3b7c9d052e46
status: experimental
description: Detects PowerShell launched with an encoded command by a PowerShell parent (nested staging) and scheduled task creation that runs PowerShell or C:\Windows\System32\spool\svchost.exe, as seen after BlueKeep (CVE-2019-0708) exploitation delivering a Monero miner.
references:
- https://www.microsoft.com/en-us/security/blog/2019/11/07/the-new-cve-2019-0708-rdp-exploit-attacks-explained/
- https://www.tenable.com/blog/cve-2019-0708-bluekeep-exploited-in-the-wild-to-deliver-cryptocurrency-miner
author: Threadlinqs Team
date: 2026/10/17
tags:
- attack.execution
- attack.t1059.001
- attack.defense-evasion
- attack.t1027
- attack.t1140
- attack.persistence
- attack.t1053.005
- cve.2019-0708
logsource:
category: process_creation
product: windows
detection:
selection_ps_img:
Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
selection_enc:
CommandLine|contains:
- ' -enc '
- ' -EncodedCommand '
- ' -ec '
selection_nested_parent:
ParentImage|endswith:
- '\powershell.exe'
- '\pwsh.exe'
selection_task_img:
Image|endswith: '\schtasks.exe'
selection_task_create:
CommandLine|contains: '/create'
selection_task_payload:
CommandLine|contains:
- 'powershell'
- '\spool\svchost.exe'
condition: (selection_ps_img and selection_enc and selection_nested_parent) or (selection_task_img and selection_task_create and selection_task_payload)
falsepositives:
- Software deployment or management tools that run encoded PowerShell from a PowerShell parent
- Administrators creating scheduled tasks that call PowerShell
level: highKnown false positives:
- Legitimate management or deployment tooling (SCCM, RMM agents) that launches encoded PowerShell from a PowerShell parent
- Administrator-created scheduled tasks that invoke PowerShell
Tuning notes: Allow-list known management tool command lines and service accounts. Require the encoded-PowerShell burst on hosts that also show the RDP crash signal (detection 001) to raise confidence. Enable Sysmon EventCode 1 or process-creation auditing with command line logging (Event 4688) and PowerShell Script Block Logging (4104) to decode the staged payloads.
- BlueKeep CVE-2019-0708 Exploitation Attempt — RDP Service Crash / Bugcheck (Sentinel) — Exploitation Phase · unlock with TL Creds
- BlueKeep Post-Exploitation — Nested Encoded PowerShell and Scheduled Task Persistence (Defender/Sentinel) · unlock with TL Creds
- BlueKeep Monero Miner — C2/Download Infrastructure and Masqueraded spool\[indicator] (Defender/Sentinel) · unlock with TL Creds
- BlueKeep CVE-2019-0708 Exploitation Attempt — RDP Service Crash / Bugcheck (Sigma) — Exploitation Phase · unlock with TL Creds
- BlueKeep Post-Exploitation — Nested Encoded PowerShell and Scheduled Task Persistence (Sigma) · unlock with TL Creds
- BlueKeep Monero Miner — C2/Download Infrastructure and Masqueraded spool\[indicator] (Sigma) · unlock with TL Creds
- BlueKeep CVE-2019-0708 Exploitation Attempt — RDP Service Crash / Bugcheck (termdd.sys) — Exploitation Phase · unlock with TL Creds
- BlueKeep Monero Miner — C2/Download Infrastructure and Masqueraded spool\[indicator] · unlock with TL Creds
Indicators of compromise
As of 2026-10-17, Threadlinqs Intelligence tracks 8 indicators of compromise for TL-2026-3836.
Sample indicators (3 of 8)
- IP address:
5.135.199[.]19 - File hash:
8a87a1261603af4d976faa57e49ebdd8fd8317e9dd13bd36ff2599d1031f53ce - IP address:
109.176.117[.]11
Defanged, TLP:CLEAR. Full set of 8 indicators: unlock with TL Creds.
Technical analysis
CVE-2019-0708 (BlueKeep) is an unauthenticated remote code execution vulnerability in Windows Remote Desktop Services (formerly Terminal Services), reachable over RDP on TCP/3389 before authentication. It affects Windows 7 SP1, Windows Server 2008 SP2 and Windows Server 2008 R2 SP1 (NVD). Microsoft patched it on 2019-05-14 and warned that it was wormable. NVD scores it CVSS 3.1 9.8 (CWE-416, use-after-free), and CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-03.
Exploit mechanics, per Kryptos Logic analysis of a kernel crash dump from Kevin Beaumont's 'EternalPot' RDP honeypots: the MS_T120 virtual channel structure is freed while a dangling pointer remains in the RDP driver (termdd.sys). The exploit heap-sprays the kernel pool with a very large number of allocations (19,000+, versus fewer than 100 in normal use). Attacker allocations of 0x170 bytes (channel structure plus metadata) reclaim the freed object, and a function pointer at offset 0x100 is overwritten to redirect execution. Kryptos Logic reported that the shellcode matched the public BlueKeep Metasploit module. Kernel shellcode locates the usermode stage with an egg hunt (egg 0x0b00dac0fefe42069 as reported), and the usermode shellcode (egg 0xb00dac0fefe31337 as reported) launches the payload.
Post-exploitation, per Microsoft's analysis: the initial encoded PowerShell command downloaded a further encoded PowerShell script from 5.135.199.19 (France) over port 443. Several nested encoded PowerShell stages followed, and the final stage downloaded a coin miner executable, written to C:\Windows\System32\spool\svchost.exe, from 109.176.117.11 (Great Britain). The miner contacted a command-and-control server at 5.100.251.106 (Israel), and the final script created a scheduled task to keep the miner persistent. Microsoft also found that an earlier coin-mining campaign in September 2019 used a main implant that contacted the same C2 infrastructure as the October BlueKeep Metasploit campaign. The miner was detected by 44% of VirusTotal engines as of 2019-11-03 (Tenable).
The exploit was unreliable and often crashed targets with a BSOD instead of delivering the payload. Microsoft Defender ATP behavioral telemetry showed RDP-related crashes rising from about 10 to about 100 per day starting 2019-09-06, which coincides with the Metasploit module release. Crashes were seen on external researcher honeypots from 2019-10-23. Kryptos Logic saw no WannaCry-style indiscriminate mass scanning and attributed the activity to a likely 'low-level actor' using out-of-the-box penetration-testing utilities. No named group is attributed. The delay of about six months between patch and detectable weaponization was noted as unexplained.
MITRE ATT&CK techniques by tactic:
Defense Evasion
T1027 Obfuscated Files or Information; T1036.005 Masquerading: Match Legitimate Resource Name or Location; T1140 Deobfuscate/Decode Files or Information
Persistence
T1053.005 Scheduled Task/Job: Scheduled Task
Execution
T1059.001 Command and Scripting Interpreter: PowerShell; T1203 Exploitation for Client Execution
Command and Control
T1071.001 Application Layer Protocol: Web Protocols
Initial Access
T1190 Exploit Public-Facing Application
Impact
Remediation
Patches
- Microsoft security advisory CVE-2019-0708 (released 2019-05-14) for Windows 7, Server 2008 and Server 2008 R2; out-of-band fixes were also issued for Vista, XP and Server 2003 per Tenable
Immediate actions
- Apply the Microsoft security update for CVE-2019-0708 on all affected Windows 7, Server 2008 and Server 2008 R2 hosts
- Block inbound TCP/3389 at the network perimeter and do not expose RDP directly to the internet
- Enable Network Level Authentication (NLA) on RDP hosts
- Block 5.135.199.19, 109.176.117.11 and 5.100.251.106 at the perimeter and hunt for historical connections
- Hunt for C:\Windows\System32\spool\svchost.exe and for scheduled tasks launching encoded PowerShell
Workarounds
- Enable NLA, which forces authentication before the vulnerable code path is reached
- Disable Remote Desktop Services where it is not needed
- Block TCP/3389 at the firewall
Longer-term hardening
- Upgrade or retire end-of-life Windows systems
- Disable unused services such as Remote Desktop where not required
- Alert on unexplained RDP-service crashes or BSODs on RDP-enabled hosts as a possible exploitation signal
- Deploy EDR with behavioral detection for encoded PowerShell and coin-miner activity
Affected and fixed versions
- Microsoft — Windows 7
Vulnerable versions: Windows 7 SP1 (32-bit and x64)
Fixed in: May 2019 security update (MSRC CVE-2019-0708) - Microsoft — Windows Server 2008
Vulnerable versions: Windows Server 2008 SP2 (32-bit, x64); Windows Server 2008 R2 SP1 (x64, Itanium)
Fixed in: May 2019 security update (MSRC CVE-2019-0708) - Siemens — Medical imaging equipment running affected Windows versions
Vulnerable versions: See Siemens advisories referenced in NVD - Huawei — Servers and storage systems running affected Windows versions
Vulnerable versions: See Huawei security notices referenced in NVD
Timeline
- Microsoft releases the security update for CVE-2019-0708 (BlueKeep) and warns the flaw is wormable.
- CVE-2019-0708 published in NVD with CVSS 3.1 base score 9.8 (CWE-416).
- BlueKeep Metasploit module released; Microsoft Defender ATP telemetry shows RDP-related crashes rising from about 10 to about 100 per day. An earlier September coin-mining campaign used a main implant that contacted the same C2 later seen in the BlueKeep campaign.
- Microsoft observes memory-corruption crashes consistent with BlueKeep exploit attempts.
- Crashes are detected on external researcher RDP honeypots.
- Kevin Beaumont's EternalPot RDP honeypots begin crashing with BSODs; a kernel dump is shared with Marcus Hutchins, who confirms the first in-the-wild BlueKeep exploitation.
- Kryptos Logic publishes its analysis: BlueKeep Metasploit shellcode, multi-stage encoded PowerShell chain and a cryptocurrency miner payload (SHA-256 8a87a126...53ce).
- Microsoft publishes its analysis of the attacks, naming the three-server infrastructure, the scheduled-task persistence and the miner path, and releasing Defender ATP threat analytics and advanced hunting queries.
- CISA adds CVE-2019-0708 to the Known Exploited Vulnerabilities catalog (remediation due 2022-05-03).
Sources cited
- NVD - CVE-2019-0708 NVD (NIST) · Advisory · 2019-05-16
- CISA Known Exploited Vulnerabilities Catalog (CVE-2019-0708) CISA · Government advisory · 2021-11-03
- The new CVE-2019-0708 RDP exploit attacks explained (Microsoft Security Blog) Microsoft · Vendor report · 2019-11-07
- Microsoft MSRC Advisory CVE-2019-0708 Microsoft Security Response Center · Vendor report · 2019-05-14
- BlueKeep (CVE 2019-0708) exploitation spotted in the wild kryptoslogic.com · Blog · 2019-11-03
- CVE-2019-0708: BlueKeep Exploited in the Wild to Deliver Cryptocurrency Miner (Tenable) Tenable · Blog · 2019-11-03
- BlueKeep vulnerability exploited to deliver cryptocurrency miner (SecurityWeek) SecurityWeek · News · 2019-11-04
- Microsoft urges us to patch after partially effective BlueKeep attack (Sophos News) Sophos · News · 2019-11-11
- Microsoft Connects BlueKeep to Coin-Mining Attacks (MCPmag) mcpmag.com · News · 2019-11-08
- BlueKeep Exploits Used for Coin Mining (Redmondmag) redmondmag.com · News · 2019-11-07
Other reports on CVE-2019-0708
- Advanced (Targeted) Ransomware Attacks - SI-CERT Analysis (CVE-2020-0688, BlueKeep RDP)
- September 2026 APT Group Threat Report (AhnLab ASEC): DPRK, China, Russia, Iran/Pakistan-linked activity incl. supply-chain and legitimate-service C2 abuse
- September 2026 CVE Landscape: 94 high-impact vulnerabilities, NetScaler zero-days CVE-2026-88771/CVE-2026-88772, AI-agent-assisted exploitation
- NightEagle (APT-Q-95) Deploys GhostContainer Backdoor on Exchange, Exploits BlueKeep (CVE-2019-0708) and DCSync to Compromise Russian Active Directory
- LockBit 5.0 Ransomware Extortion Claim Against US Bank (U.S. Bancorp)
- BlueKeep (CVE-2019-0708) Windows RDP Use-After-Free Exploited In the Wild to Deploy Monero Cryptominer
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.