Skip to content

About

Cybersecurity study notes, CTF writeups, and cheat sheets for TryHackMe, HackTheBox, and OverTheWire.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Cybersecurity Notes & CTF Writeups ๐Ÿ›ก๏ธ

Writeups Count OS Linux Platforms License MIT

TryHackMe Profile HackTheBox Profile


Welcome to my personal cybersecurity repository! This space serves as a central hub documenting my hands-on learning journey across OverTheWire, TryHackMe, and HackTheBox. It includes step-by-step CTF writeups, machine penetration testing notes, core networking fundamentals, and Linux security cheat sheets.


๐Ÿ“Œ Table of Contents


๐Ÿ“Š Platform Overview & Progress

Platform Focus Area Status / Progress Main Index
OverTheWire (Bandit) Linux CLI, Encryption, Protocols, SSH 16 / 16 Levels (Levels 0โ€“15) overthewire/bandit/
TryHackMe Web Exploitation, Networking, Defensive/Offensive 58 Rooms & Notes tryhackme/README.md
HackTheBox Starting Point Tier 0 (Telnet, FTP, SMB, SQLi, MariaDB) 5 / 5 Labs Completed hackthebox/README.md

๐Ÿ“‚ Repository Structure

.
โ”œโ”€โ”€ hackthebox/             # HackTheBox machine writeups & Starting Point Tier 0 labs
โ”‚   โ”œโ”€โ”€ README.md           # HTB index and progress summary
โ”‚   โ”œโ”€โ”€ meow.md             # Telnet unauthenticated access
โ”‚   โ”œโ”€โ”€ fawn.md             # FTP anonymous access
โ”‚   โ”œโ”€โ”€ dancing.md          # SMB guest share enumeration
โ”‚   โ”œโ”€โ”€ appointment.md      # Web SQL Injection bypass
โ”‚   โ””โ”€โ”€ sequel.md           # MariaDB remote database access
โ”œโ”€โ”€ overthewire/
โ”‚   โ””โ”€โ”€ bandit/             # OverTheWire Bandit wargame level solutions (Levels 0 to 15)
โ””โ”€โ”€ tryhackme/              # TryHackMe room writeups, CTFs & fundamentals
    โ”œโ”€โ”€ README.md           # Detailed THM index
    โ”œโ”€โ”€ picklerick.md       # Web exploitation CTF
    โ”œโ”€โ”€ r00tme.md           # SUID privilege escalation CTF
    โ””โ”€โ”€ ...                 # 55+ additional topic notes & CTF guides

๐ŸŽฎ OverTheWire - Bandit Wargame

Bandit is a Linux-focused wargame by OverTheWire, designed to master the Linux terminal, security fundamentals, file analysis, and network communication.

  • Progress: [โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ] 100% (Levels 0โ€“15 Completed)
  • Key Skills Covered: SSH authentication, file searching, Base64/ROT13 decoding, multi-stage archive extraction, Netcat & SSL/TLS socket connections.
  • Directory Path: overthewire/bandit/

๐Ÿ“‹ Bandit Level Breakdown

