A C++17 client with nothing to install and a PHP panel with no framework, no
build step and one SQLite file. Small enough to audit in an afternoon — which is the point.
C++17 client · PHP 8 panel · SQLite · no framework · no third-party requests
Architecture
The client talks to the API. People talk to the panel.
Nothing on the screened machine talks to anything but the API, and only over the three endpoints shown.
A session
One PIN, one report, in this order.
Each step leaves something the next one has to present, so a report cannot arrive
without a session, or arrive twice.
Violet messages are machine to machine; white ones are people at the panel. The PIN is the only thing passed between people.
Properties
Each mechanism, and where it stops.
The panel records the outcome of each check on arrival, so an operator sees which were
confirmed instead of assuming all of them were.
Authenticity
HMAC-SHA256 over the raw body, with a secret issued per key. Only the digest travels; the secret never leaves the machine.
That the client is honest. A patched build holds the same secret.
Freshness
A single-use challenge, issued when the PIN is claimed and bound to that session. Accepted once.
How long before the scan the machine was prepared.
Binary identity
The client hashes its own image. Every new hash is listed as unapproved until an operator accounts for it.
The hash is self-reported; a patched build can report a known one.
Ruleset integrity
A versioned ruleset with an ETag, over verified TLS. The version that ran is recorded in each report.
Anything, once TLS verification is turned off — which the report also records.
Abuse limits
An hourly budget per key, reported on every response. Failed PIN claims capped at 20 an hour per key and per address.
Nothing about the report itself.
Accountability
Every change to rules, keys, builds, sessions and accounts is written to an audit log the panel cannot edit.
Changes made directly to the database file.
Inside
Built to be read.
The client
A checkOne self-contained header implementing one interface. A new check is a new file and one line in the registry.
ParsersRegistry hives, compressed Prefetch, Amcache, crash dumps and PE import tables, read by its own code.
SearchString rules compile into one Aho–Corasick automaton, run in a single pass within a fixed byte budget.
StatusCompleted, partial, failed or cancelled — with what was inspected and why it stopped.
The panel
StackPHP 8 with PDO SQLite. One front controller, plain templates, no Composer, no build step.
PagesA policy of default-src 'none'; no inline script or style, every font served from the panel.
AccountsArgon2id where PHP provides it, an optional second factor, three roles enforced per route.
SessionsEnd after 30 minutes idle and 12 hours in total; revocable everywhere.