All of lore.kernel.org
 help / color / mirror / Atom feed
* Defeating NMAP Null scans (and Nessus scans).
@ 2005-06-22 12:28 Jason Ziemba
  2005-06-22 12:52 ` Jan Engelhardt
  0 siblings, 1 reply; 18+ messages in thread
From: Jason Ziemba @ 2005-06-22 12:28 UTC (permalink / raw)
  To: netfilter

I am attempting to secure a new machine and thought I did until I ran NMAP's
Null scan (which sends no TCP flags).  NMAP was able to determine just about
every port running on the machine, and Nessus found more (even though a
standard TCP Connect and SYN scan found exactly what I wanted). 

I tried a number of TCP Flag combination rules in IPTables attempting to
filter out these scans and was unsuccessful.  Does anybody know how to
successful conceal your machine from these scans (while still allowing the
ports that 'should' be open to function correctly)?



^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Defeating NMAP Null scans (and Nessus scans).
@ 2005-07-11 21:59 Jan Engelhardt
  0 siblings, 0 replies; 18+ messages in thread
From: Jan Engelhardt @ 2005-07-11 21:59 UTC (permalink / raw)
  To: Netfilter Developer Mailing List


>>    -j REJECT -m random --average 15
>>    -j DROP
>>The REJECT/DROP mix confuses nmap more than a plain DROP.
>Interesting this use of random. 

For the record,
I have also tried this, which yields the same results (on -T Insane at least):

    -j REJECT -m dstlimit --dstlimit 1/sec --dstlimit-mode srcip-dstip
    -j DROP

I've just wrote a short (well, already at 10K) tech doc for the implementation 
of (parts of) AS_IPFW, including the nmap null scans. It is kept generic, so 
can be used for any self-baked script.
http://alphagate.hopto.org/AS_IPFW/ , in the tarball a file "TECH".



Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2005-07-11 21:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-22 12:28 Defeating NMAP Null scans (and Nessus scans) Jason Ziemba
2005-06-22 12:52 ` Jan Engelhardt
2005-06-22 16:47   ` R. DuFresne
2005-06-22 16:59     ` Jan Engelhardt
2005-06-22 19:26       ` R. DuFresne
2005-06-23 11:07         ` Jan Engelhardt
2005-06-24 15:17           ` R. DuFresne
2005-06-29 19:37             ` Kirk
2005-06-30  9:47             ` Kirk
2005-07-06 19:54           ` curby .
2005-07-07  7:13             ` Jörg Harmuth
2005-07-09 10:30             ` Jan Engelhardt
2005-06-22 20:26       ` Taylor, Grant
2005-06-22 20:37         ` Alexey Toptygin
2005-06-22 20:47           ` R. DuFresne
2005-06-22 21:18             ` Alexey Toptygin
2005-06-23 11:01               ` Jan Engelhardt
2005-07-11 21:59 Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.