17.06.2015 Views

Bonded with Botnets. - SecNiche Security Labs

Bonded with Botnets. - SecNiche Security Labs

Bonded with Botnets. - SecNiche Security Labs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• DNS Changer<br />

─ Inside DNS hooking<br />

● Hooking DNS API<br />

DNS Changer<br />

– Hooking DNSQuery (*) function calls in dnsapi.lib/dnsapi.dll<br />

– Implemented by creating a blacklist<br />

– Bot hijacks the DNS resolution flow by filtering all the incoming DNS requests<br />

● Hooking DNS Cache Resolver Service<br />

– Cache resolver service is used for DNS caching<br />

– Bot hooks sendto function in ws2_32.dll to verify the origin of DNS query to<br />

validate if sendto function is called by dnsrsslvr.dll<br />

30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!