International Cyber Expo International Cyber Expo
  • About Us
Saturday, 19 September, 2026
IT Security Guru
International Cyber Expo
  • Home
  • Features
  • Insight
  • Channel News
  • Events
    • Most Inspiring Women in Cyber 2026
  • Topics
    • Cloud Security
    • Cyber Crime
    • Cyber Warfare
    • Data Protection
    • DDoS
    • Hacking
    • Malware, Phishing and Ransomware
    • Mobile Security
    • Network Security
    • Regulation
    • Skills Gap
    • The Internet of Things
    • Threat Detection
    • AI and Machine Learning
    • Industrial Internet of Things
  • Multimedia
  • Product Reviews
  • About Us
No Result
View All Result
  • Home
  • Features
  • Insight
  • Channel News
  • Events
    • Most Inspiring Women in Cyber 2026
  • Topics
    • Cloud Security
    • Cyber Crime
    • Cyber Warfare
    • Data Protection
    • DDoS
    • Hacking
    • Malware, Phishing and Ransomware
    • Mobile Security
    • Network Security
    • Regulation
    • Skills Gap
    • The Internet of Things
    • Threat Detection
    • AI and Machine Learning
    • Industrial Internet of Things
  • Multimedia
  • Product Reviews
  • About Us
No Result
View All Result
IT Security Guru
No Result
View All Result

Hackers Smuggle Post-Exploitation Toolkit Into Oracle Database Via Classic SQL Injection Flaw

Researchers say attackers abused a little-documented Oracle feature to compile malicious Java code directly inside a database engine, turning it into a launchpad for full system compromise.

by Guru Writer
August 5, 2026
in News
Hackers Smuggle Post-Exploitation Toolkit Into Oracle Database Via Classic SQL Injection Flaw
Share on FacebookShare on Twitter

A SQL injection vulnerability that many organisations might consider a decades-old, well-understood threat has been used as the entry point for a far more sophisticated attack, after threat actors were caught planting a custom-built, database-resident toolkit inside an Oracle database.

Security firm Huntress said it was alerted to suspicious activity on an endpoint hosting an Oracle database server on 27 July 2026, after detecting attempts to copy the SAM, SECURITY and SYSTEM Windows registry hives, files typically targeted by attackers seeking to extract and crack stored credentials.

Further investigation traced the intrusion back to a SQL injection flaw in a public-facing web application connected to the Oracle database. A form field within the application had failed to properly validate user input, allowing the attacker to submit malicious SQL statements that the application executed without question.

What happened next set the incident apart from a typical SQL injection case. Rather than simply querying or manipulating data, the attacker used the access to issue CREATE JAVA SOURCE commands, a legitimate Oracle database feature that allows developers to store and compile Java code as objects inside the database itself. The attacker abused this functionality to upload and compile a full post-exploitation toolkit, dubbed “khunt”, directly within the database engine.

Huntress noted that while the underlying technique, sometimes referred to as “oraexec”, has been discussed in security research circles for years, real-world use of it in an active attack has rarely been documented.

A toolkit built for the database layer

According to Huntress, the khunt toolkit was made up of several purpose-built modules compiled and stored as schema objects, including a tool that let the attacker run arbitrary operating system commands from within the database, and another that pulled usernames and password data directly out of Oracle’s internal user tables. Additional components allowed the attacker to browse the file system, confirm the toolkit was reachable, and unzip files, with several PL/SQL wrappers used to call the underlying Java methods.

Using the command-execution module, the attacker pivoted from the database to the underlying Windows server, running whoami to confirm they had SYSTEM-level privileges, effectively achieving full remote code execution that originated from the database layer. From there, the attacker used PowerShell and native Windows utilities, including the registry tool and the Extensible Storage Engine utility, to copy the SAM, SECURITY and SYSTEM registry hives and enumerate running services, saving the results to a directory on the compromised host.

A blind spot for traditional defences

Huntress warned that storing malicious code as a database object, rather than as a conventional file or in-memory process, creates a significant blind spot for many organisations’ existing security tooling. Traditional endpoint detection and antivirus products are generally built to monitor processes, binaries and files at the operating system level, and do not typically inspect Java classes or PL/SQL objects running inside a database engine.

The firm said the incident illustrates how a database can be repurposed from a system that simply stores and returns data into a beachhead from which further attacks are launched and that no novel or unpatched vulnerability was required to make it happen. The initial foothold came from a basic failure to validate user input in a web form.

To defend against similar attacks, Huntress recommended organisations ensure public-facing forms are properly protected against injection through input sanitisation and query parameterisation, and that database accounts are not overprovisioned. Even where SQL injection does succeed, the firm said, the compromised account should not have the privileges needed to create Java sources or execute stored procedures.

The findings serve as a reminder that even well-worn attack techniques like SQL injection can still yield serious consequences when combined with lesser-known platform features, and that database servers deserve the same level of scrutiny as endpoints and network infrastructure.

ShareTweet
Previous Post

TP-Link Zero-Touch Provisioning Flaws Could Expose Enterprise Networks, Warns Forescout

Next Post

Salt Security Launches Industry-First AWS WAF Managed Ruleset for AI Agents and API Protection

Recent News

Filigran Backs Security Serious Unsung Heroes Awards as New Sponsor

Filigran Backs Security Serious Unsung Heroes Awards as New Sponsor

September 18, 2026
Four AI Agent Security Risks Organisations Can’t Afford to Ignore

Four AI Agent Security Risks Organisations Can’t Afford to Ignore

September 18, 2026
New Settra Ransomware Strain Deploys MeshAgent RMM for Persistence

New Settra Ransomware Strain Deploys MeshAgent RMM for Persistence

September 17, 2026
When Everyday Habits Become an Invisible Security Risk

When Everyday Habits Become an Invisible Security Risk

September 17, 2026

Eskenzi PR banner ad

The IT Security Guru offers a daily news digest of all the best breaking IT security news stories first thing in the morning! Rather than you having to trawl through all the news feeds to find out what’s cooking, you can quickly get everything you need from this site!

Our Address: 10 London Mews, London, W2 1HY

Follow Us

© 2015 - 2026 IT Security Guru - Website Managed by Dessol

  • About Us
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
No Result
View All Result
  • Home
  • Features
  • Insight
  • Channel News
  • Events
    • Most Inspiring Women in Cyber 2026
  • Topics
    • Cloud Security
    • Cyber Crime
    • Cyber Warfare
    • Data Protection
    • DDoS
    • Hacking
    • Malware, Phishing and Ransomware
    • Mobile Security
    • Network Security
    • Regulation
    • Skills Gap
    • The Internet of Things
    • Threat Detection
    • AI and Machine Learning
    • Industrial Internet of Things
  • Multimedia
  • Product Reviews
  • About Us

© 2015 - 2026 IT Security Guru - Website Managed by Dessol