๐Ÿ  Course Library๐Ÿ›ก๏ธ Cybersecurity CourseLEVEL 3 of 4โฌ… Cyber DefenderNext: Security+ Practice Range โžก

๐Ÿ—ผ Watchtower Academy: Become a Cyber Guard!

Kid or grown-up โ€” same tower, same badge. ๐Ÿ… Today you'll learn the CORE so deeply it becomes instinct: switches that make letters ๐Ÿ’ก, doors with numbers ๐Ÿšช, parcels inside parcels ๐Ÿ“ฆ, diaries that catch thieves ๐Ÿ“– โ€” then you'll INVENT YOUR OWN alarm rule like real security engineers do! ๐Ÿงช

1 Welcome to the Watchtower

Your job: WHO is knocking, and should we open? ๐Ÿšช๐Ÿค”

Imagine a tall tower over a city of piggy-bank buildings ๐Ÿท๐Ÿข. All day and all night, little alarms fly up to your window: "a door opened at 3am!" ยท "someone tried 50 wrong passwords!" ยท "a big file just left the country!" Your job isn't to fix every alarm โ€” it's to TRIAGE.

๐ŸฅTRIAGE = the nurse's superpower

When many patients rush in, the nurse decides in seconds: bleeding badly โ†’ rush in! small cut โ†’ wait. You do that with alarms: real or false? how bad? who acts, how fast?

๐ŸชœThe ladder you'll climb

Tier 1 (you start here): watch alarms, first triage, pass on the real ones. Tier 2: dig deep & contain. Tier 3: hunt hidden attackers & build better alarms.

๐Ÿ’›Steady beats genius

Calm + checklist + noticing small strange things + clear notes. Those are habits, not gifts โ€” and habits can be practised. Which means this job is learnable by YOU.

Age doesn't matter to the gate. Only whether you show up to watch it. ๐ŸŒŸ
2 The Core, Part 1 โ€” Switches Make Letters

Tap the bulbs and BUILD a letter out of light! ๐Ÿ’ก

Everything a computer knows is built on one idea: a switch that's off (0) or on (1) โ€” we call it a bit. Why only two? Because a wire either has power or it doesn't โ€” no confusion, no arguing! Group 8 bits = 1 byte, and you can make 256 patterns โ€” enough for every letter. Tap bulbs to make 65 and watch the letter A appear!

๐Ÿ‘‡ Tap the bulbs! Each is double the one before it. Add the ON ones together:

switches: 00000000
= 0  โžœ  letter: โ€”
๐Ÿ’ก Every bulb doubles: 1, 2, 4, 8, 16, 32, 64, 128. That's ALL of computing's ground floor!
3 The Core, Part 2 โ€” Doors With Numbers

Every server is a building with numbered doors ๐Ÿšช

One server does many jobs at once โ€” serving pages, taking email, allowing remote control. How does it keep them apart? Numbered doors, called PORTS. A guard who knows the doors by heart can spot a stranger instantly. Tap each door:

๐Ÿšช Tap a door to hear who lives behind it!
๐Ÿ”‘ THE MASTER KEY โ€” learn this line and you've unlocked the job:
102.89.44.10:51200  โžœ  10.0.0.5:22

๐Ÿ‘‰ "Someone at 102.89.44.10, using their door 51200, is knocking on OUR server 10.0.0.5, at door 22 (SSH โ€” the remote control!)." Is that normal? That's the question you'll ask a thousand times. ๐Ÿ•ต๐Ÿพ

4 The Knock's Journey

A message is a parcel inside a parcel inside a parcel ๐Ÿ“ฆ

Messages don't teleport โ€” they get wrapped in layers like a gift inside a box inside a bag. Engineers call this the OSI model. You don't need to memorise 7 names โ€” you need the story. Tap to unwrap:

๐Ÿ“ฆ Tap a wrapper to peel it off and see inside!
5 Read the Server's Diary

Spot the strange line โ€” this is the job, every day ๐Ÿ“–๐Ÿ”

Every server keeps a diary. Each entry is a log. Guards read diaries all day hunting the ONE strange sentence. Tap the line that should worry you most:

๐Ÿ” Read every line... which one is the danger?
๐Ÿ“– pages: 0
6 Triage Drills โ€” Make the Call!

Real alarms. Your decision. Again and again until it's instinct ๐ŸŽฏ

Every single alarm, same 2 questions: (1) How bad? (2) What do I do? Do these enough times and your hand moves before your brain finishes reading โ€” that's what "doing it in your sleep" really means. ๐Ÿ˜ด

7 The Inventor's Lab ๐Ÿงช

Now INVENT your own alarm rule โ€” like a real engineer! โš—๏ธ

Guards don't only watch alarms โ€” the best ones build them. A detection rule is just a sentence: "IF this happens THIS many times in THIS long, RING THE BELL!" Set your dials, then test your invention against 5 real situations. Catch the attacks... without waking everyone for nothing!

