
Toolkit avanzato per penetration test di rete con valutazione delle vulnerabilità SSH, sfruttamento di CVE-2018-15473, capacità di brute force stealth e tecniche di evasione di fail2ban. Framework di test di sicurezza di livello professionale per engagement di penetration test autorizzati.
███╗ ██╗███████╗████████╗██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗ ██████╗ ██████╗ ███████╗██████╗
████╗ ██║██╔════╝╚══██╔══╝██║ ██║██╔═══██╗██╔══██╗██║ ██╔╝ ██╔══██╗██╔══██╗██╔════╝██╔══██╗
██╔██╗ ██║█████╗ ██║ ██║ █╗ ██║██║ ██║██████╔╝█████╔╝ ██████╔╝██████╔╝█████╗ ██║ ██║
██║╚██╗██║██╔══╝ ██║ ██║███╗██║██║ ██║██╔══██╗██╔═██╗ ██╔═══╝ ██╔══██╗██╔══╝ ██║ ██║
██║ ╚████║███████╗ ██║ ╚███╔███╔╝╚██████╔╝██║ ██║██║ ██╗ ██║ ██║ ██║███████╗██████╔╝
╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═════╝
Framework di riconoscimento di rete e test di penetrazione SSH di livello professionale con capacità evasive avanzate
🚀 Avvio Rapido • 📖 Documentazione • 🎯 Sfruttamento • 🛡️ Difesa • ⚖️ Legale
🔴 SOLO PER TEST AUTORIZZATI
Questo strumento è progettato esclusivamente per scopi educativi e test di penetrazione autorizzati. L'accesso non autorizzato a sistemi informatici è illegale e può comportare accuse penali.
✅ Utilizzo autorizzato:
❌ Utilizzo non autorizzato:
Usando questo strumento, accetti di assumerti la piena responsabilità delle tue azioni e di rispettare tutte le leggi applicabili.
config.yaml# Assicurati che Python 3.6+ sia installato
python3 --version
# Installa le dipendenze necessarie
pip3 install paramiko pyyaml colorama
# Clona il repository
git clone https://github.com/floriankostov/network_scanner.git
cd network_scanner
# Rendi eseguibile (Unix/Linux/macOS)
chmod +x scanner.py
# Esegui lo scanner
python3 scanner.py
# Costruisci l'immagine Docker
docker build -t network-scanner .
# Esegui nel container
docker run -it --network host network-scanner
python3 scanner.py
Lo scanner fornisce un sistema di menu intuitivo:
╔══════════════════════════════════════════════════════════════════╗
║ NETWORK SCANNER TOOLKIT ║
║ Professional Penetration Testing ║
╠══════════════════════════════════════════════════════════════════╣
║ 1. 📡 Extended Port Scan - Comprehensive port discovery ║
║ 2. ⚡ Basic Port Scan - Quick essential port check ║
║ 3. 🔐 SSH Security Testing - Advanced SSH vulnerability scan ║
║ 4. 🎯 Custom Target Scan - Manual IP/range specification ║
║ 5. ❌ Exit - Quit the application ║
╚══════════════════════════════════════════════════════════════════╝
# Rilevamento automatico della rete
[+] Network: 192.168.1.0/24 (254 hosts)
[+] Gateway: 192.168.1.1
[+] Local IP: 192.168.1.100
# Specifica manuale della rete
python3 scanner.py --network 10.0.0.0/16
# Enumerazione standard
[EXPLOIT] CVE-2018-15473 Username Enumeration
[+] Target: 192.168.1.50:22 (OpenSSH 7.4)
[+] Testing 100 common usernames...
[✓] Valid users found: admin, user, test
# Enumerazione stealth con elusione
[STEALTH] Enabling anti-detection measures
[+] Random delays: 0.5-2.0 seconds
[+] Connection variation: randomized
[✓] Valid users found: admin (confirmed)
# Smart brute force
[EXPLOIT] Smart SSH Brute Force
[+] Target: 192.168.1.50:22
[+] Valid users: admin, user
[+] Wordlist: 500 common passwords
[✓] Credentials found: admin:password123
# Stealth brute force con elusione di fail2ban
[STEALTH] Advanced evasion enabled
[+] Adaptive delays: 3-8 seconds
[+] Connection resets: every 5 attempts
[+] IP rotation: enabled
[!] Intrusion detection bypass: active
config.yaml)# Network scanning settings
network:
ping_timeout: 1.0
port_timeout: 3.0
thread_count: 50
max_hosts: 254
# SSH exploitation settings
ssh:
timeout: 10.0
retry_count: 3
stealth_mode: true
delay_min: 0.5
delay_max: 2.0
# Exploitation parameters
exploits:
user_enumeration:
max_users: 100
timing_threshold: 0.05
brute_force:
max_attempts: 50
wordlist_size: 500
fail2ban_detection: true
port_lists:
basic: [22, 80, 443, 8080]
extended: [21, 22, 23, 25, 53, 80, 110, 143, 443, 993, 995, 8080]
comprehensive: [1-1000, 3389, 5432, 5900, 8080-8090]
# Disabilita l'accesso root
echo "PermitRootLogin no" >> /etc/ssh/sshd_config
# Richiedi autenticazione basata su chiave
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config
echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config
# Cambia la porta predefinita
echo "Port 2222" >> /etc/ssh/sshd_config
# Riavvia il servizio SSH
systemctl restart sshd
# Tentativi di enumerazione degli username
grep "Invalid user" /var/log/auth.log
# Rilevamento di forza bruta
grep "Failed password" /var/log/auth.log | head -10
# Analisi della frequenza delle connessioni
awk '{print $1, $2, $3, $11}' /var/log/auth.log | grep "sshd" | sort | uniq -c
[sshd]
enabled = true
port = ssh
filter = sshd
logpath = /var/log/auth.log
maxretry = 3
bantime = 3600
findtime = 600
# Pseudocodice semplificato dell'attacco temporale
def enumerate_users(target, usernames):
timings = {}
for user in usernames:
start = time.time()
try_authentication(target, user, "invalid_password")
end = time.time()
timings[user] = end - start
# Analizza i pattern temporali
return analyze_timing_anomalies(timings)
╔══════════════════════════════════════════════════════════════════╗
║ NETWORK SCAN RESULTS ║
╠══════════════════════════════════════════════════════════════════╣
║ Network: 192.168.1.0/24 ║
║ Active Hosts: 12/254 ║
║ Scan Duration: 45.3 seconds ║
╚══════════════════════════════════════════════════════════════════╝
📡 DISCOVERED HOSTS:
┌─────────────────┬──────────────────┬─────────────────────────────┐
│ IP Address │ Hostname │ Response Time │
├─────────────────┼──────────────────┼─────────────────────────────┤
│ 192.168.1.1 │ gateway.local │ 1.2ms │
│ 192.168.1.50 │ server.local │ 2.1ms │
│ 192.168.1.100 │ workstation.local│ 0.8ms │
└─────────────────┴──────────────────┴─────────────────────────────┘
╔══════════════════════════════════════════════════════════════════╗
║ SSH VULNERABILITY REPORT ║
║ Target: 192.168.1.50:22 ║
╠══════════════════════════════════════════════════════════════════╣
║ SSH Version: OpenSSH 7.4 ║
║ Risk Level: HIGH ║
║ Vulnerabilities: 3 Critical, 2 High, 1 Medium ║
╚══════════════════════════════════════════════════════════════════╝
🔴 CRITICAL VULNERABILITIES:
┌─────────────────┬────────────────────────────────────────────────┐
│ CVE-2018-15473 │ Username Enumeration via Timing Attack │
│ Status │ ✅ EXPLOITABLE - 3 valid users discovered │
│ Impact │ Information Disclosure, Attack Preparation │
│ Users Found │ admin, user, test │
└─────────────────┴────────────────────────────────────────────────┘
┌─────────────────┬────────────────────────────────────────────────┐
│ Brute Force │ Weak Authentication Configuration │
│ Status │ ✅ EXPLOITABLE - Password auth enabled │
│ Impact │ Unauthorized Access, Credential Compromise │
│ Attempts │ 45/50 tested, 1 credential found │
└─────────────────┴────────────────────────────────────────────────┘
💥 EXPLOITATION RESULTS:
╔══════════════════════════════════════════════════════════════════╗
║ ✅ Successfully compromised SSH service ║
║ 🔑 Credential: admin:password123 ║
║ 🎯 Access Level: Administrative ║
║ ⚠️ Recommend immediate credential change and hardening ║
╚══════════════════════════════════════════════════════════════════╝
Accogliamo con favore i contributi dalla comunità della sicurezza! Segui queste linee guida:
git checkout -b feature/nuovo-exploitgit commit -am 'Aggiunto nuovo exploit SSH'git push origin feature/nuovo-exploitIncludi:
Questo progetto è concesso in licenza con la Educational Use License - consulta il file LICENSE per i dettagli.
Solo per Uso Educativo: Questo software è destinato esclusivamente a scopi educativi e test di sicurezza autorizzati. Qualsiasi uso malevolo è severamente proibito e potrebbe portare a procedimenti penali.
⚠️ Ricorda: Da un grande potere derivano grandi responsabilità
Usa questo strumento in modo etico, legale e responsabile.
Segnala Problemi • Richiedi Funzionalità • Contatto per la Sicurezza