
InQuest Labs API के साथ इंटरैक्ट करने के लिए एक पायथनिक इंटरफ़ेस और कमांड लाइन टूल।
InQuest Labs API के साथ इंटरैक्ट करने के लिए एक Pythonic इंटरफ़ेस और कमांड लाइन टूल। ध्यान दें कि इस API के साथ इंटरैक्ट करने के लिए API key की आवश्यकता नहीं है। API key होने पर lookback बढ़ाने, दर सीमाएँ (rate limitations) हटाने और उपलब्ध सैंपल डाउनलोड करने की क्षमता मिलती है। उपयोगकर्ता API key उत्पन्न करने के लिए OAuth के माध्यम से साइन इन कर सकते हैं। साइन इन करना निःशुल्क है। प्रमाणीकरण LinkedIn, Twitter, Google और Github के माध्यम से समर्थित है।
बहु-भाषा स्निपेट्स के साथ खोजने योग्य API दस्तावेज़: https://labs.inquest.net/docs/
OpenAPI (Swagger) विनिर्देश: https://app.swaggerhub.com/apis-docs/InQuest.net/InQuestLabs/1.0
InQuest Labs API CLI स्थापित करने का अनुशंसित तरीका pipx का उपयोग करना है। यह पैकेज और सभी निर्भरताओं को एक पृथक वर्चुअल वातावरण में स्थापित करता है जिसे आसानी से चलाया जा सकता है।
pipx install inquestlabs
वैकल्पिक रूप से, या उन मामलों में जहाँ आप inquestlabs को लाइब्रेरी के रूप में उपयोग करना चाहते हैं, आप इसे pip का उपयोग करके स्थापित कर सकते हैं।
pip install inquestlabs
उपलब्ध कमांड लाइन टूल और विकल्प देखने के लिए, inquestlabs --help का आउटपुट देखें। यह कुछ इस प्रकार दिखेगा:
InQuest Labs Command Line Driver
Usage:
inquestlabs [options] dfi list
inquestlabs [options] dfi details <sha256> [--attributes]
inquestlabs [options] dfi download <sha256> <path> [--encrypt]
inquestlabs [options] dfi attributes <sha256> [--filter=<filter>]
inquestlabs [options] dfi search (code|context|metadata|ocr) <keyword>
inquestlabs [options] dfi search (md5|sha1|sha256|sha512) <hash>
inquestlabs [options] dfi search (domain|email|filename|filepath|ip|registry|url|xmpid) <ioc>
inquestlabs [options] dfi sources
inquestlabs [options] dfi upload <path>
inquestlabs [options] iocdb list
inquestlabs [options] iocdb search <keyword>
inquestlabs [options] iocdb sources
inquestlabs [options] repdb list
inquestlabs [options] repdb search <keyword>
inquestlabs [options] repdb sources
inquestlabs [options] yara (b64re|base64re) <regex> [(--big-endian|--little-endian)]
inquestlabs [options] yara hexcase <instring>
inquestlabs [options] yara uint <instring> [--offset=<offset>] [--hex]
inquestlabs [options] yara widere <regex> [(--big-endian|--little-endian)]
inquestlabs [options] yara cidr <ipv4>
inquestlabs [options] lookup ip <ioc>
inquestlabs [options] lookup domain <ioc>
inquestlabs [options] report <ioc>
inquestlabs [options] stats
inquestlabs [options] setup <apikey>
inquestlabs [options] trystero list-days
inquestlabs [options] trystero list-samples <yyyy-mm-dd>
Options:
--attributes Include attributes with DFI record.
--api=<apikey> Specify an API key.
--big-endian Toggle big endian.
--config=<config> Configuration file with API key [default: ~/.iqlabskey].
--debug Docopt debugging.
--encrypt Zip sample with password 'infected' before downloading.
--filter=<filter> Filter by attributes type (domain, email, filename, filepath, ip, registry, url, xmpid)
-h --help Show this screen.
--hex Treat <instring> as hex bytes.
-l --limits Show remaining API credits and limit reset window.
--little-endian Toggle little endian.
--offset=<offset> Specify an offset other than 0 for the trigger.
--proxy=<proxy> Intermediate proxy
--timeout=<timeout> Maximum amount of time to wait for IOC report.
--verbose=<level> Verbosity level, outputs to stderr [default: 0].
--version Show version.
निम्नलिखित तृतीय-पक्ष प्रोजेक्ट InQuest Labs के साथ एकीकृत होते हैं:
अपने प्रोजेक्ट को सूचीबद्ध कराने के लिए संपर्क करें या पुल रिक्वेस्ट भेजें।
अधिकांश हमले (>90%) ईमेल-जनित होते हैं। "Trystero Project" एक प्रयोग के लिए हमारा कोड नाम है, जिसे हम सबसे बड़े दो मेल प्रदाताओं, Google और Microsoft, की वास्तविक दुनिया के उभरते मैलवेयर के विरुद्ध सुरक्षा प्रभावशीलता को मापने के लिए सक्रिय रूप से चला रहे हैं। मूल विचार यह है... आइए दैनिक आधार पर वास्तविक दुनिया के खतरों को लें और उन्हें दो सबसे लोकप्रिय क्लाउड ईमेल प्रदाताओं, Google और Microsoft, के माध्यम से चलाएँ। हम निगरानी करेंगे कि कौन से सैंपल इनबॉक्स तक पहुँचते हैं और समय के साथ परिणामों की तुलना करेंगे। आप InQuest Labs: Trystero Project पर अधिक पढ़ सकते हैं, ग्राफ़ देख सकते हैं, डेटा एक्सप्लोर कर सकते हैं और परिणामों की तुलना कर सकते हैं। यदि आप परीक्षण कॉर्पस को और अधिक जानने के इच्छुक हैं, तो निम्नलिखित दो कमांड लाइन विकल्प देखें:
उन दिनों की सूची के लिए जब हमने Trystero Project चलाया था और प्रत्येक दिन एकत्रित सैंपलों की संख्या। ध्यान दें कि first_record सबसे पुराने रिकॉर्ड (2020-08-09) को दर्शाता है।