I'm just assessing the security of my home server in preparation for opening it up to the internet. I've used nmap from a machine on my local network but I have firewall rules allowing access from the local network so this reveals more than I think will be visible from the internet.

Is there any way to 'spoof' the address nmap is scanning from, so I can see what a potential attacker would see? Any google search for that kind of thing yields a lot of very shady looking websites...

link|improve this question

feedback

3 Answers

up vote 2 down vote accepted

It's right in the manual:

FIREWALL/IDS EVASION AND SPOOFING:
  -S <IP_Address>: Spoof source address
  -g/--source-port <portnum>: Use given port number
  --spoof-mac <mac address/prefix/vendor name>: Spoof your MAC address

(there other useful options too)

link|improve this answer
That's what I wanted. I must have missed that option somehow :s Thanks! – Ben Hymers Sep 4 '10 at 18:51
feedback

Try ShieldsUp from Gibson Research. It'll do a simple scan with properly-formed packets, so not everything you might like to scan for. It's been around for years without any fishy reputation that I'm aware of, and the Gibson guy is also quite a character.

link|improve this answer
Not bad at all, although the text reports are a bit paranoid. – Cristian Ciupitu Sep 4 '10 at 18:02
It's a very good tool, yes. I'll be using that to be absolutely sure, once I've exposed it to the internet. – Ben Hymers Sep 4 '10 at 18:52
feedback

I remember learning Nmap and the decoy/zombie/idle/FTP scan techniques blew my mind with how clever they were. The idle scan has nice pictures to really understand it :D

http://nmap.org/book/man-port-scanning-techniques.html

http://nmap.org/book/man-bypass-firewalls-ids.html

http://nmap.org/book/idlescan.html

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.