AIToday
Large Language ModelsAI Safety & AlignmentZenn AI/MLPublished: Nov 4, 2026, 19:01 JST

AI on Kali Linux finds 12 flaws in 27 minutes on Metasploitable2

Send on LINE
AI on Kali Linux finds 12 flaws in 27 minutes on Metasploitable2

3 Key Points

  1. What happened

    In an isolated lab, an AI stack of Claude Opus, Sonnet and Haiku driving Kali Linux against Metasploitable2 found 12 vulnerabilities and got three shells in 27 minutes, with the human only entering the target IP and pressing Y once at a review prompt.

  2. Why it matters

    This suggests AI can autonomously run the enumeration-to-exploitation loop against a deliberately vulnerable training VM, leaving the human to approve only low-confidence steps; the author notes it handles known methods fast but still struggles with custom application logic and social engineering.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The experiment was set up in an isolated local network with Kali Linux as the attack platform and Metasploitable2 at 192.168.1.100 as the target. A three-tier Claude configuration (Opus, Sonnet, Haiku) was given only the target IP and then operated with no further human input until a review prompt appeared.

The AI proceeded through four phases: reconnaissance, scanning, exploitation, and post-exploitation. During reconnaissance it identified an old Linux kernel (2.6.x) and noted that such kernels often have local privilege escalation vulnerabilities. Scanning revealed over 30 open ports with outdated services, and the AI matched them to known CVEs with confidence scores, prioritizing a backdoored FTP service at 0.97 confidence. Exploitation yielded a root shell via that backdoor and a Tomcat manager login using default credentials, after which a Java shell was deployed. A human review was triggered for an SMB exploit because confidence was 0.63, below the 70% threshold; after approval, an SMB shell was obtained. Post-exploitation included reading /etc/passwd and /etc/shadow, and connecting to MySQL without a password.

The author notes that while the AI excelled at matching known CVEs to service versions and automating repetitive tasks like scanning and brute-forcing, it struggled with custom application logic, social engineering, and low-confidence decisions. The tool used, ALIEN PENTEST, is the author's own development and is presented with a three-day free trial.

FAQ
What is Metasploitable2?
Metasploitable2 is a deliberately vulnerable virtual machine used for penetration testing practice.
How many times did the human intervene?
The human entered the target IP and pressed Y once at a Human Review prompt, for a total of two actions.
What tool was used for the experiment?
The experiment used ALIEN PENTEST, a desktop app for Kali Linux developed by the author, which automates pentesting using Claude API in three tiers.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleRevolut cuts AI cost to $0.30 with in-house GLM-5.1