You are previewing Instant Netcat Starter.
O'Reilly logo
Instant Netcat Starter

Book Description

Learn to harness the power and versatility of Netcat and understand why it remains an integral part of IT and security toolkits to this day

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.

  • Downloading, compiling, and installing Netcat on Windows and Linux platforms

  • Establish a raw network connection so you can understand how Netcat processes information using a simplistic chat interface

  • Establish and maintain a remote shell / back door on various operating systems

In Detail

As a featured networking utility, Netcat uses TCP/IP protocols to read and write data across network connections. Netcat is a feature rich backend network debugging and exploration tool with the ability to create almost any type of connection you would need.

"Netcat Starter Guide" is a practical, hands-on guide that provides you with a simple and straightforward roadmap to proceed from newbie to seasoned professional with the Netcat utility. By progressing from simple to more complex uses, this book will inform and explain many of the primary use cases that are only limited by your imagination.

This book explores the classic Netcat utility, and breaks down the common ways in which it can be utilized in the field. Beginning with compilation and installation, this book quickly has you utilizing the core features of the utility to perform file transfers regardless of commonly blocked firewall ports, perform real-world interrogation of services and listening ports to discover the true intention of an application or service, and tunnelling remotely into systems to produce remote command shells.

Table of Contents

  1. Instant Netcat Starter
    1. Instant Netcat Starter
    2. Credits
    3. About the author
    4. Acknowledgement
    5. About the reviewer
    6. www.packtpub.com
      1. Support files, eBooks, discount offers and more
    7. packtLib.packtPub.com
      1. Why Subscribe?
      2. Free Access for Packt account holders
    8. 1. Instant Netcat Starter
      1. So, what is Netcat?
        1. Common uses for Netcat
      2. Installation
        1. For all supported platforms
          1. Step 1 – what do I need?
        2. For Windows installations
          1. Step 2 – downloading Netcat from the Internet
          2. Step 3 – extracting Netcat from ZIP archive
          3. Step 4 – verifying program operation
        3. For Linux/Unix installations (Unix Netcat Installation)
          1. Step 2 – downloading Netcat from the Internet
          2. Step 3 – installing Unix Netcat
          3. Step 4 – verifying program operation
        4. For Linux/Unix installations (GNU Netcat Installation)
          1. Step 2 – downloading GNU Netcat from the Internet
          2. Step 3 – compiling and installing GNU Netcat
          3. Step 4 – verifying program operation
        5. Nmap Project's Ncat (All distributions)
        6. And that's it
      3. Quick start – the basics of Netcat
        1. Step 1 – using Netcat for a simple chat interface
        2. Step 2 – transferring data with Netcat
        3. Step 3 – banner grabbing with Netcat
      4. Top 3 features you'll want to know about
        1. Using Netcat to get a remote shell on a target computer
          1. Windows remote shell (and simple post-exploitation hi-jinks)
            1. Preparing the listener
            2. Connecting to the target
            3. Running a directory listing on the target
            4. Making a directory on the target
            5. Verifying directory was created
            6. Adding a local user and granting administrator rights
          2. Linux remote shell
            1. Preparing the listener
            2. Connecting to the target
            3. Running a directory listing on the target
            4. Making a directory on the target
            5. Verifying if the directory was created
            6. Adding a local user and placing into the root group
        2. Port scanning with Netcat
          1. Basic port scanning against a target
          2. Randomized port scanning against a target
          3. More verbose scanning against a target
          4. Scanning a range of devices with a script
        3. Other key Netcat switches
      5. People and places you should get to know
        1. Official sites
        2. Articles and tutorials
        3. Blogs and websites
        4. Twitter