Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
ioccheck — 一款用于简化IOC研究流程的工具。 | Kitploit
工具/GitHubGitHub/ranguli/ioccheck
防御工具危害指标 (IOC) 管理OSINT (开源情报)哈希分析信息收集威胁情报Archived
GitHubranguli/ioccheck

ioccheck

一款用于简化IOC研究流程的工具。

查看仓库
254年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

ioccheck

Documentation Status Tests Maintainability PyPi Status codecov

一个用于简化文件哈希、IP地址及其他失陷指标(IOC)研究过程的工具。

特性

  • 通过单个命令或几行Python代码,跨多个威胁情报服务查询哈希。
  • 当前支持以下服务:
    • VirusTotal
    • MalwareBazaar
    • Shodan.io
  • 计划支持:
    • URLhaus
    • OTX
    • InQuest Labs
    • MalShare
    • Malpedia
    • Maltiverse

快速开始

root@kitploit:~
pip install ioccheck

你也可以直接运行代码:

root@kitploit:~
git clone https://github.com/ranguli/ioccheck && cd ioccheck
poetry install

在 ~/.config/ioccheck/credentials 中为每个拥有凭证的服务添加条目:

root@kitploit:~
[virustotal]
api_key=YOUR_API_KEY_HERE

[malwarebazaar]
api_key=YOUR_API_KEY_HERE

[shodan]
api_key=YOUR_API_KEY_HERE

[twitter]
consumer_key=YOUR_API_KEY_HERE
consumer_secret=YOUR_API_KEY_HERE
access_token=YOUR_API_KEY_HERE
access_secret=YOUR_API_KEY_HERE

用法

root@kitploit:~
➜  ioccheck 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f

正在检查哈希 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f。
[*] 哈希算法:
SHA256

[*] VirusTotal URL:
https://virustotal.com/gui/file/275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f/

[*] VirusTotal 检测结果:
61 个引擎(81%)检测到该文件。

╒══════════════╤════════════╤═══════════════════════════════╕
│ 杀毒软件    │ 检测到      │ 结果                         │
╞══════════════╪════════════╪═══════════════════════════════╡
│ Malwarebytes │ 否         │                               │
├──────────────┼────────────┼───────────────────────────────┤
│ Avast        │ 是         │ EICAR Test-NOT virus!!!       │
├──────────────┼────────────┼───────────────────────────────┤
│ ClamAV       │ 是         │ Win.Test.EICAR_HDB-1          │
├──────────────┼────────────┼───────────────────────────────┤
│ Kaspersky    │ 是         │ EICAR-Test-File               │
├──────────────┼────────────┼───────────────────────────────┤
│ BitDefender  │ 是         │ EICAR-Test-File (not a virus) │
├──────────────┼────────────┼───────────────────────────────┤
│ Paloalto     │ 否         │                               │
├──────────────┼────────────┼───────────────────────────────┤
│ TrendMicro   │ 是         │ Eicar_test_file               │
├──────────────┼────────────┼───────────────────────────────┤
│ FireEye      │ 是         │ EICAR-Test-File (not a virus) │
├──────────────┼────────────┼───────────────────────────────┤
│ Sophos       │ 是         │ EICAR-AV-Test                 │
├──────────────┼────────────┼───────────────────────────────┤
│ Microsoft    │ 是         │ Virus:DOS/EICAR_Test_File     │
├──────────────┼────────────┼───────────────────────────────┤
│ McAfee       │ 是         │ EICAR test file               │
├──────────────┼────────────┼───────────────────────────────┤
│ Fortinet     │ 是         │ EICAR_TEST_FILE               │
├──────────────┼────────────┼───────────────────────────────┤
│ AVG          │ 是         │ EICAR Test-NOT virus!!!       │
╘══════════════╧════════════╧═══════════════════════════════╛

[*] VirusTotal 信誉分:
3392

使用 API

创建哈希

root@kitploit:~
>>> from ioccheck import Hash
>>> from ioccheck.services import VirusTotal
>>> eicar = Hash("275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f")
>>> # 这是什么类型的哈希?
>>> print(eicar.hash_type)
SHA256

查找哈希

root@kitploit:~
>>> # 无参数时,check() 会尝试所有支持的服务。默认从 ~/.ioccheck 读取 API 密钥。
>>> eicar.check()
>>> # 或者:
>>> eicar.check(services=VirusTotal, config_path=/foo/bar/.ioccheck)

研究哈希

root@kitploit:~
>>> # 查看 VirusTotal 报告,检查 Sophos 是否检测到我们的哈希
>>> eicar.reports.virustotal.get_detections(engines=["Sophos"])
{'Sophos': {'category': 'malicious', 'engine_name': 'Sophos', 'engine_version': '1.0.2.0', 'result': 'EICAR-AV-Test', 'method': 'blacklist', 'engine_update': '20210314'}}
>>> # 这个哈希被称为什么?
>>> print(eicar.reports.virustotal.name)
'eicar.com-2224'
>>> # 有多少个杀毒引擎检测到这个哈希?
>>> eicar.reports.virustotal.detection_count
60
root@kitploit:~
>>> # 直接显示 VirusTotal API 响应!
>>> eicar.reports.virustotal.api_response
<vt.object.Object file 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f>
下载工具