Skip to main content

AlienRecon

Your guide through the box. Hack first. Understand after.

AlienRecon is a CLI that walks you through cybersecurity rooms step by step. You pick a room, it runs the tools, shows you the output, and teaches you what is happening along the way.

Install

pip install alienrecon

Requires Python 3.11+.

Setup

1. Get a Claude API key

Sign up at console.anthropic.com and grab an API key.

2. Set it

export ANTHROPIC_API_KEY=your-key-here

Add it to your shell profile (~/.bashrc, ~/.zshrc) so it persists.

3. Install pentesting tools

AlienRecon calls real tools on your machine. You need at least:

Tool What it does
nmap Port scanning
gobuster Directory brute-forcing
nikto Web vulnerability scanning
hydra Password brute-forcing
curl HTTP requests
openvpn VPN connections (TryHackMe / HackTheBox)

Optional but useful: sqlmap, john, hashcat, ffuf, whatweb, wpscan, searchsploit, enum4linux-ng

On Kali or Parrot, most of these come pre-installed. On Debian/Ubuntu:

sudo apt install nmap nikto hydra curl openvpn

4. Check your setup

alienrecon doctor

Tells you what is installed and what is missing.

Usage

Start a room

alienrecon start -r lazyadmin

Loads the walkthrough for that room and teaches you through it. It runs commands, explains output, asks you questions, and moves on when you understand.

Let the curriculum pick

alienrecon start

Picks the next room based on your progress.

Resume where you left off

alienrecon start --resume

Free recon mode

alienrecon recon -t 10.10.10.10

No walkthrough. Just you and the assistant against a target.

Check your progress

alienrecon profile

Browse available rooms

alienrecon curriculum

Reset your profile

alienrecon reset

How it works

Each room has a YAML walkthrough with every phase, step, command, expected output, and answer. The instructor uses this as a cheat sheet — it knows what to do, but teaches you like a conversation, not a script.

The instructor:

  • Runs real tools on real machines (nmap, gobuster, nikto, etc.)
  • Explains what each command does and why
  • Asks you questions before revealing answers
  • Adapts to your responses
  • Does not move on until you get it

Claude Sonnet under the hood, using tool_use for running commands, showing hints, checking answers, and advancing through steps.

Rooms

40 guided walkthroughs covering:

  • Network fundamentals and enumeration
  • Web application attacks
  • Privilege escalation (Linux + Windows)
  • Brute forcing and credential attacks
  • SQL injection
  • Active Directory basics
  • Metasploit

List them with alienrecon curriculum or browse at alien37.com/rooms.

Project structure

src/alienrecon/
├── cli.py              # CLI entry point (Typer)
├── agent/
│   ├── instructor.py   # Guided walkthrough agent
│   ├── assistant.py    # Free recon mode
│   └── brain.py        # Claude API + tool definitions
├── curriculum/
│   ├── rooms.py        # Room database + YAML loader
│   └── profile.py      # Student progress tracking
├── display/
│   └── ui.py           # Rich terminal output
├── tools/
│   ├── checker.py      # Environment checker (doctor)
│   └── vpn.py          # VPN management
└── data/
    └── rooms/          # 40 YAML walkthroughs

Offensive security education tool. Use it on machines you have permission to test. TryHackMe, HackTheBox — you are good. Do not be stupid.

Release files for alienrecon 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alienrecon 3.0.0
File Size Uploaded
alienrecon-3.0.0.tar.gz 446.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alienrecon 3.0.0
File Interpreter ABI Platform
alienrecon-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 955.0 kB

Release files / alienrecon-3.0.0.tar.gz

Download URL alienrecon-3.0.0.tar.gz
Size 446.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9b5ac6d2e9ddfbb376ca353f2005693c8ea60c62d2127810efc808e0b6cbce02
BLAKE2b-256 checksum
How to use checksums
5b78089745f6261d273e8412dfbf98c8951765088a09135d9688c67103a31188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / alienrecon-3.0.0-py3-none-any.whl

Download URL alienrecon-3.0.0-py3-none-any.whl
Size 508.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a3092b940bfdf04196c272efb91407c1e5d5978d4b9a8c956a8468486eab960
BLAKE2b-256 checksum
How to use checksums
b74c2f56f89d70803bc5c5984dd3523075cd58645b885adacebb1eedd3ed7171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page