Skip to content
APEX FLOWACADEMY
MENU
Technology / beginner

Cybersecurity and Ethical Hacking: Fundamentals

Learn how attacks work and how to defend against them, using a practice lab you build and own

24 lessons6 modulesabout 7 hours10 workbook itemsbeginner
READ LESSON 1 FREE

One payment of $39. Instant online access to the full written course. No subscription. Refund policy.

What you will be able to do

You will understand how common attacks work and how to defend against them. You will practise only on a safe lab that you build on your own computer and fully own. You will finish with a written security assessment of that lab: what you found, how you proved it, how you fixed it and how you checked the fix.

Who it is for. Complete beginners who are curious about security: office workers, students, small-business owners, career changers and anyone who wants to understand how attackers think so they can defend better. You need no security or programming background. You only need to copy and run short scripts, and every one is explained.

You finish with. A Written Security Assessment of Your Practice Lab. A report of about four to eight pages that you could hand to the owner of a small web app. It states what you were allowed to test, what you found, how bad each problem is, how you proved it, how you fixed it and how you checked the fix. You build one part in every module, so the last lesson is assembly and checking, not a surprise.

Certificate. Finish every lesson, resolve every quiz question with at least 50% right on the first try, and tick the capstone checklist — Apex Flow Academy issues a verifiable Certificate of Completion with a unique ID and a public verification page. It is a certificate of completion, not a degree, licence, accreditation or exam result.

The path, module by module24 lessons
01 · Ground Rules and Your Practice Lab4 lessons

Learn the three goals of security, the one rule that separates ethical hacking from crime, how to build a lab on your own computer, and the plain words used to talk about risk.

  1. 1.1What Security Protects: The Three GoalsFREE
  2. 1.2Permission First: Scope and Rules of Engagement
  3. 1.3Build Your Practice Lab
  4. 1.4Risk in Plain Words
02 · What an Attacker Can See: Networks and the Web4 lessons

Understand ports and services, read a web request and response, list everything your lab exposes, and see what encryption does and does not protect.

  1. 2.1Addresses, Ports and Services
  2. 2.2How the Web Talks: Requests and Responses
  3. 2.3Your Attack Surface
  4. 2.4Encryption in Transit: What HTTPS Does and Does Not Protect
03 · How Attacks Start4 lessons

Follow the stages of an attack, learn to spot phishing, see how passwords are stored and guessed, and use file fingerprints to check that a download has not been changed.

  1. 3.1The Stages of an Attack
  2. 3.2Phishing and Social Engineering
  3. 3.3Passwords: How They Are Stored and Guessed
  4. 3.4Malware and File Fingerprints
04 · Testing Your Own Lab4 lessons

Use the OWASP Top 10 as a checklist, then find and prove four weaknesses in your own lab: SQL injection, cross-site scripting, broken access control and a forgeable cookie. Log each one as a finding with evidence.

  1. 4.1The OWASP Top 10 as Your Checklist
  2. 4.2SQL Injection: When Input Becomes a Command
  3. 4.3Cross-Site Scripting: When Text Becomes Code in the Browser
  4. 4.4Broken Access Control: Never Trust the Browser
05 · Fix It, Then Prove It Is Fixed4 lessons

Repair each weakness the right way, retest with the same attack that worked before, add a slow password hash and a guess limit, and turn on logs that let you see attacks as they happen.

  1. 5.1Fix Injection and Script Injection
  2. 5.2Fix Access Control and Sessions
  3. 5.3Fix Passwords: Slow Hashes and Guess Limits
  4. 5.4Logs and Safe Errors: See Attacks as They Happen
06 · Defend, Rate and Report4 lessons

Harden your own computer with a personal security baseline, rate and rank your findings, write a report that people act on, and finish the capstone assessment.

  1. 6.1Defense in Depth: Your Personal Security Baseline
  2. 6.2Rate and Rank Your Findings
  3. 6.3Write the Report So People Act on It
  4. 6.4Capstone: Assemble, Retest and Hand Over Your Assessment
Free preview · lesson 1.1No sign-up
Free lesson · 1.1

What Security Protects: The Three Goals

About 5 minStep 1 of 7 · You will be able toNo sign-up
Step 1 of 71 min read

You will be able to

  • Name the three goals of security and give one everyday example of each.
  • Say in one sentence what an ethical hacker does.
  • Explain what you will build by the end of this course.
Step 2 of 71 min read

Why this matters

Every security choice is a trade between three goals. If you cannot say which goal a rule protects, you cannot judge whether the rule is worth its cost. This lesson gives you those three words. It also shows you the road ahead, so nothing later comes as a surprise.

Step 3 of 72 min read

Learn it

Security is the work of keeping information and systems safe from harm. Experts sort that harm into three goals. Together they are called the CIA triad. (The letters here have nothing to do with any government agency.)

  1. Confidentiality means only the right people can see the data. Your medical record should not be readable by your neighbor.
  2. Integrity means the data is correct and only the right people can change it. A bank balance that anyone can edit has no integrity.
  3. Availability means the data and systems work when you need them. A shop website that is down on a busy day fails this goal.

An attacker usually aims at one goal. A data thief attacks confidentiality. Someone who quietly changes a payment list attacks integrity. Ransomware attacks availability. Ransomware is software that locks your files until you pay.

