
Uno strumento estendibile per raccogliere, scansionare e monitorare i siti onion sulla rete Tor e indicizzare le informazioni raccolte su Elasticsearch
Uno strumento estendibile per raccogliere, scansionare e monitorare i siti onion sulla rete tor e indicizzare le informazioni raccolte su Elasticsearch
OnionIngestor si basa sulla struttura dello strumento ThreatIngestor per consentire un accesso modulare ed estendibile ai team di Cyber Threat Intelligence, in modo che possano monitorare e raccogliere informazioni sui siti nascosti sulla rete tor.
Il progetto è nelle sue fasi iniziali di sviluppo.
OnionIngestor esegue e gestisce 3 importanti tipi di classi: Sources - Queste raccolgono i siti nascosti da fonti del clear net come pastebin, twitter, gist e link scansionati Operators - Questi elaborano il link onion. Ad esempio recuperano l'html, acquisiscono screenshot ed eseguono altri scanner come onionscan Notifiers - Questi notificano all'utente - quotidianamente con un report e se si è verificata qualche nuova modifica a un sito nascosto monitorato
OnionIngestor è progettato per essere eseguito come demone: raccoglie i siti nascosti dalle fonti abilitate e li passa agli operatori e, al termine, attende fino al tempo definito dall'utente e riavvia il processo dall'inizio.
Dashboard kibana dopo 2 giorni di scansione
Installa i requisiti
pip install -r requirements.txt
Dopo il client tor e le librerie installate, usa il comando --help per ottenere i dettagli sul suo utilizzo.
python3 -m onionscraper --help
OnionScraper
An extendable tool to Collect, Crawl and Monitor onion sites on tor network and index collected information on Elasticsearch
Installation:
This application assumes you have python3 and pip3 installed.
pip3 install -r requirements.txt
This software is provided subject to the MIT license stated below.
--------------------------------------------------
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------
optional arguments:
-h, --help show this help message and exit
-c CONFIGFILE, --config CONFIGFILE
Path to config file
--log {DEBUG,INFO,WARNING,ERROR,CRITICAL}
Set the logging level, default is INFO
Il file di configurazione yaml contiene tutte le informazioni necessarie per il funzionamento di OnionIngestor
python -m onionscan -c config.yml
eseguirà i moduli sorgente per raccogliere i link onion da internet ed eseguirà tutti gli operatori per raccogliere e scansionare
python -m onionscan -c config.yml --monitor thisIsAnOnionSiteLink.onion thisIsAnOnionSiteLink.onion
la modalità monitor aggira tutti i tipi di blacklist
python -m onionscan -c config.yml --scan thisIsAnOnionSiteLink.onion
eseguirà tutti gli operatori senza eseguire alcun modulo sorgente
onionscan --mode analysis -verbose -webport 8081
Per eseguire la webapp tramite onionscan
L'output del risultato è in formato json e, nello stesso formato, viene inviato al syslog scelto.