+++ Testing a Local Threat-Hunting Workflow Against Simulated Beaconing Introduction Hello once again everyone! In the [[06 - Building an Approval-Gated Containment Workflow with Shuffle|last post]], I finished connecting the major pieces of this project: Alrighty everyone, here we are. The moment of truth for this whole project, can a local model triage through a snapshot of telemetry from a small network, detect potentially adversarial behavior and then leverage the correct tools to alert an analyst and recommend remediation?
Building an Automated Containment Pipeline with Local Models and Shuffle Introduction Alright, welcome back to those following along with the series. If you’re not, that’s fine, but be prepared to be lacking some context. On the last post we had finally gotten our local model to be able to query some exported Security Onion logs through some read-only MPC tools we had developed. Now that we ironed out all of that for the most part, it’s time to start working on the response portion of this whole ordeal.
Exporting Security Onion Telemetry for Local Model Analysis Introduction Hello once again everyone! Over the course of the last few posts, we’ve deployed Security Onion and set up a SPAN port in order to give it visibility into our local network. We’ve also been experimenting with local AI, using llama.cpp as our inference engine and we’ve been doing lots of benchmarking. Between security reasoning and calling tools via our custom MCP server, which is where we left off last time.

Developing our own MCP Server

- 15 mins read

Series: Capstone

Benchmarking Local Models with a Custom MCP Server Alright, so in the [[04 - Benchmarking Small Security Models with EvidenceForge|last part of this project]] we evaluated how well four small local models could analyze a prepared packet of security telemetry. They all performed alright. Some did better than others, but overall nothing was too offensive. However, these models need to demonstrate one more important ability before we can use them for this project: calling tools.

Evaluating Models with EvidenceForge

- 12 mins read

Series: Capstone

Benchmarking Models with EvidenceForge Alright, so previously we did some hardware benchmarking to validate that our selected models could reasonable run on my current hardware. Those tests all went well, which was good, but now we are getting into the real meat and potatoes of this project. Evaluating these models security reasoning skills. How are we going to go about doing that? Well, I’m glad you asked. Enter, EvidenceForge. EvidenceForge is an open-source project from Cisco Talos that can generate synthetic security telemetry from scenario definitions, keeps the generated evidence separate from the answer key, and gives me a much better basis for comparing local models than a few improvised chat prompts.

Building llama.cpp with CUDA

- 9 mins read

Series: Capstone

Using llama.cpp with CUDA and Testing Local Models Howdy there everyone and welcome back to the next leg of my capstone journey. Which involves actually spinning up some locally hosted models and testing them out. Over the next while, we’re going to be deploying a few models, seeing how they run on my old RTX 2060 laptop, benchmarking their security reasoning skills and their ability to call tools from a MCP server.

Deploying Shuffle as My SOAR Solution

- 5 mins read

Series: Capstone

Introduction Last time, we deployed Security Onion which will be our SIEM of choice for this project. Now we need a SOAR (Security Orchestration Automation and Response) solution. Which brings us to Shuffle, an open-source SOAR platform we can use to build playbooks containing predefined actions for responding to suspicious activity. Before we get going, I’m deploying Shuffle on a recently created Ubuntu server VM using Docker Compose. Versions listed below.

Deploying Security Onion

- 12 mins read

Series: Capstone

Introduction Alright, time to get down to some serious business. From this point forward, all of my blog posts will be in support of my master’s degree capstone. I may be a little less chatty than I normally am for a while as my main focus is just getting these rolled out in a timely fashion. These posts will still go over what we’re deploying and how we’re doing it and there’s going to be a little more information on things like version numbers and any issues we run into or anything during deployment.

Homelab: The OPNsense Gauntlet

- 16 mins read

Series: Homelab Series

Introduction I don’t usually start these off with a disclaimer, but I definitely am this time. This post is an absolute doozy as we are configuring multiple services here on OPNsense. Each of these could be a separate post, but I decided to do this whole thing in one go. Now you are totally good to just skip to the sections you are interested in reading, in fact I encourage it.

Homelab: Setting Up Ollama and Open-WebUI

- 7 mins read

Series: Homelab Series

Introduction Why hello there everyone and welcome back to what is essentially a bonus to the homelab series and also the start of a kind of a new one. Today we are going to be installing Ollama, pulling down a model from Hugging Face and then giving the model a web GUI with Open-WebUI. Now the reason this was not a part of the original homelab plan, is because this is actually also the beginning of my capstone research project and so is kind of its own thing.