Oracle SQL Injection Delivers Khunt Post-Exploitation Toolkit
Score: 7/10

Oracle SQL Injection Delivers Khunt Post-Exploitation Toolkit

An unidentified threat actor leveraged SQL injection on a Tomcat application to install a database-resident post-exploitation toolkit called khunt on an Oracle server.

Executive Summary

In late July 2026, researchers identified a sophisticated attack against an Oracle database server that originated from a classic SQL injection vulnerability in a public-facing Tomcat application. After gaining initial access via the JDBC connection, the threat actor deployed a novel post-exploitation toolkit named 'khunt' directly into the database schema using Oracle's 'CREATE JAVA SOURCE' functionality.

The khunt toolkit consists of several modules—including KhuntCmd, KhuntHash, and KhuntFS—that allow for OS-level command execution, credential harvesting from internal Oracle tables, and file system manipulation. This approach is particularly effective as it bypasses traditional EDR and AV solutions that primarily monitor OS-level processes and files rather than malicious Java classes stored within a database engine.

The impact of this campaign is high, as the attackers successfully escalated privileges to SYSTEM and attempted to exfiltrate critical Windows registry hives (SAM, SECURITY, and SYSTEM). This incident highlights the ongoing risk of SQL injection and the evolution of database-resident malware that can serve as a persistent beachhead for broader network compromise.

Key Details

Threat Name

khunt Post-Exploitation Toolkit

Affects

—

Adversary

—

Malware/Tools

khunt, KhuntCmd, KhuntHash, KhuntFS, KhuntT, KhuntUnzip

Report Score

7out of 10
Quality Score
Good
IOC Quality7
TTP Details8
Detection Guidance5
Enterprise Relevance9
Clarity & Structure6
Technical Depth7

Sources