
@domchell이 만든 PowerDNS의 업데이트 버전입니다. DNS A 레코드를 통한 전송 지원과 몇 가지 유용한 기능이 추가되었습니다.
NewPowerDNS는 @domchell's PowerDNS의 업데이트된 버전입니다. 주요 추가 기능은 DNS A 레코드를 사용한 파일 전송 지원입니다. 아래는 적용된 수정 사항의 전체 목록입니다:
python3 외의 유일한 종속성은 scapy입니다. 다음과 같이 pip를 통해 쉽게 설치할 수 있습니다:
python3 -m pip install scapy
DNS A 및 TXT 레코드를 통해 파일을 전송하는 데모 비디오는 아래를 참조하십시오:
PowerShell 스크립트를 DNS A 레코드를 통해 전송하고 콘솔에 출력:
python3 NewPowerDNS.py --file AmSeeETWBP.ps1 --domain sub.domain.com -r A -a print
exe 파일을 DNS TXT 레코드를 통해 전송하고 디스크에 저장:
python3 NewPowerDNS.py --file SharpHound.exe --domain sub.domain.com -r TXT -a save
PowerShell 스크립트를 DNS TXT 레코드를 통해 전송하고 자동으로 메모리에 로드:
python3 NewPowerDNS.py --file Invoke-Seatbelt.ps1 --domain sub.domain.com -r TXT -a exec
일반 사용법:
___ ___ _ _ ___
| . \ ___ _ _ _ ___ _ _ | . \| \ |/ __>
| _// . \| | | |/ ._>| '_>| | || |\__ \
|_| \___/|__/_/ \___.|_| |___/|_\_|<___/
DNS A Record & updated stager version by @icyguider
Original version by @domchell
usage: NewPowerDNS.py [-h] [-f <file>] [-d <domain>] [-a <action>] [-r <record-type>] [-i <interface>]
optional arguments:
-h, --help show this help message and exit
-f <file>, --file <file>
file to transfer
-d <domain>, --domain <domain>
domain with auth NS record
-a <action>, --action <action>
action to perform once data is transferred (options: save, exec, print)
-r <record-type>, --record-type <record-type>
type of DNS record to use for transfer (options: A, TXT) (default: TXT)
-i <interface>, --interface <interface>
interface to bind to (default: eth0)