===============================
Kali Linux
===============================
Install Kali Linux in the virtual box in the windows operation system.
Below is the link of the video which will demonstrate how to install kali linux in the virtual machine.
https://www.youtube.com/watch?v=wCEPusruqQM
SCANNING
NMAP CHEAT SHEET (FULL + STEP-BY-STEP + EASY)
For Kali Linux – Penetration Testing
===============================
1. BASIC DISCOVERY SCANS
===============================
1.1 Ping Scan (Find live hosts)
nmap -sn <target/subnet>Purpose: Checks which hosts are online (no port scanning).
Example:
nmap -sn 192.168.1.0/24
1.2 Disable Ping (When host blocks ping)
Purpose: Treats all hosts as online and scans even if ICMP is blocked.
1.3 Quick Scan of Top Ports
Purpose: Scans top 1000 common TCP ports.
===============================
2. PORT SCANNING
===============================
2.1 Full TCP Port Scan (all 1–65535 ports)
Purpose: Finds ALL open TCP ports.
-sS: Stealthy SYN scan.
2.2 Scan Specific Ports
2.3 Scan Port Range
nmap -p 1-1000 <target>
0R
nmap -Pn 192.168.1.1-50
2.4 UDP Scan
2.5 TCP & UDP Together
2.6 Fast Scan (Top 100 ports only)
===============================
3. SERVICE & VERSION DETECTION
===============================
3.1 Detect Service Versions
Purpose: Show exact versions (e.g., Apache 2.4.49).
3.2 Aggressive Version Detection
3.3 OS Detection
===============================
4. AGGRESSIVE & COMBINED SCANS
===============================
4.1 Aggressive Scan
Includes:
✔ OS detection
✔ Version detection
✔ Scripts
✔ Traceroute
⚠️ Noisy – use carefully!
4.2 Everything in One Scan
===============================
5. NMAP SCRIPTING ENGINE (NSE)
===============================
5.1 Run Default Scripts
5.2 Run Vulnerability Scripts
5.3 Run Specific Scripts
5.4 Safe Script Scan
5.5 Malware Detection
===============================
6. SCAN TIMING & PERFORMANCE
===============================
6.1 Speed Up Scans
T0 = slowest | T5 = fastest
6.2 Max Speed Scan
⚠️ Very noisy.
6.3 Slow, Stealthy Scan
Comments
Post a Comment