A cross-platform CLI tool which enables analyzing files with Intezer Analyze.
Python 3.5 and above
Python and pip should be available in your path
pip install intezer-analyze-cli
To begin using the cli, first you should login with your API key:
intezer-analyze login <api_key>
If you are running the CLI against an on premise deployment, enter the url:
intezer-analyze login <api_key> http://<address>/api
Send a file or a directory for analysis in Intezer Analyze.
intezer-analyze analyze PATH
PATH: Path to file or directory to send the files inside for analysis.
Send a single file for analysis:
$ intezer-analyze analyze C:\threat.exe
Send all files in directory for analysis:
$ intezer-analyze analyze C:\files-to-analyze
For complete documentation please run intezer-analyze analyze --help
Send a text file with list of hashes
intezer-analyze analyze_by_list PATH
PATH: Path to txt file.
Send txt file with hashes for analysis:
$ intezer-analyze analyze_by_list ~/files/hashes.txt
For complete documentation please run intezer-analyze analyze_by_list --help
Send a file or a directory for indexing
intezer-analyze index PATH INDEX_AS [FAMILY_NAME]
PATH: Path to file or directory to index
INDEX_AS: malicious
or trusted
FAMILY_NAME: The family name (optional)
index a single file:
$ intezer-analyze index ~/files/threat.exe.sample malicious family_name
index all files in directory:
$ intezer-analyze index ~/files/files-to-index trusted
For complete documentation please run intezer-analyze index --help