Back to Intelligence

OpenEMR Under Siege: Mass Exploitation of 100+ EHR Vulnerabilities, Webshell Implant Droppers & Healthcare Credential Theft — OTX Pulse Analysis

SA
Security Arsenal Team
December 5, 2026
10 min read

Classification: TLP:WHITE | Sector Impact: Healthcare (Critical) | Geography: AU, BR, CA, IT, JP, ES, GB


Threat Summary

AlienVault OTX pulse telemetry, corroborated by VulnCheck research, confirms an intensive, multi-country exploitation campaign against OpenEMR, the open-source electronic health record (EHR) platform used by roughly 100,000 medical providers serving over 200 million patients. Following the November 2026 disclosure of more than 100 vulnerabilities in the platform, weaponization occurred at extraordinary speed: attackers began striking canary/honeypot instances within 24 hours of CVE assignment.

Over a 23-day observation window, researchers captured more than 1,000 discrete attacks spanning seven countries. The campaign tags reference at least five CVEs — CVE-2026-124450, CVE-2026-124488, CVE-2026-124446, CVE-2026-126443, and CVE-2026-32238 — alongside implant droppers, webshell deployment, and credential theft. No single threat actor has been attributed; the velocity and geographic spread are consistent with multiple opportunistic actors and initial access brokers (IABs) simultaneously operationalizing public exploit code — a pattern typical when healthcare vulnerabilities go viral on criminal forums and Telegram channels, where patient data (PHI/PII) commands premium resale value on dark web marketplaces.