A hacker is a person who explores how systems work and makes them do things their makers did not plan. The word covers good and bad people. An ethical hacker, also called a penetration tester, tests a system with the owner's permission, reports the weak spots and helps fix them. A criminal makes the same moves without permission and to cause harm. Permission is the only difference that matters. The next lesson is all about it.

Here is how this course works. It has six modules and 24 lessons. Every lesson has the same six parts: what you will be able to do, why it matters, the teaching, a worked example, common mistakes and a check that tells you when you are done. Every module ends with a project piece. The pieces add up to one document: a written security assessment of a practice lab. You will build that lab on your own computer. You will test only that lab, then fix it, then write the report.

Plan for about 20 to 40 minutes a lesson. Do the hands-on task each time. Reading alone will not make the ideas stick.

Step 4 of 71 min read

See it in action

Example (illustrative): Maria runs a small dental office. She lists what matters most.

  • Patient records. Confidentiality matters most. A leak harms patients and breaks trust.
  • The appointment calendar. Integrity and availability both matter. A wrong time or a dead calendar means missed patients.
  • The front-desk computer. Availability matters most. If it fails, the whole office slows down.

Then she asks one question about each item: which goal would hurt most if it failed? That question shapes her plan. She locks down the records first. She sets up backups for the calendar second. She does not spend money on the front-desk computer until the first two are safe.

Notice that Maria did not start with tools. She started with what she must protect and why.

Step 5 of 71 min read

Common mistakes

  • Thinking security means secrecy. Secrecy is only one goal. A system nobody can use fails on availability. Fix: check all three goals every time.
  • Thinking every hacker is a criminal. This makes people afraid to learn. Fix: use the word attacker for the person who causes harm and ethical hacker for the person who has permission.
  • Skipping the notes. Every later module builds on what you write now. Fix: make the folder and the file below before you move on.
Step 6 of 71 min read

You are done when

You can write the three goals from memory with one example each. Your folder named secure-lab holds a file named assessment.md with your five items and your one-sentence answer.

Step 7 of 7

You finished the free lesson

That is one lesson from the course. The full course gives you every remaining lesson, a quick check and a hands-on task in each one, and the workbook of templates and checklists.

Full course$39

What you need
  • A Windows, Mac or Linux computer that you own, with permission to install software
  • Python 3, which is free from python.org. Any recent Python 3 should work; the lab code in this course was checked on Python 3.11. Nothing else needs to be installed, because the lab uses only tools that ship with Python
  • A plain text editor (Notepad, TextEdit in plain-text mode, or the free Visual Studio Code) and a web browser
  • About seven hours in total, spread over as many sittings as you like
  • Nothing in the core lessons costs money. Free extras for practice after the course, such as OWASP Juice Shop, need extra free software (Node.js or Docker), so check each project's current instructions and licences before you install anything
Before you start
  • You can install a program, save a text file and open a browser on your own computer
  • You can type a short command into a terminal window (Command Prompt, PowerShell, Terminal). Module 1 shows you where to find it
  • No security, networking or programming experience is needed
  • A computer that you own or fully control. Never use a work or school computer for the lab without written permission from its owner
The capstone

A Written Security Assessment of Your Practice Lab

A report of about four to eight pages that you could hand to the owner of a small web app. It states what you were allowed to test, what you found, how bad each problem is, how you proved it, how you fixed it and how you checked the fix. You build one part in every module, so the last lesson is assembly and checking, not a surprise.

  • A charter with your scope, your rules and a description of the lab (Module 1)
  • A system map: listening ports, web requests, an attack surface table and a note on encryption (Module 2)
  • Threat notes: an attack-stage map, a phishing rule, a password storage review and a file check routine (Module 3)
  • A findings log with at least seven findings, each with where it is, how to reproduce it, evidence and impact (Modules 3 and 4)
  • A fix and retest log showing the original attack and the result after each fix, plus a working log-watching script (Module 5)
  • A personal security baseline checklist for your own computer, with each item marked done or not done (Module 6)
  • The final report: a plain-language executive summary, a ranked findings table, a fix plan and the retest results (Module 6)
Key terms taught25
Asset
Anything you want to protect: data, a device, an account or a service.
Threat
A person or event that could cause harm to an asset, such as a thief, a mistake or a power cut.
Vulnerability
A weakness that a threat could use, such as a default password or a program with a bug.
Exploit
A method or tool that uses a weakness to cause harm or gain access.
Risk
How likely harm is, combined with how bad the harm would be.
Attack surface
Every place an outsider can send input to a system or reach it: ports, pages, forms and cookies.
Scope
The written list of what you are allowed to test and what is off limits.
Rules of engagement
The written rules for a test: what is allowed, when, how, and when to stop.
Penetration test
A test where a person, with permission, tries to break into a system to show its weak points before criminals do.
Port
A numbered door on a computer. Each program that accepts network connections listens at one or more doors.
Localhost
The name for your own computer as seen from itself. Its address is 127.0.0.1, and traffic sent there never leaves your machine.
HTTP and HTTPS
The language web browsers and servers speak. HTTPS is the same language wrapped in encryption.

Browse the full Academy encyclopedia

How this course was checked

20 checks were run and recorded while writing this course (code, formulas, commands and facts), and it lists 18 official sources it was checked against. Prices, features and policies of outside tools can change, so check each tool's own website.

Created by Apex Flow Academy with AI assistance. For education only; not legal, tax, financial or medical advice. Results depend on your effort and circumstances.