Broken Access Control: IDOR and Cookie Tampering

When the server trusts a value the client can change to decide who you are or what you can see, you can often just change it. Here I cover two sides of broken access control: tampering with a client-side cookie to become an admin, and incrementing an ID in the URL to read someone else’s record, using two DD CTF challenges as worked examples.

November 12, 2026 · 4 min · 781 words · Akshit Kathuria

Common RSA Weaknesses: Shared Primes, Close Primes, and Bad Parameters

RSA is only as strong as the primes behind it. If two keys share a prime, or if p and q sit too close together, the modulus can be factored in seconds with a GCD or Fermat’s method. Here I explain the maths behind each weakness, with clean Python solves for four crypto challenges from the bi0s DD CTF.

November 12, 2026 · 15 min · 3048 words · Akshit Kathuria

Enumerating a Server Through an Exposed Command Interface

When a web app hands you the ability to run shell commands, the challenge isn’t getting code execution, it’s knowing how to look around. Here I cover methodical filesystem enumeration from a command primitive, including seeing past a decoy flag to a hidden one, and why exposing command execution is total compromise.

November 12, 2026 · 3 min · 621 words · Akshit Kathuria

Exploiting XXE: Reading Local Files via XML External Entities

When an application parses XML you control and its parser resolves external entities, you can make the server read local files and hand them back to you. This is XXE. Here I explain why XML parsers are dangerous by default, walk through reading a file off the server with a classic XXE payload, and cover how to shut it down.

November 12, 2026 · 4 min · 842 words · Akshit Kathuria

From File Upload to Remote Code Execution

If a web server lets you upload a file and will later execute it, an upload form becomes a way to run your own code on the server. Here I walk through confirming PHP execution with a harmless test payload and then reading a protected file, plus why ‘store the upload in the webroot’ is the real mistake.

November 12, 2026 · 4 min · 737 words · Akshit Kathuria

Image Forensics: Metadata, Hidden Dimensions, and Layer Analysis

An image can hide data in its header, in its metadata, or in the pixel values themselves. Here I cover three independent techniques for finding it: rewriting the dimensions in a JPEG’s SOF0 marker to reveal cropped-out rows, reading metadata with exiftool and decoding base64, and splitting an image into bit planes with Aperi’Solve. Three forensics challenges from the bi0s DD CTF serve as worked examples.

November 12, 2026 · 13 min · 2586 words · Akshit Kathuria

Memory Forensics with Volatility: Reading What a RAM Dump Remembers

A RAM dump captures what a Windows machine was doing at one moment: running processes, open files, console history, browser history, and environment variables. This guide covers a repeatable Volatility 2 workflow, from identifying the profile with imageinfo through process listing, file recovery, console and browser history, and dumping a process for strings. Three memory forensics challenges from the bi0s DD CTF serve as worked examples.

November 12, 2026 · 14 min · 2842 words · Akshit Kathuria

Path Traversal and LFI: Reading Files the App Never Meant to Serve

When a web app takes a filename from the user and reads it off disk, a few ../ sequences can walk out of the intended directory and into anything the server can read. Here I cover path traversal end to end, including a filter-bypass trick for when the app tries to strip dangerous input, using two DD CTF challenges as worked examples.

November 12, 2026 · 5 min · 937 words · Akshit Kathuria

Reconstructing Data from Packet Captures

A file sent over the network never shows up as one neat packet. It is split across many packets, and to recover it you have to pick out the right ones, put them in order, and join their payloads. Here I cover how that works for TCP streams and for data smuggled one byte at a time through ICMP echo payloads, using Wireshark and Scapy on four network-forensics challenges from the bi0s DD CTF.

November 12, 2026 · 14 min · 2805 words · Akshit Kathuria

Repairing Corrupted PNG Files by Hand

A PNG that refuses to open is rarely beyond repair. Its structure is simple: an 8-byte signature followed by length-type-data-CRC chunks. Once you know that layout, you can fix a broken file in a hex editor. Here I walk through repairing a mangled signature, IHDR header, chunk name, and CRC checksums, using two forensics challenges from the bi0s DD CTF as worked examples.

November 12, 2026 · 11 min · 2156 words · Akshit Kathuria