Attack chain (observed/assessed):

  1. Reconnaissance — Internet-wide scanning for exposed OpenEMR instances (default paths /openemr/, /interface/login/login.php)
  2. Initial Access — Exploitation of the disclosed CVE cluster (injection, auth bypass, and file-upload class flaws typical of OpenEMR's historical vuln profile)
  3. Execution/Persistence — Implant dropper writes PHP webshells to webroot; secondary staged payloads pulled from attacker-controlled staging infrastructure
  4. Collection/Credential Theft — Harvesting of OpenEMR database credentials (sqlconf.php), patient records, and web server environment secrets
  5. Monetization path — PHI resale, extortion, and brokered access for follow-on ransomware deployment

The staged hostnames observed (e.g., stage.wpengine-*) indicate attackers are abusing legitimate WordPress hosting infrastructure as staging/drop zones — a living-off-trusted-infrastructure technique designed to defeat domain-reputation filtering.

Threat Actor / Malware Profile

Attribution: Unknown / multiple clusters. The 24-hour weaponization window and 7-country spread strongly suggest criminal initial access brokers feeding ransomware affiliates rather than a single state actor — though healthcare data of this scale is also of strategic interest to nation-state collection programs.

Implant Dropper + Webshell Toolset:

  • Distribution method: Post-exploitation delivery via exploited OpenEMR file-upload/injection vulnerabilities; HTTP(S) retrieval from staging domains
  • Payload behavior: PHP webshells (China Chopper-class and custom variants historically dominate OpenEMR incidents) dropped into web-accessible directories (/sites/default/, /images/, /library/) enabling remote command execution under the web server service account
  • C2 communication: HTTP(S) beaconing; use of legitimate-lookalike infrastructure (clarity-ms-analytics.com mimics Microsoft Clarity analytics) to blend with benign web telemetry traffic
  • Persistence mechanism: Webshell files on disk (fileless persistence via web server), rogue admin users created in the OpenEMR users table, and in some intrusions cron/systemd entries for dropper re-execution
  • Anti-analysis techniques: Traffic masquerading as analytics beacons, staging on compromised legitimate WordPress/WPEngine infrastructure, base64/obfuscated PHP shells, and time-gated payload retrieval

Credential theft component: Attackers target sites/default/sqlconf.php (database credentials), session cookies, and OS-level credentials via webshell-executed dumping utilities — enabling lateral movement into hospital networks.

IOC Analysis

The pulse contains 27 indicators, dominated by network infrastructure:

TypeExamplesOperational Use
Hostname (FQDN)stage.wpengine-parlaclinic.com, fedfxt5vxs5chrec7cnvgt.clarity-ms-analytics.comDNS sinkhole/block; high-fidelity (subdomain-randomized C2)
Domainwpengine-gastro.org, clarity-ms-analytics.comProxy/DNS block; retro-hunt in DNS and TLS logs

SOC operationalization guidance:

  • The clarity-ms-analytics.com domain with a randomized subdomain (fedfxt5vxs5chrec7cnvgt) is a DGA-style or per-victim C2 pattern — block the parent domain entirely, not just the observed FQDN. Its name deliberately impersonates Microsoft Clarity (clarity.ms); alert on any DNS resolution of *clarity-ms* that is not www.clarity.ms.
  • The stage.wpengine-* hostnames indicate compromised or attacker-registered WordPress staging sites used as drop zones. Hunt proxy/Zscaler logs for outbound requests to these hosts from web servers — legitimate OpenEMR servers have almost no reason to initiate outbound HTTP to random WordPress staging sites.
  • Ingest the full 27-IOC set into your TIP/SIEM via the OTX DirectConnect API or STIX/TAXII feed, and run retroactive DNS hunts back to November 1, 2026 given the 23-day campaign window.
  • Tooling: decode obfuscated PHP webshells with deobfuscate/CyberChef; validate DNS resolution history via passive DNS (VirusTotal, SecurityTrails); detonate any retrieved payloads in an isolated sandbox (ANY.RUN, Cuckoo).

Detection Engineering

YAML
---
title: OpenEMR Exploitation - Webshell Written to Webroot
id: 7a1f3c2e-9b4d-4e1a-a6f2-5c8d9e0b1a34
status: experimental
description: Detects web server processes writing PHP/script files to OpenEMR web-accessible directories, consistent with implant dropper and webshell deployment observed in the OpenEMR exploitation campaign (CVE-2026-124450 et al.)
author: Security Arsenal Threat Intel
references:
    - https://www.vulncheck.com/blog/openemr-under-siege
date: 2026/12/05
logsource:
    category: file_event
    product: linux
    definition: null
detection:
    selection_writer:
        Image|endswith:
            - '/apache2'
            - '/httpd'
            - '/nginx'
            - '/php-fpm'
    selection_path:
        TargetFilename|contains:
            - '/openemr/sites/'
            - '/openemr/images/'
            - '/openemr/library/'
            - '/var/www/html/openemr/'
    selection_ext:
        TargetFilename|endswith:
            - '.php'
            - '.phtml'
            - '.phar'
            - '.php5'
            - '.php7'
    condition: all of selection_*
falsepositives:
    - Legitimate OpenEMR upgrades or module installation performed by administrators
level: high
tags:
    - attack.persistence
    - attack.t1505.003
    - attack.initial_access
    - attack.t1190
---
title: OpenEMR Campaign C2 - DNS or Proxy Request to Known Staging and Analytics-Masquerade Domains
id: 2b8e4d1f-6c3a-4f5b-b9e7-1d2c3a4b5e6f
status: experimental
description: Detects DNS queries or web requests to staging and C2 infrastructure identified in OTX pulse 'OpenEMR Electronic Health Record Platform Under Siege', including the Microsoft Clarity impersonation domain clarity-ms-analytics.com
author: Security Arsenal Threat Intel
references:
    - https://otx.alienvault.com
    - https://www.vulncheck.com/blog/openemr-under-siege
date: 2026/12/05
logsource:
    category: dns
detection:
    selection:
        query|contains:
            - 'wpengine-parlaclinic.com'
            - 'wpengine-myloenergy.com'
            - 'wpengine-gastro.org'
            - 'clarity-ms-analytics.com'
    condition: selection
falsepositives:
    - None expected; these domains are attacker-controlled staging/C2
level: critical
tags:
    - attack.command_and_control
    - attack.t1071.001
    - attack.t1583.001
---
title: Webshell Process Execution - Web Server Spawning Shell or Credential Access Tools
id: 4c9d2e7a-1f8b-4a6c-c3d5-9e0f1a2b3c4d
status: experimental
description: Detects web server or PHP worker processes spawning command shells, network tools, or credential-dumping utilities - a hallmark of post-exploitation activity through PHP webshells dropped on OpenEMR servers
author: Security Arsenal Threat Intel
references:
    - https://www.vulncheck.com/blog/openemr-under-siege
date: 2026/12/05
logsource:
    category: process_creation
    product: linux
detection:
    selection_parent:
        ParentImage|endswith:
            - '/apache2'
            - '/httpd'
            - '/nginx'
            - '/php-fpm'
    selection_child:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
            - '/curl'
            - '/wget'
            - '/nc'
            - '/ncat'
            - '/python'
            - '/python3'
            - '/perl'
            - '/cat'
    selection_target:
        CommandLine|contains:
            - 'sqlconf.php'
            - 'cat /etc/passwd'
            - 'wget http'
            - 'curl -o'
            - 'base64 -d'
            - '/tmp/'
            - 'mysqldump'
    condition: selection_parent and selection_child and selection_target
falsepositives:
    - Rare legitimate admin maintenance via web consoles; validate against change windows
level: critical
tags:
    - attack.execution
    - attack.t1059
    - attack.credential_access
    - attack.t1552.001
    - attack.collection
    - attack.t1005
KQL — Microsoft Sentinel / Defender
// OpenEMR Campaign Hunt: C2/staging connections + webshell behavior from web servers
// Microsoft Sentinel | Window: 23-day campaign + retro hunt
let Lookback = 30d;
let CampaignDomains = dynamic([
    "stage.wpengine-parlaclinic.com",
    "stage.wpengine-myloenergy.com",
    "stage.wpengine-gastro.org",
    "wpengine-parlaclinic.com",
    "wpengine-myloenergy.com",
    "wpengine-gastro.org",
    "clarity-ms-analytics.com",
    "fedfxt5vxs5chrec7cnvgt.clarity-ms-analytics.com"
]);
let NetHits = DeviceNetworkEvents
    | where TimeGenerated > ago(Lookback)
    | where RemoteUrl has_any (CampaignDomains)
    | project TimeGenerated, DeviceName, InitiatingProcessFileName,
              InitiatingProcessCommandLine, RemoteUrl, RemoteIP, RemotePort
    | extend HitType = "Network-IOC";
let DnsHits = DeviceEvents
    | where TimeGenerated > ago(Lookback)
    | where ActionType == "DnsQueryResponse"
    | extend Query = tostring(parse_json(AdditionalFields).query)
    | where Query has_any (CampaignDomains)
    | project TimeGenerated, DeviceName, Query
    | extend HitType = "DNS-IOC";
let WebshellProc = DeviceProcessEvents
    | where TimeGenerated > ago(Lookback)
    | where InitiatingProcessFileName has_any ("apache2", "httpd", "nginx", "php-fpm", "w3wp.exe")
    | where FileName in~ ("sh", "bash", "curl", "wget", "nc", "ncat", "python3", "perl", "cmd.exe", "powershell.exe")
    | project TimeGenerated, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, AccountName
    | extend HitType = "Webshell-Process";
union NetHits, DnsHits, WebshellProc
| sort by TimeGenerated desc
PowerShell
# OpenEMR Post-Exploitation Hunt — Security Arsenal
# Checks for webshell artifacts, outbound connections to campaign C2, and persistence.
# Run on OpenEMR servers (adapt paths for Linux hosts; see bash equivalents in comments).

$ErrorActionPreference = 'SilentlyContinue'
$Report = @()

$BadDomains = @(
    'wpengine-parlaclinic.com','wpengine-myloenergy.com',
    'wpengine-gastro.org','clarity-ms-analytics.com'
)

Write-Host "[*] Checking active/established connections to campaign infrastructure..."
$conns = Get-NetTCPConnection -State Established,SynSent
foreach ($c in $conns) {
    $dns = (Resolve-DnsName -Name $c.RemoteAddress -Type PTR -ErrorAction SilentlyContinue).NameHost
    foreach ($d in $BadDomains) {
        if ($dns -like "*$d*") {
            $Report += [pscustomobject]@{Type='C2-Connection'; Detail="$($c.RemoteAddress) -> $dns (PID $($c.OwningProcess))"}
        }
    }
}

Write-Host "[*] Checking DNS client cache for campaign domains..."
$cache = Get-DnsClientCache
foreach ($d in $BadDomains) {
    $hits = $cache | Where-Object { $_.Entry -like "*$d*" }
    foreach ($h in $hits) { $Report += [pscustomobject]@{Type='DNS-Cache'; Detail=$h.Entry} }
}
# Linux equivalent: check /var/log/syslog, systemd-resolved logs, or dnsmasq logs for the domains.

Write-Host "[*] Scanning OpenEMR webroots for recently written PHP webshells (last 30 days)..."
$Webroots = @('C:\xampp\htdocs\openemr','C:\inetpub\wwwroot\openemr','/var/www/html/openemr','/var/www/openemr')
foreach ($root in $Webroots) {
    if (Test-Path $root) {
        Get-ChildItem -Path $root -Recurse -Include *.php,*.phtml,*.phar,*.php5,*.php7 |
            Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-30) } |
            ForEach-Object {
                $content = Get-Content $_.FullName -Raw
                if ($content -match 'eval\s*\(|base64_decode\s*\(|gzinflate\s*\(|shell_exec\s*\(|passthru\s*\(|assert\s*\(') {
                    $Report += [pscustomobject]@{Type='Suspicious-Webshell'; Detail="$($_.FullName) [modified $($_.LastWriteTime)]"}
                }
            }
    }
}