โš—๏ธ Build your rule โ€” set the dials:
RULE: "My First Alarm"
  IF a happens
  MORE THAN times
  FROM
  WITHIN
  THEN ๐Ÿ”” RING THE BELL!
โš–๏ธ The Inventor's Dilemma (every engineer lives here!)

Too loose ๐Ÿ””๐Ÿ””๐Ÿ”” โ†’ you catch every attack, but the bell rings for every innocent typo. Soon everyone ignores the bell โ€” that's called alert fatigue, and it's how real companies get hacked.
Too tight ๐Ÿคซ โ†’ nobody is disturbed... and the thief strolls right past you.
The art = the middle. Catch thieves, spare the innocent. That's a real job title: Detection Engineer โ€” and you just did it!

8 ๐Ÿ”ฆ Check Your OWN Doors

Real commands, on a real machine โ€” starting with yours! ๐Ÿ–ฅ๏ธ

Everything so far was practice. Now the real thing: two commands that tell you which doors are open on your own computer. A real analyst runs these on day one of any job.

๐Ÿ–ฅ๏ธ Command 1 โ€” is the Windows remote-screen door open?
C:\Users\You> netstat -ano | findstr :3389
(nothing came back โ€” an empty line)
๐ŸŽ‰ Empty is the BEST answer!

Nothing is listening on 3389 โ†’ Remote Desktop is OFF. The door isn't just locked, it doesn't exist. In security, silence is an answer โ€” a beginner thinks "it failed," an analyst reads "no listener found."

๐Ÿ”ง Command 2 โ€” but is the TOOL even working? Test your instrument!
C:\Users\You> netstat -ano | findstr :445
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP [::]:445 [::]:0 LISTENING 4

โœ… Lines appeared here โ†’ the tool works โ†’ so the earlier silence was real. That habit โ€” test your instrument before trusting its silence โ€” separates an analyst from a guesser. ๐Ÿ•ต๐Ÿพ

๐Ÿ” Now read the line like an analyst โ€” every piece means something:
TCP the polite protocol โ€” the one with the 3-step handshake ๐Ÿค
0.0.0.0:445 0.0.0.0 = EVERY network card โ€” anything that can reach this laptop can touch this door
0.0.0.0:0 the far side is empty โ€” nobody is connected right now, it's just waiting
LISTENING the door is open and someone is behind it ๐Ÿ‘‚
4 the process ID โ€” PID 4 on Windows = System itself (that's why you can't kill it!)
[::] the same door in IPv6 โ€” the newer, longer address system
๐Ÿฆ  Behind door 445 = SMB (file & printer sharing)

Normal on a Windows laptop. But every analyst remembers 445, because in 2017 the WannaCry ransomware spread worldwide through it โ€” UK hospitals had to cancel operations.
๐Ÿ‘‰ 445 on your home network = normal. 445 reachable from the internet = emergency.

๐Ÿง  Your homework tonight: run netstat -ano | findstr LISTENING and read every line asking ONE question: 0.0.0.0 (open to the network) or 127.0.0.1 (talking only to itself)? That single distinction is genuine Tier-1 skill.

๐Ÿข Now scan a pretend company โ€” and FIX what you find!

You've been hired to check "Mango Foods Ltd." Press scan, read the doors, then choose how to fix the dangerous one:

โš–๏ธ THE LINE YOU NEVER CROSS

Scan only machines you own, or have written permission to test. Scanning someone else's computer is a criminal offence in many countries โ€” including Nigeria under the Cybercrimes Act โ€” even if you "just looked." That line is what separates an analyst from a suspect. ๐Ÿ›ก๏ธ

9 โŒจ๏ธ Where Did the Command Line Come From?

You just used a 1973 invention! ๐Ÿคฏ

That little | symbol in your command has an inventor, a birthday, and a story โ€” and so does every other piece of it. Meet the people who built the way we talk to computers:

๐Ÿ–จ๏ธWhy "terminal"? A real typewriter!

Early computers were huge, so people typed on a teletype โ€” an electric typewriter on a wire. You typed a line; the computer printed back on paper. That's why Linux still calls terminals "tty" โ€” short for teletype! ๐Ÿ“œ

๐ŸฅœKen Thompson & the SHELL (1969-71)

At Bell Labs, Thompson built Unix (with Dennis Ritchie, who invented the C language to write it). Their brilliant choice: the part that reads your commands isn't locked inside โ€” it's a separate, replaceable program called a shell, because it wraps the machine like a shell around a nut. ๐ŸŒฐ

๐Ÿ”Bourne โ†’ Bash (1979 โ†’ 1989)

Because shells were replaceable, better ones came: Stephen Bourne's shell (1979), then Brian Fox's free version for GNU (1989) โ€” named Bash, the "Bourne Again SHell" (a joke on "born again" ๐Ÿ˜„). Bash runs millions of servers today โ€” including our mini cloud!

๐ŸชŸThe Windows branch

