Repository navigation
RouterSploit Embedded Device Security and Controlled Router Assessments
Upstream repository and available documentation reviewed: 2026-11-21. Modules were not executed.
Caution
Authorized lab use only. RouterSploit includes exploitation and credential-testing modules. Do not run scanners, default-credential attempts or exploits against client, ISP or production devices without a written, device-specific test plan. Embedded devices can crash or lose connectivity. See Legal Notice.
RouterSploit is a Python-based penetration-testing framework for routers and other embedded devices. The upstream project describes exploit, credential, scanner, payload and generic module families. Use the guide to build an inventory-to-validation workflow, with manual firmware/CVE confirmation before any active test.
| Module Family | Intended Role | Key Risk |
|---|---|---|
| Scanners | Evaluate selected vulnerability conditions | False positives, service stress |
| Exploits | Exercise published vulnerability behavior | Instability, configuration damage |
| Creds | Check authentication configurations | Lockout, unintended account access |
| Payloads | Support target-specific payload behaviors | Unauthorized command execution |
| Generic | Reusable protocol/security checks | Variable network impact |
No tool result replaces checking actual firmware, model, patch level, vulnerability prerequisites or exposure.
Use a spare router or virtualized embedded-services fixture, with a dedicated management VLAN, a reset/reflash path, non-production credentials and no WAN forwarding. Record exact hardware revision, firmware image/hash, test period, network isolation and backup configuration.
Prefer a package from your supported distribution or obtain the upstream source. Older upstream instructions mention outdated Python environments and dependencies; validate current compatibility before installation. Do not install an unreviewed dependency stack system-wide.
# Inspect the checked-out repository and dependency manifest before setup.
git clone https://github.com/threat9/routersploit.git
cd routersploit
git log -1 --oneline
sed -n '1,160p' requirements.txtOnly after reviewing the current project state should you choose a supported, disposable Python virtual environment and follow the official installation instructions. A successful installation does not confirm module safety.
Within a working authorized lab installation, review the console's available commands and module metadata. Command syntax can change with releases; use built-in help.
# In a locally started rsf.py console, inspect commands and modules:
help
show scanners
show exploits
search router
The text above illustrates command discovery, not a scan or an exploitation sequence. Before selecting any module, inspect its source, prerequisites, network requests and cleanup implications. Do not run automated all-target scanners on a live network.
- Inventory: Identify owner, router model, revision, firmware, management interfaces and reachable services.
- Scope: Confirm whether active testing is allowed; for fragile gear prefer a configuration-only review.
- Correlate: Compare version and features to vendor advisories, NVD entries and exploit preconditions.
- Lab: Reproduce only on an isolated matching device/firmware if needed for the remediation decision.
- Protect: Export configuration, confirm recovery image and power/network access before testing.
- Report: Separate scanner assertion, verified observation, tested consequence and untested hypothesis.
- Remediate: Update firmware, rotate device credentials, disable WAN administration, isolate IoT services.
- Retest: Re-verify the corrected configuration using bounded, documented methods.
| Claim | Required Corroboration |
|---|---|
| "Router is vulnerable" | Exact model/firmware + relevant advisory prerequisites |
| "Port open" | Nmap scan, firewall configuration & service listener |
| "Default credentials" | Vendor documentation, management policy; no unapproved login attempts |
| "Exploit succeeded" | Explicit lab evidence, reproducible conditions, no collateral damage |
| "Fixed" | Firmware/config change, exposure test & documented retest |
Use supported firmware, disable UPnP/remote administration where unnecessary, isolate management access, monitor outbound DNS and admin logins, back up known-good configurations and replace end-of-life appliances. Where vendor documentation is unclear, avoid assuming a version string alone establishes risk.
| Issue | Safe Next Step |
|---|---|
| Dependency conflicts | Use clean virtual environment; compare supported Python versions |
| Module unsupported | Review source and target preconditions; avoid forcing |
| Device becomes unstable | Stop, restore known-good configuration or factory image |
| Scanner contradicts advisory | Check firmware revision and exploit prerequisites |
| No logs | Enable router syslog or passive traffic monitoring in the lab |
- Nmap Guide โ bounded service inventory
- Network Detection โ router traffic & IDS visibility
- Hardware Hacking Index โ embedded devices
- RouterSploit Upstream & Kali Tool Reference
Tradecraft Index | Start Here | Legal Notice
๐ Source: Tradecraft/routersploit-guide.md | โ๏ธ Suggest an edit | โฌ
๏ธ Back to Tradecraft
- ๐บ๏ธ Browse by Topic
- ๐ All Repository Files
- ๐งญ Learning Paths
- ๐ Master Guide
- ๐ค Glossary
- โ๏ธ Legal & Disclaimer
๐ Foundations & Learning
๐ก๏ธ Defense & Investigations
- Incident Response
- Open Source Intelligence (OSINT)
- Reverse Engineering
- Operations Security (OPSEC)
- Compliance
โ๏ธ Platforms & Infrastructure
๐ก Hardware, Wireless & Field Projects
- PNWC Cyberdeck
- Hardware Testing
- Hardware Hacking
- Software-Defined Radio
- Wardriving
- uConsole
- Space Security
๐งฐ Assessment & Field Reference
๐ฆ Downloads & Project Resources
๐๏ธ Additional Topics