Senior College networking student - Bumbleing though Pentest!!! Need Tips on Discovery Scanning!

Hi there netsec community.

Im a senior in college working on doing a pentest of part of our schools environment.

We are currently undergoing a discovery phase where we will use non intrusive scans to fingerprint the devices and services that we can see both publicly facing and from behind the palo alto firewall (which has been basically left open for this portion of the network).

im wondering if you have any good nmap scans / other NON Intursive tools / scans you would run on the subnets I have been assigned to look at.

I have a little experience in this field so I know a LOT of tools but i really don't want to overlook something important.

Example of other program i may use: FTPmap

Nmap Examples that I will be using:

-sS –Performs a “stealth” TCP scan (that does not fully complete the “TCP three-way handshake,” and closes the connection once the service responds).

-sT –Performs a full TCP scan (a full connection is established with open TCP ports).

-sU –Performs a UDP scan (as UDP is a connectionless protocol, these scans can take significantly longer than TCP scans).

--top-ports 1000 --script=banner.nse,http-headers.nse

--scripts="non intrusive"

etc

-sV or -A will be used but only on specific targets, as this will be important to map os's for some of the hosts.

Thanks for your suggestions and help!

Posted Jun 14, 2015, 4:42 PM UTC

42
[deleted]•

[deleted]

3
metaENTOP•

thank you for this!

1
[deleted]•

[deleted]

1
Jurph•

Consider running nmap -sn (no port scanning) against the /16 or /24 subdomain. When you have a good list, use grep and pipes to save the list of live targets to targetlist.txt and do your follow-up scans at -T1 ("painfully slow & paranoid") using the -iL (input list) flag. This will reduce the chances that you generate "junk" traffic to dead boxes, which should keep you a little closer to zero noise.

> nmap -sn 192.168.0.0/24 | grep 'Nmap scan report for' | cut -f 5 -d ' ' > targetlist.txt

> nmap [your-scan-here] -T1 -iL targetlist.txt

1