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.
- ARCHER: A Cycle-Accurate RISC-V Emulator for Microarchitectural Side-Channel and Memory-Encryption Research
Computers (MDPI), Vol. 15, Issue 8, p. 479, 2026 - PACE: A Page-Adaptive, Cache-Anchored Memory-Encryption Engine for RISC-V with Formally-Verified nth-Order DPA Resistance
Chips (MDPI), Vol. 5, Issue 3, p. 25, 2026 - Novel Microarchitectural Side-Channel Attacks on Open-Source RISC-V Cores
Chips (MDPI), Vol. 5, Issue 3, p. 29, 2026
Selected projects
Mostly built from scratch. All 101.
| Project | Description |
|---|---|
| whale | Minimal container runtime using Linux namespaces, cgroups v2, seccomp-BPF, and overlayfs from scratch |
| vajrip | Userspace TCP/IP stack: Ethernet, ARP, IP, ICMP, UDP, TCP from scratch, Linux TAP |
| memoria | malloc/free replacement, segregated free list, mmap heap, leak detection, 57 tests |
| veritas86 | Black-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 |
| sukti | A small programming language written in ITRANS-romanised Sanskrit, whose grammar borrows ideas from Sanskrit that the compiler actually uses |
| commodore64 | Cycle-accurate 6502 CPU, VIC-II text-mode graphics, PRG loading |
| nook | Tiny embedded ordered key/value database with SQL and auth, built from scratch |
| mridu | Bytecode VM interpreter in Go |
Recent posts
| Date | Post |
|---|---|
| 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 |