PowerShell — Data Ex-filtration over DNS (OOB)

  • The DNS protocol restricts queries (i.e. outbound messages) to 255 bytes of letters, digits, and hyphens
  • DNS protocol is used mostly over the User Datagram Protocol (UDP), there is no guarantee that queries will be replied based on their order of arrival
  • Maximum length of Subdomain label is 63 characters Overcoming previous challenges Generic process for DNS Ex-filtration.
DNS Ex-filtration
output in hex format
encoding PowerShell




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Should i buy PortSwigger Burp Suite Proffesional Edition as a bug bounty hunter?

{UPDATE} Resident Zombie Shooter Hack Free Resources Generator

The KYVE Network…! Future of Cryptocurrency.


PAID Network Token Distribution Mechanism

Cybersecurity — don’t learn about it the hard way

Validator Parameters on Oraichain Mainnet

Weekly Recap #4

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Using the Makeresults in Command in Splunk

What is Rundeck Deployment Tool?

Elastic Cluster with X-Pack Security

How To Install Prometheus On Ubuntu 20.04 With Let’s Encrypt SSL And Authentication