hn.today

Honeypots that hack the hacking agent back

github.com149 points50 comments
Screenshot of Honeypots that hack the hacking agent back

ArtexPot is a security-research framework designed to test whether an autonomous penetration-testing agent can be induced to execute code inside its own container while investigating deliberately vulnerable-looking targets. It provides seven Docker-based honeypots, each offering something an agent might seek - such as credentials, source code, backups, or a working exploit - in a form that triggers code execution during ordinary handling, without using prompt injection. The traps range from a Git checkout flaw and unsafe Python pickle files to hidden form data, bytecode concealed alongside clean source, exploit helpers, credential-gathering tools, and a private software package with a server-triggered bug. The project reports that the first six traps succeeded in 33 of 36 trials against the stock agent, with the quickest success in 27 seconds; a seventh design succeeded in all eight trials.

The demonstrated payload chain uses a small loader, a Diffie-Hellman handshake, and an implant that exists only in memory. After a session begins, the controller sends newly written, session-signed tasks and checks the agent’s responses, rather than relying on canned commands. The Billing SDK honeypot is distinct: it contains no implant, but a deliberate flaw lets the server trigger execution. Payloads are generated when containers start, with fresh keys, rather than committed as binaries. A demo script builds and runs all seven targets locally. The project is intended for authorized research, teaching, and personal use; its stated license prohibits commercial use, and its maintainers warn against testing systems without permission.

Read on github.com50 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

Tailscale: Post-Quantum Cryptography

Tailscale: Post-Quantum Cryptography

Post-quantum cryptography protects key exchange from future quantum attacks, including “harvest now, decrypt later” attempts; hybrid exchange combines classical and post-quantum algorithms for protection if either remains secure. WireGuard uses fixed handshake algorithms, so adding post-quantum protection requires protocol changes and endpoint updates. (tailscale.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.