Security policy
How to report a way around ABA, what counts as one, and how releases and updates are protected.
From SECURITY.md in ABA's source code
A Better Antivirus runs as SYSTEM, so bugs in it matter. Please report vulnerabilities privately by email to [email protected] (or, when the GitHub page is available, through GitHub's Report a vulnerability in the Security tab), never in a public issue. You'll get a reply within a few days.
Especially interesting:
- ways for a non-admin process to disable, blind or bypass A Better Antivirus (stop the service, strip audit rules, get ignored, undo a response, read secrets),
- ways to make the SYSTEM service run attacker-controlled code or touch attacker-chosen files,
- ways to get the auto-updater to install something that wasn't signed with the release key,
- ways for a stealer to tell baits apart from real data cheaply.
Out of scope: attacks that already require administrator rights (see "Honest limitations" in the README).
What a program running as you must not be able to do
These are the lines ABA is built to hold against malware without admin rights. A way across any of them is a vulnerability:
- Learn where the baits are from ABA itself.
C:\ProgramData\FileAccessMonitoris readable by SYSTEM and administrators only; the one world-readable file,public\status.json, holds health and counts, never a path, a bait name, a program name, an alert or how ABA is set to respond. - Keep the service busy or tell it what to do. Only SYSTEM and administrators can send it commands.
- Read a bait without an alert. Baits are recognised by the file, not its name (hard links), the audit rule covers read and execute access (memory mappings), and an open that refuses to be paused is attributed by the handle it holds.
- Get a bait removed. Decoys are only retired for an app signed by its publisher, loudly, and one a day.
- Avoid or undo the freeze. Protected Windows processes are recognised by their real path, the processes around the reader are frozen with it, and frozen processes are held in a nameless job object only the service has a handle to.
- Pass for something trusted: a renamed or swapped executable, a copy of ABA, a signed program carrying an unsigned DLL, a sweep split across processes, a scheduled task in session 0.
- Get code run with more rights through anything ABA starts or writes.
internal/engine/bypass_test.go, internal/instant/ghost_test.go and the Evasion step of
scripts/e2e.ps1 each replay one of these. A new bypass report is most useful as one more test there.
How releases and updates are protected
- Releases are built from a tagged commit: by GitHub Actions (release.yml) up to v0.12.1, and since v0.12.2 on the maintainer's machine with the same steps (docs/update-site.md).
- Every release ships
SHA256SUMS.txtandSHA256SUMS.txt.sig: an ed25519 signature over the checksum list, made with the release key. The public key is compiled into ABA (internal/update). - The auto-updater (and
aba update) only installs a release whose signature verifies and whose.exematches the signed hash. It refuses downgrades, drafts, pre-releases (except betas, on a PC switched to the beta channel) and downloads from anywhere but its one built-in update address (GitHub up to v0.12.1, update.abetterantivirus.com since v0.12.2, where a signed manifest names the release), and rolls back if the new version fails to start. - Betas (
vX.Y.Z-beta.N) are built by the same workflow and signed with the same key, and go through the same checks (docs/beta.md). - Updates are downloaded into
C:\Program Files\File Access Monitor\updates, which only administrators and SYSTEM can write to. - Every job that can sign with the release key (Windows, Linux, macOS) runs in the protected
releaseenvironment; the workflow's token gets no permissions by default, and third-party actions are pinned by commit. - Besides the current release key, ABA trusts a backup key (
update.NextKeys, made ahead of time and kept offline) and never a key inupdate.RevokedKeys: a leaked key can be rotated out by a release signed with the backup. - Every file in each signed checksum list has a build provenance attestation
(
gh attestation verify <file> --repo vulnix0x4/a-better-antivirus).
What the maintainer has to set up on GitHub for this to hold: docs/release-security.md.
Supported versions: the latest release.