Write-Host "[*] Checking persistence locations..."
# Scheduled tasks calling web content or PHP (Windows hosts)
Get-ScheduledTask | Where-Object {
    ($_.Actions.Execute -match 'php|powershell|cmd|curl|wget') -and
    ($_.TaskPath -notlike '\Microsoft*')
} | ForEach-Object { $Report += [pscustomobject]@{Type='Suspicious-Task'; Detail="$($_.TaskPath)$($_.TaskName) -> $($_.Actions.Execute) $($_.Actions.Arguments)"} }

# Run keys (Windows)
'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run',
'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' | ForEach-Object {
    Get-ItemProperty -Path $_ | ForEach-Object {
        $_.PSObject.Properties | Where-Object { $_.Value -match 'php|curl|wget|AppData' } |
        ForEach-Object { $Report += [pscustomobject]@{Type='RunKey'; Detail="$($_.Name)=$($_.Value)"} }
    }
}
# Linux equivalent: audit /etc/cron.*, /var/spool/cron, ~/.config/autostart, and systemd units created in last 30 days.

Write-Host "[*] Checking for credential-file access artifacts (sqlconf.php)..."
foreach ($root in $Webroots) {
    $conf = Join-Path $root 'sites\default\sqlconf.php'
    if (Test-Path $conf) {
        $fi = Get-Item $conf
        $Report += [pscustomobject]@{Type='Config-File'; Detail="$conf LastAccess=$($fi.LastAccessTime) LastWrite=$($fi.LastWriteTime)"}
    }
}

