
Master the open source nmap for fast network and port scanning, live host discovery, banner and version detection, and extendable scripting with vulscan and nse for web application pentesting.
Scan only networks you own or have explicit permission for, and use bug bounty programs with responsible disclosure to avoid illegal activity.
Explore the tcp/ip and osi network models, their layers, and how data flows within internet operations. Grasp the seven layers and the sausage pizza mnemonic as a memory aid.
Explore how the OSI model guides everyday tech use. Trace data flow from physical to application layers as Rohit sends a Facebook message.
Compare tcp/ip four-layer model with osi seven-layer framework, mapping datalink and physical to tcp/ip's layer, internet to network, transport to transport, and application to osi app; note arpanet and iso.
Explore the fundamentals of network types, including LAN, MAN, WAN, PAN, CAN, SAN, and VPN, and how they connect devices and enable encrypted tunnels.
The video explains the differences between internet, intranet, and extranet, showing how internet links global networks, intranet confines data within an organization, and extranet allows outside access to restricted information.
Explore network topologies, including bus, star, ring, and hybrid designs, and learn how messages traverse a backbone, hub, or ring, with hybrid tradeoffs.
Explore IP addresses as internet device identifiers, covering IPv4 and IPv6, dotted decimal and hexadecimal notations, plus MAC addresses that uniquely identify hardware via NIC cards.
Learn how ports and protocols enable client-server communication, with ports as bridges for requests and protocols defining the rules, including port 443 using https.
Explore ftp fundamentals by learning port numbers 20 and 21, and how to transfer files between a server and a client using ftp commands like open, ls, get, and put.
Set up a free ftp server on a live host, log in with username and password, and practice uploading and downloading files using ftp commands such as ls.
Learn how to securely connect to a remote server via SSH, log in with a username and password on port 22, and navigate the filesystem using ls, cat, and cd.
Explore ports and protocols for remote access, comparing telnet on port 23 with its unencrypted, insecure connection to SSH's encrypted security, and review RDP on port 3389 for Windows.
Explore how email protocols enable sending and receiving messages. Learn smtp port 25 for sending, and pop3 or imap4 on ports 110 and 143 for receiving, plus dns lookup.
Discover how the DNS protocol on port 53 maps domain names to IP addresses and enables URL to IP resolution.
Learn how DHCP on port 67 assigns IP addresses to devices through the DORA process—discover, offer, request, acknowledge—demonstrated with a Wireshark capture.
Learn how HTTP and HTTPS work on ports 80 and 443 as application layer protocols, connecting browsers to web pages with TLS/SSL for secure, encrypted communication.
Download the latest stable command line zip from nmap.org and npcap, install and extract the files, then open a command prompt and drag nmap.exe into it to run.
Install nmap on Linux with apt-get for Debian-based systems or yum for RedHat-based ones; Kali and Parrot may be preinstalled, or download from nmap.org and verify by running nmap.
Download the latest nmap-7.80.dmg from nmap.org, open the installer, drag nmap to the Applications folder, and, if prompted for cannot be verified, continue and enter your password.
Install Wireshark on Mac OS by downloading Wireshark.dmg from wireshark.org, drag it to the Applications folder, and open the GUI to perform packet analysis while you run Nmap scans.
Install Wireshark on Debian-based via apt-get update and apt-get install Wireshark -y, configure Wireshark, and enable non super users to capture packets, noting Kali Linux and Parrot OS include it.
Explore Nmap scan types, including tcp connect scan, and see how the tcp three-way handshake reveals open ports; note the noisiness and logging by servers.
Learn to perform a tcp syn stealth scan using nmap -sS and -p, identifying open ports via synack responses and resets for closed ports, with speed and stealth tradeoffs.
Learn to perform nmap null scans with -sN, sending packets with no flags. Interpret responses: reset means closed, no reply means open or filtered; stealth advantages and unreliability.
Explore how Nmap's UDP scan (nmap -sU) uses UDP and ICMP packets to determine port status, revealing open, closed, or open or filtered ports with limitations.
Perform a FIN scan with nmap -sF to send FIN packets and infer port state from responses; stealthy yet unreliable, potentially bypassing firewalls, with open/filtered results when no response.
Explore the Nmap -sX Xmas scan, which uses fin, urg, and psh flags to probe ports stealthily, bypass some firewalls, and identify open or closed ports.
Master the nmap ack scan to probe firewall rules, using -sA to send ack packets and interpret reset responses to classify ports as unfiltered or filtered.
Learn idle or zombie nmap scans that route through a zombie host to probe a port while hiding the scanner's IP; a technique linked to malicious use and detected.
Scan IP addresses and hosts with Nmap to identify open ports, using verbose mode to monitor progress, and understand port states (open, closed, filtered) for domain and host targets.
Scan a range of IP addresses and a /24 subnet with nmap to identify live hosts and connected devices on your network, using verbose output.
Learn to scan an entire host subnet with nmap, confirm two hosts up on a /24 network, view network details with ipcalc, and identify open ports on 192.168.0.1 and 192.168.0.102.
Perform a fast Nmap host subnet scan by using the -F flag to scan only 100 ports, delivering quicker results and showing which devices are up on the network.
Learn how to perform nmap host discovery with nmap -sP and -V verbose output to identify three hosts on a network subnet, including a Mac OS machine and a router.
Compare netdiscover and nmap for host discovery on a local network, highlighting subnet scans and open ports. The video shows outputs from both tools identifying devices in a 192.168.43.0/24 subnet.
Demonstrate host discovery with arp-scan and nmap, show installation across Kali Linux, Parrot OS, and Mac, and confirm two devices—router and my own computer—are detected by both tools.
create a text file of targets and scan with nmap using -iL, scan ports like 22, 25, 28, 443 with -p, and enable verbose output for each host.
Learn to run a random host scan with Nmap using -iR and -v, scanning 10, 20, or 30 random public hosts, and use -sP for a ping check.
Exclude a host from an Nmap subnet scan using the --exclude option, as shown with 192.168.43.213 in verbose mode; the scan reveals two hosts up, including the router.
Discover how to bypass icmp host discovery with nmap -Pn, identify hosts behind firewalls, scan the top 1000 ports, and reveal open ports with verbose output.
Use nmap to perform port scanning by port names, specify the target IP with -p and a port name, and enable -v to see open or closed ports.
Learn how to scan ports with numbers and service names using Nmap, identify open and closed ports, and interpret results with examples like DNS port 53 and HTTP port 80.
Learn to scan a port range with nmap and identify open ports on a target IP. Filter results to display only open ports, such as 22 and 80.
Learn how to perform Nmap port knocking to reveal hidden open ports, a security technique for pentesting and CTFs, using a sequence knock and a range scan.
Learn to perform a fast port scan with nmap using -F and -v to target an IP, identify open ports such as 80 and 443, and observe UDP port results.
Learn to save nmap scan output to a file by piping through grep open, then reading with cat, and use redirection to overwrite or append for multiple targets.
Learn to run an nmap port scan without randomization, using -R to scan TCP and UDP ports sequentially from 1 to 65535, with -V for verbose output.
Learn to perform an nmap top ports scan against a target IP using --top-ports N and --open, with -v for verbose output.
Learn how to perform an nmap ports ratio scan by specifying the target IP, port ratio, and verbose mode, then interpret open and closed ports from the output.
Explore nmap port scans with -p for ports or ranges, --open to show open ports, -sU for udp, -F for fast scans, -R for sequential scans, and top 100 ports.
Learn to use nmap service version detection to identify services and their versions on a target ip, with verbose output and aggressive detection for open ports and potential exploits.
Learn to perform standard and aggressive Nmap service version detection, using verbose output and version-intensity settings to identify open ports and the running services.
Learn to use nmap service version light to identify open ports and the services running on them, including how light version detection may fail to identify certain services.
Run an nmap service version detection to identify running services and versions, as shown locating FTB on port 9999 with version 2.0.8.
Explore how nmap service version trace detects the exact service on a port using version detection and fingerprints. See how the scan reveals the server's fingerprint and running version.
Learn operating system detection with nmap using -O and an aggressive scan to identify a remote Linux 2.6.32 system.
Explore nmap os detection and how to tune max-retries with the --max-retries flag, reducing probe attempts, using -v for verbose output, and identifying Linux 2.6.32 in a sample scan.
Use nmap os detection with the --osscan-limit option to run OS guesses when at least one open port is found; Linux hosts reveal OS, Windows ports may not reveal OS.
This lecture demonstrates using nmap for host discovery on a subnet, showing verbose output to identify active hosts and their MAC addresses.
Perform an nmap with the smb-discovery script to detect the target's operating system and open ports, using verbose mode to verify that Windows is identified.
Learn to run a full nmap port scan from 1 to 65535, save the normal output to a file with -oN, and review it later in verbose mode.
Learn to save nmap scan results in xml format using -oX, enable verbose output, and verify the generated file shows port statuses (open) for the target.
convert nmap output to a readable, html-like report using a conversion tool, producing a scan summary and per-port statuses for easy recon.
Learn how to save nmap output, convert xml to csv with a parser, and generate recon-ready csv files to track target ip addresses and exploitable services.
Learn to run an nmap scan and save the greppable output to a file, then filter by port or status to quickly identify open ports.
Perform an nmap scan using script kiddie output (-oS) with verbose mode, saving results in a lead language report. The example reveals open ports 22 and 80.
Learn to save all nmap outputs in all major formats with a single command, using a target IP, verbose mode, and a chosen base name in a dedicated folder.
Welcome to Ethical Hacking / Network Security Pentesting & Nmap.
This course starts with the basics of Network Fundamentals to Advance Exploitation.
This course starts with basics with TCP/IP Model and OSI Model and how it can be used in our day to day life. We will also learn TCP, UDP Packets, and Topologies to make our base stronger and then further move on to Ports and Protocols usage with practicals.
This course covers All the Nmap Scan Types with Wireshark Packet Analysis for a better understanding of what’s happening behind the hood.
The course also includes principles for each scan type and its Advantages and Disadvantages for Network Scans.
With this course, we will learn Target Selection Techniques for Host, Subnet Scans & Host Discovery. How to choose large Hosts from files and choose random hosts, also how to exclude them from our scans.
This course will cover port scanning and port knocking which is useful for Penetration Testing & CTF’s
Then we will see How to perform Service Version Detection for vulnerable services for exploitation.
We perform OS Detection and fuzzy scripts to identify the underlying targeted OS
We will also cover Nmap Output Formats to save the output in different formats like HTML and XML. We Willa also see How we can convert XML to CSV format for Recon of Bug Bounty & Penetration Testing.
We will cover Script Scans and use Nmap’s powerful scripting engine for scanning.
Next, we will cover the Nmap Script attack for different categories like Safe, Vulnerability, DOS, Exploit, Not Intrusive, and Boolean Expressions.
Next, we will cover Nmap for reconnaissance for Bug Bounty and Pentesting.
We will cover Nmap Protocols and Exploitation in which we will see protocols like FTP, SSH, HTTP and its exploitation. We will also cover HTTP Basic Auth Exploitation and PUT to RCE using Nmap
Next section, we will see Custom NSE scripts and its anatomy and will also learn How to write your own scripts.
In the next section, we will cover Nmap Timing Parameters and Firewall Analysis to bypass firewalls with Nmap parameters.
Next, we will cover Nmap Timing and Performance to tune Nmap Scans for better results and performance
Next, we will learn how to bypass Timing based firewalls with Nmap
Next section, we will learn How to Bypass IDS and Firewalls with Mac Spoofing, Cloak scan with decoys, Faking TTL and adding Bogus TCP/UDP Checksums.
Next, we will see The Nmap GUI which is the Zenmap
In the last section, we will write our own Python program for scanning and OS Detection based on Nmap.
Here's a more detailed breakdown of the course content:
In all the sections we will start the fundamental principle of How the scan works and How can we perform Exploitation.
1. In Introduction, We will cover What are TCP/IP Models and OSI Models, What is the difference between both and how can we implement it in our day to day life.
We will also learn about network types and fundamentals. We will also see what are network topologies and what are IP and MAC address.
2. In Ports and Protocols, We will cover fundamentals of what are ports and protocols and how do they communicate. We will see protocols like FTP, SSH, DHCP, SSH, Telnet, RDP, HTTP, HTTPS, and their practicals.
In the end, we will see the summary and revision of this section to remember the important protocols & key points.
3. In Nmap Scan Types and Techniques, We will cover most of the commonly used and important scans like TCP, Stealth, Null, UDP, FIN, XMAS, ACK, and Zombie Scan.
We will also see the advantages and disadvantages of each scan type and also see the live Packet Analysis to understand what is happening behind the hood and how all the scans differ from each other.
In the end, we will see the summary and revision of this section to remember the important Scan Types & key points.
4. In Nmap Target Selection and Techniques, We will cover How can we perform a Host Scan using Nmap. We will also see How to perform a Subnet Scan & Host Discovery to identify Live Hosts.
We will also see the difference between Netdiscover and Nmap Host Discovery and the difference between the output.
Next, we will see, How can we scan a large number of Hosts from files using a file input scan.
We will learn how to exclude hosts from a subnet scan or a File input scan if they are blacklisted or whitelisted into a network.
We will also cover How can we Bypass Windows Firewall Rule with No Host Discovery and successfully identify the information about the target.
5. In Nmap Port Scan and Techniques, We will cover How can we perform a Port Scan using Names and numbers with Nmap. We will also see How to identify only open ports perform a Fast Port Scan.
We will also see Port Knocking of hidden ports, which is useful in Penetration Testing and CTF’s. We will also see How can we scan ports without randomization and in a sequential manner along with scanning of only Top Ports.
In the end, we will see the summary and revision of this section to remember the important Port Scan Types & key points.
6. In Nmap Service version Detection, We will cover How can we perform a Service Version Detection Scan using Nmap to identify running older services on the target systems
We will also perform Service Detection with Light Intensity to All to find the exact versions of the target systems.
In the end, We will also see the Service Version trace to identify how each packet is sent and How Nmap is able to identify services based on fingerprints.
7. In Nmap OS Detection, We will cover How can we perform an OS Detection Scan using Nmap to identify Operating System and their versions installed on the targets.
We will also perform OS Detection Fuzzy scripts to find the exact versions of the OS of the target systems. We will also see the OS Detection Scripts for better identification of results.
8. In Nmap Output Formats, We will cover How can we save the output from the Nmap Scans to specific formats. This is useful as we save the output and later check if the installed software on the targets have been outdated or not for successful exploitation.
We will save the output in different formats like XML, HTML, Script Kiddie, and Greppable.
We will also see How we can convert XML output to HTML for better visual identification of hosts using xsltproc.
We will also save our XML output to CSV using python parser for bug bounty reconnaissance.
In the end, we will see how one command can save all the output types of all the formats.
9. In Nmap Script Scan, We will cover Nmap’s powerful feature its NSE engine which contains powerful and handy scripts to run on the targets. We will become familiar with the usage of scripts, help, and updating the database.
We will see how to use NSE arguments to run scripts. We will also see how you can use script sets to perform mass script scanning against the targets.
10. In Nmap Script Attack Categories, We will see different types of script categories and run all of them against the target.
We will cover scripts of categories - Safe, Vulnerability, DOS, Exploit, Not Intrusive.
We will also cover how you can run multiple script categories with the help of Boolean Expressions in Nmap.
11. In Nmap for Reconnaissance, We will see different ways to perform recon for Pentesting and Bug Bounty Hunting.
We will cover trace-route scans, geo resolution of IP’s, IP information, and get sensitive results from DNS Bruteforce
Also, We will learn how can we find live hosts on IP ranges. We will also cover whois scan, Robots scan to find information related to targets.
Next, We will see how can we identify web application firewalls on domains, So we do not get blocked by running our scans and payloads. We will also cover How can find vulnerable targets from Shodan using Nmap. We will also see how can we scrape emails from the target for enumeration and generate a sitemap for the target.
12. In Nmap Protocol Exploitation, We will see different types of exploitation for different protocols like FTP, SSH, DNS, HTTP Basic Auth.
We will also cover how can we exploit HTTP Methods to achieve Remote Code Execution using Nmap.
We will also see How can we perform Heart Bleed Scan using Nmap against any target, also will cover HTTP Open Proxy Enumeration to find any open proxies.
In last, We will see How can we perform Zone Transfer to dump all the Zone Records of master and slave servers
13. In Nmap Web Exploitation, We will see how can we perform HTTP headers and HTTP Security Headers scan to identify targets vulnerable.
We will also cover famous web-based vulnerabilities like - XSS, SQL Injection, CSRF.
In the end, we will also see to find targets vulnerable to Default Account Exploitation and IIS Web server name disclosure.
14. In Nmap Custom NSE Scripts, We will see Anatomy of Nmap’s powerful Nmap scripting engine.
In the end, We will also learn How to write our own first NSE script.
15. In Nmap Timing and Performance, We will see what are Nmap Insane Scan, Aggressive Scan, Normal Scan, Polite Scan, Sneaky Scan, and Paranoid Scan.
Next, We will see each of their breakdown using the Wireshark network analyzer.
16. In Nmap Time Based Firewalls Evasion, We will see how can a System Administrator can block Nmap Insane Scan and How can we bypass it using 2 tricks.
We will see How Administrator can block Aggressive Scan, Normal Scan, Polite Scan, Sneaky Scan, Paranoid Scan, and How can we bypass all of them by tuning our scans.
17. In Nmap Firewall & IDS Bypass, We will see how can a bypass targets with Cloak Scans and Decoys.
We will see How to spoof Mac address to hide our identities, How to change our network interfaces for scanning, How to change the source port numbers for scanning, How to send Fake TTL, How to relay proxies, How to append random data with packets, How to send Bogus TCP/UDP Checksum,
How to perform a Fragment scan to send invalid packet sizes, and perform MTU Scans.
18. In Zenmap The Nmap GUI, We will see the graphical user interface version of Nmap.
We will perform the installation of the GUI Version and learn the usage and roadmap of zenmap.
19. In Nmap with Vulscan Automation for Penetrating Testing, We will learn the setup of vulnscan with Nmap for automatic vulnerability scanning and turn Nmap into a powerful vulnerability scanner.
We will enumerate vulnerabilities based on CVE databases from different websites.
20. In Nmap with Python for Penetrating Testing, We will learn the setup of python and will learn to write our own python program for a network scanner.
In the end, we will write a python program for port scanning of targets to identify the port state as open or closed.
With this course, you get 24/7 support, so if you have any questions you can post them in the Q&A section and we'll respond to you as soon as possible.
Notes:
This course is created for educational purposes only and all the websites I have performed attacks are ethically reported and fixed.
Testing any website which doesn’t have a Responsible Disclosure Policy is unethical and against the law, the author doesn’t hold any responsibility.