
Этот инструмент можно использовать для перечисления поддоменов, связанных с компанией, путем агрегации результатов нескольких инструментов OSINT (разведки на основе открытых источников).
.______ .______ .______ ._______ ._______ ._______ . : _ \ : __ \ : __ \ : . \ : __ / : .___ \ __ :| | | || _|| _|| : | || |> \ | : | | | :| | . | || : \ | : \ | : || |> | : | | | |. __/ | || |\ _. _/ |/ _. / | | :/ || || :/ :/ |__| : : :
Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC (NTESS). В соответствии с условиями Контракта DE-NA0003525 с NTESS, правительство США сохраняет определенные права на это программное обеспечение.
Dr.ROBOT — это инструмент для разведки и перечисления доменов. Используя контейнеры для снижения накладных расходов, связанных с зависимостями, несовместимостью между операционными системами и различными языками, Dr.ROBOT создан для высокой портативности и настраиваемости.
Пример использования: Собрать как можно больше публичных серверов, принадлежащих организации. Запросы к DNS-ресурсам позволяют быстро составить большой список потенциальных целей для дальнейшего анализа.
Примечание: Dr.ROBOT — это не просто инструмент для одной задачи. Вы можете легко настраивать инструменты, используемые для сбора информации, чтобы использовать новейшие разработки вместе с вашими проверенными любимцами.
Dr.ROBOT добавляет файлы конфигурации, шаблоны, журналы, выходные файлы и файлы базы данных в вашу домашнюю директорию $HOME в папку .drrobot.
Структура каталогов будет выглядеть так:
-rw-r--r-- 1 0 Sep 16 12:15 ansible_inventory
drwxr-xr-x 5 160 Sep 16 12:18 ansible_plays
-rw-r--r-- 1 13576 Sep 16 12:41 config.json
drwxr-xr-x 4 128 Sep 17 10:48 dbs
drwxr-xr-x 21 672 Sep 16 13:51 docker_buildfiles
drwxr-xr-x 4 128 Sep 16 15:38 logs
drwxr-xr-x 3 96 Sep 16 12:46 output
Если вы случайно испортили конфигурацию, можно удалить файл config.json в вашей директории $HOME и перезапустить Dr.ROBOT, который сгенерирует новый конфигурационный файл.
git clone <URL>
cd gitrepo
pip install -r requirements.txt
pip install -e .
drrobot --help
usage: drrobot [-h] [--proxy PROXY] [--dns DNS] [--verbose] [--dbfile DBFILE]
{gather,inspect,upload,rebuild,dumpdb,output,serve} ...
Docker DNS recon tool
positional arguments:
{gather,inspect,upload,rebuild,dumpdb,output,serve}
gather Runs initial scanning phase where tools under the
webtools/scannerscategory will run and gather
information used in the following phases
inspect Run further tools against domain information gathered
from previous step.Note: you must either supply a file
which contains a list of IP/Hostnames orThe targeted
domain must have a db under the dbs folder
upload Upload recon data to Mattermost/Slack
rebuild Rebuild the database with additional files/all files
from previous runtime
dumpdb Dump contents of database (ip,hostname,banners) to a
text file with hostname for filename
output Generate output in specified format. Contains all
information from scans (images, headers, hostnames,
ips)
serve Serve database file in docker container using django
optional arguments:
-h, --help show this help message and exit
--proxy PROXY Proxy server URL to set DOCKER http_proxy too
--dns DNS DNS server to add to resolv.conf of DOCKER containers
--verbose Display verbose statements
--dbfile DBFILE Specify what db file to use for saving data too
git clone <URL>
cd gitrepo
pipenv sync
pipenv shell
drrobot --help
usage: drrobot [-h] [--proxy PROXY] [--dns DNS] [--verbose] [--dbfile DBFILE]
{gather,inspect,upload,rebuild,dumpdb,output,serve} ...
Docker DNS recon tool
positional arguments:
{gather,inspect,upload,rebuild,dumpdb,output,serve}
gather Runs initial scanning phase where tools under the
webtools/scannerscategory will run and gather
information used in the following phases
inspect Run further tools against domain information gathered
from previous step.Note: you must either supply a file
which contains a list of IP/Hostnames orThe targeted
domain must have a db under the dbs folder
upload Upload recon data to Mattermost/Slack
rebuild Rebuild the database with additional files/all files
from previous runtime
dumpdb Dump contents of database (ip,hostname,banners) to a
text file with hostname for filename
output Generate output in specified format. Contains all
information from scans (images, headers, hostnames,
ips)
serve Serve database file in docker container using django
optional arguments:
-h, --help show this help message and exit
--proxy PROXY Proxy server URL to set DOCKER http_proxy too
--dns DNS DNS server to add to resolv.conf of DOCKER containers
--verbose Display verbose statements
--dbfile DBFILE Specify what db file to use for saving data too
Работа через прокси была головной болью. Чтобы облегчить это, мы создаем директорию certs в $HOME/.drrobot/*, куда можно добавлять файлы crt. В процессе сборки dockerfile мы теперь генерируем tar-архивы с сертификатами, чтобы такие приложения, как Amass, могли работать.
В состав Dr.ROBOT входит файл docker-compose.yml. Этот файл содержит простой compose-файл для запуска Minio и файлов, собранных во время выполнения.
Для использования:
cd /path/to/drrobot/
docker-compose up
Этот инструмент сильно полагается на Docker.
Инструкции по установке см. здесь:
Вы можете сделать любой модуль поддерживающим Ansible.
См. руководство по установке для получения инструкций.
brew install gnu-tareval $(ssh-agent)
ssh-add /path/to/keyfile
Чтобы добавить собственный инструмент, см. Конфигурация для начала.
По использованию см. Использование для начала.