What is NetCat NetCat is a computer networking utility for reading from and writing to network connections using TCP or UDP 2
3 NetCat Features Its list of features includes
4 NetCat Features Its list of features includes port scanning Proxying
NetCat Features Its list of features includes port scanning Proxying transferring files Banner Grabbing backdoor 5
Using Netcat NetCat is preinstalled in Linux you just have to use et in terminal taping nc command nc -help 6
Port Scanning To scan and listen for a specified port we have to use nc –vzw1 [address] [port] Example nc -vw1z 192.168.56.1 1-200 7
Proxying Another useful behaviour is using NetCat as a proxy. Both ports and hosts can be redirected nc -l [port] | nc [ address ] [port] Example nc -l 1200 | nc www.google.com 80 8
Banner Grabbing The service banners identify the running service and often the version number too. Banner grabbing is a technique to retrieve this information about a particular service on an open port and can be used during a penetration test for performing a vulnerability assessment nc [address] [port] Example nc 192.168.1.19 80 9
File Transfert 10 Netcat connection to transfer a text file
Backdoor A very popular usage of Netcat and probably the most common use from penetration testing perspective are reverse shells and bind shells 11
Backdoor 12
Backdoor 13
Conclusion The power of NetCat for sys admin to scanning networks And pen Testing for hackers 14