Urgent.News

What's breaking now, across thousands of outlets.

Tech

Understanding Nmap Beyond the Commands — My Cybersecurity Notes on GitHub

I've been working on a GitHub repository called Cybersecurity Survival Notes , where I collect and organize what I'm learning about Linux, networking, and penetration testing. The idea is simple: I want a place where I can return to a topic, understand how something works, and find the commands or explanations I need without having to search through different resources every time. Recently, I've…

I've been compiling my cybersecurity knowledge in a GitHub repository called Cybersecurity Survival Notes. This project aims to provide a centralized resource for learning Linux, networking, and penetration testing. As I document my findings, I pay particular attention to understanding the implications of Nmap's results, rather than just memorizing commands.

When performing host discovery with Nmap, an unresponsive host doesn't guarantee it's offline. Various network factors can affect host responses. To bypass unreliable host discovery, you can use the -Pn option, which assumes the target is online and skips the host discovery phase.

Nmap provides various states for open ports. A port can be in 'open', 'closed', 'filtered', 'unfiltered', 'open\filtered', or 'closed\filtered' states. These states depend on scanning techniques, responses, and network conditions. For example, UDP scanning can yield ambiguous results since open UDP services may not respond to unexpected probes.

Even if a port is open, it doesn't necessarily mean the service running on that port is vulnerable. Knowing a port is open only indicates there's an exposed endpoint to investigate further. To determine the exact service running on an open port, Nmap's version detection (-sV) can be used. However, version detection isn't always definitive as services may hide their version information or use modified banners.

The Cybersecurity Survival Notes repository currently includes sections on Linux, networking fundamentals, security concepts, and Nmap. The penetration testing section has two main documents: Information Gathering and Footprinting and Scanning. The Information Gathering document covers reconnaissance methods, DNS, subdomain discovery, web technologies, and network services.

Footprinting and Scanning delves deeper into network mapping, host discovery, port scanning, service and OS fingerprinting, NSE scripts, firewall behavior, timing, packet analysis, and interpreting scan results. The notes include technical explanations, command examples, and references to official documentation.

This repository is a work in progress and I continue to expand and refine the content as I learn more. The notes are publicly available on GitHub for anyone interested in networking or penetration testing. I welcome any feedback or corrections to improve the documentation.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Terminal recordings, reimagined

"I'll remember!" Famous last words. You spend two hours chasing a bug, hardening a server or deploying a service. The veteran in you knows you should document the steps as you go.

  • Trecs records terminal activity, preserving commands, outputs, and visuals
  • User-friendly interface allows easy navigation and search within recordings
  • Open-source (AGPLv3) and statically linked, available for various platforms

More from Tuesday 17 November →