
DoHC2は、Ryan Hanson氏のExternalC2ライブラリ(https://github.com/ryhanson/ExternalC2)を、DNS over HTTPS(DoH)を介したコマンド&コントロール(C2)に活用できるようにします。
⚠️ 注記: このツールはもはや活発にメンテナンスされていません。
DoHC2 は、Ryan Hanson (https://github.com/ryhanson/ExternalC2) による ExternalC2 ライブラリを、 DNS over HTTPS (DoH) を介したコマンド&コントロール (C2) のために利用できるようにします。これは、広く使われている アドバーサリシミュレーションおよびレッドチーム運用ソフトウェアである Cobalt Strike (https://www.cobaltstrike.com) 向けに構築されています。
このプロジェクトは、2018年10月23日に Mitre ATT&CKcon で公開されました。
スライド: Playing Devil’s Advocate to Security Initiatives with ATT&CK
ブログ記事: DOH! DNS Over HTTPS Poses Possible Risks to Enterprises

ACME DNS Server に基づく Python DNS サーバー
pip3 install -r requirements.txt
sudo python3 ./DoHC2.py
@ryhanson の ExternalC2 に以下の追加を行ったもの:
DoHC2 doh = new DoHC2();
doh.Configure("<INPUTDOMAIN>","<OUTPUTDOMAIN>","<DoH URI i.e. https://dns.google.com/resolve or https://dns.example.org/dns-query");
doh.Go();
DoHC2
前述のとおり、David Middlehurst、SpiderLabs によって作成された一部の要素 (他のオープンソースプロジェクトが利用される場合は、それぞれのライセンスを参照してください)。
Copyright (C) 2018 Trustwave Holdings, Inc.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.