MirLabs / The blog / AI / Security

Eleven minutes to a zero-day: AI agents on the attack, according to Amazon

Amazon describes an attack carried out with Cairn, a free penetration-testing tool driven by AI agents. Two targets held for hours, the third gave way in 11 minutes. What it changes for configuration oversights.

· Cyril Delage · 2 min read · Lire en français

An hourglass on stones
Photo: Aron Visuals on Unsplash

Amazon published on 20 November the account of an attack carried out by AI agents. Source: Amazon's post, covered by The Register.

The attacker used Cairn, a free penetration-testing tool designed for those who defend systems. He gave it a list of addresses linked to East Asian universities and a goal in a few words: get access to the machines.

Three targets, three stories

What struck me is the detail of the attempts.

On a database left without a password, the agents searched for about 16 hours, 148 actions in a row, without getting in.

On a compute server, they built a list of about 80 real user names from public sources, and tried more than 30,000 credential combinations over more than six hours. Nothing either.

On the third target, a free medical imaging software, it took them about 11 minutes to go from reading the interface to writing files on the server, through a flaw Amazon believes was unknown until then. They then got the highest privileges on the machine. Amazon writes that the agents planned, executed and adjusted their approach without the operator choosing each step. The software's maintainers have since published a fix and a security advisory.

Two caveats

Amazon attributes the attack to a China-linked actor, with a confidence it itself calls moderate. And the human has not disappeared: he chose the targets, then opened access to a second network for the agents.

So this is not "an AI attacking on its own". It is a human delegating the tedious part to agents.

What I keep: patience no longer costs anything

Above all, I keep the first two attempts. Two machines out of three held, but the tool kept going for hours, without tiring, until it found one that gave way.

A flaw in a file upload, a service exposed for no reason, a database without a password: that kind of oversight had time on its side as long as it took a person to look for it. It has much less now. A human attacker gives up after a while. An agent starts again.

What it changes for a company

The consequence is very concrete: the inventory of what is exposed becomes the priority again. Every service opened for no reason, every forgotten interface, every default password will be tried, for a long time, by something that does not get tired.

The same goes for the AI agents a company puts into service itself. An agent that answers everyone can be probed the same way, message after message. With CrashMire, I look at what an agent does when pushed; this story is a reminder that someone, or something, will push it without stopping.

A project like this one?AI integration, a site to make readable by assistants, security: let's talk.
Contact me

Read next