tonia.ai · Concepts

Network Attack Vectors

Three families of attack account for much of the damage on modern networks: floods that knock services offline, malware that spreads from host to host, and deception that persuades people to open the door themselves. Each targets a different weakness, and each needs a different defense.

01The map: what each attack goes after

availability Denial of service

Exhausts bandwidth, connection state, or CPU so legitimate users cannot be served. Needs no break-in at all.

integrity Malware propagation

Gets code running on one host, then uses network services, shared credentials, or files to reach the next.

confidentiality Phishing

Attacks the human: tricks someone into handing over credentials, approving a payment, or running a payload.

Phishing emailinitial access Malware runsfoothold Lateral spreadmore hosts Ransomware Botnet node→ future DDoS real campaigns chain vectors: one stage's output is the next stage's input
Defending only one stage leaves the chain intact. Breaking any link stops the campaign.

02Distributed denial of service

A denial-of-service attack wins by making a target spend more resources than it has. "Distributed" means the traffic comes from thousands of sources at once, so blocking one address does nothing and the aggregate can exceed any single link's capacity.

Target link bandwidth connection / state tables CPU / app threads / DB VolumetricUDP, ICMP, amplified floods ProtocolSYN flood, fragment floods Application layerHTTP floods, slow requests measured in Gbps / Tbps measured in packets/sec measured in requests/sec; looks like real users
Each class needs a different defense: capacity for volume, state protection for protocol abuse, behavioral filtering for application floods.

The SYN flood

A TCP server allocates state when it receives a SYN and waits for the final ACK. Send millions of SYNs from spoofed addresses and the half-open table fills, so real clients are refused. SYN cookies defend by encoding the state into the server's sequence number and allocating nothing until a valid ACK returns.

03Reflection and amplification

UDP has no handshake, so the source address is not verified. An attacker sends small requests to public servers with the victim's address forged as the source. The servers send their much larger replies to the victim. The attacker's bandwidth is multiplied, and the traffic arrives from legitimate servers that cannot simply be blocked.

Attackersrc = victim open DNS resolverNTP servermemcached / CLDAP tiny query Victim huge reply amplification factor = reply bytes ÷ request bytes, from tens to tens of thousands depending on protocol
Two root causes: networks that let spoofed packets out, and servers that answer anyone with big responses.

The systemic fix is source address validation (BCP 38): every network drops outgoing packets whose source address is not one of its own. Every network that does this removes itself as a launch pad, but it only works if nearly everyone participates, which is why amplification persists.

04Botnets

A botnet is a fleet of compromised machines that obey a remote operator. The same infrastructure rents out DDoS, sends spam and phishing, mines cryptocurrency, proxies criminal traffic, and stuffs stolen credentials into login pages.

Centralized C2 Peer-to-peer C2 C2 server simple, fast · take down the server, the botnet goes silent commands relayed peer to peer · no single point to seize
Operators add resilience with domain-generation algorithms, fast-flux DNS, and C2 hidden in ordinary HTTPS or cloud services.

IoT devices made botnets cheap: cameras and routers with default passwords, no updates, and constant internet connections. The 2016 Mirai botnet recruited hundreds of thousands of them simply by trying a short list of factory credentials over Telnet.

05Defending against DDoS

You cannot out-filter a flood that is larger than your own pipe. Volumetric defense has to happen upstream, where capacity is bigger than the attack.

botnet Anycast scrubbingCDN / provider edgeabsorbs volume acrossmany data centers ISP / edgeACLs, RTBH,FlowSpec On-premrate limits, WAF Service each layer strips what it can; only clean traffic should reach the service
RTBH (remotely triggered black hole) drops all traffic to the victim: it ends the flood but also completes the denial of service, so it is a last resort.

Before an attack

Contract upstream mitigation, overprovision, put public services behind a CDN, hide origin IPs, and rehearse the runbook.

During

Classify the attack type, divert to scrubbing, rate-limit per client, challenge suspicious HTTP clients, and keep status communications going.

Architecture

Autoscaling and caching help with application floods but can turn a DDoS into a large cloud bill; set budget alarms.

06How malware spreads

TypeSpreads byNeeds a user?Network defense
WormExploiting a network service, then scanning for moreNoPatching, segmentation, block exposed services
VirusInfecting files that people share or runYesEndpoint protection, application allow-listing
TrojanPosing as legitimate software or an attachmentYesEmail/web filtering, user awareness
Lateral movementReusing stolen credentials, remote admin toolsNoLeast privilege, MFA on admin paths, internal monitoring
Supply chainRiding a trusted software updateNoIntegrity checks, vendor scrutiny, egress monitoring

Modern malware avoids detection rather than just spreading: polymorphic code changes its bytes on every copy, fileless techniques run in memory using built-in tools like PowerShell, and living off the land uses legitimate admin utilities so the activity looks routine.

07Worm dynamics

A scanning worm follows the same curve as an epidemic. Each infected host probes random addresses; early on, nearly every hit is a new victim, so growth is exponential. As the vulnerable population is used up, growth flattens into an S-curve.

time % vulnerable hosts infected unchecked with patching + rate limits exponential phase: minutes
The 2003 Slammer worm infected most vulnerable hosts in about ten minutes, faster than any human response. Containment has to be automatic or prepared in advance.

