Scanning

Password: hsaad.gitbook.io

TCP Behavior

  • send=SYN, recieve=SYN-ACK

    • Port Open

  • send=SYN, recieve=RST-ACK

    • Port Close

  • send=SYN, recieve=ICMP-Port-Unreachable

    • Blocked by Firewall (Filtered)

  • send=SYN, recieve=Nothing

    • Blocked by Firewall (Filtered)

UDP Behavior

  • send=UDP, recieve=UDP-response

    • Port Open

  • send=UDP, recieve=ICMP-Port-Unreachable

    • Port Close OR Blocked by Firewall

  • send=UDP, recieve=Nothing

    • Port Close OR Blocked by Firewall OR Port Open but it is looking for specific data in UDP payload, nmap result: (Open|Filtered)

Port Scanning

  1. ARP protocol if (local network).

  2. ICMP protocol if (run as root).

  3. TCP protocol on port 443 through SYN packet.

  4. TCP protocol on port 80 through ACK packet.

Host Discovery
Port Scanning
Top 10 Ports Scanning

Vulnerability Scanning

Enumeration

FTP (21)

SMTP (25)

HTTP/HTTPS (80,443)

Note: Hostnames may be found in SSL Cert or DNS or Source Code.

POP3 (110)

RPCbind (111)

SMB (139,445)

NFS (2049)

MySQL (3306)

Disctcc (3632)

Redis (6379)

DNS (53)

NTP (123)

SNMP (161)

Last updated