Your PC is your responsibility — build your own sentinel, and rebuild it every month
Right now there are about 280 processes running on my PC. Until recently, I could not have accounted for many of them.
For a long time you could get away with that. The antivirus ran in the background, the IT department or the manufacturer took care of the rest, and if something went wrong, it was somebody else's problem. That time is ending.
Responsibility is moving down to the individual
More and more of what runs on our machines is something we started ourselves — often without quite knowing it. We install tools with a single command, we let extensions and plugins pull in dependencies, and increasingly we let AI agents install programs, start scripts and schedule tasks on our behalf. The agent works with my rights. What it starts is my responsibility.
At the same time, the old security model is wearing thin. An antivirus can catch known malware, but it does not know whether the script that starts hidden every time I log in is something I asked for — or something I forgot. Only one person can answer that: me.
Responsibility without overview is just blame. If I am going to take responsibility, I also need to be able to see what is going on.
So I built my own sentinel
I made a small Windows program, ProcSentinel. It is written in C# and uses no third-party packages — only Windows' own functions, PowerShell's built-in Defender commands and Defender's command-line tool. It asks for administrator rights at startup, because system processes and per-process network traffic can only be read that way.
What my version examines
1. Every running process — known and unknown. For each process the program finds the file on disk and checks its digital signature: is it signed in the file itself, through Windows' signature catalogue (which is how most Windows files are signed), as a Store app — or not at all? Processes are split into known (the Windows kernel, Microsoft, known publishers such as Intel, NVIDIA, Google, or something I have marked as trusted) and unknown. Each process gets an assessment — high, medium, low or OK — and a reason:
- unsigned file or invalid signature
- running from the Temp or Downloads folder
- a Windows name such as
svchost.exeorlsass.exein the wrong place — a classic disguise - an unsigned program with network connections
2. The command line. Even a perfectly legitimate Microsoft program can be abused. So the program reads every process's command line and looks for patterns attackers use: encoded PowerShell, PowerShell in a hidden window that bypasses the security policy, code downloaded from the internet, and Windows tools such as mshta, certutil, regsvr32 and bitsadmin used to fetch or run code.
3. Network per process. Which processes have outgoing connections, how many bytes they have sent and received, and to whom — with reverse lookups, so an IP address becomes a recognisable host name. Plus traffic per network adapter, so you can see whether it is Wi-Fi or cable.
4. Autostart. Everything that starts with Windows from the registry's Run keys and the startup folders — with a signature check of what actually gets started.
5. Hidden processes. This is the most interesting part. A program that wants to hide usually falsifies Windows' process list. But it is hard to lie to every source at once. So ProcSentinel compares four independent views:
- Windows' ordinary process list
- a direct kernel lookup of every single process ID — more than 30,000 lookups
- WMI, which gets its list by a different route
- the owners of network connections, as known by the network driver
A process that exists in one view but is missing from another is hidden. The program also tells real hidden processes apart from perfectly normal exited processes that another program is simply holding on to.
6. Hidden startup. Beyond the Run keys, malware likes to hide in other places:
- Scheduled tasks — including a known trick where the task's security descriptor is removed in the registry, so it disappears from the task list but still runs. ProcSentinel reads the registry directly and compares.
- Services and drivers — including those in the registry that Windows' service manager does not know about, and the signatures of their files. For services running in a shared
svchost, it checks the DLL that is actually loaded. - WMI subscriptions — a rather obscure way to have code started by an event, used almost only by attackers.
7. Microsoft Defender. Status (are antivirus and real-time protection on, how old are the definitions, when was the last full scan), the whole threat history, and the option to have Defender scan every unknown file — without deleting anything automatically. If something might be hiding deep down, there is a button for a Defender Offline scan, which restarts the PC and scans before Windows starts.
Finally, the program saves the whole examination as a single JSON file. That is what makes the analysis possible.
How Claude helps with the analysis
A program can collect data. But someone still has to judge whether an unsigned file is a problem, or whether a "hidden" task is just a leftover from a Windows update. That is where I use Claude.
In the folder with the reports there is an instruction file that Claude reads when I start it from there. It describes the procedure, the report format — and a baseline: a list of everything we have already examined and found to be fine. Every month Claude then does this:
- Reads the newest report and checks that it was run as administrator — otherwise I am asked to run it again.
- Compares it with last month and with the baseline, so only what is new or changed is highlighted. That is the difference between a list of 40 findings and a report with the two that actually matter.
- Investigates the unknown instead of condemning it. Claude checks the file's signature and version information, which folder it is in and what it starts — and has Defender scan it.
- Explains and suggests, but changes nothing without my explicit yes. When I say yes, a backup and a restore script are made first, and things are disabled rather than deleted.
- Updates the baseline, so next month's check builds on it.
Three examples from my first check:
- A scheduled task started PowerShell in a hidden window and ran a
task.bat— a pattern that could well be malicious. Claude followed the chain: the batch file started atask.exevalidly signed by Intel. It was Intel's usage statistics. Not dangerous — but not something I needed either, so it was switched off, with a script to put it back. - Two of my own scripts still started hidden on every boot, long after I was done with them. They were moved out of the startup folder — not deleted.
- The first version of the program called 37 of Windows' own scheduled tasks suspicious. Claude worked out that they were registry leftovers from tasks Windows itself had removed, and fixed the program so it tells them apart. The same happened with three Windows services that Windows deliberately hides from ordinary users.
That last example matters. A security tool that cries wolf too often gets ignored. The analysis is as much about removing the false alarms as finding the real ones.
The result of the first check: no malware and no hidden processes — but a handful of things I should have known, which are now cleaned up.
The point is not the tool — it is the habit
Here is the most important part of this post: Build your own — and build a new version of it at least once a month.
Why?
- Attack techniques change all the time. New ways of hiding processes and new places to hide autostart keep appearing. A tool written once and then left alone slowly goes blind.
- Windows changes too. Updates add and remove services and files. A tool that does not keep up produces false alarms — and then you stop reading them.
- A tool nobody else has is hard to fool. Malware looks for the well-known security tools and tries to disable or deceive them. A program you wrote yourself, which changes every month, is not on anybody's list.
- You understand what you run. When you build it yourself, you know exactly what it checks. The shorter the supply chain, the fewer places something can slip in.
That is also why I don't share my code. It isn't secret — but the whole idea is that your version should not look like mine.
It sounds like a lot of work, but it no longer is. With an AI assistant, building a new version is a few hours' work, and that is exactly what makes the habit realistic. The same tools that make it easy to start things on your PC also make it easy to keep an eye on them.
A monthly routine
- Read up on new techniques for hiding processes and starting code automatically.
- Add at least one new check — and remove the checks that only make noise.
- Build, run as administrator, and save a report.
- Let your AI assistant compare it with last month and investigate everything that is new.
- Run a full Defender scan — or a Defender Offline scan if anything looks odd.
We are getting more freedom to start things on our own machines. The price is that we also have to keep watch ourselves. It is no worse than locking your front door — but you have to remember to do it.