
DoHC2는 Ryan Hanson(https://github.com/ryhanson/ExternalC2)의 ExternalC2 라이브러리를 HTTPS를 통한 DNS(DoH)로 명령 및 제어(C2)에 활용할 수 있게 해줍니다.
⚠️ 참고: 이 도구는 더 이상 적극적으로 유지보수되지 않습니다.
DoHC2는 Ryan Hanson의 ExternalC2 라이브러리(https://github.com/ryhanson/ExternalC2)를 DNS over HTTPS(DoH)를 통한 명령 및 제어(C2)에 활용할 수 있게 합니다. 이는 널리 사용되는 모의 적성 시뮬레이션 및 레드 팀 운영 소프트웨어인 Cobalt Strike(https://www.cobaltstrike.com)를 위해 제작되었습니다.
이 프로젝트는 2018년 10월 23일 Mitre ATT&CKcon에서 공개되었습니다.
슬라이드: ATT&CK를 활용한 보안 이니셔티브에 대한 악마의 대변인 역할
블로그 기사: DOH! DNS Over HTTPS가 기업에 잠재적 위험을 초래할 수 있음

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.