LIVE · cybersecurity feed
Live wire
security

Toolkit Hidden Inside Oracle Database Evades Endpoint Tools

A post-exploitation toolkit has been discovered compiled and stored within an Oracle database as schema objects, allowing attackers to execute commands on the underlying Windows server from a location typically not inspected by conventional endpoint security tools.

ZeroDay News ·

Source: Infosecurity Magazine

A post-exploitation toolkit has been discovered compiled and stored within an Oracle database as schema objects, allowing attackers to execute commands on the underlying Windows server from a location typically not inspected by conventional endpoint security tools.

The intrusion was detected by Huntress on July 27, following credential theft alerts on a host running an Oracle database server. The cybersecurity firm published its analysis of the incident on August 5. The initial access point was a SQL injection vulnerability in the autocomplete search feature of a public-facing Java application utilizing Apache Tomcat. This was not a vulnerability in the database itself, but rather an issue with the application passing unvalidated input to the database over a Java Database Connectivity (JDBC) connection, using an account that possessed permissions to create Java objects.

Oracle databases include an embedded Java Virtual Machine (JVM) and a mechanism to store Java source code as a database object. The attacker exploited the SQL injection to feed malicious Java code through this mechanism, which Oracle then compiled into stored schema objects, forming the toolkit.

The toolkit, named "khunt" based on its module names and written files, comprised several components. These included a module capable of opening a Windows command shell for arbitrary operating system commands, and a credential dumper designed to read Oracle's internal user table and write usernames and passwords to a file. Additionally, the toolkit featured two file explorers, an unzip utility, a reachability check to confirm its operational status, and a set of PL/SQL wrappers to invoke the underlying Java methods. While the technique of compiling code within a database is not new, Huntress highlighted its use in this specific attack as a novel aspect, noting its rare documented appearance in the wild.

The attackers leveraged the database as a pivot point to the operating system by opening a Windows command shell, confirming they had achieved SYSTEM-level privileges. They then used PowerShell to interact with the Windows registry, copying the SECURITY and SYSTEM hives. Further enumeration of running services was performed, and the SAM and SECURITY hives were copied using the Extensible Storage Engine utility. Huntress assessed that these hives were staged for credential dumping and potential exfiltration, categorizing this activity as an attempt rather than confirmed theft. Apache access logs enabled researchers to trace the malicious requests back to a single IP address.

Huntress emphasized the detection challenge posed by this method. Storing the toolkit as a database object, rather than a file or a memory-resident payload, places it outside the typical scope of most security tools. Endpoint protection products primarily focus on processes, binaries, and files, rather than Java classes and PL/SQL wrappers embedded within an Oracle database. This approach effectively transforms the database from a data repository into an operational foothold for attackers.

To mitigate such attacks, Huntress advises ensuring that application forms are not susceptible to injection vulnerabilities. This requires implementing proper input sanitization and query parameterization for all user inputs. Furthermore, it is crucial to ensure that database users with the ability to execute queries are not over-provisioned with excessive permissions.

ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.