Write-Host "`n===== HUNT RESULTS ====="
if ($Report.Count -eq 0) { Write-Host "No indicators found. Continue monitoring." }
else { $Report | Format-Table -AutoSize | Out-String -Width 300 | Write-Host }
$Report | Export-Csv -Path ".\openemr_hunt_$(Get-Date -Format yyyyMMdd_HHmm).csv" -NoTypeInformation

Response Priorities

Immediate (0–4 hours)

  • Block all 27 pulse IOCs at DNS resolver, secure web gateway, and egress firewall — including wildcard block of *.clarity-ms-analytics.com and the stage.wpengine-* FQDNs.
  • Inventory every internet-facing OpenEMR instance (including forgotten dev/staging portals — the stage.* IOCs suggest attackers specifically find non-production instances); take unpatched instances offline or behind VPN/allowlist immediately.
  • Run the KQL hunt and PowerShell script against all identified EHR servers; retro-search DNS/proxy logs back to November 1, 2026.
  • Preserve web access logs and disk images of any instance showing connections to campaign infrastructure before remediation.

Within 24 hours

  • Treat all credentials on any touched OpenEMR host as compromised: rotate sqlconf.php database credentials, OpenEMR admin accounts, service accounts, and any API keys stored on the server.
  • Force password resets for clinician/staff portal accounts where webshell access to the users table is confirmed; review OpenEMR audit tables (log, extended_log) for anomalous record access consistent with PHI exfiltration.
  • Review MFA posture on all remote access paths into the clinical network; credential theft from an EHR pivot is a classic precursor to ransomware deployment against hospital environments.
  • Begin breach-notification assessment — PHI exposure triggers HIPAA/GDPR/PIPEDA obligations depending on jurisdiction (note the campaign's seven-country footprint).

Within 1 week

  • Patch OpenEMR to the fixed release addressing the November 2026 CVE cluster (CVE-2026-124450, -124488, -124446, -126443, -32238 and siblings); validate no residual webshells via full webroot diff against a known-good install.
  • Architecturally segment EHR servers: deny outbound internet from web servers except to an explicit allowlist (updates, clearinghouses); deploy a WAF with virtual patching rules in front of OpenEMR.
  • Deploy the Sigma detections above to your SIEM and enable file-integrity monitoring on webroot directories.
  • Establish an OTX/VulnCheck vulnerability-to-weaponization monitoring workflow — the 24-hour exploit window here means healthcare vulns must trigger emergency change, not the standard patch cycle.

Related Resources

Security Arsenal Incident Response Managed SOC & MDR Services AlertMonitor Threat Detection From The Dark Side Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.