Defenses work by changing the curve's parameters: patching shrinks the vulnerable population, segmentation limits what each infected host can reach, and scan rate limiting slows the contact rate enough for responders to act.

08Phishing and social engineering

Phishing bypasses technical controls by persuading a legitimate user to act. It works because it exploits predictable human responses rather than software bugs.

From: IT Support <it@examp1e-help.com> Subject: Password expires in 2 hours Your account will be locked today. Verify now to avoid losing access: Verify account → https://login.examp1e-help.com/sso — IT Service Desk look-alike domain urgency fear of loss link ≠ real login one-click action
Authority, urgency, and fear crowd out careful checking. The HTTPS padlock on the fake login page proves nothing about who runs it.

Spear phishing

Personalized using public information about the target's role, colleagues, and projects.

Business email compromise

Impersonates an executive or vendor to redirect payments. Often no link or malware at all, just a convincing request.

Credential harvesting & AiTM

Fake login pages, increasingly as real-time proxies that relay the password and the MFA code to the real site.

Beyond email

SMS (smishing), voice (vishing), QR codes, collaboration chat, and help-desk impersonation to reset MFA.

09Defending against phishing

Email authentication

Plain SMTP lets anyone claim any sender. Three DNS-published standards let receivers check whether mail really came from the domain it claims:

StandardWhat it checksLimitation
SPFThe sending server's IP is listed by the envelope domainBreaks on forwarding; checks a hidden address, not the visible From
DKIMA domain's cryptographic signature over headers and bodyProves the signing domain, which may not be the visible From
DMARCSPF or DKIM passes and aligns with the visible From; tells receivers to quarantine or reject failuresDoes nothing against look-alike domains

Email authentication stops exact-domain spoofing. It cannot stop examp1e-help.com, which is why technical controls must be paired with people and process.

Phishing-resistant MFA

FIDO2 security keys and passkeys are bound to the real site's origin, so a proxy page cannot replay them. The single most effective control.

Filtering & isolation

Link rewriting and detonation, attachment sandboxing, blocking newly registered domains, and external-sender banners.

Process

Out-of-band verification for payment and banking changes; help desks that verify identity before MFA resets.

Culture

Easy, blame-free reporting. A user who reports quickly is worth more than one who never clicks.

10Case studies

Dyn DNS (2016)

Mirai-infected IoT devices flooded a major DNS provider, making large websites unreachable for hours even though their own servers were fine. Lesson: shared dependencies concentrate availability risk, and insecure consumer devices become everyone's problem.

WannaCry (2017)

A ransomware worm spread through an SMBv1 flaw for which a patch had been available for two months, disrupting hospitals and factories worldwide. Lesson: unpatched, flat networks let one infection become thousands.

Business email compromise

Year after year, FBI reports put BEC among the costliest cybercrimes, typically with no malware at all. Lesson: process controls on payments matter as much as technical filters.

11Common misconceptions

MythA firewall stops these attacks.
RealityFloods saturate the link before the firewall; phishing and malware arrive over permitted ports.
MythAntivirus catches malware.
RealitySignatures miss new and polymorphic samples and fileless techniques. Behavior monitoring and least privilege are needed too.
MythOnly careless people get phished.
RealityWell-crafted lures fool experts. Design systems so that one click cannot cause a breach.
MythWe're too small to be attacked.
RealityBotnets and phishing kits are automated and indiscriminate, and small firms are stepping stones to larger partners.

—References

Peer-reviewed

  1. Antonakakis, M. et al. (2017). Understanding the Mirai botnet. USENIX Security. usenix.org
  2. Dhamija, R., Tygar, J. D. & Hearst, M. (2006). Why phishing works. ACM CHI. doi:10.1145/1124772.1124861
  3. Ho, G. et al. (2019). Detecting and characterizing lateral phishing at scale. USENIX Security. usenix.org
  4. Kolias, C. et al. (2017). DDoS in the IoT: Mirai and other botnets. IEEE Computer, 50(7). doi:10.1109/MC.2017.201
  5. Mirkovic, J. & Reiher, P. (2004). A taxonomy of DDoS attack and DDoS defense mechanisms. ACM SIGCOMM CCR, 34(2). doi:10.1145/997150.997156
  6. Moore, D. et al. (2003). Inside the Slammer worm. IEEE Security & Privacy, 1(4). doi:10.1109/MSECP.2003.1219056
  7. Moore, D. et al. (2006). Inferring Internet denial-of-service activity. ACM TOCS, 24(2). doi:10.1145/1132026.1132027
  8. Paxson, V. (2001). An analysis of using reflectors for distributed denial-of-service attacks. ACM SIGCOMM CCR, 31(3). doi:10.1145/505659.505664
  9. Rossow, C. (2014). Amplification hell. NDSS. doi:10.14722/ndss.2014.23233
  10. Spafford, E. (1989). The Internet worm program: an analysis. ACM SIGCOMM CCR, 19(1). doi:10.1145/66093.66095
  11. Staniford, S., Paxson, V. & Weaver, N. (2002). How to 0wn the Internet in your spare time. USENIX Security. usenix.org
  12. Stone-Gross, B. et al. (2009). Your botnet is my botnet. ACM CCS. doi:10.1145/1653662.1653738
  13. Thomas, K. et al. (2017). Data breaches, phishing, or malware? ACM CCS. doi:10.1145/3133956.3134067

Standards and guidance