AI agent steals database, makes real-time hacking decisions in less than an hour


Researchers claim to have captured one of the clearest examples yet of an AI agent independently steering a cyberattack as an LLM harvested credentials, accessed cloud services, and stole an internal database in less than 60 minutes.

Key takeaways:

According to cloud security firm Sysdig, the attack began with hackers exploiting a vulnerability in a publicly exposed Marimo notebook. Marimo is an open-source Python application used for interactive data work.

ADVERTISEMENT
jurgita justinasv Izabelė Pukėnaitė vilius Ernestas Naprys Gintaras Radauskas
Don't miss our latest stories on Google News

After gaining access, the attackers searched the compromised system for credentials, including cloud access keys, database credentials, and other data that could potentially open the door to other systems.

Using the stolen credentials, the attackers accessed AWS services and retrieved an SSH key stored in AWS Secrets Manager. They then used that key to connect to an internal server to explore the compromised system’s environment.

Once inside the internal network, the attackers appeared to move quickly. Within 2 minutes of accessing the SSH bastion host, they had extracted the structure and contents of an internal database.

“The full attack chain – Marimo notebook compromise to internal Postgres database dump – ran end-to-end in under an hour,” said Sysdig research director Michael Clark, who detailed the findings in a blog post.

AI spider senses tingling

The timeline and several other indicators raised the threat research team’s suspicions that this might be proof of AI involvement.

While sophisticated cybercriminals have long relied on automation to move quickly after gaining access, Sysdig points to several signs suggesting that an AI agent may have been making decisions during the attack.

ADVERTISEMENT
Hackers using ChatGPT
Sysdig research details several signs that an AI agent was making real-time decisions during attack. Image by Cybernews.

Researchers say the attacker appeared to make educated guesses based on limited information. In one case, it targeted a database table despite having no clear evidence it existed, with Sysdig noting that the “agent dumped it anyway, on the strength of the name alone.”

“Nothing on the bastion host or in the .pgpass connection string identified the application owning internal-db. So the database dump asserts two things the operator had no evidence for: that the database belongs to a langflow-shaped application, and that, within that shape, it contains a credential table,” said Clark.

“A pre-built script has no internal monologue”

The researchers also found what appeared to be a planning note embedded in the command history.

The command sequence began with a Chinese-language comment that translates to “See what else we can do,” followed by a series of reconnaissance commands designed to search for credentials, encryption keys, and valuable data.

“A pre-built script has no internal monologue. A human typing at a remote terminal can leave such a comment, but not while sourcing the same SSH session from six distinct IPs at sub-second cadence. That is an AI orchestrator, not a human threat actor,” Clark added.

AI threat actor
The research could be a sign that attackers are replacing their scripts with AI. Image by Mdisk | Shutterstock

A further clue came from the way the commands were structured: rather than behaving like a traditional script attack, many commands appeared designed to make the output easier for another system to read and understand.

Outputs were trimmed, errors were hidden, and results were separated using simple separators between text called delimiters, Clark noted.

ADVERTISEMENT

Has your password leaked?

Enter your password to check if it has leaked. Having a leaked password creates the risk of identity theft, financial damages, and worse!
35,607,543,468
Exposed Passwords
Ad
Protect your personal information from cybercriminals and get 50% off the top-rated password manager
link_title link_title

“A human running probes interactively does not insert separators, as the prompt already delimits them; a script does not need them either, since it knows what it ran. The separators only earn their keep when the consumer of the output is a different process re-parsing a flat blob,” he added.

The attack also showed signs of adapting to information as it was discovered, according to Sysdig, reading information, interpreting it, and feeding it into subsequent actions rather than blindly executing a predefined sequence.

Will AI agents eventually replace human attackers?

Sysdig doesn’t think that this type of attack will lead to criminal operations largely consisting of AI-agent hackers, as Clark says, “We are not watching AI replace attackers. We are watching attackers replace their scripts with AI.”

“We are not watching AI replace attackers. We are watching attackers replace their scripts with AI.”

Sysdig research director Michael Clark,

And while the attack does not demonstrate new hacking techniques, the researchers believe it could make it easier to launch sophisticated attacks at scale.

“The shift this attack signals is one of cost, not capability. The bar becomes inference budget, not playbook authorship. Attacks at this level of complexity get cheaper and faster to compose, and the volume of intrusions like this one rises,” Clark concludes.


Unlock more exclusive Cybernews content on YouTube.

ADVERTISEMENT