Back to Intelligence

Exposed Directories Reveal Threat Crew Targeting US Hospitals and Law Firms — Detection and Hardening Guide

SA
Security Arsenal Team
November 30, 2026
11 min read

Hunt.io researchers recently published an analysis of three exposed directories — openly accessible web-hosted folders with directory listing enabled — belonging to a threat crew actively targeting US hospitals and law firms. The irony is sharp: the same operational security failure that we warn our clients about (unindexed, unauthenticated, publicly browsable web directories) is exactly what allowed researchers to walk through the crew's entire playbook.

What the researchers recovered is what matters to defenders. Across 2,115 files and 1,981 unique hashes, the exposed directories contained:

  • Stolen US hospital credentials — indicating upstream compromise of healthcare environments, likely via phishing, credential stuffing against remote access portals, or purchase from initial access brokers.
  • A manufacturer's cloud access — evidence the crew had pivoted into cloud tenant or SaaS credentials of at least one US manufacturer.
  • Reconnaissance data against law firms and government agencies — target lists, tooling, and logs showing active pre-attack preparation.
  • Tools and operational logs — the crew's own staging infrastructure, left open for anyone on the internet to download.

This is not a story about a novel exploit. There is no CVE here. It is a story about the full intrusion lifecycle laid bare: reconnaissance, credential theft, staging, and the infrastructure mistakes that expose both attackers and defenders. If this crew can leave directories open, so can you — and your directories are far more likely to contain patient data, legal work product, or credentials that work.

Why Hospitals and Law Firms?

From fifteen years of incident response work, the targeting logic here is textbook. Hospitals hold high-value identity data (PHI that commands durable value on criminal markets), run under-resourced security teams, and tolerate minimal downtime — making them prime extortion targets. Law firms aggregate the confidential data of dozens or hundreds of clients — a single compromise yields M&A intelligence, litigation strategy, and PII at scale. Both sectors are also heavily interconnected with third parties (billing processors, e-discovery vendors, MSPs), which expands the credential-theft attack surface dramatically.

The presence of a manufacturer's cloud access in the same dataset suggests this crew is sector-agnostic and credential-driven: they collect, catalog, and monetize whatever access they can steal or buy. That is the defining pattern of the current access-broker-to-ransomware pipeline we see in 2026.

Technical Analysis: The Attack Chain Exposed

Based on the Hunt.io findings, the operational chain breaks down as follows:

  1. Reconnaissance and target list building. Files recovered from the directories included structured target lists of law firms and government agencies — typically built from open-source harvesting (LinkedIn, public filings, breach corpora) combined with automated scanning of externally exposed services.
  2. Credential acquisition and validation. Stolen hospital credentials were staged in the directories, consistent with collection from infostealer logs, phishing kits, or access broker purchases, then validated against VPN, remote desktop, webmail, and cloud SSO portals.
  3. Cloud access monetization. The manufacturer's cloud access demonstrates the crew's interest in SaaS and cloud control planes — a pattern we repeatedly observe where stolen session tokens or service-account credentials are replayed against M365, Google Workspace, or IaaS consoles.
  4. Staging on attacker infrastructure with directory listing enabled. The crew hosted its own tooling and loot on web servers where directory indexing was enabled — the classic Apache/nginx autoindex/Options Indexes misconfiguration. This is precisely the misconfiguration we find on client networks during assessments, usually on forgotten test servers, backup staging hosts, or legacy file-transfer sites.

Exploitation status: Active, confirmed campaign. No CVE is involved — the attack surface is credential theft, misconfiguration, and exposed data. The same misconfiguration class that exposed the attacker's data (open directory listings, unauthenticated file exposure) is present on a significant percentage of healthcare and legal-sector perimeter assets we've assessed.

Detection & Response

The defensive value of this story is twofold: find your own exposed directories before someone else does, and detect the reconnaissance and credential-abuse behaviors this crew was demonstrably performing. The following rules and queries are tuned to those observable behaviors — they are not generic noise.

