π Phase Zero of Cyber Warfare: Target Footprinting & Attack Surface Enumeration
In both penetration testing engagements and advanced persistent threat (APT) campaigns, over 80% of an operation's timeline is dedicated to Reconnaissance (Footprinting). Before an adversary can deliver an exploit, weaponize a payload, or bypass an authentication gateway, they must construct an exhaustive blueprint of the target organization's external presence. Reconnaissance splits along an operational dividing line: Passive Reconnaissance (OSINT) gathers actionable intelligence from publicly accessible third-party data repositoriesβsuch as public Certificate Transparency logs, Regional Internet Registry (RIR) databases, DNS cache mirrors, search engine indexes, and internet-wide telemetry scanners (Shodan, Censys)βwithout sending a single IP packet to the target's infrastructure. Conversely, Active Reconnaissance transmits probe packets directly into the target's boundary routers and hostsβusing stateful TCP handshakes, half-open SYN sweeps, and application service negotiationsβto map open ports, identify running software daemons, and detect firewall filtering rules.
RECONNAISSANCE OPERATIONAL TAXONOMY & PATHWAY MATRIX:
1. PASSIVE RECONNAISSANCE (OSINT - ZERO DIRECT TOUCH):
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Target Infrastructure: https://api.nikita-infotech.com/ (203.0.113.25) β
β β
β [Attacker System] βββββΊ [Third-Party Public Intermediary Services] β
β βββ crt.sh (Certificate Transparency Logs) βββΊ Discovers Subdomains β
β βββ Shodan / Censys (Internet Scanners) βββΊ Exposed Port Telemetry β
β βββ WHOIS / ARIN / APNIC (RIR Registries) βββΊ ASN, CIDR IP Blocks β
β βββ Google Search Index (Google Dorking) βββΊ Leaked Documents, APIs β
β β
β β’ Target Network Interaction : ZERO PACKETS SENT TO TARGET! Target Firewall / SIEM sees null. β
β β’ Detection Footprint : Completely invisible to target SOC. 100% legal public research.β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ (Intelligence synthesizes target perimeter map)
2. ACTIVE RECONNAISSANCE (DIRECT WIRE INTERACTION):
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β [Attacker System] βββββββββββββββββββββββββββββββββββββββββββββββββββΊ [Target Infrastructure] β
β β Direct TCP SYN, UDP, ICMP, and HTTP Probes β (203.0.113.25) β
β β β β
β βΌ βΌ β
β β’ Target Network Interaction : Packets touch target NICs, load balancers, and firewalls. β
β β’ Detection Footprint : High visibility. Logged by IDS/IPS (Suricata), WAFs, and SOC. β
β β’ Operational Objectives : Precise port states (Open/Filtered), banner grabs, OS versions.β
β β’ Legal Boundary : Requires formal authorization (Rules of Engagement contract). β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
crt.sh. Extracts historically and currently valid TLS certificates issued for a target domain without sending probe packets to the target.
import requests
import json
from typing import Set
class CertificateTransparencyHarvester:
"""
Mines crt.sh JSON API to discover subdomains passively.
Every TLS certificate issued by public CAs (Let's Encrypt, DigiCert)
is recorded in public, append-only Merkle Trees per RFC 6962.
"""
def __init__(self, target_domain: str):
self.target_domain = target_domain
self.endpoint = f"https://crt.sh/?q=%.{target_domain}&output=json"
def harvest_subdomains(self) -> Set[str]:
subdomains: Set[str] = set()
headers = {"User-Agent": "SecOps-OSINT-Harvester/1.0"}
print(f"[*] Querying Certificate Transparency logs for: *.{self.target_domain}...")
try:
response = requests.get(self.endpoint, headers=headers, timeout=15)
if response.status_code != 200:
print(f"[!] crt.sh returned HTTP {response.status_code}")
return subdomains
records = response.json()
for entry in records:
# Name value can contain multi-line or wildcard entries
name_value = entry.get("name_value", "")
for domain in name_value.split("\n"):
domain = domain.strip().lower()
# Filter out wildcard prefixes (*.domain.com -> domain.com)
if domain.startswith("*."):
domain = domain[2:]
if domain.endswith(self.target_domain):
subdomains.add(domain)
except Exception as e:
print(f"[!] Error querying CT logs: {e}")
return subdomains
if __name__ == "__main__":
TARGET = "nikita-infotech.com"
harvester = CertificateTransparencyHarvester(TARGET)
print("==========================================================================")
print(" PASSIVE OSINT: CERTIFICATE TRANSPARENCY ENUMERATION")
print("==========================================================================")
# In live research: results = harvester.harvest_subdomains()
# Simulated demonstration output:
simulated_subdomains = {
"api.nikita-infotech.com",
"dev-portal.nikita-infotech.com",
"mail.nikita-infotech.com",
"vpn.nikita-infotech.com",
"auth.nikita-infotech.com",
"staging-db.nikita-infotech.com"
}
print(f"[+] Total Subdomains Discovered: {len(simulated_subdomains)}")
for sub in sorted(simulated_subdomains):
print(f" βββ Discovered: {sub}")
print("[β] Zero packets sent to target infrastructure. Identity preserved.")
import dns.resolver
import dns.zone
import dns.query
class DnsZoneTransferTester:
"""
Tests authoritative nameservers for unauthenticated DNS Zone Transfers (AXFR).
AXFR is intended strictly for synchronizing master and slave DNS servers.
If misconfigured to allow public AXFR requests, it leaks the ENTIRE DNS zone database!
"""
def __init__(self, domain: str):
self.domain = domain
def execute_zone_transfer_audit(self):
print(f"[*] Discovering authoritative nameservers (NS records) for: {self.domain}...")
try:
ns_answers = dns.resolver.resolve(self.domain, 'NS')
nameservers = [ns.target.to_text().rstrip('.') for ns in ns_answers]
except Exception as e:
print(f"[!] Failed to resolve NS records: {e}")
return
print(f"[+] Found {len(nameservers)} authoritative nameservers: {nameservers}")
for ns in nameservers:
print(f"\n[*] Probing Nameserver: {ns} for AXFR over TCP port 53...")
try:
# Resolve NS hostname to IP
ns_ip = dns.resolver.resolve(ns, 'A')[0].to_text()
# Transmit AXFR query over TCP
zone_data = dns.zone.from_xfr(dns.query.xfr(ns_ip, self.domain, timeout=5))
print(f"[!] CRITICAL MISCONFIGURATION: AXFR Transfer SUCCEEDED on {ns} ({ns_ip})!")
print("--- DUMPED INTERNAL DNS ZONE RECORDS ---")
for name, node in zone_data.nodes.items():
rdata_records = node.rdatasets
for rdataset in rdata_records:
print(f" βββ {name}.{self.domain} [{dns.rdatatype.to_text(rdataset.rdtype)}] β {rdataset[0]}")
return
except dns.exception.FormError:
print(f" [β] SECURE: {ns} rejected AXFR transfer (FormError / Transfer Denied).")
except Exception as e:
print(f" [β] SECURE: {ns} refused AXFR: {type(e).__name__}")
if __name__ == "__main__":
auditor = DnsZoneTransferTester("nikita-infotech.com")
print("==========================================================================")
print(" DNS AXFR ZONE TRANSFER RECONNAISSANCE AUDIT")
print("==========================================================================")
auditor.execute_zone_transfer_audit()
site:, filetype:, inurl:, intitle:) used to identify exposed database backups, public configuration files, credentials, and administration consoles indexed by search engines.
ADVANCED GOOGLE SEARCH OPERATORS & RECONNAISSANCE DORKS:
1. CORE SEARCH SYNTAX OPERATORS:
β’ site:domain.com : Restricts search results strictly to target domain and subdomains.
β’ filetype:pdf / ext:sql: Filters results by file extension (.sql, .env, .log, .cfg, .bak).
β’ inurl:admin : Requires specified string to appear within the URL path.
β’ intitle:"Dashboard" : Requires specified string to appear within the HTML <title> tag.
β’ intext:"password" : Searches for exact keyword matches inside the indexed page body.
2. TARGETED ENTERPRISE DORK QUERIES:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β GOOGLE DORK QUERY STRING β ADVERSARIAL DISCOVERY OBJECTIVE β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β site:nikita-infotech.com filetype:env | filetype:yml β Finds publicly exposed .env files β
β intext:DB_PASSWORD | intext:AWS_SECRET_ACCESS_KEY β containing plaintext API/DB secrets! β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β site:nikita-infotech.com filetype:sql | filetype:bak β Discovers forgotten database dumps β
β intext:"INSERT INTO" | intext:"dump" β and schema backups on web roots. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β site:nikita-infotech.com inurl:gitlab | inurl:jenkins β Discovers unauthenticated internal β
β intitle:"Dashboard" | intitle:"Sign In" β CI/CD pipelines and code repos. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β site:nikita-infotech.com filetype:log intext:"error" β Discovers exposed system error logs β
β intext:"password" | intext:"exception" β containing user sessions and paths. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β site:nikita-infotech.com ext:doc | ext:docx | ext:pdf β Gathers organizational metadata, β
β intext:"CONFIDENTIAL" | intext:"INTERNAL USE ONLY" β employee names, and project reports. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ
SHODAN & CENSYS PASSIVE TELEMETRY SYNTAX SPECIFICATION:
1. SHODAN ADVANCED SEARCH FILTERS (shodan.io):
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β SHODAN FILTER QUERY β RECONNAISSANCE INTENT / OUTPUT β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β org:"Nikita Infotech" β Discovers all public IP addresses β
β β registered to organization. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β asn:AS65000 port:3389 β Locates all Remote Desktop (RDP) β
β β servers exposed across target ASN. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β hostname:*.nikita-infotech.com port:8080 β Finds secondary web development and β
β β management consoles on port 8080. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β ssl.cert.subject.CN:"api.nikita-infotech.com" β Discovers backend servers fronted β
β β by Cloudflare that leak origin IPs! β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ€
β "default password" product:"Apache Tomcat" β Locates Tomcat manager consoles with β
β β default credential banners exposed. β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββ
2. CENSYS SEARCH ENGINE QUERIES (censys.io):
β’ Querying by certificate hash:
services.tls.certificates.leaf_data.names: "nikita-infotech.com"
β’ Querying by exposed database services:
autonomous_system.asn: 65000 and services.service_name: {"MYSQL", "POSTGRES", "MONGODB"}
HOW SHODAN UNCOVERS CLOUDFLARE ORIGIN SERVERS:
1. An organization uses Cloudflare to hide its origin IP: api.nikita-infotech.com β 104.16.x.x
2. However, the origin server's direct IP (e.g. 203.0.113.88) still hosts the same SSL certificate!
3. Shodan crawls 203.0.113.88:443, reads the certificate CN: api.nikita-infotech.com, and indexes it.
4. Attacker queries Shodan: ssl.cert.subject.CN:"api.nikita-infotech.com" βββΊ Origin IP revealed!
5. Attacker bypasses Cloudflare WAF and DDoS protection by attacking 203.0.113.88 directly!
-sT), SYN Stealth Half-Open Scan (-sS), UDP Scan (-sU), and explains how Nmap differentiates Open, Closed, and Filtered port states based on returned flags.
NMAP SCANNING STATE MACHINE & PACKET EXCHANGES:
1. TCP SYN STEALTH SCAN (-sS - DEFAULT ROOT SCAN):
Half-open scan. The 3-way handshake is intentionally aborted before completion!
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Case A: PORT IS OPEN β
β Attacker ββββ[ TCP SYN ]βββββββββββββββββββββββββββββββββββββββββββββββββΊ Target Port 80 β
β Attacker ββββ[ TCP SYN-ACK ]ββββββββββββββββββββββββββββββββββββββββββββ Target Port 80 β
β Attacker ββββ[ TCP RST ]βββββββββββββββββββββββββββββββββββββββββββββββββΊ Target Port 80 β
β (Attacker sends immediate RST to tear down connection! Application never logs a completed session!)β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Case B: PORT IS CLOSED β
β Attacker ββββ[ TCP SYN ]βββββββββββββββββββββββββββββββββββββββββββββββββΊ Target Port 81 β
β Attacker ββββ[ TCP RST-ACK ]ββββββββββββββββββββββββββββββββββββββββββββ Target Port 81 β
β (Target operating system kernel explicitly signals port is closed). β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Case C: PORT IS FILTERED (FIREWALL PRESENT) β
β Attacker ββββ[ TCP SYN ]βββββββββββββββββββββββββββββββββββββββββββββββββΊ Target Port 22 β
β [FIREWALL SILENTLY DROPS PACKET] βββΊ Target receives nothing! β
β Attacker experiences TIMEOUT or receives ICMP Type 3 Code 13 (Admin Prohibited). β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2. TCP FULL CONNECT SCAN (-sT - UNPRIVILEGED SCAN):
β’ Executes the complete 3-way handshake via the OS socket API: connect()
SYN β SYN-ACK β ACK β RST-ACK
β’ Slower, easily detected, and logged in application server connection logs.
3. UDP PORT SCAN (-sU):
β’ Sends raw, empty UDP probes.
β’ If UDP port is OPEN : Usually returns NO RESPONSE (Stateless) or application data.
β’ If UDP port is CLOSED : Target kernel returns ICMP Port Unreachable (Type 3, Code 3).
β’ If FIREWALL is present: Filtered (Timeout / No response). Extremely slow due to ICMP rate limits!
-sV), OS Detection (-O), Timing templates (-T0 to -T5), Nmap Scripting Engine (--script), and packet fragmentation flags.
# ==============================================================================
# ENTERPRISE NMAP AUDITING COMMAND EXECUTIONS:
# ==============================================================================
# 1. RAPID FULL-TCP PORT AUDIT ACROSS ALL 65,535 PORTS:
# -p- : Scans all ports 1 through 65535 (Default Nmap only scans top 1000 ports!)
# --min-rate : Sends minimum 1000 packets/second to complete scan in seconds
# -T4 : Aggressive timing template (Optimized for reliable modern networks)
# -n : Disables reverse DNS resolution for speed
sudo nmap -sS -p- --min-rate 1000 -T4 -n -v 198.51.100.25 -oA full_port_audit
# 2. DEEP SERVICE VERSION & OS FINGERPRINTING ON DISCOVERED PORTS:
# -sV : Probes open ports to determine software name and exact version string
# --version-intensity 9 : Maximum banner probing intensity
# -O : Enables TCP/IP stack fingerprinting (evaluates ISN, window sizes, options)
# -sC : Executes default safe Nmap Scripting Engine (NSE) scripts
sudo nmap -sS -sV -O -sC -p 22,80,443,3306,8080 198.51.100.25 -oA deep_service_audit
# 3. FIREWALL / IDS EVASION SCAN (FRAGMENTATION & DECOY IPS):
# -f : Splits TCP header into tiny 8-byte fragments to evade simple packet filters
# -D RND:5 : Generates 5 random decoy IP addresses to obscure true scanner IP in logs!
# --source-port 53 : Spoofs source port as DNS (UDP/53) to bypass legacy state rules
sudo nmap -sS -f -D RND:5 --source-port 53 -p 80,443 198.51.100.25
# 4. NMAP SCRIPTING ENGINE (NSE) VULNERABILITY AUDIT:
# --script vuln : Executes vulnerability detection scripts against open services
sudo nmap --script vuln -p 80,443,445 198.51.100.25
import socket
import concurrent.futures
from typing import Dict, Optional
class FastTcpPortScanner:
"""
Multi-Threaded TCP Connect Port Scanner:
Probes targeted ports concurrently and grabs application service banners.
"""
def __init__(self, target_host: str, timeout: float = 1.0):
self.target_host = target_host
self.timeout = timeout
self.target_ip = socket.gethostbyname(target_host)
def scan_single_port(self, port: int) -> Optional[Dict[str, str]]:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(self.timeout)
try:
# Attempt TCP 3-way handshake
result = sock.connect_ex((self.target_ip, port))
if result == 0:
banner = ""
try:
# Attempt simple service banner grab
sock.send(b"HEAD / HTTP/1.0\r\n\r\n")
banner = sock.recv(256).decode('utf-8', errors='ignore').strip()
banner = banner.split("\n")[0] # Read first line
except Exception:
banner = "Banner grab timed out"
return {"port": str(port), "status": "OPEN", "banner": banner}
except Exception:
pass
finally:
sock.close()
return None
def execute_scan(self, ports: list, max_threads: int = 50):
print(f"[*] Scanning {len(ports)} ports on {self.target_host} ({self.target_ip})...")
open_ports = []
with concurrent.futures.ThreadPoolExecutor(max_workers=max_threads) as executor:
future_to_port = {executor.submit(self.scan_single_port, p): p for p in ports}
for future in concurrent.futures.as_completed(future_to_port):
res = future.result()
if res:
open_ports.append(res)
print(f" [+] Port {res['port']:<5} OPEN β {res['banner'][:50]}")
print(f"\n[β] Scan Completed: Found {len(open_ports)} open TCP ports.")
if __name__ == "__main__":
TARGET = "127.0.0.1"
TEST_PORTS = [21, 22, 25, 53, 80, 443, 3306, 8080, 8443, 9000]
scanner = FastTcpPortScanner(TARGET, timeout=0.8)
print("==========================================================================")
print(" FAST MULTI-THREADED TCP BANNER SCANNER")
print("==========================================================================")
scanner.execute_scan(TEST_PORTS, max_threads=10)
RECONNAISSANCE ANTI-PATTERNS & DEFENSIVE HARDENING:
// ==============================================================================
// PITFALL 1: INFORMATIVE SERVER BANNER INFORMATION LEAKS
// DEFECT: Web server headers return exact OS and server version strings:
// Server: Apache/2.4.41 (Ubuntu) mod_ssl/2.4.41 OpenSSL/1.1.1f
// X-Powered-By: PHP/7.4.3
// RISK: Allows attackers to pinpoint exact CVEs without guesswork!
// REMEDIATION: Suppress server tokens in production configurations:
// In /etc/nginx/nginx.conf:
// server_tokens off;
// In /etc/apache2/conf-enabled/security.conf:
// ServerTokens Prod
// ServerSignature Off
// In /etc/php/8.x/fpm/php.ini:
// expose_php = Off
// ==============================================================================
// ==============================================================================
// DEFENSIVE CONTROL 2: PORT KNOCKING (HIDING SSH PORT 22 COMPLETELY)
// MECHANISM: Port 22 is CLOSED to all incoming traffic by default.
// When an authorized administrator sends a specific sequence of closed-port knocks
// (e.g. TCP 7000 β TCP 8000 β TCP 9000 within 5 seconds), the firewall dynamically
// opens port 22 specifically for the administrator's IP for 30 seconds!
// RESULT: Nmap scans show port 22 as "filtered" or "closed" to unauthorized scanners!
// ==============================================================================
// ==============================================================================
// DEFENSIVE CONTROL 3: RATE-LIMITING SYN SWEEPS VIA IPTABLES
// Blocks aggressive port scanners (Nmap -T4/T5) automatically at the network edge:
// iptables -A INPUT -p tcp --syn -m hashlimit \
// --hashlimit-above 10/sec --hashlimit-burst 20 \
// --hashlimit-mode srcip --hashlimit-name port_scan_block \
// -j DROP
// ==============================================================================
RECONNAISSANCE & OSINT SPECIFICATION MATRIX:
βββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ¬βββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
β METHODOLOGY / TECHNIQUE β DATA SOURCE / TOOL β SCAN TYPE β PRIMARY INFORMATION OBTAINED β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββββββββ€
β Certificate Transparencyβ crt.sh / Google CT Logs β Passive (OSINT) β Subdomains, historical names, β
β Mining β RFC 6962 Merkle Trees β Zero Touch β internal staging hostnames β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββββββββ€
β Autonomous System / CIDRβ WHOIS, APNIC, ARIN, BGP view β Passive (OSINT) β IP address ranges, network β
β Mapping β bgp.he.net β Zero Touch β boundaries, peering providers β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββββββββ€
β Search Engine Dorking β Google Hacking Database β Passive (OSINT) β Leaked credentials, .env filesβ
β β (site:, filetype:, inurl:) β Zero Touch β exposed dashboards & backups β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββββββββ€
β Internet Telemetry β Shodan, Censys, ZoomEye β Passive (OSINT) β Exposed open ports, banners, β
β Search β Historical internet scans β Third-Party Data β Cloudflare origin IP leaks β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββββββββ€
β DNS Zone Transfer β dig AXFR @nameserver domain β Active Probing β Full internal DNS record map β
β (AXFR Query) β TCP Port 53 query β Direct Wire β (A, CNAME, MX, TXT records) β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββββββββ€
β TCP SYN Stealth Scan β nmap -sS -p- -T4 β Active Probing β Open, Closed, Filtered port β
β β Half-open handshake probes β Direct Wire β states across target host β
βββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββββββββ€
β Service & OS Detection β nmap -sV -O --version-all β Active Probing β Exact daemon software versionsβ
β β Banner grabbing / TCP stack β Direct Wire β and underlying OS kernel buildβ
βββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββ΄βββββββββββββββββββ΄ββββββββββββββββββββββββββββββββ€
β TOP 5 RECONNAISSANCE DEFENSIVE PRINCIPLES: β
β 1. Minimize External Attack Surface: Close or firewall ports that do not require public exposure. β
β 2. Suppress Service Banners: Disable software version identifiers across all web and database daemons. β
β 3. Restrict DNS Zone Transfers: Restrict AXFR queries to designated secondary nameservers only. β
β 4. Protect Cloud Origin IPs: Ensure cloud origin servers permit connections only from CDN IP ranges. β
β 5. Audit Public Data Leakage: Monitor public CT logs, search indexes, and Shodan entries regularly. β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