Huntress Details Webshell Attack That Disabled Defenses and Dumped Credentials

· Original article ↗

Summary

Huntress details a webshell intrusion in which an attacker disabled logging and security tools, weakened WDigest protection, and dumped credentials. A server was re-compromised after being restored before remediation was complete.

Key points

  • The attacker used steganography to conceal ASPX webshells on a compromised IIS server; Huntress could not determine the exact initial access method.
  • The attacker returned after the server was restored before remediation was complete, using timestomping and enumeration to conceal activity.
  • A batch script disabled IIS logging and Microsoft Defender protections, stopped security and logging tools, and removed the ModSecurity web application firewall.
  • The attacker enabled plaintext WDigest credential storage and used Mimikatz-related tooling to dump credentials; the article reports no sensitive data exfiltration or encryption.
  • Huntress recommends complete, verified remediation before restoring servers, along with current patches, adequate logging, and restricting unnecessary internet access.

Article Details

Attack Vectors
  • A webshell was uploaded to a vulnerable server; Huntress could not determine the exact initial access mechanism. Historical logs showed possible exploitation attempts targeting Adobe ColdFusion vulnerabilities CVE-2023-26360, CVE-2023-29298, and CVE-2023-29300.
  • The actor used steganography to conceal webshells within images, then ran enumeration commands through the webshell.
  • The actor weakened defenses by disabling logging and security monitoring, modifying Microsoft Defender settings, stopping security and logging processes, and removing the ModSecurity IIS module.
  • The actor altered timestamps, enumerated accounts and registry contents, extracted credentials stored in the registry, weakened WDigest credential protection, and used Mimikatz-related tooling to dump credentials from memory.
  • After remediation, the server was returned online before remediation was complete, allowing the actor to return and continue the attack.
Defensive Notes
  • Keep software fully patched and up to date.
  • Ensure web servers and endpoints have sufficient, correctly configured logging.
  • Place servers behind a firewall or VPN when they do not require internet access.
  • Complete and verify remediation before returning affected systems to service.

Indicators of compromise

TypeIndicatorContext
SHA25640859ede262098086962ab00c89f02452aa9941c88c7f4ac002db166179980c6SHA-256 hash of the 03Fl3i.aspx webshell artifact listed in the incident indicators.
SHA256793768ce4fadab044c7502ea5ec4d8e1569283f289dfd73419e119f32d56d0f3SHA-256 hash of the jT1Ds.php PHP webshell.
SHA25694cd18f3f030fcc9b259dc410b17ea72a1f9800ee654f8e0f07a87bb9443b593SHA-256 hash of C:\ProgramData\x\i.bat, the defense-impairment and enumeration batch file found on the endpoint.
SHA256bd74a00f4d2ec3bf50d13ddf324bb368b2464d547abd0c572ef5e2f77943a920SHA-256 hash of the UA4fp7R.aspx steganographic webshell.
SHA256f0ff36ecdc843351913dbfbd9122b62563894936ff64215a7a2f89181ebdb57fSHA-256 hash of the RG0eQV6.php webshell.
SHA256f63d293e117cae1d0a6c24359fc1361a9dc48178049cc6491051b09268c8c39cSHA-256 hash of the WRBYTR5750images.aspx webshell.

MITRE ATT&CK

T1003 · OS Credential DumpingThe actor used Mimikatz-related tooling and a kernel driver to dump credentials from memory.T1012 · Query RegistryThe actor queried Windows Registry keys to enumerate installed software and extract ODBC credentials.T1027.003 · SteganographyThe actor concealed a webshell in an image using steganography.T1059.001 · PowerShellThe batch script invoked PowerShell commands to alter Microsoft Defender settings and run DisableDefender.ps1.T1059.003 · Windows Command ShellThe actor used Windows command-shell and batch commands to enumerate the host, impair defenses, and clean up artifacts.T1069.001 · Local GroupsThe actor used net1 commands to enumerate local administrator groups in multiple languages.T1070.001 · Clear Windows Event LogsThe actor cleared Windows Security, System, Application, and Setup event logs.T1070.004 · File DeletionThe actor deleted generated files and tools during cleanup to reduce file-based indicators.T1070.006 · TimestompThe actor falsified MAC timestamps on a reuploaded webshell to hinder forensic timeline reconstruction.T1112 · Modify RegistryThe actor changed registry settings to weaken WDigest credential protection, disable Defender monitoring, and configure IFEO debuggers.T1505.003 · Web ShellThe actor uploaded and used ASPX and PHP webshells to execute commands on the compromised server.T1546.012 · Image File Execution Options InjectionThe actor configured Image File Execution Options debugger values for Sysmon, Filebeat, and SetACL.exe to freeze or neutralize those processes.T1552.002 · Credentials in RegistryThe actor exported ODBC credentials stored in plaintext in the Windows Registry.T1562.001 · Disable or Modify ToolsThe actor disabled or impaired Microsoft Defender and stopped or neutralized security and logging tools, including Sysmon and Filebeat.

CVE

People

Vendors

Products

Tools

Related Articles