Attack Simulation
The attacker container includes recon and attack tools (e.g. nmap, curl, Python scripts) to simulate intrusions against the Andesfinance frontend and SSH honeypot.
Quick commands
Enter the container:
docker exec -it attacker-tools /bin/bashRun automated attacks: From inside the container,
cd attack_scripts/and runpython3 main_attacker.pyManual tests: Use curl for command-injection or SSH from inside the container against the frontend and honeypot
See Usage for full usage examples (manual command-injection, automated script).
Attack components
The attacker/attack_scripts/components/ directory includes:
base_attacker.py— Base attacker classcommand_injection.py— Command injectiondata_exfiltration.py— Data exfiltrationport_scanning.py— Port scanningreconnaissance.py— Reconnaissancesql_injection.py— SQL injectionssh_bruteforce.py— SSH brute forceweb_application_discovery.py— Web application discovery
The main entry point is main_attacker.py, which orchestrates these components.