
InQuest Labs API와 상호작용하기 위한 Pythonic 인터페이스 및 명령줄 도구입니다.
InQuest Labs API와 상호작용하기 위한 Pythonic 인터페이스 및 명령줄 도구입니다. 이 API를 사용하는 데 API 키는 필수는 아닙니다. API 키를 사용하면 조회 기간(lookback)을 늘리고, 속도 제한을 해제하며, 제공되는 샘플을 다운로드할 수 있습니다. 사용자는 OAuth를 통해 로그인하여 API 키를 생성할 수 있습니다. 로그인 비용은 없습니다. 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 프로젝트"는 실제로 발생하는 신종 악성코드에 대한 두 대형 메일 제공업체인 Google과 Microsoft의 보안 효율성을 측정하기 위해 현재 진행 중인 실험의 코드명입니다. 기본 아이디어는 이렇습니다... 매일 실제 위협을 수집하여 가장 널리 사용되는 두 클라우드 이메일 제공업체인 Google과 Microsoft를 통해 반복 전송해 보는 것입니다. 어떤 샘플이 받은편지함에 도달하는지 모니터링하고 시간에 따른 결과를 비교합니다. 자세한 내용, 그래프, 데이터 탐색, 결과 비교는 InQuest Labs: Trystero 프로젝트에서 확인할 수 있습니다. 테스트 코퍼스를 더 자세히 살펴보고 싶다면 다음 두 가지 명령줄 옵션을 참조하세요:
Trystero 프로젝트를 실행한 일자 목록과 각 일자별로 수집된 샘플 수를 확인할 수 있습니다. first_record는 가장 이른 기록(2020-08-09)을 나타냅니다.