-
Notifications
You must be signed in to change notification settings - Fork 0
Known Process Database Format
gsjonio edited this page Jul 15, 2026
·
2 revisions
hightower ships a curated list of well-known Windows processes, embedded into the
binary at build time (include_str! + serde_json -- no network, no external
file to lose). The file lives at adapters/src/known_processes.json. Each entry
is a JSON object:
{
"processName": "svchost.exe",
"expectedDirectories": ["%SystemRoot%\\System32", "%SystemRoot%\\SysWOW64"],
"publisher": "Microsoft Windows",
"category": "core-windows",
"descriptionEN": "Generic host process for Windows services; multiple instances running simultaneously is normal.",
"descriptionPT": "Processo host genérico para serviços do Windows; ter várias instâncias rodando ao mesmo tempo é normal."
}| Field | Type | Meaning |
|---|---|---|
processName |
string | The executable's base name, e.g. "svchost.exe". Matched case-insensitively. |
expectedDirectories |
string[] | Directories the process legitimately runs from. May use placeholders like %SystemRoot%\\System32. Used by the path-masquerading rule. |
publisher |
string | The expected signer, e.g. "Microsoft Windows". |
category |
string | One of core-windows, driver, third-party-known, unknown. |
descriptionEN |
string | Plain-language description in English. |
descriptionPT |
string | Plain-language description in Portuguese. |
Adding a known process is a great first contribution. To keep the database trustworthy:
- Only add widely and publicly documented processes. Cite your source in the PR description (Microsoft docs, a reputable reference).
-
Keep descriptions plain-language. A non-technical reader must understand
them -- no jargon. Both
descriptionENanddescriptionPTare required. - Get the expected directories right. They are what the masquerading rule trusts; an over-broad entry weakens the check for everyone.
- Pick the narrowest correct
category.
Open a pull request with the new object added to the database file. CI (fmt,
clippy, test, audit) must pass.