Social Engineering 101: Patterns and Red Flags
The manipulation patterns attackers use: authority, urgency, fear and impersonation. The red flags for each, and the countermove that defeats them.
Read the guideThe internet is basically a planet-sized delivery system for data, and security is the rulebook that keeps the parcels from being stolen, swapped, or rerouted. When you open a website or an app, your device doesn't “go to the internet” like a place. It starts a chain of lookups and connections across many networks. Understanding security here means understanding the core plumbing: IP addresses (where to send), DNS (how names become addresses), ports (which door to knock on), and HTTP/HTTPS (what language the conversation uses, and whether it's protected).
Fundamentals · 5 min read · Published 2025-12-31
Every device on a network needs an address so packets can find it. That address is an IP address (IPv4 like 203.0.113.10, or IPv6 like 2001:db8::1). Routers move your packets hop by hop toward the destination IP, like a relay race with GPS directions at each checkpoint. Security-wise, IP is powerful but blunt: attackers can scan ranges of IPs to find exposed systems, and defenders use IP-based controls like firewalls, allowlists and denylists, geo-blocking, and rate-limiting. But IP alone is not identity, addresses can be shared through NAT, change often, or be spoofed in some scenarios, so modern security treats IP as a signal, not a guarantee.
Humans don't type IP addresses, so we use DNS, the internet's phonebook. When you type example.com, your device asks a resolver for the IP linked to that name. That resolver may query other DNS servers in a chain (root, then TLD, then authoritative) until it gets an answer, then caches it to speed up future requests. DNS is a huge security choke point: if an attacker can poison or manipulate DNS, they can redirect you to a fake site even when you typed the correct domain. That's why protections like DNSSEC exist, and why organizations monitor for lookalike domains, suspicious DNS traffic, and unexpected record changes.
Ports are like numbered doors on a building where different services live. An IP address gets you to the building; the port number tells you which door to use. Web traffic usually goes to port 80 (HTTP) or 443 (HTTPS), SSH is typically 22, and databases often have their own. Ports matter because open ports are open opportunities: attackers scan them to discover services, versions, and misconfigurations. Defenders close doors with firewalls, security groups, and zero-trust access, exposing only what's needed and keeping sensitive services off the public internet. Even inside a private network, port segmentation helps contain damage when something goes wrong.
Once the address, name resolution, and door are set, your browser speaks HTTP. It is the set of rules for requests and responses: your browser sends a request like GET /login and the server replies with HTML, JSON, images, or error codes. HTTP by itself is like sending postcards, readable by anyone who can intercept them. That's why classic risks include credential theft on open Wi-Fi, session hijacking, and content tampering. Even without any clever tricks, unencrypted HTTP leaks metadata and can expose sensitive URLs, tokens, or personal information.
HTTPS is HTTP with a security suit on top: TLS encrypts the conversation between your browser and the server. During the TLS handshake, the server proves its identity using a certificate issued by a trusted Certificate Authority, and both sides agree on encryption keys for that session. This prevents eavesdropping and makes tampering extremely difficult. HTTPS gives you confidentiality and integrity, and when certificates are validated correctly it helps ensure you're talking to the real site. But HTTPS isn't a magic shield: it secures the pipe, not the content's intentions, so a phishing page can still be perfectly “secure” in the encryption sense.
This is where many real-world security controls sit. Firewalls decide which IPs and ports can talk, web application firewalls inspect HTTP and HTTPS patterns for attacks, and proxies or CDNs filter or absorb malicious traffic. On the application side, developers harden HTTP usage with secure cookies, CSRF protections, strict authentication, and safe headers such as HSTS, CSP, and X-Content-Type-Options. Meanwhile defenders watch logs for odd spikes in DNS queries, port scans, unusual HTTP user agents, repeated failed logins, and requests that look like injection attempts.
Here is the whole story in one sentence: you type a URL, DNS translates it into an IP, your device connects to that IP on a specific port (usually 443), and then your browser and the server exchange HTTP messages inside an encrypted TLS tunnel. If any layer is weak, attackers can exploit it, DNS hijacking reroutes you, open ports expose services, insecure HTTP leaks data. Good security stacks protections across layers: hardened DNS with monitoring, minimal exposed ports, strong TLS configuration, and application defenses that assume the internet is a noisy place full of curious hands.
The best way to remember this is: IP is where, DNS is who, ports are which service, and HTTP/HTTPS is what you say and whether it's private. If you're learning security, these four concepts are your base map. Everything else, phishing, malware delivery, DDoS, credential stuffing, API abuse, even many cloud breaches, ultimately rides these rails. Learn the rails, and you'll start seeing the internet not as magic, but as a very fast, very literal system that rewards careful locks, clear labels, and good surveillance.
The manipulation patterns attackers use: authority, urgency, fear and impersonation. The red flags for each, and the countermove that defeats them.
Read the guideWhat network penetration testing is, the five phases of an engagement, the vulnerabilities it commonly finds, the tools testers use, and nine worked examples.
Read the guideHow a web application penetration test is scoped, executed and reported, and how each phase maps to the OWASP Top 10 categories testers look for.
Read the guideThese guides cover the concepts. Our courses put you in front of the tools, on real systems, with an instructor who does this work for a living.