Tuesday, 14 February 2012

Bypassing Firewalls with SYN+FIN (NMAP)

There exists a vulnerability within many firewalls and other systems that permit a session to be established in spite of firewall rules. The specifics are outlined here To briefly demonstrate this, I will craft custom TCP packets with the SYN and FIN flags set. I will use Nmap for my port scanning, and Nemisis for all others:

NMap


nmap -v -v --scanflags SYNFIN -P0 <target>

Nemesis


nemesis tcp -v -fS -fF -D <target>  -S <myip>



In the case of Nmap, notice how the ports that were originally “filtered” are now “open”. 
Note, not all systems are vulnerable to this bypass.  Sorry for not having a better demo. Go and try it out on your own and see how it works. enjoy!

*************************************************************************************
Advance hacking with NMAP available here (http://nmap.org/book/toc.html)
**************************************************************************************
 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.