research & writing

Writing

31 posts in 3 folders.

writing/
├── technical-writing/ 26
├── probabilistic-threat-hunting/ 4
└── khandhar/ 1

01Technical Writing

Essays and notes on threat hunting, security operations, probability, and AI. Originally published on Medium.

  1. Aug 23, 2026

    CISO CISO what’s your privacy budget? 12 min

    Learn about the fundamentals of LLM privacy.

  2. Jul 25, 2026

    Practical Prompt Injections 12 min

    Introduction

  3. Apr 18, 2026

    Add Context To Your Emacs Second Brain Using AI for 0$ 5 min

    At night, when the town falls asleep and the streets become empty, there arises an urge — like the scream of a beast in a valley — to seek…

  4. Mar 29, 2026

    Setup Your Threat Hunting Lab in 30 mins… 3 min

    It’s been almost a decade since I started working in the cybersecurity industry, and one question I keep getting asked is:

  5. Aug 30, 2025

    How I developed a Memory System to Remember (almost)Anything 8 min

    A strange individual approaches Dr. Tenma to inquire about the recent murders. He introduces himself as Inspector Lunge from the BKA…

  6. Aug 10, 2025

    How to sell your potatoes …(Mathematically) 4 min

    In this universe of billions of stars and planets, Mr.X is only concerned about one thing — how to increase the sale of his potatoes.

  7. Oct 17, 2021

    Unsupervised Text Classification in PowerShell :Part 1 7 min

    Text classification or text analysis is one of the growing fields in the IT world. Cyber Security is not an exception, especially in…

  8. Oct 10, 2021

    The Threat Hunting Hypothesis Defined ? 3 min

    Human intelligence gives us the liberty of interpreting things as per our own will and understanding. This is the drawback of our…

  9. Aug 29, 2021

    Simple DarkWeb Monitoring Bot with Telegram 2 min

    One of the aspects of threat hunting is to look for data breaches and leaks that happen on the dark web. Good threat hunter keeps looking…

  10. Jan 10, 2021

    RE-loaded : THM rooms Hints 4 min

    RE-loaded : THM Room Write Up  Hi Folk i have created room for zero-hero RE challenge room on THM. Currently room is hosting on 4…

  11. Nov 14, 2020

    ShellCoding : The syscall dilemma 3 min

    Shellcoding or simply exploit writing depends heavily the on syscall or system call for their success. OS architecture is designed in such…

  12. Oct 10, 2020

    Token Impersonation PrivEsc: C++ Code 2 min

    It was suppose to be a part of my malware programming series but unfortunately i am unable to create a whole blog series. Never minds lest…

  13. Jul 11, 2020

    Quick DFIR & TH :: File System Tunneling 1 min

    Hello, every one writing after a long time . This time i have decided to brief you all about interesting concepts of the DFIR and TH very…

  14. Feb 16, 2020

    Bro log file analysis using Python and Pandas 6 min

    In the world of cybersecurity, we have multiple Dimensions to deal with. Among this, there is a log analysis, which is a crucial part of…

  15. Sep 23, 2019

    0x00 Basics of Reverse Engineering: Stack 4 min

    I fell in love of reverse engineering after watching a video of buffer overflow exploit explanation by computerphile. They have explained…

  16. Sep 18, 2019

    NetCat & Cache Level Attacks Explained 5 min

    Cache attacks are one of the mots formidable attacks ever developed againts any system, recent progress In this class of attacks made it…

  17. Sep 11, 2019

    Retrieving Files from memory dump. 2 min

    That’s gonna short but i think you will enjoy it.

  18. Sep 03, 2019

    TOP Linux utilities for Reverse Engineering 4 min

    Forensics and reverse engineering all is about learning how the code works.To understand the inner workings of the code we first should…

  19. May 09, 2019

    Emotet Memory dump analysis: Part 1 (Detecting malicious processes) 5 min

    In my last blog I have shared some behavioural analysis of emotet malware sample, perhaps we concluded that given sample is emotet sample…

  20. Mar 29, 2019

    Malware news (24–29 March) 3 min

    It’s been a very hot week for Malware industrie from Locker Goga to the Shadow Hammer. Let’s take a look of latest updates in the world of…

  21. Mar 09, 2019

    Malware Bulletin : Week#1 (1st March-8th March 2019) 3 min

    Here are the top news of the week in malware landscape.

  22. Mar 01, 2019

    Dynamic Analysis of Watchdog spyware 4 min

    In my hunt of malware i accidentally come across the the file called as Watchdog.exe . I decided to dissect this file to uncover it. At…

  23. Feb 17, 2019

    Top 5 ways to detect malicious file manually 4 min

    If you are not security professional and no idea what malware's can do to you and how you can tell if the file is malicious or not this is…

  24. Feb 15, 2019

    Dynamic malware analysis : LAB setup 3 min

    Malware analysis is tricky business . If you do not take care of how we are analyzing our malware samples then we might ended up in…

  25. Feb 12, 2019

    Entropy Analysis : A critical test for malware's. 2 min

    while working on Detect it easy or simply DIE I noticed one tab of this tool called as Entropy. This tab was simply design to show an…

  26. Feb 10, 2019

    Basic Static Malware analysis : PE viewer, Depnd walker & DIE. 4 min

    Malware are the most fearful aspect for any security professional. Specially when your AV solutions are lame enough to release signatures…

02Probabilistic Threat HuntingPTH

A series on hunting with probability: priors, likelihoods, and Bayesian updates applied to detection and investigation.

  1. 01May 18, 2026

    Probabilistic Hunting Chapter 1: Where Two Seas Meets … 13 min

    “And it is He who has released the two seas, one fresh and sweet and one salty and bitter” — — Quran 25:53

  2. 02Jun 01, 2026

    PTH Chapter 2: Foundations of Probability for Threat Hunting 9 min

    “Indeed, all things We created with precise measure.” — Quran 54:49

  3. 03Jun 25, 2026

    PTH Chapter 3: Baselining and Probabilistic Threat Hunting 13 min

    “Say, observe what is in the heavens and the earth.”– Quran 10:101

  4. 04Oct 16, 2026

    PTH Chapter 4: Mathematical Modeling for Threat Hunting 22 min

    A Bayesian approach to learning from alerts: priors, likelihoods, posterior updates, and predictions for SOC detection rules.

03खंडहर

Password required →