Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: NMAP Switches, -sS, -sT, etc.

Subject: Re: NMAP Switches, -sS, -sT, etc.
Date: Fri, 24 Mar 2006 20:46:31 -0500
Tate;

Thanks for sharing your experience/approach wholeheartedly!

DF

----- Original Message ----- From: "Tate Hansen" <tate@clearnetsec.com>
To: "'Doug Fox'" <dfox168@hotmail.com>
Cc: <pen-test@securityfocus.com>
Sent: Friday, March 24, 2006 5:52 PM
Subject: RE: NMAP Switches, -sS, -sT, etc.



I like to run nmap in phases to balance the speed and accuracy. For
example, run only a SYN scan (-sS) for the 1st phase then follow up with the
service detection, OS detection, etc., scan after you discover the list of
'live' devices and open ports. In my experience those extra options can add
lots of time (especially when scanning large blocks, like a /16) and I like
to obtain the open port list as soon as possible to feed others tools (amap,
nessus, etc.).


I also always try to add options to account for current latency conditions,
bandwidth availability, and the specs of the server running nmap. Things
like: min_hostgroup, min_parallelism, min-rtt-timeout, --max-retries.


An initial scan I may run with high latency (400ms rtt), lots of bandwidth,
and a good server is:
nmap -vv -sS -P0 -p 1-65535 -n --min_hostgroup 100 --max_retries 3
--max_rtt_timeout 1250 --min_parallelism 100 -oA <output_file> <net_block>


For a follow up:
nmap -vv -p <open_port_list> -sT -A -P0 -n --min_hostgroup 100
--max_rtt_timeout 1250 --min_parallelism 100 -oA <output_file> -iL
liveIPList

Another observation: I frequently find additional open ports when executing
multiple scans of the same blocks at different times. For whatever reason
(e.g. network hiccup, target load, server load) it helps to run repeated
scans if you want to improve/have greater confidence in your results.
Running a few SYN services scans in addition to your normal scans at
different times may reveal a few more open ports.


Tate Hansen
ClearNet Security

-----Original Message-----
From: Doug Fox [mailto:dfox168@hotmail.com]
Sent: Thursday, March 23, 2006 8:07 AM
To: pen-test@securityfocus.com
Subject: NMAP Switches, -sS, -sT, etc.

If I may, I like to poll the list what are your favorite switches when using

NMAP to conduct "intensive/comprehensive" security testing.

I have been using

NMAP -vv -A -sS -O -p1-65535 -P0 -oX target.xml www.xxx.yyy.zzz.

I find I got more information using -sS than -sT and requires short time.

Any suggestions/comments are appreciated.

Thanks,

DF

----------------------------------------------------------------------------
--
This List Sponsored by: Cenzic

Concerned about Web Application Security?
As attacks through web applications continue to rise, you need to
proactively
protect your applications from hackers. Cenzic has the most comprehensive
solutions to meet your application security penetration testing and
vulnerability management needs. You have an option to go with a managed
service (Cenzic ClickToSecure) or an enterprise software (Cenzic Hailstorm).


Download FREE whitepaper on how a managed service can help you:
http://www.cenzic.com/forms/ec.php?pubid=10025
And, now for a limited time we can do a FREE audit for you to confirm your
results from other product. Contact us at request@cenzic.com
----------------------------------------------------------------------------
--



------------------------------------------------------------------------------ This List Sponsored by: Cenzic

Concerned about Web Application Security? As attacks through web applications continue to rise, you need to proactively protect your applications from hackers. Cenzic has the most comprehensive solutions to meet your application security penetration testing and vulnerability management needs. You have an option to go with a managed service (Cenzic ClickToSecure) or an enterprise software (Cenzic Hailstorm). Download FREE whitepaper on how a managed service can help you: http://www.cenzic.com/forms/ec.php?pubid=10025
And, now for a limited time we can do a FREE audit for you to confirm your results from other product. Contact us at request@cenzic.com
------------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>