Against Runtime Analysis: Sandboxes, Syscalls and Hooks

󰃭 2026-05-31 | #malware development #programming #red team

While a VirusTotal ‘0’ score is satisfying, it isn’t pragmatic to live in that world, as VT limits itself to static IoCs. Thus, naturally the next challenge was defeating runtime analysis. To build the runtime analysis lab I used CAPEv2 sandbox and then tried to defeat its instrumentation capabilities through Halo’s Gate and Indirect Syscalls. I further explored Parent Process Spoofing and Mitigation policies to restrict monitoring DLLs.

Continue reading 


Stripping the Binary Clean: Hiding the malware indicators

󰃭 2026-04-30 | #malware development #programming #red team

In my last attempt to build a loader while I did land to no detections over free-tier elastic defend EDR capabilities there were a lot of nuances. The ‘release’ build was detected and literally had the PDB path with the word loader embedded into the binary. Professional hacker momemnts. The following is my attempt of stripping the binary clean of the possible indicators of malicious behaviour with aim to achieve 0 detections on VirusTotal, leveraging IAT hiding through compile-time API hashing and creating a legitimate utility identity through versioning and manifest with some further cleansing of the project you’ll encounter as you read.

Continue reading 


Crafting a Loader: My First Experience in Malware Development

󰃭 2026-03-21 | #C2 #malware development #programming #red team

So after spending what felt like a reasonable amount of time on the defensive side of things as setting up homelabs, staring at Kibana dashboards, and learning what alerts look like, I figured it was time to see what those alerts are actually for. The logical next step was to write the thing that triggers them. Armed with my SOC homelab, a copy of Adaptix C2, a dangerously short reading list on Windows internals, and the kind of confidence that only comes from not fully understanding what you’re getting into, I set out to build a loader from scratch.

Continue reading 


SOC Homelab 101 - Learning Defensive Solutions

󰃭 2026-03-16 | #blue team #homelab

Unfortunately in the AD Homelab, I failed to focus on defensive capabilities of Wazuh as XDR so this time I planned to build a lab focused on detection solutions. Rather than Wazuh, in this iteration I tried to get my hands dirty with Elastic and Kibana from the renowned ELK stack. Furthermore, I leveraged this exercise to learn about Vagrant and automation VM provisioning so unlike the previous homelab blog, this focuses on automating steps in place of manual configurations.

Continue reading 


Black Hat V: TCP Shenanigans

󰃭 2025-12-04 | #networks #programming

The following is the culmination of my first deep dive into V’s vastly undocumented stdlib—pieced together from scattered docs and actual module implementations on GitHub. Bear with me through the re-re-re-I-lost-count-re-invention of the wheel of basic TCP tooling as I learn V’s standard library by building a TCP port scanner, a buffered echo server, a port-forwarder, and a bind-shell wrapper.

Continue reading 


Black Hat V: Introduction to something that I might or might not do

󰃭 2025-11-30 | #programming

After brothing my first set of cybersecurity alphabet soup of certifications (yup, now I’ve hunt down OSCP for my HR peeps) I felt need to re-strategise my academic approach. Following is the first of many advents I have planned for myself. Throughout this and following posts (marked as Black Hat V), I’d try to reconstruct the exercises of Black Hat Go (by Tom Steele, Chris Patten, and Dan Kottmann) to encourage myself to learn vlang.

Continue reading 


Tracing file descriptors: A battle against poor writeups

󰃭 2024-10-05 | #ctf #linux #pwn #writeup

I was going through an easy pwn challenge—easy according to the platform, not my personal ranking. After successfully pwning the binary locally, I ran the same exploit against the remote challenge service and it completely fell apart. I checked the writeup hoping for clarity, but the explanation they gave didn’t really scratch the itch or fully explain why things behaved differently.

Continue reading 