Posts

Showing posts from February, 2000

DNS Information hiding

One of the funniest ways of using DNS is by hiding information in it. DNS, as the name goes, is more about distributing Domain information. However, some people, who think differently had other ideas about it. I used the idea to hide one of my perl programs in a dns server I have access to. Execute the following line as a single command and wait for the outcome. dig @beta.royans.net beta.royans.net axfr | grep '^host' | sort | cut -b8-39 | perl -e 'while( ){print pack("H32",$_)}' | gzip -qd How does the real DNS look line ? Its pretty dirty :) But have a look anyway. dig @ns1.granitecanyon.com royans.dhs.org axfr ; < > DiG 8.2 < > @ns1.granitecanyon.com royans.dhs.org axfr ; (1 server found) $ORIGIN royans.dhs.org. @ 12H IN SOA ns1.granitecanyon.com. rkt.pobox.com. ( 153313462 ; serial 6H ; refresh 3H ; retry 1W ; expiry 12H ) ; minimum 12H IN NS ns1.granitecany