Networking Concepts

From HackOps
Revision as of 01:52, 29 May 2025 by Vegard (talk | contribs) (Created page with "== Networking Concepts == Networking is the backbone of all digital communication. Understanding how systems connect, route data, and expose services is foundational for both attackers and defenders. === Core Concepts === * OSI Model and TCP/IP Stack * IP Addressing (IPv4 vs IPv6), CIDR Notation, Subnets * MAC Addressing and ARP Protocol * DNS Resolution and record types (A Record, CNAME, MX, TXT) * NAT, PAT, and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Networking Concepts

Networking is the backbone of all digital communication. Understanding how systems connect, route data, and expose services is foundational for both attackers and defenders.

Core Concepts

Transport & Application Protocols

IPv6 Considerations

Port Overview

Understanding ports and services is critical for network reconnaissance and service identification. Each service typically runs on a well-defined port.

Port Protocol Common Service Description
20, 21 TCP FTP File Transfer Protocol – used for transferring files
22 TCP SSH Secure Shell – remote access to systems
23 TCP Telnet Unencrypted remote login service
25 TCP SMTP Simple Mail Transfer Protocol – sending emails
53 UDP/TCP DNS Domain Name System – resolves domain names to IP addresses
67, 68 UDP DHCP Dynamic Host Configuration Protocol – assigns IP addresses
80 TCP HTTP HyperText Transfer Protocol – standard web traffic
110 TCP POP3 Post Office Protocol – retrieving emails
123 UDP NTP Network Time Protocol – clock synchronization
143 TCP IMAP Internet Message Access Protocol – email retrieval
161, 162 UDP SNMP Simple Network Management Protocol – device monitoring
443 TCP HTTPS Encrypted HTTP using TLS
445 TCP SMB Server Message Block – file and printer sharing on Windows
3306 TCP MySQL Database service for MySQL
3389 TCP RDP Remote Desktop Protocol – Windows remote access
8080 TCP HTTP-Alt Often used for proxy or secondary web services

Diagnostic & Monitoring Tools

Packet Crafting & Manipulation

Tunneling & Encapsulation

Network Security Devices & Controls

Protocol References

Packet Capture & Analysis

  • tcpdump (command-line packet sniffer)
  • Wireshark (detailed packet-level inspection)
  • pcap files and offline analysis
  • Common filters: `tcp.port == 80`, `ip.addr == 192.168.1.1`, `dns.qry.name`

Network Mapping & Visualization