Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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...

share|improve this question

3 Answers 3

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)

share|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

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.

share|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

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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