From fundamentals to Red Team operations - master the art of cybersecurity in 5 intensive modules
"Hacking is not about breaking rules. It's about understanding systems so well that you can make them do things they were never designed to do."
The three pillars of information security that every system must protect:
Only authorized users can access data. Achieved through encryption, access controls, and authentication.
Data remains accurate and unaltered. Ensured via hashing, checksums, and digital signatures.
Systems and data are accessible when needed. Protected by redundancy, backups, and DDoS mitigation.
| Threat | Description | CIA Impact |
|---|---|---|
| Malware | Malicious software: viruses, worms, trojans, ransomware | C, I, A |
| Phishing | Social engineering to steal credentials via fake communications | C |
| Man-in-the-Middle | Attacker intercepts communication between two parties | C, I |
| DoS/DDoS | Overwhelm systems to deny service to legitimate users | A |
| SQL Injection | Inject malicious SQL queries to access/modify databases | C, I |
Essential commands every security professional must know:
Every operation starts with knowing who you are. Identify your current user account.
Navigation and identity commands are your first line of reconnaissance.
"A very large part of space-time must be investigated, if reliable results are to be obtained."
| Concept | Description | Example |
|---|---|---|
| IP Address | Unique identifier for a device on a network | 192.168.1.100 |
| Subnet Mask | Divides IP into network and host portions | 255.255.255.0 |
| Default Gateway | Router that connects LAN to other networks | 192.168.1.1 |
| DNS | Translates domain names to IP addresses | 8.8.8.8 |
The 7-layer conceptual framework for understanding how data travels across networks:
Mnemonic: "All People Seem To Need Data Processing"
Identify your system's network configuration. What is your IP address?
Network reconnaissance reveals your position and the landscape around you.
"The problem with passwords is that the people who need them most are the least likely to remember them."
One of the first major ransomware attacks. Encrypted victims' files using RSA-2048 and demanded Bitcoin payment.
Hashing converts data into a fixed-size string. It's one-way - you cannot reverse a hash to get the original data.
| Algorithm | Output Size | Status |
|---|---|---|
| MD5 | 128 bits | Deprecated (collisions found) |
| SHA-1 | 160 bits | Legacy only |
| SHA-256 | 256 bits | Recommended |
Permissions control who can read (r), write (w), and execute (x) files:
Owner: rwx (7) | Group: r-x (5) | Others: r-- (4) = chmod 754
Create an MD5 hash of the secret.txt file to verify its integrity.
Hashing creates a unique fingerprint of data for verification.
"Security is always excessive until it's not enough."
Ransomware that exploited SMB vulnerability on port 445. Over 200,000 systems infected in 150+ countries.
The essential tool for network discovery and security auditing:
Capture and analyze network traffic in real-time:
Packet: Unit of data on a network
Protocol: Rules for communication (HTTP, DNS, ICMP)
Filter: Display specific traffic
http - Web trafficdns - DNS queriestcp.port == 445 - SMB traffic
Lab Task: Open Wireshark, capture traffic, filter for DNS requests to see what domains your machine is resolving.
Search the authentication logs for failed login attempts.
Log analysis is fundamental to threat detection and incident response.
"To know your enemy, you must become your enemy."
Attackers used social engineering to compromise high-profile accounts including Elon Musk, Barack Obama, and Apple.
Passwords are stored as hashes, not plaintext. Crackers try to find a password that produces the same hash.
| Attack Type | Method | Speed |
|---|---|---|
| Dictionary | Try common passwords from a wordlist | Fast |
| Brute Force | Try every possible combination | Slow |
| Hybrid | Dictionary + rules (password1, P@ssw0rd) | Medium |
Classic password cracking tool. Reads hashes and compares against wordlists.
Ethical Warning: Only crack passwords you have authorization to test. Unauthorized access is illegal.
| Tool | Purpose | Skill Level |
|---|---|---|
| John the Ripper | Offline hash cracking | Beginner |
| Hashcat | GPU-accelerated cracking | Intermediate |
| Hydra | Online brute-force (SSH, FTP, HTTP) | Advanced |
| Metasploit | Exploitation framework | Advanced |
View the contents of the captured hash file. What type of hash is it?
Understanding hash types is crucial for selecting the right cracking approach.