- Moving My TENS Controller from a Laptop to a Phone In the first post, I decompiled the FitRx Android app, worked out its Bluetooth protocol, and ended up with a Python script that drives the unit from my MacBook. It...
- Building a Bank That Doesn't Exist Most of my career has been spent showing up after something went wrong and working out what happened. Lately the “something” increasingly involves an AI agent: a tool with credentials,...
- A Hex Viewer That Knows It's Holding Evidence Most hex editors are built for programmers patching binaries. In DFIR, the file in front of you is usually evidence, and the jobs are different: prove it’s the file you...
- One Clock for Every Log Every intrusion I’ve worked ends up as the same question asked of six different logs: what happened around then? The proxy log says one thing, the event log another, the...
- Keeping the Whole Case in One Place Three hours into an incident, the case is everywhere. The timeline is in one tool, the process tree in another, the hashes are in a terminal you closed, the indicators...
- Knowing When You've Actually Contained an Intrusion The most dangerous sentence on an incident bridge is “we isolated the box.” It sounds like containment. Often it isn’t. The attacker moved off that host an hour ago, the...
- Reverse-Engineering a FitRx EMS App into a Python Controller Update (November 2026): there’s now a phone version. It’s a Web Bluetooth page you open in Chrome at jon.glass/fitrx. Read how I moved it from a laptop to a phone....
- Learning pandas One Block at a Time Most DFIR triage I do eventually ends up in pandas. EvtxECmd, Hayabusa, PECmd and MFTECmd all hand you a CSV, and the questions are always the same: keep these rows,...
- Building DFIR Playbooks with Huddle Most incident response playbooks I’ve seen live in one of two places: a wiki page nobody has opened since the tabletop, or someone’s head. When the alert fires at 2...
- Spoke: Seeing the Relationships in Your CSVs A lot of security data is really a graph pretending to be a spreadsheet. A process tree is parent and child PIDs. An insider risk case is users, hosts, files...
- What ChatGPT Wrote When I Asked It to Blog This is what I got from ChatGPT when I provided the following prompt:```Write a 500 word technical blog post about the Microsoft Defender for Endpoint API to perform Incident Response...
- Kernel-Level Access with Live Response There are times when security is annoying. As an example, when the Administrator account or even the SYSTEM account cannot access a file due to restrictions against accessing volume artifacts....
- Running Arbitrary Commands with Live Response Running Arbitrary Commands on an Endpoint via the API
- Using the API for Live Response Adding a file to the MDE Live Response Library and Running it on an Endpoint
- Building a Quick Defender for Endpoint API Wrapper Building a Wrapper for MDE interactions
- Multifactor Access to the Defender for Endpoint API I have decided to dust off the ol’ blog to start documenting some of my more recent endeavors leveraging the Microsoft 365 Security suite to perform Incident Response. Since I...
- BotTricker: Decoding TrickBot Modules When I spent some time getting to know TrickBot, I found it was helpful to decrypt the modules it injects manually in Python instead of spending the time to debug...
- Decoding AutoIt XOR Obfuscation Recently, I started looking at an AutoIt sample that contained some heavy obfuscation. After I ran the compiled binary through Exe2Aut, I was able to review the underlying script and...
- Going from Zero to Hero with CyberChef Here are the slides from my RVASec talk this year.
- Analyzing the Fiesta Exploit Kit For funsies, I snagged a Traffic Analysis Exercise from Malware-Traffic-Analysis.net. If you want to follow along at home, here is the link:http://www.malware-traffic-analysis.net/2014/12/08/index.html
- Hacking BRBBot Recently, in a scramble to find a final exam for my malware course that wasn’t multiple choice, I decided to revisit a sample from my youth: BRBBot.
- Setting Up ELK on a MacBook (Part 2) Now that I have Elasticsearch and Kibana up and running, I need to start feeding in those sweet, sweet logs.Normally, one would set up Logstash to import these logs into...
- Setting Up ELK on a MacBook (Part 1) I am starting up a new run of blog posts to document some malware analysis work I have been doing lately. Since I got my new MacBook, I have used...
- Dealing with Users Gone Bad We have all been there when someone that gets paid more than you do runs in and says “We need to remove User X from the network and lock them...
- The Grep Before Christmas Sometimes when it rains, it pours. It was 3pm on Christmas Eve and I was mentally out the door and halfway home already when proxy alerts came in for a...
- UnXORing a RAT I was looking at a sample of malware and I wanted to highlight a very simple technique I used to remove a layer of encryption without knowing the key. This...
- Mastering Python Forensics: A Review On October 30th, Dr. Michael Spreitzenbarth and Dr. Johann Uhrmann released Mastering Python Forensics. Here are a few of my thoughts on it…
- What Windows Defender Does When It Quarantines Stuff Recently a colleague of mine asked me what happens in the file system when a malicious file is "quarantined".
- Parsing Chrome Artifacts with Python (Part 3) Continuing on my mission to bore the crap out of my readers, I took a look at the html local storage databases I discovered in Part One.
- Parsing Chrome Artifacts with Python (Part 2) Continuing on with my riveting series on how to parse the Chrome SQLite files with Python, let's dig a little deeper into the SQL portion by taking a look at...
- Parsing Chrome Artifacts with Python (Part 1) I recently googled myself and saw that I had a blog. After several failed guesses at my e-mail address and password, I was able to stumble back in here. For...
- Finally Parsing WebCacheV01.dat So after taking a closer look at the code behind the libesedb I saw where I was going wrong when looking for those long text values. Here is an updated...
- Encrypting Huge Memory Files with Python I was looking for a way to quickly encrypt large files in python.
- Dridex Malware (Part 2): The Payload In the last post, I analyzed a dropper associated with Dridex. This post will focus on analyzing the assa.exe that was dropped.
- Dridex Malware (Part 1): The Dropper I had a few unscripted hours to kill before bed so I snagged a Dridex sample from Malwr.com to see what all of the fuss was about.
- WMIC Commands That Aren't Yo Momma's I outright stole most of this off of @nbaronian but I plan on updating this post with more as they come to me.
- The 34 File Entries on a Brand New $MFT So recently there was a request on a DFIR mailing list about recovering $MFT FILE records.That got me thinking about the creation of the $MFT so I added a new...
- Evidence of a USB Transfer Cable Recently my local RadioShack had a huge "Going Out of Business" sale. So I grabbed a few things that looked interesting. Among those items was a RadioShack USB Transfer Cable...
- Useless Trivia About Windows Process IDs Here are some things I discovered about Windows Process IDs that I did not previously know...
- Mass Undeleting from the Recycle Bin This is more "e-discovery" than forensics but I recently had a case where I needed to recover 1,300 files that were in a user's Recycle Bin.It was not overly important...
- A Few SysmonMaps for Reference This post is mostly for me but you can read it if you want.Here are maps I created with SysInternals Sysmon, Google's Org Chart API and fistfuls of Javascript and...
- A Magic Trick in the Windows 10 Boot Process So there I was, at the tail end of a RaDFIRe presentation that I barely had time to make much less review, trying to demonstrate how similar the Windows 7,...
- Sysmon 2.0 (Part 2): Filtering Rules Sysmon 2.0 Rule filteringIf you have used Sysmon for any extended length of time, you already know that the logs fill up quick. This is the nature of Windows. There...
- Sysmon 2.0 (Part 1): The New Events On January 19, 2015, the SysInternals team released Sysmon 2.0. "This major update to Sysmon, a service that records process activity to the Windows event log for use by incident...
- Stupid VBS Tricks This is dumb but I was trolling malwr.com and noticed there was a keyword for "VBS".Uncompiled malware in a text file? Sign me up. Here are a few of the...
- Misadventures in Parsing WebCacheV01.dat (Part 3) I have always found the best way to understand something is to try to build it. With that in mind I discovered an IronPython library for working with ESENT Databases.Turns...
- Misadventures in Parsing WebCacheV01.dat (Part 2) This post is meant as an exploration of things you can do when you have no clue what you're doing. :)I am not saying these steps are correct. I am...
- Misadventures in Parsing WebCacheV01.dat (Part 1) Recently, I found myself with a bit of free time so I decided to attempt to create a python CLI tool for live parsing the WebCache from my Windows 8.1...
- Recovering Zip Files with Python zlib So continuing on with my series of borderline obsessive blog posts about zip files, I would like to highlight another technique that can be used to recover compressed data. Python...
- The Zip Seeking Missile In the spirit of "don't give a presentation without offering a script/tool", here is something I am currently dubbing the "Zip Seeking Missile" (not married to that name, suggestions are...
- The Anatomy of a Zip File Recently, I had the opportunity to create a forensic challenge at work that focused on data loss. The scenario included several instances of data exfiltration, but one specifically seemed more...
- Pulling Internet Headers from Outlook with PowerShell # Get Internet headers from MailItem in PowerShellAdd-type -assembly "Microsoft.Office.Interop.Outlook" | out-null$OutlookApp = new-object -comobject outlook.application$MAPI = $OutlookApp.GetNamespace("MAPI")$Message...
- Reading E-mail with PowerShell Occasionally in the DFIR world, you may be called upon to review e-mail files. Sometimes a lot of them. At the same time. (Before we dive into this subject it...
- Querying Sysmon for Execution Times Q: Imaginary Reader writes "Sysmon is great and all but how can I quickly search for specific information from it?"A: To be honest, Imaginary Reader, I was wondering the same thing....
- Least Frequency of Occurrence with PowerShell In the DFIR world, it can be important to understand the principle of Least Frequency of Occurrence (LFO). The first place I read about this was on Harlan Carvey's Blog a...
- Live Process Mapping with WMI In previous posts I have discussed how you can parse a Windows event log and, through the magic of Powershell and javascript, create a visual map of process creation. But...
- Finally Using GitHub I received a lot of great feedback from my blog post on SysmonMapper. Most people complained about how the code was too easy to read, wasn't confusing enough and didn't involve...
- More SysmonMaps and a Security Log ProcessMapper Here is a sample of the processes running on my Windows 8 machine for the past 2 hours:Sysmonmap of Time PeriodThis shows tons of interesting information about the boot process....
- Sysmon and Mapping Process Creation The Microsoft Sysinternals team recently released System Monitor (Sysmon), a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and...
- Useful TShark Commands Here are some of the more useful commands I am using to sort through tons of pcaps I gathered:This one recursively looks for kismet pcap files and runs tshark against...
- War Driving with a Raspberry Pi Here are some of the SSIDs that I collected from my new Raspberry Pi War Driving Computer:% 01 02 03 04 05 06 07 10 11 12 13 14 15 16 17 20 21 22 23 24 25 26 27 30 31 32 33 34 35 36 37 01honors 01ttwifi 03 22 36 30 01...
- Sharpening the ACKs I heard a famous quote from Lincoln a while ago and it basically summarizes the point of this blog.Give me six hours to chop down a tree and I will spend...