Sigma Rules

YAML
---
title: Reconnaissance Scanner User Agent or Mass Enumeration Against Web Server
id: 3f8a1c42-7b9d-4e51-af23-9c0d2e5b6a71
status: experimental
description: Detects requests to web servers using scanner/bot user agents or enumeration patterns consistent with the recon tooling found in the exposed threat-crew directories. Targets law firm and hospital perimeter web assets.
references:
  - https://securityaffairs.com/204278/cyber-crime/open-directories-expose-a-crew-targeting-us-hospitals-and-law-firms.html
  - https://attack.mitre.org/techniques/T1595/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.reconnaissance
  - attack.t1595
logsource:
  category: webserver
detection:
  selection_ua:
    User-Agent|contains:
      - 'masscan'
      - 'nmap'
      - 'sqlmap'
      - 'dirbuster'
      - 'gobuster'
      - 'nuclei'
      - 'hydra'
  selection_paths:
    cs-uri|contains:
      - '/.git/'
      - '/backup/'
      - '/.env'
      - '/wp-config'
      - '/id_rsa'
      - '/credentials'
  condition: selection_ua or selection_paths
falsepositives:
  - Legitimate vulnerability scanners run by authorized security teams
level: medium
---
title: Web Directory Listing Enabled With Sensitive File Exposure
id: 8b2e4d19-3c6a-4f72-b81a-5d7e9f0c2b34
status: experimental
description: Detects HTTP responses whose bodies contain auto-generated directory listing markers, indicating an open directory misconfiguration identical to that found on the threat crew's servers. Run against reverse-proxy/WAF logs or inspected response content.
references:
  - https://securityaffairs.com/204278/cyber-crime/open-directories-expose-a-crew-targeting-us-hospitals-and-law-firms.html
  - https://attack.mitre.org/techniques/T1083/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.discovery
  - attack.t1083
logsource:
  category: webserver
detection:
  selection:
    sc-status: 200
    response_body|contains:
      - 'Index of /'
      - 'Directory Listing For'
      - 'Parent Directory'
  filter_honeypot:
    src_ip|contains: '127.0.0.1'
  condition: selection and not filter_honeypot
falsepositives:
  - Intentionally published file-sharing indexes (verify and suppress per-host)
level: high
---
title: Bulk Archive Creation in Staging Directories Consistent With Data Theft
id: c4d7f2a8-91b3-4e58-ad62-7f1c3b8d5e90
status: experimental
description: Detects creation of compressed archives in web roots, temp staging paths, or user profile directories by compression utilities — matching the crew's pattern of staging stolen credentials and loot as archives on exposed directories.
references:
  - https://securityaffairs.com/204278/cyber-crime/open-directories-expose-a-crew-targeting-us-hospitals-and-law-firms.html
  - https://attack.mitre.org/techniques/T1560/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.collection
  - attack.t1560.001
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    Image|endswith:
      - '\rar.exe'
      - '\7z.exe'
      - '\7za.exe'
      - '\winzip.exe'
  selection_args:
    CommandLine|contains:
      - ' a '
      - '-p'
      - '/www/'
      - '/inetpub/'
      - '\inetpub\'
      - '\wwwroot\'
  condition: selection_img and selection_args
falsepositives:
  - Administrators packaging logs or backups (tune by account and host)
level: medium

KQL — Microsoft Sentinel / Defender Hunt