COMMAND.COM (MS-DOS days) โ†’ cmd.exe (the black box you just used!) โ†’ PowerShell (2006, created by Jeffrey Snover), which passes whole objects around instead of plain text.

๐ŸšฟTHE PIPE | โ€” Doug McIlroy, 1973

Proposed by Doug McIlroy, added by Thompson in one night. The idea: don't build one giant program โ€” build many small ones that each do ONE thing well, then connect them like garden hoses so output flows into the next. ๐Ÿคฏ

You used it! netstat poured out ALL connections โ†’ the hose | โ†’ findstr caught only lines with your port. A 50-year-old philosophy, in your hands.
๐Ÿ’ฒWhy the prompt looks like that

C:\Users\You> or glory@server:~$ โ€” the prompt is the computer saying "I'm ready, and here's where you're standing." The ~ means "your home folder" and $ means "ordinary user" (# means you're the boss โ€” be careful!). ๐Ÿšฆ

๐Ÿง  How the computer READS your command โ€” step by step

Press the button and watch your own command get taken apart, exactly the way the machine does it:

netstat
-ano
|
findstr :3389
๐Ÿ‘† Press "Run the parser" to see the 5 steps the shell takes.
10 ๐Ÿ”ข How Letters Become 01001000

The exact recipe โ€” do it yourself, by hand! โœ๏ธ

You've flipped bulbs; now let's do the maths, so you can turn ANY letter into binary on paper, with no computer at all. Two methods โ€” both give the same answer:

โš™๏ธ The Encoder โ€” type any word:
1๏ธโƒฃMethod 1 โ€” SUBTRACT (fastest)

Write the 8 values: 128 64 32 16 8 4 2 1. Walk leftโ†’right asking: "can I subtract this?" Yes โ†’ write 1 and subtract. No โ†’ write 0.

65: 128? noโ†’0 ยท 64? YESโ†’1 (5 left... 1 left) ยท 32?noโ†’0 ยท 16?noโ†’0 ยท 8?noโ†’0 ยท 4?noโ†’0 ยท 2?noโ†’0 ยท 1?YESโ†’1 = 01000001 = A โœ…
2๏ธโƒฃMethod 2 โ€” DIVIDE by 2

Keep halving and writing the remainder, then read the remainders backwards. 65รท2=32 r1 ยท 32รท2=16 r0 ยท 16รท2=8 r0 ยท 8รท2=4 r0 ยท 4รท2=2 r0 ยท 2รท2=1 r0 ยท 1รท2=0 r1 โ†’ backwards = 1000001 โ†’ pad to 8 = 01000001 โœ…

๐ŸคWhy 8, and who decided A=65?

8 switches = 256 patterns โ€” enough for every English letter, digit and symbol with room to spare. And A=65? People agreed it, in committee meetings in the 1960s, creating ASCII โ€” so every computer on Earth would read the same list. Today's Unicode extends it to every language and emoji! ๐ŸŒ

8 The Honest Path to the Badge

5 stops from today to your first job ๐Ÿชœ

1๐ŸŽ“ Master the foundations

This lesson + the Gateman lesson. Redo every drill until perfect scores. You started today!

2๐ŸŒ Basic networking

IP, TCP/UDP, DNS, subnets โ€” how knocks travel. You now have the base to follow any free course.

3๐Ÿ“œ One starter certificate

CompTIA Security+ is the respected entry cert. Paid exam, self-study friendly, no degree needed. Check current price first!

4๐ŸŽฏ Free practice ranges

Legally defend pretend companies. Real experience without a job โ€” write up every exercise; that log becomes your portfolio.

5๐Ÿ’ผ Apply wide

Search: "SOC Analyst Tier 1", "Security Analyst", "IT Support (Security)", "Junior Threat Analyst". NG: banks, fintechs, telecoms, MSSPs.

๐Ÿ… The Watchtower Oath โ€” say it out loud!

๐Ÿง˜๐Ÿพ I will be STEADY before I am clever โ€” a calm guard sees what a clever panic misses.
๐Ÿ” I will practise the BORING drills โ€” that's how instinct is grown.
๐Ÿท I will guard others' piggy banks like my own โ€” trust IS the job.
๐Ÿ›ก๏ธ I will use what I know to PROTECT, never to harm โ€” a guard who steals is just a thief with a badge.
๐Ÿงช When nobody has solved it, I'll INVENT the alarm โ€” someone must build it... it can be me!
โญ๐Ÿ›ก๏ธ๐Ÿ—ผ๐Ÿ›ก๏ธโญ
๐Ÿ—ผ You now hold the CORE: switches make letters ๐Ÿ’ก โ†’ letters travel through numbered doors ๐Ÿšช โ†’ wrapped in parcels ๐Ÿ“ฆ โ†’ recorded in diaries ๐Ÿ“– โ†’ judged by your triage ๐ŸŽฏ โ†’ and guarded by alarms YOU can invent ๐Ÿงช. Practise until it's boring. Boring means it's now instinct โ€” and instinct is what the tower pays for. ๐Ÿ