# Can Local AI Make Sense of My Home Firewall Alerts?

> Source: <https://unland.dev/blog/testing-local-ai-analyst-home-soc-logs>
> Published: 2026-12-03 15:56:37+00:00

**Recommendation:** Fine-tune a small local model with QLoRA on labeled firewall flows before trusting it to triage alerts, and keep a human review queue for the flows it still flags.
More in the playbook "Fine-tuning and data": <https://wpnews.pro/playbooks/training-data>

Disclosure: Protectli provided the V1610 and Minisforum provided the 64 GB MS-S1 MAX. The testing and opinions are my own.

[ITPro’s Bobby Hellard](https://www.itpro.com/technology/artificial-intelligence/work-is-work-not-a-vibe-no-matter-microsoft) called the output of vibe coding “AI slop.” I’d like to put in a good word for home-built AI, although the test where my firewall analyst listed three alert groups and then told me there were no alerts probably isn’t helping my case.

That one was easy to catch because I knew what I’d given it. What interests me is the connection I *don’t* recognize. If my PC contacts an unfamiliar address, I can imagine a game looking for its server just as easily as I can imagine a program I never meant to install. I want the analyst to show me what caught its attention in that particular connection and explain it plainly enough that someone who’s never read a firewall log can check the record for themselves. Can I actually get a local model to reliably tell me if there’s something wrong on my home network?

I had a place to start. In [part one](https://unland.dev/blog/building-home-soc-protectli-vault), I put a Protectli Vault V1610 in front of my Windows PC, made a request I could recognize, and watched what happened when I told the firewall to block it. Windows timed out. When I put the rule back in alert mode, I got the response again. The Vault, running OPNsense and Suricata, gave me the firewall’s side of the story. The PC, a 64 GB Minisforum MS-S1 MAX, gave me the other side and a place to run the analyst locally. I still set the firewall rules myself.

There’s no shortage of things I can imagine doing with those logs, and no how-to manual that tells me how much judgment to hand over to a model. I started with one guardrail I could check for myself. Only the Minisforum goes through the Vault for now. My phone still uses the router’s Wi-Fi. I can make a request on Windows, compare the explanation with what I saw, and work toward putting the rest of my home network behind the Vault once I’m satisfied with the monitoring workflow on one PC first.

**The short answer:**

My Protectli Vault V1610 runs OPNsense and Suricata, and I can open alerts and check the original records in the Home SOC viewer with the AI off. I run the local LLM through Ollama and fine-tuned Qwen3.5 4B with QLoRA on Windows ROCm. On the development set, the stock model flagged 1 of 62 attack flows and the fine-tuned model flagged 61 of 62. Across six selected IoT-23 captures, the trained model still left 585 of 596 flows to review. On the fresh Mirai 43-1 capture, a second opinion changed the priority of zero of the 64 false positives (flows the publisher labeled benign).

## How I check a Suricata alert in the dashboard

My old dashboard showed the latest 500 alerts. If one application kept doing the same thing, the request I was looking for could disappear off the bottom while its record was still sitting on disk. In the screenshot below, 710 matching STUN alerts fit on one row. Applications use STUN to find out which address and port another machine sees when they connect. I can go straight past that row to find my test, or expand it if those 710 records are what brought me here.

With the [public viewer and quickstart](https://unland.dev/downloads/protectli-part-2/a30bebf42841/quickstart.html), I open `http://127.0.0.1:8766/` on the collector PC, choose a group under **Alerts to investigate**, and click **Expand records and verify sources**. A row marked “10 received records” gives me ten entries. **Verify original record** takes me back to the one I picked. If the viewer looks unexpectedly quiet, I check **Health and coverage** for the time of the last arrival. The Vault keeps enforcing its rules if the Minisforum sleeps, but the PC can miss logs while it’s asleep.

There are two ways I’ve used AI with that viewer. The public version can show a saved report covering several alerts. My [later local version](#putting-the-source-checks-into-the-application) lets me ask about one particular entry. Both make a lot more sense once you’ve tried answering a question from the records yourself.

## One block, one retry, two different answers

In an exercise with one warmup and six scored cases, I wrote down my own answers before checking them. I found all three blocks and still managed to get a basic question wrong. I saw an allowed STUN event and wrote that the connection had worked. I had nothing from the PC saying it got a reply. I was the only one doing the exercise, the display changed partway through, and the clock kept running even if I stepped away. I couldn’t use that test to measure time saved, but I knew what I wished I’d had on screen when I made that mistake.

I wrote two practice cases you can try with the model off. In the first one, a PC sends two UDP requests to the same destination, eleven seconds apart. Call the first attempt A and the retry B. The [firewall record](https://raw.githubusercontent.com/TrevTron/protectli-home-soc/df9246d5693b009aeeeab2f377daacc4f4bb6111/ai-followup-evidence/research/cases-v3/evaluation/F05/evidence.jsonl) has twelve entries. At 11:05:00 UTC, one entry records a block and ten show allowed matches. At 11:05:11, there’s one more allowed match. The [client file](https://raw.githubusercontent.com/TrevTron/protectli-home-soc/df9246d5693b009aeeeab2f377daacc4f4bb6111/ai-followup-evidence/research/cases-v3/evaluation/F05/staged-followup-receipts.json) has a single success. Which attempt does that success belong to, and what do the ten allowed matches tell you about the first one? The files are short enough to check the attempt IDs, times and ports yourself.

## Compare your answer with mine

The block and the ten allowed matches all carry the ID for attempt 1. Several rules can match the same traffic. Those ten entries give me ten more observations of A, and I still don’t have a client result for it. The success belongs to attempt 2 at 11:05:11. The devices, time, UDP protocol and ports match the retry, from port 43005 to port 3478. B worked.

When I loaded all twelve entries into a test copy of the public viewer in its receiver format, I got one blocked group and one allowed group. The retry was in there with the ten allowed matches from A. If you’re looking at that group, open the individual times before counting how many times somebody tried again.

The [second example](https://raw.githubusercontent.com/TrevTron/protectli-home-soc/df9246d5693b009aeeeab2f377daacc4f4bb6111/ai-followup-evidence/research/cases-v3/evaluation/F07/evidence.jsonl) is the one I’d give someone who got the first right. The time and attempt ID on the [client success](https://raw.githubusercontent.com/TrevTron/protectli-home-soc/df9246d5693b009aeeeab2f377daacc4f4bb6111/ai-followup-evidence/research/cases-v3/evaluation/F07/staged-followup-receipts.json) both look good, but the firewall record I’m investigating goes to port 3478. The client record reports success on port 443. I still don’t know what the PC saw on 3478. That’s a useful answer if it keeps me from closing the case on the strength of somebody else’s connection.

## What goes into a report

Before I built a button for asking about one alert, I started with a scheduled report. I’d wanted much the same thing from my [ESP32 Marauder capture analyst](https://unland.dev/blog/esp32-marauder-local-llm-capture-analyst). If an explanation surprised me, I wanted to be able to follow it back to the capture. Here the starting point is a stream of Suricata events that the Vault forwards to the Minisforum over syslog. A Python script groups those events, counts them, and compares the last 15 minutes with the previous window when there’s enough history.

You can see what Python has to work with before installing a model. Once the collector is receiving records, run this command from the repository folder, substituting your paths and the address of the PC behind your Vault.

```
py -3.12 tools/soc_analyst.py `
  --log '<absolute-original-syslog-jsonl-path>' `
  --client '<owned-client-LAN-IP>' `
  --salt-file '<private-alias-key-path>' `
  --output '<new-private-snapshot-directory>' `
  --no-model
```

Open `report.html` in the output folder. If you tried this with yesterday’s log and got an empty report, check its newest timestamp against that 15-minute window. I’d also check the timestamp on **Read the latest explanation** in the viewer. A saved report can still open perfectly well after newer alerts have arrived.

When I enable reporting, Qwen gets aliases in place of device addresses and a short list of explanations and checks to choose from. The script leaves out raw URLs, hostnames, packet contents and rule text. Early on, one answer said activity had gone up when the count had gone down. Another mistyped the ID it told me to open. I tightened the checks and ran those two examples through them along with four others. All six checks passed. A link can lead to a real record, though, and still be the wrong one for my question.

## Putting the source checks into the application

On October 18 I added **Investigate this alert** to my local edition. Say I have the first practice question in mind and want to know what happened to *this* request. I select **Client transaction** under **Evidence question**, then **Inspect evidence**. I can open **Verified original record** right there. If all I have is the firewall event, **Evidence needed next** tells me what I would have to find on the client. Only when I click **Run bounded local assessment** do I ask Qwen to read that case. The model gets the evidence the app can supply and has no credentials to edit the firewall.

I tried that workflow on 37 distinct alerts from my PC. One explanation shortened a hostname to its parent domain, which would have sent me looking for the wrong name in my log. Another treated a name in a web request as proof of which application sent it, even though a program can supply that name itself. Qwen also suggested looking for a process an earlier Windows record had already identified. That record could answer what was running *then*. For what’s running *now*, I’d need to check Windows again.

I asked Codex, an AI coding assistant, to check the explanations against the original records. I could ask more than one question about an alert, so Codex scored each explanation separately. In the first development group, 11 of 22 were precise before my changes and 22 of 22 on those same examples afterward. In two groups I’d set aside while making fixes, 27 of 30 and 17 of 20 passed. My code supplied some of the answers the model could choose. Where an explanation still misstated a field, I changed the app to show the field as recorded and withhold the faulty commentary. I left the scores as they were.

A case where Windows helped was a set of alerts about Microsoft Defender updates. For eight different update paths I could match the path in the alert to the request Windows made and find the corresponding signature check. I hadn’t kept the downloaded files, so I couldn’t inspect their contents afterward. But I could give somebody asking “what was my PC doing?” a much closer answer. For those 37 home alerts I had records to check an explanation against. To score whether Qwen could *detect an attack*, I’d need traffic for which someone already knew the answer. [The fine-tuning comparison is below](#what-changed-when-i-trained-qwen).

## How Qwen got the reporting job

Picking a model for the dashboard meant finding one that could finish a useful report on a schedule. My first setup gave it two CPU threads, two minutes, and enough space for 4,096 tokens, the pieces of text the software counts as it reads and writes. The answer could use at most 700 of them. I gave the same saved summaries to four models. Qwen3 4B and Qwen3.5 4B are different generations with about four billion parameters each. I also tried the larger Qwen3.5 9B and Gemma 4 12B QAT. With each model on its own settings, the older Qwen3 4B included more of the detail I wanted, while Qwen3.5 4B finished more reliably.

When I used the same settings for choosing the next token, Qwen3.5 4B finished all twelve reports. Ten contained activity, and in seven of those Qwen included all the surrounding context I’d asked for. Only four of the ten met my full checklist for a useful report before I cleaned up the display. I chose standard Qwen3.5 4B for optional scheduled reporting. I kept the [individual report scores](https://unland.dev/hub/runs/protectli-analyst-common-profile), the [runs with each model’s own settings](https://unland.dev/hub/runs/protectli-analyst-native-profile) and the [simulated-log tests](https://unland.dev/hub/runs/protectli-analyst-simulation-profile) so you can see what each model left out.

I wanted to give the models a fair shot at the longer answers. On a request I’d deliberately blocked, all four had hit the answer limit both times I asked them to write up what happened. For the retest I allowed 16 CPU threads, an 8,192-token context and up to 2,048 tokens to answer. They had five minutes for a structured report and ten for a written one. The runtime traces showed that the complete inputs arrived, and all 72 requests finished on their own.

| Model | Useful structured reports (of 12) | Written reports with a material error (of 6) | 
|---|---|---|
| Qwen3 4B Instruct | 2 | 4 | 
| Qwen3.5 4B | 5 | 5 | 
| Qwen3.5 9B | 3 | 3 | 
| Gemma 4 12B QAT | 9 | 3 | 

If you’d followed one Qwen3.5 4B report, you’d have gone looking for Tailscale on the strength of STUN traffic. Plenty of applications use STUN. Gemma did best at filling out the structured report in this run, yet one of its written answers described a network layout it couldn’t possibly see from the aliases I’d supplied. Giving a model room to finish helped me see the whole mistake. I kept the dashboard reports short.

I changed threads, context and deadlines together in that retest. In a separate check on one dense Qwen3.5 9B task, I tried 2, 8 and 16 threads. The model finished at all three and wrote different amounts of text each time. On the Minisforum’s Radeon 8060S, the Vulkan backend reported all 33 layers of Qwen3.5 4B offloaded to the GPU. The first live report there took 20.781 seconds for 309 generated tokens. It had a different brief from the CPU tests. The [CPU retest](https://github.com/TrevTron/protectli-home-soc/blob/df9246d5693b009aeeeab2f377daacc4f4bb6111/docs/RESOURCE_RETEST_RESULTS_2026-10-07.md) and the [GPU run](https://unland.dev/hub/runs/protectli-gpu-configuration-acceptance) have the settings and inputs for each.

## Why an investigator reported no alerts

One group in that GPU report got a generic warning even though the records gave the model more to go on. I tried a separate investigator on saved simulations. I gave it the records alone, the records with a checked analyst report, or the same assistance with repeated records grouped to save space. The question was whether it could use those facts to tell me what happened and what I should check. That’s where I got the answer from the opening. The investigator identified real alert groups and also chose the answer that said the records contained no alerts.

I got zero passing investigations out of 18 measured answers in the original run. Reading what I’d actually sent uncovered a problem on my side. I’d specified the shape of the answer without adequately explaining what the fields meant. Over several revisions I spelled out the choices and gave each decision its own yes-or-no field. By the fifth version, 16 of 18 measured answers passed. The two failures had something else in common. Ollama, the software serving the model, had cut inputs of 5,107 and 5,464 tokens to 2,050 each. The grouped version fit. I’d been trying to judge the value of grouping while one investigator could read evidence another had lost.

For the sixth version I kept those revised instructions and the 700-token answer limit. The one change to the investigator was increasing its context from 4,096 to 8,192 tokens. I checked the runtime logs for full delivery. This time all 18 measured answers and six practice answers passed. The larger context gets credit for that last step from 16 to 18. A separate 9B model I’d asked to review answers hit its cap on every original review. Even with a shorter review format, it identified the full set of defects in only one of six deliberately wrong controls and raised objections to correct answers. [Original run and corrections](https://unland.dev/hub/runs/protectli-investigation-context-correction).

I then froze eighteen new cases and six for practice before running another comparison. I used the GPU with an 8,192-token context and up to 2,048 tokens to answer. With the records alone, the investigator passed all eighteen measured cases. With each of the two forms of assistance, it passed seventeen. Both misses were on the same case. One changed character in the record ID was enough to break the citation, and the second model missed it both times. When a save failed partway through this study, I verified the completed batches and resumed with the last batch, whose requests had never been sent. The [case files and saved answers](https://github.com/TrevTron/protectli-home-soc/blob/df9246d5693b009aeeeab2f377daacc4f4bb6111/docs/FRESH_INVESTIGATION_RESULTS_2026-10-07.md) include the errors.

My software already knew the record ID. I could have it supply the link directly and ask the model for the part I actually wanted help with. If I know the retry worked, which record should I look for next?

## Asking the model which record to check

I built a workbench where I could switch between saved answers from Qwen, Gemma and Ling for the same practice case. In the picture below, follow the block and the successful retry separately, then look at the check Ling proposed. Switching models changes whose answer you’re reading. It doesn’t run the suggested check.

On three development cases I let code supply the facts, context and citations and asked each model to select one useful check from a menu. All five models got all three right, for 15 of 15 answers. I made the task harder by asking the models to match the client records to the attempts themselves. A complete answer had to get six things right, including the outcome, the exact reference, the next check and whether the case supported calling the event an intrusion. Gemma, for example, found the receipt and correctly said the retry succeeded. It left out that I still had no answer from the PC about attempt A. That gap is precisely where I’d want help deciding what to do next.

Gemma passed eight of twelve of the first harder cases. On a revised set with different cases and instructions, the older Qwen3 4B had the highest count under the shared settings, four of twelve. Qwen3.5 4B passed four on the first set and none on the second. Ling finished every answer without passing a single case on either set. One habit I could see in the first set was a recommendation to compare against an earlier time window, including cases where I’d given it no earlier window to inspect. I deliberately put near-matching records in the revised test, and the results convinced me to leave exact seven-field record matching to Python. Standard Qwen3.5 4B stays the public default only for bounded scheduled summaries, where the code supplies the facts.

## What changed when I let Ling reason longer?

[Ling’s publisher](https://huggingface.co/inclusionAI/Ling-3.0-tiny) describes a built-in reasoning mode. On the revised twelve cases I gave it 16 CPU threads, an 8,192-token context and a 4,096-token completion allowance, with up to 3,072 for reasoning. With that mode on, it got the client outcomes right on eleven cases, up from four. Exact record references also rose from four to eleven. Useful next checks fell from eight to five. It spent its whole reasoning allowance on every case and passed only three complete investigations.

One of my cases supplied a collection time earlier than the event itself. I kept the original and retested the corrected case. Substituting that answer in the revised set brought Ling to twelve of twelve on outcomes and references. It still passed only three complete investigations. I’ve included both versions in the [219-request study](https://github.com/TrevTron/protectli-home-soc/blob/df9246d5693b009aeeeab2f377daacc4f4bb6111/docs/AI_FOLLOWUP_RESULTS_AND_VERIFICATION.md), along with the low-memory stop and the five remaining requests I ran afterward. With a downloaded copy of the public repository, you can verify the saved results on Windows with `py -3.12 -B tools/verify_ai_followup_evidence.py --root ai-followup-evidence`.

I went back through 132 saved answers and asked how many would pass if I gave the models full credit for matching outcomes and references. The total went from 30 to 33. One of the remaining problems was my menu. It let a model pick “check the PC” without saying *which attempt*. In the retry case that could mean checking B, whose answer was already on the screen, or checking A, the one piece still missing. I’d marked that choice wrong while giving the model a menu that made it easy to leave the reader guessing.

I changed the prototype so each attempt carried its own facts and links, and so a choice based on an older version of the evidence would be rejected. I checked that behavior with 22 software tests on twelve cases I wrote, then gave Qwen3.5 4B a fresh set of 24 cases. With detailed instructions it selected a useful check *and* the right target 21 times. Code that always picked the first available check in a fixed order got four right. A second version with more descriptive names for the choices reached 22, although I also changed the instructions and possible answers in that version. I’d trust Qwen with a job like that. It could point me to the missing Windows response and name the connection it meant.

I also fine-tuned a much smaller CPU model, [SmolLM2-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct/tree/a10cc1512eabd3dde888204e902eca88bddb4951), for that menu. With low-rank adaptation, or LoRA, the original model stays in place while a small set of additional weights learns from examples. I can save those weights as an adapter and compare the same model with and without it. My first adapter learned how to return a choice, yet useful choices on the original 24 cases fell from nine to seven. After more training I saved the new adapter and tested on the fresh set. The base model picked four useful checks, the first adapter picked six and the continuation picked eleven.

## How much help did the menu give the small model?

The software restricted the first token to the available choices. Left to write freely, the base model couldn’t return a valid choice in the four tokens I allowed. For training I varied the device names and the order of the choices around eight example patterns. The continuation reached its time limit after 331 of 384 planned variations. The [public study summary](https://github.com/TrevTron/protectli-home-soc/blob/df9246d5693b009aeeeab2f377daacc4f4bb6111/docs/AI_TARGETED_CHECK_AND_LORA_SUMMARY_2026-10-11.md) covers 304 scored answers and 29 software test methods. The full request-and-answer export for this later study is private.

All those exercises began with an alert or a case I’d already selected for investigation. The model could be good at choosing a next check and still have no idea which connections belonged on my screen in the first place.

## Would Qwen recognize an attack without a Suricata alert?

My home traffic doesn’t come with an answer key. The researchers behind [IoT-23](https://www.stratosphereips.org/datasets-iot23) and [SME-11](https://zenodo.org/records/7958259) recorded network traffic and labeled individual connections. That gave me a way to ask Qwen whether a connection looked malicious, keep the researchers’ answer out of the prompt and score what came back. Each input was a *flow*, a description of traffic between two endpoints, with details like the ports, timing and packet counts. Several flows can belong to a single incident.

I included some preceding activity. For parts of IoT-23 I could also supply details from the captured packets. For SME-11 I had the flow descriptions and nearby connections. These recordings didn’t pass through my Vault, and the datasets are public, so I can’t establish what Qwen encountered before I got it. What I could control was which connections I put aside and what I showed the model at test time.

In three October tests with the original weights, Qwen answered “uncertain” on every flow labeled malicious. A model that can admit it doesn’t know is handy when I’m asking whether a retry worked. If I’m waiting for it to flag a connection for investigation, that same answer leaves the attack off my list.

## See the original model’s results on the three labeled tests

- **IoT-23 evaluation, version 4.** Zero of 46 attack flows flagged and zero of 120 ordinary flows flagged. Qwen deferred on 132 of 166 connections. It gave the correct verdict on 34 of 166 (20.5%).
- **IoT-23 reserve, version 5.** Zero of 104 attacks flagged and one of 120 ordinary flows flagged. It deferred on 175 of 224 and gave the correct verdict on 48 of 224 (21.4%). For this reserved group I had revised the scoring rules and supplied two fixed examples.
- **SME-11 transfer, version 6.** Zero of 48 attacks flagged and zero of 48 ordinary flows flagged. It deferred on 77 of 96 and gave the correct verdict on 19 of 96 (19.8%). I changed the required output for this dataset and had already seen overall results from another detection method on it.

Each percentage counts uncertain answers in the denominator. I changed cases and instructions between tests, so each score belongs with the group named beside it.

One answer also counted ten packets going out and ten coming back as ten packets total. I could fix that in the app by having Python display the recorded numbers. What I wanted to try next was teaching Qwen to recognize suspicious connections it had been passing over. For that I fine-tuned a separate model.

## What changed when I trained Qwen

I trained two sizes of Qwen3.5 on the Minisforum, a 0.8B and a 4B, and compared them with the original 4B on the same development connections. The Vault carried on handling the firewall. On the PC I used QLoRA, which let me keep the base model compressed in memory and train an adapter on the Radeon 8060S. For the 4B that meant updating 32,464,896 adapter parameters across 32 layers. The training software reported a peak GPU allocation of 5.01 GiB during the saved updates. Windows and the rest of the application also used the machine’s shared memory.

I built the 4B training set from 1,233 public network examples and 224 controls I’d written. Because I stopped and resumed the run over 31 saved stages, I checked the actual training order afterward. All 1,457 examples appeared once. The timers on the 183 committed updates added up to about **3 hours and 42 minutes**. Preparing the examples, saving checkpoints, running comparisons and reading the answers took time outside those updates.

| Qwen3.5 model | Attacks flagged (of 62) | False alarms (of 152 ordinary flows) | 
|---|---|---|
| Original 4B | 1 | 0 | 
| Fine-tuned 0.8B | 59 | 32 | 
| Fine-tuned 4B | 61 | 18 | 

Out of the box, Qwen3.5 4B gave me one warning across those 62 attack flows. With the adapter I trained on my PC, I got 61. I’m pretty happy with that, especially since the larger trained model caught two more attack flows than the smaller one and gave me fourteen fewer false alarms to open. I wanted to see what that adapter would do in the software where I’d actually read its answers.

In a test copy of the app, with prepared descriptions of the same development connections, the exported 4B flagged all 62 attacks and 25 of the 152 ordinary flows. Its stock counterpart in that replay flagged three attacks. Ten other flows had unknown labels, so they’re outside both totals.

Sixty-two out of 62 looks great on paper until you look at what I handed the app. I’d used these cases during development, 164 of the 224 inputs carried extra details from the recorded packets, and two fixed examples in the instructions resembled some of the connections it was judging. Back in the training software, with the ordinary descriptions the app would usually prepare, the same adapter flagged 58 attacks and 18 ordinary flows and called one attack harmless. Both the input and the software running the model differed from the prepared replay. I wanted a recording I hadn’t used to develop the analyst.

## What 121 alerts would look like on my screen

I picked 80 attack-labeled connections and 80 benign-labeled ones from a previously unused IoT-23 recording called Muhstik, using the publisher’s original v1 flow labels. One machine in that recording really was scanning other computers. The trained 4B flagged all 36 sampled scan connections. Across the whole sample, this is what I would have opened if I’d followed every flag.

That’s 121 records to look through. Of the 57 flags on connections labeled benign in v1, 46 were rejected SSH connections from the same machine that did the scanning. SSH is commonly used to sign in to a remote computer, but a rejected connection can end before anybody attempts a login. If you’d asked me whether that *machine* deserved a look, I could point to the 36 scan flows. If you’d asked whether one of those *rejected connections* included a login attempt, I wouldn’t have had a record that showed it. I picked equal numbers of benign-labeled and attack-labeled flows for this test. I don’t know what proportion of my home traffic tomorrow will be attacks, so I can’t turn those 121 records into a daily false-alarm estimate.

I tried getting a second opinion on those flags. In the Muhstik replay you can check in the reader kit, five of the 57 benign-labeled flags moved down to review and the same 64 attack flows kept their priority. On Mirai 35-1, the other recording in the kit, none of the 80 benign-labeled flags moved, and the same 79 of 80 attack flows kept their priority. I later tried a newly trained 4B reviewer and a larger 27B on a fresh Mirai recording, 43-1, in a separate private experiment. Neither moved any of the 64 flags on flows the publisher labeled benign. The same 64 attack flows kept their priority too, so I still had all 128 cases to look through. Moving the five Muhstik flags down changed their priority, but left me with the same number of flows to review. Across six selected IoT-23 captures, the trained 4B left me with 585 of 596 flows to review (counting both flags and uncertain calls) and cleared two flows the publisher labeled as attacks on Mirai 52-1, one C&C and one C&C-FileDownload.

A different recording let me see what happens when the evidence is thinner. The [IoT-SFC researchers](https://zenodo.org/records/23371775) recorded the start and stop times of attacks on their test network. I sampled 82 connections from 42 of those sessions along with 53 connections from quiet periods. Qwen flagged at least one sampled connection in 36 of the 42 sessions. A session counted even if the individual connection it flagged just happened to be there while the attack was underway.

On the first pass it flagged 71 of the 82 attack-window flows and five of the 53 quiet ones. Counting uncertain answers and an undelivered report as misses, 88 of 135 connections got the expected verdict for their window (65.2%). All the samples from the six missed sessions got an uncertain answer. Three sessions were UDP floods, but each of the six records I selected across them showed one outgoing packet and no reply. In the other three, two SYN floods and an ARP spoofing session, the selected records showed TCP connections to port 22. I knew what the researchers had been doing across the network. Looking at one of those connections, I could see why the model would hesitate.

I found a mistake in how my research app described TCP. It called a rejected connection unanswered even when a reply had come back rejecting it. I fixed the wording and repeated all 161 cases with the same weights, including 26 whose labels were ambiguous. Those adapter weights had been trained on the earlier wording. The app delivered 161 reports this time, up from 160, and the same 36 of 42 sessions still had a flag. At the connection level the result did change. Attack-window flags went from 71 to 69 out of 82, with three now called harmless, while quiet-window flags went from five to six out of 53. I kept the correction because I want the analyst and the person reading it to know when the other computer actually replied.

## Why I kept the earlier model

I also tried giving Qwen more examples of ordinary traffic. On the comparison with ordinary inputs, one retrained version brought false alarms down from 18 to 11. I would gladly open seven fewer alerts if that were the whole deal. But detections fell from 58 of 62 attack flows to 54, and the model explicitly called eight attacks harmless where the earlier version had cleared only one. All four lost flags were completed HTTP connections from one machine within 38 seconds. I’d rather read the seven extra alerts than have the analyst reassure me about those connections. I kept the earlier 4B adapter for research.

A much larger login dataset showed me the other end of that trade. Once two days of anonymized enterprise logins were aggregated into the fields I could supply, they boiled down to 14 distinct inputs. When I mapped Qwen’s answers back to the logins, the flags covered all 15 marked as red-team activity and more than three million unmarked ones. I don’t know how many unmarked logins were benign. I do know what I’d face if I agreed to open every flag.

## Other changes I tested before keeping the 4B adapter

**Changing the training examples and the verdict.** On the original development setup, adding ordinary and unknown examples kept 61 attack flags and brought false alarms from 18 to 17. Giving the verdict more weight in training kept 61 and brought false alarms to 16. Both versions called the remaining attack harmless. Giving the original adapter less surrounding traffic produced 58 attack flags and 21 false alarms.

On the ordinary-input setup, I started at 58 attack flags and 18 false alarms. More training on ordinary app inputs gave 55 and 18. Putting the verdict first gave 54 and 12, blending adapters gave 54 and 14, and training a new adapter to preserve earlier answers gave 57 and 16, with two attacks called harmless. In a later matched test where I remeasured the original at 59 and 12, two further training runs gave 56 and 55 attack flags, each with 12 false alarms.

**Trying different evidence.** Extra packet history cut a numerical classifier’s false alarms from 3,136 to 58 among 5,000 ordinary records on one dataset, at the cost of 47 lost reconnaissance detections. A model using packet bytes caught every sampled SSDP flood connection on one trace and none of 399 scan connections on another. I also compared a classifier using Qwen’s internal representations with one using the connection fields. More nearby traffic helped Qwen flag three flood samples it had missed and also flagged one of six ordinary samples. A separate UDP adapter cut false alarms from two to one on a small selected test and fell short on the full comparison.

**Revisiting the smaller Qwen.** I trained the 0.8B on examples from different sources to tell which connections belonged together. On the same 80 attack and 80 ordinary connections, its attack flags fell from 76 to 62 while false alarms moved from 49 to 48. I kept the earlier version.

**Looking beyond a firewall record.** On two deployments held aside, the analyst flagged all six sampled minutes of password guessing, then missed both later operator logins. A rule reading the recorded events found both. On two hosts in another exercise it flagged none of 40 marked network events linked to processes. A classifier using execution logs improved on one sandbox and raised more ordinary alerts in another. In a separate file test, Qwen alone flagged none of ten malware files. With a numerical tool it flagged two, and the tool on its own flagged eight. All three left the six ordinary files unflagged.

## What I’m taking into the next Minisforum project

The result I’ll remember when I sit down to fine-tune a larger assistant on this same MS-S1 MAX came *after* training. I gave my trained 4B the same eighteen VPN cases in two places. The exported copy in the app flagged all eighteen. In the software I’d used to train it, the adapter answered “uncertain” on all eighteen. The messages matched, down to the input token counts. The way the weights were stored, the runtime and the way it chose the next token had all changed. I couldn’t put the difference down to any one of them. If I’d stopped testing as soon as the adapter saved, I’d have had no idea what those eighteen answers would look like in the app.

I’ve already started fine-tuning a much larger model, Qwen3.8-27B, for a separate local assistant on the same [64 GB Minisforum](https://unland.dev/hub/devices/minisforum-ms-s1-max). The short trials got through three training updates at 768 tokens and, on a retry, three at 1,024 with an adapter I could reload. Neither attempt at the full 40-example run produced a saved adapter. I plan to finish it, and I’ve kept 258 answers from the original assistant so I can put the same questions to the trained version *in the app*. That’s the part of the next build I would’ve underestimated before doing this one.

## What I’d trust the analyst with at home

I’d use it for a first look. It can help me work out what an alert refers to and suggest an alert group worth opening. I wouldn’t rely on it to tell me on its own that something is wrong across my home network. The alert explanations came from one PC, and the trained model’s detection results came from labeled recordings. Opening a flagged record gives me a chance to catch a bad explanation. When the model calls a suspicious connection harmless, I may never open it at all. That’s the mistake I’m least comfortable with at home.

If you want to try the part you can use today, the [public repository](https://github.com/TrevTron/protectli-home-soc) has the viewer, the model-free report command, both practice cases and the saved 219-request study. It also has the later menu-training summary and [the saved verdicts from two second-opinion tests](https://unland.dev/downloads/protectli-part-2/a30bebf42841/flow-second-opinions.html). The newer per-alert interface, trained 4B adapter, my home alert records and the full inputs and reports from the detection tests are still local. I’d start with a request you recognize from a device behind your Vault, open its firewall entry, and see whether you can find the response on the device that made it. Then try optional reporting on that same time window. When you open the explanation, can you follow it back to the request you actually made?

## Questions about the local analyst

### Does an allowed Suricata alert mean my connection succeeded?

An allowed alert tells you how one matching rule treated the traffic. If several rules matched, the [Suricata packet verdict](https://docs.suricata.io/en/latest/output/eve/eve-json-format.html#verdict) can tell you whether the packet was ultimately dropped, when that verdict is logged. For application success, look on the client and match the devices, time, protocol and ports. A success on port 443 leaves the question about port 3478 open.

### Can the AI block a device?

I set the rules on the Vault. The analyst on the Minisforum has no firewall credentials. It can read the evidence the application gives it and suggest what I should investigate.

### What did those detection numbers measure?

The 61 of 62 figure is attack flows flagged in the development comparison. The 64 of 80 figure is attack flows flagged in a previously unused recording. In that same sample, the model also flagged 57 of the 80 flows the original IoT-23 v1 log labeled benign. The 36 of 42 figure counts timed sessions containing at least one flagged sample. For the explanations based on my own PC, I could check what the records said, but I had no independent labels for attacks.

### Which model would I get with this setup?

Standard Qwen3.5 4B is the model configured for optional reporting in the public guide. The SmolLM2 menu experiment and the fine-tuned Qwen flow classifier were separate research builds.

### What can I use with the AI turned off?

You can collect logs, open groups, verify individual records, read saved reports and make a fresh report of the counts. Start with the [Windows quickstart](https://unland.dev/downloads/protectli-part-2/a30bebf42841/quickstart.html). In my later local edition you can also save a case around one selected alert and inspect its evidence with the model off.

Get notified when I publish new hardware reviews, benchmarks, and security research. No spam, unsubscribe anytime.

Email goes to Buttondown for the newsletter. Unsubscribe anytime. [Privacy details](https://unland.dev/privacy).
