net/go.book
All Parts Marketing

Cybersecurity & Ethical Hacking

Scanning, sniffing, vulnerability assessment, IDS/IPS, SIEM, malware analysis, red team vs blue team, honeypots, and PKI — for authorized, ethical use.

  1. Introduction to Cybersecurity in Networking"A network engineer builds roads between cities. A security engineer asks: who's allowed to drive on them, what happens if a truck crashes in the tunnel, and wh…
  2. Threat Modeling and Attack Surfaces"Before a locksmith recommends a single lock, they walk the whole building: every door, every window, every vent big enough for a cat. Threat modeling is that w…
  3. Common Network Attacks (DoS, MITM, Spoofing, etc.)"A pickpocket, a con artist, and a mob blocking the door all want different things, but they all exploit the same crowded street. Network attacks are no differe…
  4. Network Scanning and Enumeration with Go"Before a home inspector signs off on a house, they check every door, every window, and every outlet. Network scanning is that inspection, run against a machine…
  5. Packet Sniffing and Analysis with Go"A phone tap doesn't change the call — it just listens to a copy of it. Packet sniffing is the network equivalent: a quiet copy of every frame that crosses an i…
  6. Vulnerability Assessment and Exploitation Basics"Finding a crack in the wall is one skill. Judging whether that crack will bring the wall down is another. Vulnerability assessment is the second skill — and it…
  7. Building Simple Security Tools in Go"A carpenter doesn't buy a hammer for every job — sometimes the fastest fix is the one you make yourself, sized exactly to the problem in front of you."
  8. Penetration Testing Workflows"A fire drill isn't useful because you hope for a fire — it's useful because it proves the exits actually work. A penetration test is a fire drill for your netw…
  9. Incident Response and Forensics"A pentest asks 'can someone get in?' beforehand. Incident response asks 'someone got in — now what?' afterward. Both matter, but only one of them happens on th…
  10. Ethical Hacking and Legal Considerations"A locksmith who can open any door isn't a criminal — until they open a door that isn't theirs to open, or that no one asked them to. The lockpick is identical…
  11. Implementing TLS/SSL in Go"Every letter you've sent so far in this book traveled in a clear envelope anyone along the route could open and read. TLS is the sealed, tamper-evident envelop…
  12. Certificate Management and PKI"TLS promises the lock on the door is real. A certificate is the notarized paperwork proving the locksmith who installed it is who they claim to be. PKI is the…
  13. Secure Coding Practices in Go"Most break-ins in a building happen through a door that was left unlocked, not a wall someone tunneled through. Most exploited software bugs are the same: an o…
  14. Zero Trust Networking Concepts"The old model of network security was a castle: thick walls, one gate, and anyone inside the walls was assumed friendly. Zero trust assumes the castle has alre…
  15. Network Segmentation and Microsegmentation"A ship isn't built as one open hull — it's divided into watertight compartments, so a single puncture floods one section instead of sinking the whole vessel. N…
  16. IDS/IPS: Concepts and Go Implementations"A burglar alarm only tells you a window broke. A guard who slams the door shut before the intruder gets inside is a different job entirely. Intrusion Detection…
  17. SIEM and Log Analysis for Network SecurityA single firewall log tells you one connection was blocked. A single server log tells you one login succeeded. Neither tells you a breach happened. Put both in…
  18. Malware Analysis and Network IndicatorsMalware, like a biological pathogen, has to communicate to do damage at scale - it phones home for instructions, exfiltrates what it steals, or spreads to the n…
  19. Reverse Engineering Network ProtocolsImagine dropping into a foreign city with no dictionary, only a notebook. You can't read the signs, but you can watch what people do after each exchange - which…
  20. Red Team vs Blue Team: Concepts and LabsChess players get stronger by playing against opponents who actually try to beat them, not by studying the rulebook alone. Security teams are no different: a ne…
  21. Social Engineering in NetworkingYou can harden every firewall rule, patch every server, and encrypt every packet, and an attacker can still walk through the front door simply by asking politel…
  22. Wireless Network Security: Theory and AttacksWired traffic stays inside a cable; someone has to physically tap it to listen in. Wireless traffic is broadcast into the air for anyone with an antenna and no…
  23. IoT Security: Concepts and Go ImplementationsGive an intern full access to the building and no supervision, and you'd call it a management failure. Yet that's exactly how most IoT devices operate: network…
  24. Cloud Networking SecurityRenting an apartment in a large building means the landlord secures the front doors, the elevators, and the foundation, but you're still the one who has to lock…
  25. Container and Kubernetes Network SecurityContainers are like apartments sharing one building's plumbing and electrical system: each unit feels self-contained, but a serious enough problem in the shared…
  26. Bug Bounty and Responsible DisclosureFinding an unlocked door on someone's building puts you in an interesting position: you can walk away, you can shout about it from the rooftop, or you can knock…
  27. Security Automation with GoA single analyst can carefully review one alert at a time, forever, or a script can watch every alert continuously and only interrupt a human when something act…
  28. Building a Custom Honeypot in GoA honeypot is a fake vault sitting next to the real one, wired with an alarm and a camera. Nobody with legitimate business ever has a reason to open it, so any…
  29. Simulating Attacks and Defense in Lab EnvironmentsA flight simulator doesn't just train pilots on the easy days - it deliberately throws engine failures and storms at them, over and over, in an environment wher…
  30. Case Studies: Real-World Network BreachesEvery concept in this part of the book - segmentation, IDS/IPS, patching discipline, least privilege, social engineering awareness - exists because a real organ…
  31. Emerging Threats and Future Trends in Network SecurityEvery technique in this book represents the current state of an arms race that never actually ends - each generation of defenses reshapes what the next generati…
  32. Further Cybersecurity Resources"Thirty-one chapters is enough to learn to read a map. It's not enough to know every road. Here's where to keep exploring, both alongside the rest of this book…