| name | scanning-network-with-nmap-advanced |
| description | Performs advanced network reconnaissance using Nmap's scripting engine, timing controls, evasion techniques, and output parsing to discover hosts, enumerate services, detect vulnerabilities, and fingerprint operating systems across authorized target networks. . Use when working with scanning network with nmap advanced. |
| domain | cybersecurity |
| tags | ["network-security","nmap","port-scanning","service-enumeration","reconnaissance"] |
| subdomain | network-security |
| version | 1.0 |
| author | oyi77 |
| license | Apache-2.0 |
| nist_csf | ["PR.IR-01","DE.CM-01","ID.AM-03","PR.DS-02"] |
Scanning Network With Nmap Advanced
Overview
Cybersecurity skill for scanning network with nmap advanced. Follows industry best practices and security standards.
When to Use
Trigger phrases:
-
"scanning network with nmap advanced"
-
"Performs advanced network reconnaissance using Nmap''s scripting engine, timing "
-
Performing comprehensive asset discovery across large enterprise networks during authorized assessments
-
Enumerating service versions and configurations to identify outdated or vulnerable software
-
Bypassing firewall rules and IDS during authorized penetration tests using scan evasion techniques
-
Scripting automated vulnerability checks using the Nmap Scripting Engine (NSE)
-
Generating structured scan output for integration into vulnerability management pipelines
Do not use against networks without explicit written authorization, on production systems during peak hours without approval, or to perform denial-of-service through aggressive scan timing.
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Nmap 7.90+ installed (
nmap --version to verify)
- Root/sudo privileges for SYN scans, OS detection, and raw packet techniques
- Written authorization specifying in-scope IP ranges and any excluded hosts
- Network access to target ranges (VPN, direct connection, or jump host)
- Familiarity with TCP/IP protocols and common port assignments
Workflow
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: ) -> :
{k: re.findall(v, text) k, v IOC_PATTERNS.items()}