
Uno strumento per recuperare le credenziali di accesso dalle telecamere IP Netwave sfruttando una vulnerabilità di dump della memoria (CVE-2018-17240)
Uno strumento per recuperare le credenziali di accesso dalle telecamere IP Netwave sfruttando una vulnerabilità del dump della memoria (CVE-2018-17240). Questo progetto è stato ispirato da expcamera e offre miglioramenti in termini di prestazioni ed efficienza. Questo strumento funziona su tutte le piattaforme poiché non utilizza strumenti CLI Linux tramite comandi shell come fa expcamera.
Su sistemi Linux, /proc/kcore è un file virtuale che fornisce una mappatura diretta alla memoria fisica del sistema, consentendo l'accesso in lettura all'intero spazio di memoria virtuale del kernel. Alcune telecamere IP Netwave espongono pubblicamente questo file tramite il proprio server web, consentendo a utenti non autenticati di recuperare il dump della memoria del dispositivo, esponendo informazioni sensibili come le credenziali di accesso.
Questo strumento tenterà prima di tutto di trovare l'ID del dispositivo nel dump della memoria. Una volta trovato, è probabile che le credenziali siano nelle vicinanze e inizierà a cercarle.
Questo strumento supporta due diversi modi per specificare gli host da controllare per la vulnerabilità. Gli host devono essere nel formato ip:port.
| Argomento | Descrizione |
|---|---|
--host | Un host da controllare, può essere specificato più volte |
--file | Un file contenente un elenco di host da controllare |
Questo strumento supporta il recupero di host da Censys, Shodan e ZoomEye per controllare la vulnerabilità.
$ pip install -r requirements.txt
Usage: main.py [-h] (--host HOST | -f FILE | --censys | --shodan | --zoomeye) [-n NUMBER] [-c CONCURRENT] [-t TIMEOUT] [-o OUTPUT]
A tool for retrieving login credentials from Netwave IP cameras using a memory dump vulnerability (CVE-2018-17240)
Options:
-h, --help show this help message and exit
--host HOST A host to check, can be specified multiple times
-f, --file FILE A file containing the hosts to check
--censys Retrieve hosts from the Censys API using the API ID and secret specified with the CENSYS_API_ID and CENSYS_API_SECRET environment variables
--shodan Retrieve hosts from the Shodan API using the API key specified with the SHODAN_API_KEY environment variable
--zoomeye Retrieve hosts from the ZoomEye API using the API key specified with the ZOOMEYE_API_KEY environment variable
-n, --number NUMBER The number of hosts to retrieve from the IoT search engine, by default 100
-c, --concurrent CONCURRENT
The number of hosts to check concurrently, by default 25
-t, --timeout TIMEOUT
The timeout in seconds for retrieving the credentials from the memory dump of each host, by default 300
-o, --output OUTPUT The file to write the credentials to, by default credentials.txt
Questo strumento è solo a scopo educativo. I contributori di questo progetto non saranno ritenuti responsabili per eventuali danni o problemi legali derivanti dall'uso di questo strumento. Usalo a tuo rischio.
| Motore di ricerca IoT | Argomento | Variabili d'ambiente richieste |
|---|
| Censys | --censys | CENSYS_API_ID, CENSYS_API_SECRET |
| Shodan | --shodan | SHODAN_API_KEY |
| ZoomEye | --zoomeye | ZOOMEYE_API_KEY |