BBOT:一款递归型互联网OSINT资源情报工具

关于BBOT

BBOT是一款递归型互联网OSINT资源情报工具,该工具深受Spiderfoot项目的启发,旨在自动化侦察、漏洞奖励项目和ASM。

功能介绍

1、支持多个目标

2、网页截图

3、 Web安全测试模块套件

4、由 NLP 提供支持的子域名变异

5、Neo4j 的本机输出(以及更多)

6、使用 Ansible 自动安装依赖项

7、使用自定义 YARA 规则搜索完整攻击面

8、Python API + 开发人员文档

工具架构

工具安装

由于该工具基于Python 3开发,因此我们首先需要在本地设备上安装并配置好最新版本的Python 3环境。

接下来,广大研究人员可以直接使用下列命令将该项目源码克隆至本地:

复制代码
https://github.com/blacklanternsecurity/bbot.git

除此之外,我们也可以直接使用pip安装稳定版本:

复制代码
pipx install bbot

工具使用

子域名查找器

被动 API 源加上针对目标特定子域名变异的递归 DNS 暴力破解:

复制代码
bbot -t evilcorp.com -p subdomain-enum

bbot -t evilcorp.com -p subdomain-enum -rf passive

subdomain-enum.yml:

复制代码
description: Enumerate subdomains via APIs, brute-force

 

flags:

  # enable every module with the subdomain-enum flag

  - subdomain-enum

 

output_modules:

  # output unique subdomains to TXT file

  - subdomains

 

config:

  dns:

    threads: 25

    brute_threads: 1000

  # put your API keys here

  modules:

    github:

      api_key: ""

    chaos:

      api_key: ""

    securitytrails:

      api_key: ""

网络爬虫

复制代码
bbot -t evilcorp.com -p spider

spider.yml:

复制代码
description: Recursive web spider

 

modules:

  - httpx

 

config:

  web:

    # how many links to follow in a row

    spider_distance: 2

    # don't follow links whose directory depth is higher than 4

    spider_depth: 4

    # maximum number of links to follow per page

    spider_links_per_page: 25

电子邮件收集器

复制代码
bbot -t evilcorp.com -p email-enum

bbot -t evilcorp.com -p email-enum subdomain-enum spider

email-enum.yml:

复制代码
description: Enumerate email addresses from APIs, web crawling, etc.

 

flags:

  - email-enum

 

output_modules:

  - emails

网络扫描仪

复制代码
bbot -t www.evilcorp.com -p web-basic

bbot -t www.evilcorp.com -p web-thorough

web-basic.yml:

复制代码
description: Quick web scan

 

include:

  - iis-shortnames

 

flags:

  - web-basic

web-thorough.yml:

description: Aggressive web scan

 

include:

  # include the web-basic preset

  - web-basic

 

flags:

  - web-thorough

一次性从多个源获取全部数据

复制代码
bbot -t evilcorp.com -p kitchen-sink

bbot -t evilcorp.com -p subdomain-enum cloud-enum code-enum email-enum spider web-basic paramminer dirbust-light web-screenshots

kitchen-sink.yml:

复制代码
description: Everything everywhere all at once

 

include:

  - subdomain-enum

  - cloud-enum

  - code-enum

  - email-enum

  - spider

  - web-basic

  - paramminer

  - dirbust-light

  - web-screenshots

 

config:

  modules:

    baddns:

      enable_references: True

Python库使用

同步

复制代码
from bbot.scanner import Scanner

 

if __name__ == "__main__":

    scan = Scanner("evilcorp.com", presets=["subdomain-enum"])

    for event in scan.start():

        print(event)

异步

复制代码
from bbot.scanner import Scanner

 

async def main():

    scan = Scanner("evilcorp.com", presets=["subdomain-enum"])

    async for event in scan.async_start():

        print(event.json())

 

if __name__ == "__main__":

    import asyncio

    asyncio.run(main())

工具运行演示

演示视频:【点我观看

许可证协议

本项目的开发与发布遵循GPL-3。0开源许可协议。

项目地址

BBOT :【GitHub传送门

参考资料

Redirecting

https://github.com/smicallef/spiderfoot

https://github.com/blacklanternsecurity/bbot-vivagraphjs

https://hub.docker.com/r/blacklanternsecurity/bbot

Getting Started - BBOT Docs

相关推荐
xingxin3224 分钟前
日志文件分析溯源(连接WebShell的IP地址)实验报告
安全·web安全·网络安全·php·文件上传
kang0x01 小时前
silent_peeper Writeup by AI
安全
瀚高PG实验室3 小时前
易智瑞GeoScene Pro连接瀚高安全版数据库 458
数据库·安全·瀚高数据库
星幻元宇VR6 小时前
VR环保学习机|科技助力绿色教育新模式
大数据·科技·学习·安全·vr·虚拟现实
未知鱼6 小时前
Python安全开发之简易目录扫描器(含详细注释)
开发语言·python·安全
Jianghong Jian6 小时前
Hashcat:强大的密码恢复与安全测试工具
测试工具·安全·密码学
木易 士心8 小时前
深入理解 MySQL 权限撤销(REVOKE)机制:从语法到安全实践
数据库·后端·mysql·安全
码农小白AI9 小时前
AI审核加持的IACheck:塔吊与施工电梯安全监测系统检测报告如何实现高效合规与风险可控
大数据·人工智能·安全
workflower11 小时前
智能体安全呈现三大核心趋势
人工智能·安全·机器人·智能家居·ai编程
今夕资源网11 小时前
windows11一键禁用安全中心脚本 一键恢复安全中心脚本Windows Defender
windows·安全·windows11·安全中心·杀毒软件·自带杀软·一键禁用