Skip to content

Security: prodmutant/PrivaCore

Security

SECURITY.md

Security policy

PrivaCore is a security tool, so it should be held to the standard it helps people enforce.

Reporting a vulnerability

Please do not open a public issue for a security problem.

Report it privately through GitHub Security Advisories, which lets us discuss it before anything is public.

This is a solo, part-time project. Realistically:

  • I will acknowledge a report within 7 days.
  • I will tell you whether I can fix it, and roughly when, within 30 days.
  • If you want to publish after that, go ahead — please just say so, so I can prepare.

Credit in the release notes is yours unless you would rather stay anonymous.

What is in scope

Anything that lets someone do more than the design intends:

  • Reaching a module, the SIEM collector, or the local REST API without valid credentials.
  • Recovering a password, pairing code, or stored credential from disk, memory, or the wire.
  • Executing code through a value PrivaCore passes to a shell, PowerShell, netsh, or WMI.
  • Making the console act on data from an unauthenticated source.
  • Crashing or exhausting a collector or sensor from the network.

What is not in scope

  • Anything PrivaCore is supposed to do to a target you scan. It is an offensive-capable tool. Port scanning, banner grabbing, honeypot decoys, and exploit-lookup helpers are features. Using them without authorisation is your problem, not a vulnerability.
  • Attacks that require Administrator on the machine already running PrivaCore. At that point the attacker owns the host and everything on it, including DPAPI-protected files.
  • Listeners you deliberately opened on an untrusted network. Syslog ingest is unauthenticated by design and documented as trusted-network-only.
  • Missing hardening in something clearly marked unfinished in the README.

Current security model

Worth knowing before you report — these are known and intentional:

Area State
Module channel (console ↔ IDS / SIEM / Honeypot / agent) TLS 1.2+, self-signed certificate pinned by SHA-256 fingerprint on first connect
Module login Pairing code gate, then SCRAM challenge/response — the password is never sent, and the stored verifier is not replayable
Module brute force 5 failures per source address → 15-minute lockout; 3 attempts per connection; 30-second handshake deadline
Module commands Require the session token issued at login
Console sign-in Local accounts, PBKDF2 verifiers, 5-strike lockout, role-based permissions, audit trail
Secrets at rest DPAPI (current user) — API keys, credential vault, saved module logins, console accounts
Syslog ingest (UDP/TCP) Unauthenticated by design. Trusted networks only
HTTP ingest Optional shared token; open when no token is set
SIEM query API (GET /api/search) Always requires a token — never served anonymously
Local REST API Loopback by default, random API key, constant-time comparison, Host-header checked against DNS rebinding

Known limitations

  • DPAPI CurrentUser means any process running as the same Windows user can decrypt the vault. Protecting against malware already in your user session is out of scope.
  • The module certificate is trust-on-first-use. Compare the fingerprint the module window shows against the one the console displays before you save a connection.
  • The SIEM store is in-memory with disk snapshots. It is not a tamper-evident audit log.
  • Multi-tenancy does not exist. One console, one operator's view of everything.

Supported versions

The latest release only. This is a part-time project; there is no backport branch.

There aren't any published security advisories