This query hunts for credential-validation bursts against remote access portals (the behavior the crew's logs demonstrated) combined with anomalous outbound transfers from servers hosting web content. Run it over a 14-day window to establish a baseline first.

KQL — Microsoft Sentinel / Defender
// Hunt: failed-then-successful authentication bursts against remote access (credential validation pattern)
// plus anomalous outbound bytes from web-facing hosts (staging/exfil pattern)
let Window = 14d;
let AuthBursts =
    SecurityEvent
    | where TimeGenerated > ago(Window)
    | where EventID in (4624, 4625)
    | where IpAddress !in ("127.0.0.1", "::1") and isnotempty(IpAddress)
    | summarize Failed = countif(EventID == 4625), Successful = countif(EventID == 4624),
               Accounts = dcountif(Account, EventID == 4625),
               bin(TimeGenerated, 1h) by IpAddress, Computer
    | where Failed >= 20 and Successful >= 1 and Accounts >= 5
    | project TimeGenerated, IpAddress, Computer, Failed, Successful, Accounts;
let WebHosts =
    DeviceNetworkEvents
    | where TimeGenerated > ago(Window)
    | where DeviceName in~ ("web-srv-01", "exchange-01")  // replace with your web-facing host list
    | where RemotePort in (80, 443)
    | summarize Initiated = count() by DeviceName, bin(TimeGenerated, 1h);
AuthBursts
| join kind=leftouter WebHosts on $left.Computer == $right.DeviceName and $left.TimeGenerated == $right.TimeGenerated
| sort by Failed desc
KQL — Microsoft Sentinel / Defender
// Hunt: Syslog/CEF-ingested Apache and nginx access logs showing directory-listing or sensitive-path requests
Syslog
| where TimeGenerated > ago(7d)
| where Facility in ("local0", "daemon") or ProcessName in ("httpd", "apache2", "nginx")
| where SyslogMessage has_any ("/.git/", "/.env", "/backup", "wp-config", "credentials", "Index of /")
| parse SyslogMessage with * "\" " StatusCode:int " " *
| summarize Requests = count(), DistinctIPs = dcount(HostIP) by Computer, ProcessName, bin(TimeGenerated, 1h)
| where Requests > 5
| sort by Requests desc

Velociraptor VQL Hunt

This artifact hunts endpoints and servers for compression tools staging archives in web roots or temp paths, plus active listeners that may indicate an unauthorized web server hosting files.

VQL — Velociraptor
-- Hunt for archive-staging processes and unexpected web listeners (exposed-directory staging behavior)
SELECT Pid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE (Name =~ '(?i)(rar|7z|7za|tar|zip)'
   AND CommandLine =~ '(?i)(inetpub|wwwroot|/var/www|/srv/www|/tmp|AppData\\\\Local\\\\Temp)')
   OR Exe =~ '(?i)(Temp|/tmp)\\\\.*(rar|7z|zip)'
VQL — Velociraptor
-- Enumerate listeners on common web ports to surface unauthorized web servers hosting directories
SELECT Pid, Name, Path, Address, Port, State
FROM netstat()
WHERE State = 'LISTEN'
  AND Port in (80, 443, 8080, 8000, 8443, 8888)
  AND NOT Path =~ '(?i)(iis|nginx|apache|httpd|w3wp)'

Remediation & Verification Script

This PowerShell script audits Windows web-facing hosts for the exact misconfiguration at the heart of this story: IIS directory browsing enabled, sensitive files reachable in web roots, and unexpected listeners. Run it on every web-facing host, then schedule it weekly via your RMM or a scheduled task.

PowerShell
# Audit IIS directory browsing state — flag any site with it enabled
Import-Module WebAdministration
Get-WebConfigurationProperty -pspath 'IIS:\Sites' -filter 'system.webServer/directoryBrowse' -name 'enabled' |
  ForEach-Object { if ($_.Value -eq $true) { Write-Warning "Directory browsing ENABLED: $($_.PSPath)" } }

# Find sensitive files reachable in web roots (the attacker's loot pattern)
$webRoots = Get-Website | Select-Object -ExpandProperty PhysicalPath
$patterns = @('*.env','*.git*','*backup*','*credential*','*.sql','*.pem','id_rsa*','web.config.bak')
foreach ($root in $webRoots) {
    foreach ($p in $patterns) {
        Get-ChildItem -Path $root -Recurse -Filter $p -ErrorAction SilentlyContinue |
          ForEach-Object { Write-Warning "EXPOSED: $($_.FullName)" }
    }
}

# List non-standard listeners on web ports (catch shadow web servers hosting files)
Get-NetTCPConnection -State Listen |
  Where-Object { $_.LocalPort -in 80,443,8080,8000,8443,8888 } |
  ForEach-Object {
    $proc = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
    [PSCustomObject]@{ Port=$_.LocalPort; Process=$proc.ProcessName; Path=$proc.Path }
  } | Format-Table -AutoSize

# Disable directory browsing globally where not explicitly required
Set-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -filter 'system.webServer/directoryBrowse' -name 'enabled' -value $false

For Linux web hosts, this Bash audit closes the equivalent nginx/Apache autoindex exposure and sweeps for stray sensitive files in document roots.

Bash / Shell
# Disable autoindex globally in nginx (remove only if not required)
sudo sed -i 's/autoindex on;/autoindex off;/' /etc/nginx/nginx.conf /etc/nginx/conf.d/*.conf 2>/dev/null
sudo nginx -t && sudo systemctl reload nginx

# Apache: strip Indexes from Options directives
sudo sed -i 's/Options\(.*\)Indexes/Options\1/' /etc/apache2/apache2.conf /etc/apache2/sites-enabled/*.conf 2>/dev/null
sudo apachectl configtest && sudo systemctl reload apache2

# Sweep document roots for sensitive leftovers
for d in /var/www /srv/www /usr/share/nginx/html; do
  [ -d "$d" ] && sudo find "$d" -type f \( -name '*.env' -o -name '*.sql' -o -name '*backup*' -o -name 'id_rsa*' -o -name '*.pem' -o -name '*credential*' \) -print
done

# List unexpected web listeners
sudo ss -lntp | awk 'NR>1 && $4 ~ /:(80|443|8080|8000|8443|8888)$/ {print}'

Remediation: Closing Your Own Open Directories and the Credential Gap

The threat crew's exposure was self-inflicted. Yours will be too. Prioritized actions:

  1. External attack surface audit — this week. Enumerate every internet-facing host and path using an external scanner or your EASM platform. Specifically check for directory listing enabled (Apache Options Indexes, nginx autoindex on, IIS directoryBrowse), backup files in web roots, and unauthenticated file shares. Anything you find, an access broker has already indexed.
  2. Credential rotation for anything that may have touched the open internet. Given this crew staged hospital credentials and manufacturer cloud access, treat any credential that has ever been exposed in a directory, log, or third-party breach as compromised. Rotate service accounts, VPN credentials, and cloud keys on a forced schedule — not a scheduled one.
  3. Enforce phishing-resistant MFA on all remote access. The crew's business model is credential replay. FIDO2/passkeys or certificate-based auth on VPN, RDP gateways, webmail, and cloud SSO neutralizes the stolen-credential pipeline entirely. Conditional access with impossible-travel and token-theft detection adds a second net.
  4. Detect directory listing at the perimeter. Add the response-body detection above to your WAF/reverse proxy pipeline. Directory listing responses are near-zero false positive in production environments — an enablement of autoindex should page someone.
  5. Third-party and access-broker monitoring. This crew appeared to source credentials from upstream channels. Subscribe to credential-leak monitoring for your domains (including infostealer log marketplaces), and map every third party with VPN or SSO access into your environment — hospitals' billing vendors and law firms' e-discovery providers are the most common ingress points we see in IR engagements.
  6. IR readiness for credential-based intrusion. Pre-stage playbooks for VPN/SSO compromise: disable accounts, revoke sessions and refresh tokens (not just passwords), hunt for anomalous OAuth grants, and preserve authentication logs before rolling rotation destroys evidence.

There are no vendor patches for misconfiguration — only verification, enforcement, and continuous external monitoring. Treat this story as a free penetration test report on the threat actor's own shop, and make sure the same report would come back clean on yours.

Related Resources

Security Arsenal Healthcare Cybersecurity AlertMonitor Platform Book a SOC Assessment healthcare Intel Hub

Is your security operations ready?

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