Environment:0x4m4 Hexstrike ai Security Tools Installed
| Knowledge Sources | |
|---|---|
| Domains | Infrastructure, Security, Penetration_Testing |
| Last Updated | 2026-10-10 00:00 GMT |
Overview
External security tooling environment with 150+ CLI tools (nmap, nuclei, sqlmap, gobuster, etc.) that HexStrike orchestrates via subprocess execution.
Description
HexStrike AI does not bundle security tools; it orchestrates 150+ external CLI tools installed on the host system. These tools span 6 categories: Network and Reconnaissance (25+), Web Application Security (40+), Authentication and Password (12+), Binary Analysis (25+), Cloud and Container Security (20+), and OSINT and Intelligence (20+). The server executes tools via subprocess and classifies failures (e.g., "command not found") as ErrorType.TOOL_NOT_FOUND, triggering the SWITCH_TO_ALTERNATIVE_TOOL recovery action. Kali Linux 2024.1+ includes most tools by default; Ubuntu/Debian users must install them separately.
Usage
Use this environment when running any tool execution, bug bounty reconnaissance, intelligent scanning, or vulnerability assessment workflow. Required by execute_command_with_recovery, BugBountyWorkflowManager, IntelligentDecisionEngine, and intelligent_smart_scan.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Kali Linux 2024.1+ (preferred) | Ubuntu/Debian with manual tool installation |
| Hardware | 4GB RAM, 20GB disk | Tools + wordlists + temp outputs |
| Disk | 20GB | For security tools, wordlists, and output files |
| Network | Internet access | For tools that query external APIs (Shodan, Censys, etc.) |
Dependencies
System Packages
Network and Reconnaissance:
- `nmap`, `masscan`, `rustscan`, `autorecon`, `amass`, `subfinder`, `fierce`
- `dnsenum`, `theharvester`, `responder`, `netexec`, `enum4linux-ng`
Web Application Security:
- `gobuster`, `feroxbuster`, `ffuf`, `dirb`, `dirsearch`, `nuclei`, `nikto`
- `sqlmap`, `wpscan`, `arjun`, `paramspider`, `x8`, `katana`, `httpx`
- `dalfox`, `jaeles`, `hakrawler`, `gau`, `waybackurls`, `wafw00f`
Authentication and Password:
- `hydra`, `john`, `hashcat`, `medusa`, `patator`, `evil-winrm`
Binary Analysis:
- `ghidra`, `radare2`, `gdb`, `binwalk`, `ropgadget`, `checksec`, `strings`
Cloud and Container:
- `prowler`, `scout-suite`, `trivy`, `kube-hunter`, `kube-bench`, `checkov`, `terrascan`
OSINT:
- `sherlock`, `social-analyzer`, `recon-ng`, `spiderfoot`, `shodan-cli`, `censys-cli`
Python Packages
- See Environment:0x4m4_Hexstrike_ai_Python_3_8_Plus for Python-level dependencies
Credentials
Some tools require API keys (names only, never actual values):
- `SHODAN_API_KEY`: For Shodan CLI queries
- `CENSYS_API_ID` / `CENSYS_API_SECRET`: For Censys CLI
- Various cloud provider credentials for prowler, scout-suite, etc.
Quick Install
# On Kali Linux (most tools pre-installed):
sudo apt update && sudo apt install nmap nuclei sqlmap gobuster ffuf nikto hydra john
# On Ubuntu/Debian:
# Install from official repositories or compile from source
# See README.md for complete installation instructions
Code Evidence
External tools documentation from `requirements.txt:42-84`:
# EXTERNAL SECURITY TOOLS (150+ Tools - Install separately)
#
# HexStrike v6.0 integrates with 150+ external security tools that must be
# installed separately from their official sources:
#
# Network & Reconnaissance (25+ tools):
# - nmap, masscan, rustscan, autorecon, amass, subfinder, fierce
# - dnsenum, theharvester, responder, netexec, enum4linux-ng
#
# Installation Notes:
# 1. Kali Linux 2024.1+ includes most tools by default
Tool not found error classification from `hexstrike_server.py:1637-1638`:
r"command not found|no such file or directory|not found": ErrorType.TOOL_NOT_FOUND,
r"executable not found|binary not found": ErrorType.TOOL_NOT_FOUND,
Tool alternative mapping from `hexstrike_server.py:1874-1929`:
return {
"nmap": ["rustscan", "masscan", "zmap"],
"gobuster": ["feroxbuster", "dirsearch", "ffuf", "dirb"],
"nuclei": ["jaeles", "nikto", "w3af"],
"sqlmap": ["sqlninja", "jsql-injection"],
...
}
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
| `command not found: nmap` | Tool not installed | Install via `apt install nmap` or from official source |
| `No such file or directory: nuclei` | Tool binary missing | Install nuclei from https://github.com/projectdiscovery/nuclei |
| Tool returns empty results | Wordlists not installed | Install wordlists (e.g., `/usr/share/wordlists/`) |
| `Permission denied` when running tools | Insufficient privileges | Run with sudo or add user to appropriate groups |
Compatibility Notes
- Kali Linux 2024.1+: Preferred; most tools pre-installed.
- Ubuntu/Debian: Requires manual installation from official repositories or source compilation.
- Some tools require compilation from source or additional setup (per requirements.txt).
- Cloud tools require API keys and authentication configuration (per requirements.txt).
- Browser automation requires Chrome/Chromium and ChromeDriver installation (per requirements.txt).