cisco-torch
Scanner de masse d'équipements Cisco. Fingerprinte et énumère les équipements réseau Cisco via SNMP, Telnet, SSH et HTTP : découvre les types d'équipements, les versions IOS, et teste les identifiants par défaut. Cisco device mass scanner. Fingerprints and enumerates Cisco network devices via SNMP, Telnet, SSH, and HTTP — discovers device types, IOS versions, and tests for default credentials.
↗ https://github.com/forrest-orr/Cisco-TorchOverview
Cisco Torch scans networks for Cisco devices and performs targeted fingerprinting and enumeration. It uses multiple protocols (SNMP, Telnet, SSH, HTTP) to identify Cisco routers, switches, and firewalls, retrieve version information, and test for default/weak credentials.
Basic Usage
Scan a subnet for Cisco devices
cisco-torch -A 192.168.1.0/24
SNMP fingerprinting
cisco-torch -s 192.168.1.0/24
Telnet banner grabbing
cisco-torch -t 192.168.1.0/24
SSH fingerprinting
cisco-torch -S 192.168.1.0/24
All checks
cisco-torch -A -s -t 192.168.1.0/24
Scan Types
SNMP scan — identify via community strings
cisco-torch -s 192.168.1.0/24
Telnet — banner grabbing and auth test
cisco-torch -t 192.168.1.0/24
SSH — version fingerprint
cisco-torch -S 192.168.1.0/24
HTTP/HTTPS — web interface detection
cisco-torch -h 192.168.1.0/24
CDP via SNMP
cisco-torch -c 192.168.1.1
Options
-A TARGET All scans (comprehensive)
-s SNMP scan
-t Telnet scan
-S SSH scan
-h HTTP/HTTPS scan
-c CDP via SNMP
-v Verbose output
-o FILE Output file
Post-Discovery
If SNMP community “public” found:
snmpwalk -c public -v 2c 192.168.1.1
# Get running config via SNMP (if writable community found)
# show running configuration, interfaces, routing tables
Telnet brute force on discovered devices
hydra -l cisco -P passwords.txt telnet://192.168.1.1
SSH brute force
hydra -l admin -P passwords.txt ssh://192.168.1.1
Cisco Default Credentials
# Common defaults to test:
# Username: cisco, admin, administrator, (none)
# Password: cisco, cisco123, admin, password, (none)
# Enable: cisco, enable, (none)
Telnet manual test
telnet 192.168.1.1
→ Try: cisco/cisco, admin/admin, cisco/cisco123
Tips
- Many Cisco devices respond on SNMP community “public” — try it first
- IOS version from SNMP/telnet banner reveals patch level → search CVEs
- CDP (Cisco Discovery Protocol) reveals network topology and neighboring devices
- Combine with nmap:
nmap -sV -p 22,23,80,443,161/udp 192.168.1.0/24 - After gaining access:
show cdp neighbors detailreveals the entire Cisco network
Help / Man page
cisco-torch [options] target
-A All scanning methods
-s SNMP scan
-t Telnet scan
-S SSH scan
-h HTTP scan
-c CDP discovery
-v Verbose
-o F Output file
Vue d’ensemble
Cisco Torch scanne les réseaux à la recherche d’équipements Cisco et effectue un fingerprinting et une énumération ciblés. Il utilise plusieurs protocoles (SNMP, Telnet, SSH, HTTP) pour identifier routeurs, switches et pare-feux Cisco, récupérer les informations de version, et tester les identifiants par défaut/faibles.
Utilisation de base
# Scanner un sous-réseau à la recherche d'équipements Cisco
cisco-torch -A 192.168.1.0/24
# Fingerprinting SNMP
cisco-torch -s 192.168.1.0/24
# Récupération de bannière Telnet
cisco-torch -t 192.168.1.0/24
# Fingerprinting SSH
cisco-torch -S 192.168.1.0/24
# Tous les contrôles
cisco-torch -A -s -t 192.168.1.0/24
Types de scan
# Scan SNMP : identifier via les community strings
cisco-torch -s 192.168.1.0/24
# Telnet : récupération de bannière et test d'auth
cisco-torch -t 192.168.1.0/24
# SSH : fingerprint de version
cisco-torch -S 192.168.1.0/24
# HTTP/HTTPS : détection d'interface web
cisco-torch -h 192.168.1.0/24
# CDP via SNMP
cisco-torch -c 192.168.1.1
Options
-A TARGET All scans (comprehensive)
-s SNMP scan
-t Telnet scan
-S SSH scan
-h HTTP/HTTPS scan
-c CDP via SNMP
-v Verbose output
-o FILE Output file
Après la découverte
# Si la community SNMP "public" est trouvée :
snmpwalk -c public -v 2c 192.168.1.1
# Récupérer la config en cours via SNMP (si une community accessible en écriture est trouvée)
# afficher la configuration en cours, les interfaces, les tables de routage
# Brute-force Telnet sur les équipements découverts
hydra -l cisco -P passwords.txt telnet://192.168.1.1
# Brute-force SSH
hydra -l admin -P passwords.txt ssh://192.168.1.1
Identifiants Cisco par défaut
# Valeurs par défaut courantes à tester :
# Username: cisco, admin, administrator, (none)
# Password: cisco, cisco123, admin, password, (none)
# Enable: cisco, enable, (none)
# Test manuel Telnet
telnet 192.168.1.1
# → Essayer : cisco/cisco, admin/admin, cisco/cisco123
Conseils
- Beaucoup d’équipements Cisco répondent sur la community SNMP “public” : essayez-la en premier
- La version IOS depuis la bannière SNMP/telnet révèle le niveau de patch → cherchez les CVE
- Le CDP (Cisco Discovery Protocol) révèle la topologie réseau et les équipements voisins
- Combinez avec nmap :
nmap -sV -p 22,23,80,443,161/udp 192.168.1.0/24 - Après avoir obtenu l’accès :
show cdp neighbors detailrévèle tout le réseau Cisco
Aide / Page de manuel
cisco-torch [options] target
-A All scanning methods
-s SNMP scan
-t Telnet scan
-S SSH scan
-h HTTP scan
-c CDP discovery
-v Verbose
-o F Output file