Ethical › Module 6 › Lesson 1
Access, Credentials, and Why Hashes Matter
Guessing vs stolen hashes vs MFA — carry Topic 8 password hashing.
Visual · access_credentials_mfa
Three doors, not one kit: guessing a password, a stolen verifier file, and MFA as a second factor. Hashes stay one-way. Notes chmod 600. No cracking shop.
Opening
Access is a door with factors — not a payload, not a dump, not a cracking weekend.
Module 5 left you with named bugs and tickets, not shells. Module 6 is the exam-domain word “system hacking,” taught here as how unauthorized access is talked about — and how defenders close the doors — never as a kit. The first door is credentials. People collapse three different stories into one: (1) guessing a password at a prompt you are allowed to use, (2) stealing a file of password hashes, and (3) walking past a second factor. Those are not the same mechanism, not the same crime, and not the same lab. Cyberlium will keep them apart. This path is original Cyberlium teaching mapped to a CEH v13 domain — not official EC-Council training, not a cert, not exam dumps. Topic 8 already gave you the physics: a hash is a one-way digest; matching a hash means the input you tried equals the input that was hashed, not that you “cracked the internet.” Unique passwords, a password manager, and MFA are the defender moves. You will not run a cracker. You will not touch /etc/shadow or a dump. You will not spray logins at a neighbor. Next lesson names privilege as a control failure, still without exploit recipes. Today you write locked notes that prove you can tell guessing from a stolen verifier from a second factor.
1. Guessing a password is online trial at a prompt — still not a stranger's mailbox
Guessing, as this course uses the word, is trying candidate secrets against an authentication prompt: a login form, an SSH password prompt, a local account unlock. Each try is visible to the defender if logging is on. Rate limits, lockouts, and CAPTCHAs exist because online guessing is noisy. That noise is the point of the distinction. A lab that “practices guessing” against a café portal, a school SSO, or a neighbor's mail is unauthorized access, not homework. If you need to feel a prompt, you use an account YOU created on a machine YOU own — and even then this lesson does not give you a spray list, a hydra command, or a credential-stuffing script. The literacy is: guessing is try-secret-at-the-door. It is not stealthy. It is not a hash file. It is not MFA.
Credential stuffing is a sibling of guessing: reused passwords from some other breach, tried at a new door. Unique passwords kill that path for the accounts you control. A password manager is how humans keep unique secrets without a sticky note. Writing “password123” in five places is how stuffing works even when none of those sites “cracked cryptography.” The failure is reuse, not a missing exploit. You already practiced unique secrets as hygiene in earlier topics. Module 6 only needs you to put that hygiene next to the exam word “gaining access” and refuse the movie version where one guessed string opens the planet.
Command guide
Online password trial — WHAT/WHY (not a stranger prompt)
═══ COMMANDS ═══
Command — copy this
cat >> "$NOTES" << 'EOF' online_guess: many tries at a live login — still needs authorization refuse: hydra 192.168.0.1, cafe portal, campus login this_lesson: define the idea; do not spray EOF
2. Stolen hash files are offline verifiers — Topic 8: one-way, not a reverse spell
A password hash stored by a system is a verifier: given a candidate password, the system hashes it (with salt and a slow KDF if the designers were not asleep) and compares. Topic 8: the digest is one-way. There is no key that turns SHA-256 hex back into the passphrase. “Matching a hash” means a candidate produced the same digest as the stored verifier. That is equality of inputs under a function, not decryption, and not “cracking the internet.” Fast unsalted hashes of short common words are guessable offline if someone already stole the table — that is why unique salts and slow password hashes exist. Slow salted storage raises the cost of each guess. It does not make theft legal. It does not make this course a cracking shop.
The stolen-file story and the guessing-at-the-prompt story part ways here. Offline work against a stolen verifier does not hit lockout on the live login — which is exactly why defenders assume dumps happen and design storage for that day. Cyberlium still does not hand you a dump, a shadow file, or a GPU cracker. You may hash a toy word YOU invented, on YOUR machine, to remember one-way (the code block does that and nothing else). You may not import HaveIBeenPwned. You may not read /etc/shadow “to see real hashes.” You may not point a cracker at a classmate's export. Matching your own toy digest is literacy. Matching other people's verifiers is an attack.
Command guide
Stolen hash files are verifiers — WHAT/WHY (one-way, Topic 8)
═══ INSTALL ═══
Linux (Debian/Ubuntu):
Command — copy this
sudo apt install python3
macOS:
Command — copy this
brew install python3
Windows: Download https://python.org/downloads/
═══ COMMANDS ═══
Command — copy this
python3 - << 'PY'
from pathlib import Path
import hashlib
p = Path.home() / 'cyberlium-lab' / 'toy-password-standin.txt'
h = hashlib.sha256(p.read_bytes()).hexdigest()
print('sha256', h)
print('meaning: fingerprint of MY bytes — not reversible, not hashcat, not a dump')
PY3. MFA is a second door — possession or biometric plus something you know
Multi-factor authentication asks for a second category: something you have (a phone prompt, a hardware key, a TOTP app you control) or something you are (a platform biometric tied to that device), in addition to something you know. A stolen or guessed password then fails to finish the login if the second factor is still in the owner's hands. MFA is not a password replacement. It is not a bypass recipe. It is not “SMS is perfect.” It is a control that turns “I know the secret” into “I know the secret and I can prove the second factor.” Phishing-resistant factors (hardware keys, platform authenticators) beat emailed codes when you can turn them on. The lesson is to enable MFA on accounts YOU control — mail, cloud console, banking, Git hosts — not to design an MFA bypass against someone else.
A useful failure: a classmate says “hashes don't matter if MFA is on, so we can skip unique passwords.” Wrong. MFA can fail (fatigue, recovered sessions, a factor you enrolled on a lost phone, an account that never had MFA). Unique passwords still stop stuffing when MFA is missing or skipped. A password manager still stops reuse. Slow salted hashes still matter when a database leaks. Defenders stack controls. Exam language that lists “system hacking” as a phase is not a license to peel those controls in a lab on strangers. Your stack on YOUR accounts is the homework: unique secret, manager, MFA, and a hash story you can explain without a cracker.
4. What you record: three stories, Topic 8 sentence, hygiene — not a dump
A credential note is boring on purpose. Date (UTC). Three definitions in your words: guessing vs stolen verifier file vs MFA. Topic 8 carry: hash is one-way; matching is not cracking the internet. Defender lines: unique passwords, password manager, MFA on accounts you control. Ethics: no cracker, no shadow, no dump, no stuffing a neighbor. Empty files fail. Files that contain other people's hashes fail even if you “only looked.” chmod 600 under $HOME/cyberlium-lab so another local account does not read your lab tree — same hygiene as Topics 2, 7, 8 and Modules 2–5.
If you skip the toy hashlib line and only fill definitions, the lesson still holds — the Python is a reminder, not a trophy. If you feel the lesson is “too small” without a wordlist against a leak, that feeling is how people graduate into unauthorized cracking. The skill is stopping. Next lesson will make another stop: user is not admin just because a password worked.
5. Wrong vs right: cracking dumps vs unique secrets, managers, and MFA
Worked failure — same word “password,” opposite job. Right never needs a stolen table or a GPU to prove they understood hashes.
Wrong
Spray logins at a café, school SSO, or neighbor. Download a dump or read /etc/shadow “for CEH.” Run a cracker against anyone's hashes. Call matching a digest “decrypting the internet.” Skip unique passwords because MFA exists. Store live hashes in a public gist. This path is not official CEH training and does not give you that hunt.
Right
Define guessing vs stolen verifier vs MFA. Carry Topic 8: a hash is one-way; matching is not cracking the internet. Unique passwords, password manager, MFA on accounts YOU control. Optional: hash a toy word YOU invented. Fill access-credentials-notes.txt, chmod 600. Next: Privilege Levels Without Exploit Recipes.
6. Hands-on: access-credentials-notes.txt, optional toy digest, chmod 600
On a computer you own, create cyberlium-lab if needed. Fill the notes. Optionally run the toy hashlib — it hashes a string you set in the file, prints the hex, and reminds you the function is one-way. It refuses to read a path. It is not a cracker. chmod 600. Do not add a dump “to make it real.”
Mission: access-credentials-notes.txt in cyberlium-lab (mode 600)
1) In your own words, define guessing vs a stolen hash/verifier file vs MFA. Carry Topic 8: a hash is one-way; matching is not “cracking the internet.” 2) Write unique-password, password-manager, and MFA lines for accounts YOU control. Optional: toy hashlib of a word you invented — not a dump. 3) chmod 600 $HOME/cyberlium-lab/access-credentials-notes.txt. No cracker. No shadow. No neighbor logins.
Stuck? Ask Cyberlium AI Mentor
If “I cannot learn hashes without a cracker and a dump” still feels true, ask for a hint — not a wordlist. Try: "Hint only: why guessing a prompt, a stolen verifier file, and MFA are three stories; why Topic 8 says a hash is one-way and matching is not cracking the internet; and where locked notes live?" You still fill access-credentials-notes.txt. No shadow. No stuffing a neighbor.
You now keep three access stories uncollapsed: guessing at a prompt, a stolen verifier file, and MFA as a second door. A hash stays one-way; matching your own toy digest is not a planetary crack. Unique passwords, a manager, and MFA are the stack on accounts you control. Notes are locked in cyberlium-lab. This is original Cyberlium teaching mapped to a CEH v13 domain — not official EC-Council training, not a cert, not exam dumps. Next — Privilege Levels Without Exploit Recipes — user vs admin as a control, not a kernel walkthrough.
Knowledge Check
APPLY: A classmate wants to download a password dump and “crack it for CEH” because Module 6 said hashes matter. What is a stolen hash file here, and what do you do?
Multiple choice
Knowledge Check
APPLY: True or False: Matching a SHA-256 hex of a toy word you invented means you decrypted the internet, so MFA is optional and reuse is fine.
True or False
Knowledge Check
APPLY: You are filling access-credentials-notes.txt. Which pairing matches the three stories and hygiene?
Multiple choice
Knowledge Check
APPLY: curl of http://192.168.0.1/ shows a home router login (TP-Link / Netgear / Huawei / "Router Admin"). Is that DEMO in scope as a hacking target?
Multiple choice