Aman Pathak

Aman Pathak

I'm a PhD scholar in the Department of Computer Science and Information Systems at BITS Pilani, KK Birla Goa Campus, working at the intersection of hardware security, RISC-V architectures, and low-level software. My current work spans microarchitectural side-channel attacks and their mitigation, memory encryption, formal verification of cache coherency, and the security of CXL memory fabrics. I have six patents filed in the RISC-V space covering data-flow integrity, crypto engines, and on-chip ML, and earlier I designed Ku/X-band antennas at KIIT.

Outside of research I spend a lot of time building things close to the metal: a TCP/IP stack from scratch, a malloc replacement, a cycle-accurate 6502 emulator, a container runtime using raw namespaces and seccomp, a bytecode VM in Go, and neural networks built purely from matrix operations. This is not an exhaustive list; I keep adding projects to my GitHub profile as a hobby. I also write about these topics on the blog, and I teach sometimes.

A C program is nothing but bytes in memory; there is no abstraction beyond that you have to take on faith. More than low levels per se, I am interested in the stripped-down, non-abstracted, naked-truth stuff.

Research

19 publications, 6 patents filed. Full record.

Selected projects

Mostly built from scratch. All 101.

ProjectDescription
whaleMinimal container runtime using Linux namespaces, cgroups v2, seccomp-BPF, and overlayfs from scratch
vajripUserspace TCP/IP stack: Ethernet, ARP, IP, ICMP, UDP, TCP from scratch, Linux TAP
memoriamalloc/free replacement, segregated free list, mmap heap, leak detection, 57 tests
veritas86Black-box x86 instruction-set auditor. Single-steps byte strings on real ring-3 hardware, classifies what the chip does from the fault it raises, and diffs that against the documented behaviour
suktiA small programming language written in ITRANS-romanised Sanskrit, whose grammar borrows ideas from Sanskrit that the compiler actually uses
commodore64Cycle-accurate 6502 CPU, VIC-II text-mode graphics, PRG loading
nookTiny embedded ordered key/value database with SQL and auth, built from scratch
mriduBytecode VM interpreter in Go

Recent posts

DatePost
Cracking Wordle in C
Compiling the Linux kernel, then testing it in QEMU
Rebuilding this site with Astro
Compiling and Running the Linux Kernel
Compiling and Executing a Java Program

All posts | Longer writings