Level Goal Summary Primary Commands / Tools Writeup Link
0 โ†’ 1 SSH connection & Read home directory password ssh, ls, cat Bandit 0
1 โ†’ 2 Read password from dashed filename - cat ./- Bandit 1
2 โ†’ 3 Read password from file with spaces in name cat "spaces in this filename" Bandit 2
3 โ†’ 4 Find hidden files inside inhere directory ls -la Bandit 3
4 โ†’ 5 Locate human-readable file among binaries file ./* Bandit 4
5 โ†’ 6 Search files by specific size, permissions & properties find . -type f -size 1033c Bandit 5
6 โ†’ 7 Find file across system by user and group ownership find / -user bandit7 -group bandit6 Bandit 6
7 โ†’ 8 Search for password line next to a target keyword grep "millionth" Bandit 7
8 โ†’ 9 Find unique line occurring only once in a file sort, uniq -u Bandit 8
9 โ†’ 10 Extract human-readable text strings from binary file strings, grep Bandit 9
10 โ†’ 11 Decode Base64 encoded string base64 -d Bandit 10
11 โ†’ 12 Decrypt ROT13 Caesar cipher tr 'A-Za-z' 'N-ZA-Mn-za-m' Bandit 11
12 โ†’ 13 Decompress nested archives (Hex dump, Gzip, Bzip2, Tar) xxd, gzip, bzip2, tar Bandit 12
13 โ†’ 14 Authenticate over SSH using an RSA Private Key ssh -i bandit14.pkey Bandit 13
14 โ†’ 15 Submit current password to local network port 30000 nc localhost 30000 Bandit 14
15 โ†’ 16 Submit password to local SSL/TLS encrypted port 30001 openssl s_client -connect Bandit 15

๐Ÿšฉ TryHackMe - CTFs & Notes

TryHackMe writeups and conceptual notes covering offensive penetration testing, incident response, network protocols, and Linux administration.

๐Ÿ† Featured CTF Walkthroughs

  • ๐Ÿฅ’ Pickle Rick - Web exploitation covering gobuster directory brute-forcing, web inspection, command injection, and sudo privilege escalation.
  • ๐Ÿ’€ RootMe - Web application vulnerability scanner, PHP file extension upload bypass (.phtml), reverse shell, and SUID permission exploitation.
  • ๐ŸŽฏ Basic Pentesting - Port scanning with Nmap, SMB share enumeration, hash cracking with John the Ripper, and SSH key brute-forcing.

๐Ÿ“š Categorized Notes Index (58 Topics)

๐Ÿ”ฅ CTFs & Practical Challenges (Click to expand)
๐ŸŒ Networking & Protocols (Click to expand)
๐Ÿ’ป Systems, OS & Architecture (Click to expand)
๐Ÿ›ก๏ธ Security Concepts & Cyber Frameworks (Click to expand)
โš™๏ธ Tools, Scripting & Web Fundamentals (Click to expand)

๐Ÿ“ฆ HackTheBox - Labs & Starting Point

HackTheBox infrastructure testing and vulnerable machine walkthroughs.

๐Ÿ† Starting Point Tier 0 Labs

Tier 0 covers fundamental service enumeration and exploiting default misconfigurations:

Machine Target Service Vector / Vulnerability Status Writeup Link
๐Ÿฑ Meow Port 23 (Telnet) Unauthenticated root login โœ… Completed Meow
๐ŸฆŒ Fawn Port 21 (FTP / vsftpd) Anonymous login & file download โœ… Completed Fawn
๐Ÿ’ƒ Dancing Port 445 (SMB / smbclient) Guest share enumeration & access โœ… Completed Dancing
๐Ÿ“… Appointment Port 80 (HTTP / Apache) Authentication bypass via SQL Injection โœ… Completed Appointment
๐Ÿ—„๏ธ Sequel Port 3306 (MariaDB / MySQL) Remote database connection without password โœ… Completed Sequel

๐Ÿ› ๏ธ Essential Security Tools & Setup

These writeups utilize a standard Kali Linux / Debian penetration testing toolkit.

# Network Reconnaissance & Port Scanning
nmap -sC -sV -oA nmap/initial <TARGET_IP>

# Web Directory & File Enumeration
gobuster dir -u http://<TARGET_IP> -w /usr/share/wordlists/dirb/common.txt

# Service Banners & Socket Connections
nc -nv <TARGET_IP> <PORT>
openssl s_client -connect <TARGET_IP>:<PORT>

# SMB Share Enumeration
smbclient -L //<TARGET_IP>/ -N

# Password Hash Cracking
john --wordlist=/usr/share/wordlists/rockyou.txt hashes.txt

โš–๏ธ Ethical Disclaimer

Important

Educational Purpose Only: All notes, scripts, and writeups in this repository are compiled strictly for educational purposes, authorized security research, and legal CTF competitions. Unethical or unauthorized hacking against targets without explicit prior consent is illegal. Always practice responsible disclosure and strictly test within authorized lab environments (e.g. OverTheWire, TryHackMe, HackTheBox).


๐Ÿ‘ค Author & Connect

Amit Padhan

โญ If you find these notes helpful, feel free to star the repository!

About

Cybersecurity study notes, CTF writeups, and cheat sheets for TryHackMe, HackTheBox, and OverTheWire.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors