Re: Another firewall bypassing nuisance
Date: July 08, 2008 02:04AM
I think you're confused about how TCP works with firewalls.
You send a SYN packet from source port 1234 to port 80
Firewall doesn't care what source port (probably), but rule says let a SYN packet pass in on port 80 to that server
Server responds with a SYN-ACK packet which is allowed through the firewall, but possibly for different reasons.
1. pass all/any rule outbound
2. pass only established packets (SYN-ACK) outbound
3. pass only packets outbound that match state based on the initial packet that came in.
So you can possibly get a shell to connect back out to you depending on the firewall's configuration.
The shell on pentestmonkey sits at port 80, so the firewall (assuming it isn't a WAF or working with an IPS/HIDS) won't do anything to block it.
If there is a IPS/HIDS/HIPS/whatfuckinever you can probably change the name of the shell and it won't catch it, yeah, they're usually that fucking lame.
Setting up PPTP also relies on the firewall being configured wrong, but hey, it probably is.
99% of the time no one is going to catch you doing shit, and if you're not dumb enough to attack from your own IP, who cares if they do? hit them from another source.
-id