Akshit Kathuria

Security enthusiast focused on offensive security, web exploitation, and malware analysis. This is where I write up the labs, CTF challenges, and hands-on experiments I work through.

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

Bypassing CSRF Token Randomization Using an XSS Flaw

Anti-CSRF tokens stop a classic cross-site request forgery attack, but they assume the attacker can’t read the page. An XSS vulnerability breaks that assumption. Here I chain a stored XSS flaw on the SEED Labs Elgg platform to exfiltrate a victim’s session cookie and CSRF tokens, then replay any authenticated action as them.

November 12, 2026 · 5 min · 969 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

Detecting Code Injection in Memory Dumps: SilentBanker and Coreflood

Banking trojans rarely run as their own process. They copy themselves into a browser and hook its functions, so the process list looks clean. Here I walk through a Volatility workflow for finding injected code in a Windows memory image: cross-checking process views, YARA hunting, malfind, apihooks, impscan, and connscan. The worked examples are Coreflood and SilentBanker, both injected into Internet Explorer.

November 12, 2026 · 17 min · 3594 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