[ad]
This little, but very useful program, try to sends ICMP packet out the LAN, and detect all the host that allow it. Whit this you can find bugs in your (company?) network ( or others), for example hosts that allow p2p connections.
Explanation
When we use a Gateway, we send the packets with IP destination of the target, but the destination MAC on the ethernet is the MAC at the Gateway. If we send a packet to the different MACs in the LAN, we can know who is the gateway when we receive an response from this MAC.
Some times we can discover more than one box configured to be an gateway, generally, this is an wrong configuration, and the box will response with an ICMP-Redirect. This is the same, because the script only verify if the mac response.
NatProbe is develop in Python with the Scapy library.
You can download Nat Probe here:
Or read more here.
dean says
Is there any example, how to use this tool?
Thanks
ica says
I’m getting this error:
Traceback (most recent call last):
File “natprobe.py”, line 65, in
ping = ping_constructor (options.ip_dest)
File “natprobe.py”, line 10, in __init__
self.ether = scapy.Ether()
AttributeError: ‘module’ object has no attribute ‘Ether’
the command: python natprobe.py -f ethers.log -d 2.2.2.2
rulzyoda says
@ica thats the same thing I am getting.
I troubleshooted it for 3 hours couldn’t figure it out
I actually reported it to the author on his blog and he immediately deleted the comment from his post! So don’t expect an updated version anytime soon