Cyber Security News

Hackers Hid a Remote-Control Toolkit Inside Oracle to Take Over a Windows Server

A routine web application weakness has been tied to a serious Windows Server compromise after attackers used SQL injection to plant a remote-control toolkit inside an Oracle database.

The incident shows how a poorly protected form can become a path from a public website to the operating system behind it.

The attackers targeted a public-facing Java and Tomcat application connected to Oracle.

By submitting database commands through an autocomplete search feature that did not properly check input, they were able to make the database process commands and prepare the next stage of the intrusion.

Researchers at Huntress identified the activity after detecting attempts to steal credentials from a server hosting Oracle.

The investigation found copies of Windows SAM, SECURITY, and SYSTEM registry hives, material that can help an intruder recover password hashes and widen access.

Huntress said in a report shared with Cyber Security News (CSN) that the case matters because the malicious code was not first placed on disk as a typical malware file.

Instead, it was stored and compiled within Oracle, where it could be harder for endpoint-focused monitoring to spot before it was used to control the Windows host.

Hackers Hid a Remote-Control Toolkit Inside Oracle

The attackers used Oracle’s embedded Java capability to create Java source objects directly in the database.

Commands sent through the application’s JDBC connection were compiled as stored schema objects, turning the database into a concealed launch point rather than simply a place to hold business data.

Detections firing for suspicious credential theft activity (Source – Huntress)

The toolkit, named khunt, included components for running Windows commands, collecting Oracle usernames and passwords, browsing files, checking that the toolkit was active, and unpacking files.

This database-resident approach gave the operator tools for exploring the server without relying on one obvious malicious executable.

One component opened a command shell and ran a command to identify the current user.

It returned SYSTEM-level permissions, confirming that the attacker had crossed from database access to operating-system control, a risk also illustrated by the Windows Netlogon RCE threat facing exposed server environments.

The activity then moved to credential collection. The intruder used Windows utilities to copy registry hives and listed running services, creating files in the Oracle directory that could be taken away for offline analysis. Similar registry hive credential theft can reveal credentials for local accounts.

The initial access came from SQL injection, not a newly disclosed software flaw. That distinction is important because it places attention on application design and database permissions, not only patching.

Closing the Database-to-Server Path

Organizations should review every public form and search field that can reach a database, especially legacy features that may be overlooked during testing.

Input should be sanitized and database queries parameterized so supplied text cannot be interpreted as executable SQL, a basic safeguard against the kind of improper validation seen in the Windows Active Directory flaw. Database accounts also need the smallest practical set of rights.

An account used by a web application should not be able to create Java source objects, run sensitive stored procedures, or gain broad operating-system access, limiting the damage even when an injection bug slips through. Defenders should look beyond ordinary file scans when investigating Oracle servers.

Malicious attacker activity stemmed from the oracle.exe parent process (Source – Huntress)

Searching database objects for unexpected Java classes, reviewing PL/SQL wrappers, and checking web and SQL logs for unusual commands can expose activity that endpoint tools may miss; administrators should also keep up with June Microsoft security updates for the Windows systems that support these workloads.

The reported attacker infrastructure and artifact names give incident responders practical leads for threat hunting.

A review should prioritize unusual Oracle-created files, unexpected database objects, and signs that oracle.exe spawned command-line or registry tools, then isolate affected systems and reset credentials if credential material may have been copied and preserve relevant logs for a complete forensic review before rebuilding trust in the host.

Indicators of Compromise (IoCs):-

TypeIndicatorDescription
File path[drive:][path]\Oracle\khuntSECURITY.hivRegistry hive file dumped by the attacker
File path[drive:][path]\Oracle\khuntSYSTEM.hivRegistry hive file dumped by the attacker
File path[drive:][path]\Oracle\khuntSAM.hivRegistry hive file dumped by the attacker
File path[drive:][path]\Oracle\khunt_SECURITY.hivRegistry hive file dumped by the attacker
File path[drive:][path]\Oracle\khunttasks.txtFile containing a list of running tasks
IP address178.162.151[.]229Attacker IP address
Oracle objectKhuntTDatabase object name to hunt for
Oracle objectKhuntFSDatabase object name to hunt for
Oracle objectKhuntFS2Database object name to hunt for
Oracle objectKhuntCmdDatabase object name to hunt for
Oracle objectKhuntHashDatabase object name to hunt for
Oracle objectKhuntUnzipDatabase object name to hunt for
SQL log stringKHUNT%String to search for in SQL logs

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Stop new phishing & malware before they compromise your business. Integrate live intel from 15K SOCs around the world

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

Microsoft Releases Emergency Windows 11 Update Following Patch Tuesday Bugs

Microsoft has pushed out an emergency, out-of-band Windows 11 update after its September Patch Tuesday…

2 minutes ago

Top 10 Best Cloud Detection & Response (CDR) Solutions in 2026

CDR is the runtime, real-time half of cloud security: while CSPM tells you what’s misconfigured,…

7 minutes ago

Top 10 Best SaaS Security Posture Management (SSPM) Tools in 2026

Your SaaS estate M365, Salesforce, Workday, Slack, hundreds of others is a sprawl of misconfigurations,…

13 minutes ago

Top 10 Best Data Security Posture Management (DSPM) Tools in 2026

DSPM finds sensitive data you didn’t know you had, classifies it, maps who can reach…

18 minutes ago

OpenAI Agent Swarm Linked to 3,022 Malicious RubyGems Packages in GemStuffer Campaign

Open-source packages are meant to save developers time. In the GemStuffer campaign, that trust became…

29 minutes ago

Google Chrome 153 Update Fixes 42 Security Flaws, Including 3 Critical Ones

Google has released an important Chrome 153 security update that fixes 42 vulnerabilities across the…

5 hours ago