Sunday, June 15, 2025
HomeAIHackers Abuse AI Tool Misconfigurations to Execute Malicious AI-Generated Payloads

Hackers Abuse AI Tool Misconfigurations to Execute Malicious AI-Generated Payloads

Published on

SIEM as a Service

Follow Us on Google News

A malicious threat actor has exploited a misconfigured instance of Open WebUI, a widely-used self-hosted AI interface with over 95,000 stars on GitHub, designed to enhance large language models (LLMs).

This incident underscores the growing risks associated with internet-exposed AI tools, as attackers leveraged administrative access on a vulnerable system to inject malicious AI-generated Python scripts, deploy cryptominers, and execute sophisticated infostealer malware.

The attack, which targeted both Linux and Windows environments, highlights the critical need for robust runtime security and multi-layer threat detection to combat such complex threats.

- Advertisement - Google News

Exploiting Open WebUI for Cryptojacking

The breach began with the accidental exposure of a training system running Open WebUI to the internet, misconfigured with administrative privileges and no authentication.

This oversight allowed attackers to access the system and utilize Open WebUI Tools a plugin system meant to extend LLM functionality to upload and execute malicious Python code.

The script, obfuscated with a technique dubbed “pyklump” by Sysdig TRT, featured 64 layers of compressed Base64 reversed encoding, making it difficult to analyze initially.

AI-Generated Payloads
Linux attack path

Once decoded, the payload revealed an AI-assisted design, characterized by uniform formatting and inline format string variables, suggesting rapid development using an LLM.

On Linux, the script copied itself to a hidden “.config” directory, downloaded cryptominers like T-Rex and XMRig for Monero and Kawpow mining, and employed defense evasion tools such as processhider and argvhider.

These tools, loaded via LD_PRELOAD, hid miner processes and arguments from system utilities.

Persistence was achieved through a deceptive “ptorch_updater” systemd service, while a Discord webhook facilitated command-and-control (C2) communications, transmitting victim data like IP addresses and system details.

Attack Paths Across Linux and Windows Systems

In the Windows attack path, the payload took a more insidious turn, installing the Java Development Kit (JDK) to execute a malicious JAR file, “application-ref.jar,” downloaded from a now-inactive IP.

AI-Generated Payloads
Windows attack path

According to the Report, This JAR acted as a loader for secondary malware, including infostealers targeting Chrome extensions and Discord tokens, alongside evasion techniques like sandbox detection and disabling debugging mechanisms.

The malware embedded DLLs with XOR encoding and named pipe operations, further complicating detection.

With low VirusTotal detection rates (as low as 1/73 for some components), the Windows payload demonstrated near-undetectable sophistication, emphasizing the financial motivations behind credential theft for further exploitation or resale in underground markets.

This attack, detected by Sysdig Secure through YARA rules, LD_PRELOAD library injection alerts, and DNS lookups for suspicious domains, serves as a stark reminder of the perils of misconfigured AI tools.

Accidental exposures of systems like Open WebUI can provide attackers with a gateway to deploy cryptojacking and data theft operations.

Indicators of Compromise (IoCs)

Indicator NameIndicator TypeIndicator Value
application-ref.jarSHA2561e6349278b4dce2d371db2fc32003b56f17496397d314a89dc9295a68ae56e53
LICENSE.jarSHA256833b989db37dc56b3d7aa24f3ee9e00216f6822818925558c64f074741c1bfd8
RavenCoin WalletWallet AddressRHXQyAmYhj9sp69UX1bJvP1mDWQTCmt1id
Monero XMR WalletWallet Address45YMpxLUTrFQXiqgCTpbFB5mYkkLBiFwaY4SkV55QeH2VS15GHzfKdaTynf2StMkq2HnrLqhuVP6tbhFCr83SwbWExxNciB
Malicious JAR Downloader URLURLhttp://185.208.159.155:8000/application-ref.jar
Aman Mishra
Aman Mishra
Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Latest articles

Kali Linux 2025.2 Released: New Tools, Smartwatch and Car Hacking Added

Kali Linux, the preferred distribution for security professionals, has launched its second major release...

Arsen Launches AI-Powered Vishing Simulation to Help Organizations Combat Voice Phishing at Scale

Arsen, the cybersecurity startup known for defending organizations against social engineering threats, has announced...

NIST Releases New Guide – 19 Strategies for Building Zero Trust Architectures

The National Institute of Standards and Technology (NIST) has released groundbreaking guidance to help...

Spring Framework Flaw Enables Remote File Disclosure via “Content‑Disposition” Header

A medium-severity reflected file download (RFD) vulnerability (CVE-2025-41234) in VMware's Spring Framework has been...

Credential Abuse: 15-Min Attack Simulation

Credential Abuse Unmasked

Credential abuse is #1 attack vector in web and API breaches today (Verizon DBIR 2025). Join our live, 15-min attack simulation with Karthik Krishnamoorthy (CTO - Indusface) and Phani Deepak Akella (VP of Marketing - Indusface) to see hackers move from first probe to full account takeover.

Discussion points


Username & email enumeration – how a stray status-code reveals valid accounts.
Password spraying – low-and-slow guesses that evade basic lockouts.
Credential stuffing – lightning-fast reuse of breach combos at scale.
MFA / session-token bypass – sliding past second factors with stolen cookies.

More like this

Kali Linux 2025.2 Released: New Tools, Smartwatch and Car Hacking Added

Kali Linux, the preferred distribution for security professionals, has launched its second major release...

NIST Releases New Guide – 19 Strategies for Building Zero Trust Architectures

The National Institute of Standards and Technology (NIST) has released groundbreaking guidance to help...

Spring Framework Flaw Enables Remote File Disclosure via “Content‑Disposition” Header

A medium-severity reflected file download (RFD) vulnerability (CVE-2025-41234) in VMware's Spring Framework has been...