
tor नेटवर्क पर onion साइटों को एकत्र करने, क्रॉल करने और मॉनिटर करने तथा एकत्रित जानकारी को Elasticsearch पर इंडेक्स करने के लिए एक विस्तारणीय टूल
tor नेटवर्क पर onion साइटों को एकत्र करने, क्रॉल करने और मॉनिटर करने तथा एकत्रित जानकारी को Elasticsearch पर इंडेक्स करने के लिए एक विस्तारणीय टूल
OnionIngestor, ThreatIngestor टूल संरचना पर आधारित है ताकि Cyber Threat Intelligence टीमों के लिए मॉड्यूलर और विस्तारणीय पहुँच सक्षम हो सके, जिससे वे tor नेटवर्क पर छिपी साइटों की जानकारी मॉनिटर और एकत्र कर सकें।
यह परियोजना अपने विकास के प्रारंभिक चरण में है।
OnionIngestor 3 महत्वपूर्ण प्रकार की क्लासेस को चलाता और प्रबंधित करता है: Sources - ये pastebin, twitter, gist जैसे clear net स्रोतों और क्रॉल किए गए लिंक से छिपी साइटों को एकत्र करेंगे Operators - ये onion लिंक को प्रोसेस करेंगे। उदाहरण के लिए html प्राप्त करना, स्क्रीनशॉट लेना और onionscan जैसे अन्य स्कैनर चलाना Notifiers - ये उपयोगकर्ता को सूचित करेंगे - प्रतिदिन एक रिपोर्ट के साथ और यदि किसी मॉनिटर की जा रही छिपी साइट में कोई नया परिवर्तन हुआ हो
OnionIngestor को एक डेमॉन के रूप में चलने के लिए डिज़ाइन किया गया है, जहाँ यह सक्षम स्रोतों से छिपी साइटों को एकत्र करता है और उन्हें ऑपरेटरों को पास करता है और समाप्त होने पर उपयोगकर्ता द्वारा निर्धारित समय तक सोता है और प्रक्रिया को शुरुआत से पुनः आरंभ करता है।
क्रॉलिंग के 2 दिनों बाद का डैशबोर्ड kibana
आवश्यकताएँ इंस्टॉल करें
pip install -r requirements.txt
टोर क्लाइंट और इंस्टॉल की गई लाइब्रेरियों के बाद इसके उपयोग का विवरण प्राप्त करने के लिए --help कमांड का उपयोग करें।
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
yaml कॉन्फ़िग फ़ाइल में OnionIngestor के काम करने के लिए सभी जानकारी होती है
python -m onionscan -c config.yml
इंटरनेट से onion लिंक एकत्र करने के लिए स्रोत मॉड्यूल चलाएगा और एकत्र करने व क्रॉल करने के लिए सभी ऑपरेटर चलाएगा
python -m onionscan -c config.yml --monitor thisIsAnOnionSiteLink.onion thisIsAnOnionSiteLink.onion
मॉनिटर मोड सभी प्रकार की ब्लैकलिस्ट को बायपास करता है
python -m onionscan -c config.yml --scan thisIsAnOnionSiteLink.onion
किसी भी स्रोत मॉड्यूल को चलाए बिना सभी ऑपरेटर चलाएगा
onionscan --mode analysis -verbose -webport 8081
onionscan द्वारा webapp चलाने के लिए
परिणाम का आउटपुट json होता है, और उसी प्रारूप में इसे चयनित syslog को भेजा जाता है।