Ashton Ang Email me
Writing21 posts
Notes & write-ups

Everything I broke, written down.

Thinking out loud about what I broke, what I learned, and what I'd do differently.

Most recent11 Oct 2026 · CryoVault CTF 2026: slab
Longest read15 min · Batman?!
FeedRSS

All posts

Showing 21 of 21

  1. RPT-021

    CryoVault CTF 2026: slab

    A freed note's XOR-encoded free-list link is attacker-controlled, so a note can be made to alias the slot table. That gives arbitrary read and write, enough to dump the program and hijack a function pointer.

    6 min
    Offensive
  2. RPT-020

    CryoVault CTF 2026: Journal Necromancy

    The journal is wiped, but the data clusters of deleted files survive. Three tagged key shares are carved out by magic bytes, and the AES-GCM tag settles which byte layout is correct.

    4 min
    Detection & Response
  3. RPT-019
    TryHackMe Boogeyman 3 Investigation in Elastic and Kibana

    Boogeyman 3: one HTA file to a domain controller in two hours

    The last Boogeyman room on TryHackMe's SOC Level 1 path. I followed one fake PDF through Kibana from a single workstation to a DCSync and ransomware on the domain controller, after my first search came back empty for a very dumb reason.

    6 min
    Exhibit E Detection & Response
  4. RPT-018

    TISC 2026: ZyGPT

    A Qwen3-1.7B fine-tune seals a flag in one MLP tensor's LSBs, keyed by a 5-record live handshake among 69 self-verifying provisioning rows. The model's own recited manual misdirects toward a false reserved-rows subset; brute-forcing all 69-choose-5 combinations against a flip-mask oracle finds the real one.

    6 min
    Offensive
  5. RPT-017

    TISC 2026: Lion City Layover

    A Singapore-themed maze hides a fake WebAssembly VM whose validator and interpreter parse different custom sections; duplicating a wasm section bypasses the opcode blocklist to dump a Fermat-weak RSA blob, factored to recover the boarding-pass claim, all while dodging LLM prompt-injection honeypots.

    7 min
    Offensive
  6. RPT-016
    Network vs Host Detection in a SOC Homelab

    Rebuilding a SOC Homelab

    I rebuilt my old Homelab to a more complete version.

    8 min
    Exhibit A Detection & ResponseNetworking
  7. RPT-015
    Detecting a C2 Beacon with Wazuh and Suricata

    CRON jobbing with alerts that won't fire

    Cron logged every check-in to syslog automatically, and Wazuh ingested every line of it, but nothing in the default ruleset ever turned a plain CRON entry into an alert. Suricata caught it from a raw-IP curl heuristic instead.

    4 min
    Exhibit A OffensiveDetection & Response
  8. RPT-014
    Detecting a Samba CVE-2017-7494 Exploit

    Dethroning Samba, the file share king, with a CVE from 2017

    Getting CVE-2017-7494 running took longer than the exploit itself, an old Python 2 build tool, a link-order bug, a coin-flip Metasploit crash. Once it landed, Suricata proved root access straight off the wire while Wazuh logged nothing at all.

    5 min
    Exhibit A OffensiveDetection & Response
  9. RPT-013
    Detecting Nmap SYN Scans with Suricata and Wazuh

    It can't see it?

    A SYN scan against the Homelab produced zero alerts twice, for two completely unrelated infrastructure bugs, before the network layer finally caught it clean.

    4 min
    Exhibit A OffensiveDetection & Response
  10. RPT-012
    Splunk BOTSv1 Cerber Ransomware Investigation

    Cerbus

    Part two of Splunk's BOTSv1 dataset. Bob Smith plugged a parking-lot USB drive into his desktop, and I spent Scenario 2 tracing what happened next: a macro, a VBScript nobody could just read, two dead ends counting encrypted files, and a ransomware payload hiding inside a jpeg.

    10 min
    Exhibit D Detection & Response
  11. RPT-011
    Splunk BOTSv1 Website Defacement Investigation

    Batman?!

    Splunk's BOTSv1 dataset handed me 33 million events and asked who defaced Wayne Enterprises' website. I chased Po1s0n1vy through Joomla logs, got the defacement mechanism wrong twice, and found proof of a stolen admin login hiding in a session cookie instead of the login event itself.

    15 min
    Exhibit C Detection & Response
  12. RPT-010
    Writing a Custom Wazuh Detection Rule

    Writing my own detection rule

    Wazuh's built-in rules flagged my /etc/passwd path traversal as a generic level-6 web attack. Writing a custom rule to make it scream instead taught me the difference between running a SIEM and doing detection engineering.

    4 min
    Detection & Response
  13. RPT-009
    Detecting Web Attacks in Wazuh with DVWA

    Attempt, 200. I just want to fix it already.

    Throwing SQLi, XSS, and path traversal at DVWA and watching every single one collapse into the same Wazuh alert, and what that taught me about what a log-based SIEM can and can't actually see.

    4 min
    Exhibit A OffensiveDetection & Response
  14. RPT-008
    File Integrity Monitoring with Wazuh

    FIM!

    Setting up File Integrity Monitoring in Wazuh and learning how something small is actually big. It's knowing what normal looks like well enough to notice when it stops being normal.

    3 min
    Detection & Response
  15. RPT-007
    Detecting SSH Brute-Force Attacks with Wazuh

    Wazuh's Brute-Force Alerts

    Running hydra against my own SSH login taught me that Wazuh doesn't have one brute-force rule, it has two, and which one fires depends on whether the username you're guessing actually exists.

    4 min
    OffensiveDetection & Response
  16. RPT-006
    Building a Wazuh SOC Homelab with Docker

    I wiped my laptop to build a SOC in my bedroom

    Every SOC analyst job post wants hands-on SIEM experience. I didn't have a SIEM, so I wiped an old laptop and built one with Wazuh in Docker, including the vm.max_map_count setting that cost me half an hour.

    4 min
    Detection & Response
  17. RPT-005
    Building a Mini SIEM in Python

    Turning my auth-log reader into a tiny SIEM

    A standard library Python tool that parses an auth.log once and runs four detection rules over it. The bug that nearly made it blind, and what happened when I finally pointed it at a real 2000-line log off the internet.

    7 min
    Exhibit B ToolingDetection & Response
  18. RPT-004

    My first Hack The Box machine: breaking into Oopsie

    A complete beginner's walk through the Oopsie box, explained the way I wish it had been explained to me, including the netcat mistake that stalled me for an hour.

    7 min
    Exhibit H Offensive
  19. RPT-003

    Reading auth logs by hand before reaching for a tool

    A small Python script that counts failed SSH logins per IP, and what it taught me about log triage.

    2 min
    Exhibit I ToolingDetection & Response
  20. RPT-002

    Writing a subnet scanner to see how host discovery works

    A standard library Python tool that pings a subnet for live hosts and checks common ports, and what it showed me about the network stack.

    2 min
    Exhibit J NetworkingTooling
  21. RPT-001

    My first socket program: a LAN chat room

    A console chat app in Python with a server and multiple clients, and the networking basics I picked up building it.

    1 min
    Exhibit K Networking