SANS Penetration Testing

SANS Cheat Sheet: Netcat


by SANS Pen Test Team

We are adding another SANS Cheat Sheet to our arsenal of information security/penetration testing cheat sheets available here at the SANS Pen Test Blog. If you would like additional cheat sheets, click on the "cheatsheet" category or see below to find them all.

This cheat sheet is from our SANS SEC560: Network Penetration Testing and Ethical Hacking course, authored by SANS Fellow, Ed Skoudis. To learn Netcat in-depth along with many other tools, methods, and techniques of penetration testing, please consider taking our core pen testing course, SEC560.

What is Netcat... from the wiki:

Netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP. Netcat is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of connection its user could need and has a number of built-in capabilities.

Download PDF: netcat-cheat-sheet



Other Netcat Resources:

Bash's Built-in Netcat Client

Netcat without -e? No problem!


Pen Test Cheat Sheets:







SANS Pen Test Training:

SEC560: Network Penetration Testing and Ethical Hacking - our core penetration testing course. Prepare for GIAC - Penetration Testing Certification (GPEN)

SEC542: Web App Penetration Testing and Ethical Hacking - introduction to intermediate web application penetration testing. Prepare for GIAC - Web Application Penetration Tester Certification (GWAPT)


SANS Pen Test Austin 2018 - Training Event:


  • Choose from 12 world-class training courses w/ our best instructors!
  • Play in (3) Nights of NetWars
  • Join a team as you hack/defend SANS CyberCity
  • Enjoy a special night of networking and fun for all attendees
  • Earn up to (5) SANS Pen Test Challenge Coins during Coin-A-Palooza
  • March 19 - 24, 2018 - Austin, TX
  • Learn more:

Post a Comment


* Indicates a required field.