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

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

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

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

工具目录

分类

查看所有分类
Loading categories
vthunting — Vthunting 是一个小脚本,用于生成关于 Virus Total 检测结果的报告,并通过电子邮件、Slack 或 Telegram 发送。 | Kitploit
工具/GitHubGitHub/fr0gger/vthunting
漏洞分析信息收集威胁情报
GitHubfr0gger/vthunting

vthunting

Vthunting 是一个小脚本,用于生成关于 Virus Total 检测结果的报告,并通过电子邮件、Slack 或 Telegram 发送。

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

VT Hunting

VThunting 现已收录至 VirusTotal。

Virus Total Hunting 是一款基于 VT API v3 的小工具,用于每天、每周或每月生成恶意软件狩猎报告。报告可通过邮件、Slack 频道或 Telegram 发送。该工具也可在命令行中使用,随时获取报告。默认结果数为 10,可在配置部分调整。此工具仅适用于 Virus Total Intelligence API。

报告示例

以下摘录是生成报告的一个示例。

root@kitploit:~
    __     _______   _   _             _   _            
    \ \   / /_   _| | | | |_   _ _ __ | |_(_)_ __   __ _ 
     \ \ / /  | |   | |_| | | | | '_ \| __| | '_ \ / _` |
      \ V /   | |   |  _  | |_| | | | | |_| | | | | (_| |
       \_/    |_|   |_| |_|\__,_|_| |_|\__|_|_| |_|\__, |
                                                    |___/ 
        
            McAfee ATR | Thomas Roccia | @fr0gger_
        Get latest hunting notification from VirusTotal 


Latest report from 2018-12-24 10:20:30.158831
-------------------------------------------------------------------------------------
Rule name: FancyBear_ComputraceAgent
Match date: 2018-12-24 17:38:17
SHA256: f5157e5b8afe1f79f29c947449477d13ede3d7341699256e62966474a7ee1eb5
Tags: [apt28, fancybear_computraceagent]
-------------------------------------------------------------------------------------
Rule name: Winexe_RemoteExecution
Match date: 2018-12-24 15:01:15
SHA256: 1e194647c05b0068c31cd443b5bcacc2dd41799e5d21a40e0c58adbad01c28c6
Tags: [winexe_remoteexecution, apt28]
-------------------------------------------------------------------------------------
Rule name: hatman_compiled_python: hatman
Match date: 2018-12-24 00:28:21
SHA256: 14c64fc93ae68f01989db992bf8ee47ffd33edf66223b84f3fae52f9a843a03f
Tags: [triton, hatman, hatman_compiled_python]
-------------------------------------------------------------------------------------
Rule name: Stuxnet_unpacked
Match date: 2018-12-24 15:00:00
SHA256: 86b05279bf4930ffc0c00e4fd22c8ab9e964e8d45d39bfca42e129b95dc33481
Tags: [stuxnet, stuxnet_unpacked]
-------------------------------------------------------------------------------------
Rule name: Stuxnet
Match date: 2018-12-24 14:59:59
SHA256: 86b05279bf4930ffc0c00e4fd22c8ab9e964e8d45d39bfca42e129b95dc33481
Tags: [stuxnet]
-------------------------------------------------------------------------------------
[truncated]

开始使用

只需下载脚本:

root@kitploit:~
git clone https://github.com/fr0gger/vthunting

然后配置 config 部分,填入你的 API 密钥和信息:

root@kitploit:~
# Virus Total API
VTAPI = "<API_KEY>"
number_of_result = "" # 默认为 10

# Email configuration 
smtp_serv = "<SMTP_SERV>"
smtp_port = ""
gmail_login = "<EMAIL>"
gmail_pass = "<APP_PASS>"  # 来自 APP 的密码
gmail_dest = "<DEST_EMAIL>"

# Slack Bot config
SLACK_BOT_TOKEN = "<API>"
SLACK_CHANNEL = "<SLACK_CHANNEL>"

# Telegram Bot config
TOKEN = "<API>"
chat_id = "<CHAT_ID>"

# Microsoft Teams Bot config
TEAMS_CHANNEL_WEBHOOK = ""

配置完成后,可通过以下命令运行文件:

root@kitploit:~
python vthunting.py --help
root@kitploit:~
usage: vthunting.py [OPTION]
    -h, --help              打印此帮助信息
    -r, --report            打印 VT 狩猎报告
    -s, --slack_report      将报告发送到 Slack 频道
    -e, --email_report      通过邮件发送报告
    -t, --telegram_report   将报告发送到 Telegram
    -m, --teams_report      将报告发送到 Microsoft Teams
    -j, --json              获取完整的 JSON 报告

前提条件

依赖

首先需要安装所需依赖:

  • requests
  • slackclient
  • pymsteams
root@kitploit:~
pip install -r requirements.txt

VT API

从 Virus Total 获取 API 密钥:https://developers.virustotal.com/v3.0/reference

邮件配置(Gmail)

创建应用密码的文档地址:https://support.google.com/accounts/answer/185833

Slack Bot 配置

要生成令牌,请访问以下地址并按照步骤操作:https://api.slack.com/custom-integrations/legacy-tokens

Telegram Bot 配置

要获取令牌,你需要通过 @BotFather 创建一个 Telegram bot,它会帮助你配置 bot 并获取令牌。获取令牌后,访问 https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates 以获取频道 ID。

Microsoft Teams Bot 配置

在你希望接收报告的 Microsoft Teams 频道中添加一个 Webhook 连接器: https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#setting-up-a-custom-incoming-webhook

安装到系统

如果你希望在任何位置使用此脚本,可以将其(不带扩展名)复制到:

root@kitploit:~
cp vthunting.py /usr/local/bin/vthunting

使用 crontab 配置任务调度

你可以使用 crontab 定期运行脚本并接收报告。

root@kitploit:~
crontab -e 

以下示例为每天上午 10:15 接收报告。

root@kitploit:~
# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  *  user command to be executed

15 10  * * * /usr/local/bin/vthunting -r -t -e -s >> vthunt.log

使用 Docker

Git clone 该仓库,并在脚本中配置报告的 API。在 Dockerfile 中添加你的 VirusTotal API。

然后执行以下命令:

root@kitploit:~
# 构建容器
docker build -t vthunting:latest .

# 运行脚本:
docker run -t vthunting -r

许可证

本项目采用 MIT 许可证 - 详情请参见 LICENSE.md 文件。

下载工具