Transparency and permissions
PQC PRZM reads a Windows estate and writes the report and the scripts on the computer where you run it. An assessment does not need Domain Admin. The program does not connect to the internet, does not send telemetry, and does not check for updates.
What it does
- Reads event logs, SMB, Schannel, NTDS and LSA configuration, computer accounts, and public certificates.
- Writes the report, the baseline, and scripts under the folder you pass as --out.
- Records every file it writes, and during collect every connection, in activity.json and in the HTML report.
- preflight warns when the token is in a group assessment does not need.
What it does not do
- It does not join a group, reset a password, or edit a GPO. The account script refuses those groups.
- It does not open an inbound port.
- No telemetry, no update check, no license call.
- No private keys, no LAPS passwords, no NT hashes.
- A generated script does not run because it was generated. Without -ConfirmEnforce ENFORCE it changes nothing.
- Version 2, creating and linking GPOs, is not in this version and is not granted to this account.
Permissions
| Mode | Needs | Does not need |
|---|---|---|
| Assessment, read-only | A dedicated user or gMSA. Event Log Readers on each target. LDAP read of the domain and of CN=Configuration. Remote registry of HKLM\SYSTEM and HKLM\SOFTWARE if you want the tool to read those values. | Domain Admins, Enterprise Admins, Schema Admins, Administrators, Account Operators, Server Operators, Backup Operators, replication rights, password reset, GPO edit, private-key permissions. |
| Generating scripts | Write access to the --out folder. assess, baseline, plan, and preflight open no socket. | Any domain right. |
| Version 2, not built | A separate confirmation and a separate right to create and link a GPO, with a backup taken first. | Those rights on the everyday read account. |
Network
collect contacts only the domain controller in --dc, every domain controller LDAP then returns, and computers you repeat with --computer. assess, baseline, plan, and preflight make none of these connections. Their activity log has an empty network list.
| From | To | Port | Why |
|---|---|---|---|
| Management server | Each named target and each domain controller | TCP 135, then a dynamic RPC port | Security, System (Schannel), Directory Service, SMBServer/Audit, SMBClient/Audit, NTLM/Operational, Schannel/Operational. |
| Management server | Domain controllers | TCP 389 (636 only if you later force LDAPS) | Computers, operating system, userAccountControl, and cACertificate. No password or LAPS attributes. |
| Management server | Each target | TCP 445 | SMB, Schannel, NTDS, and LSA. If this is denied, the host is a gap. The tool does not ask for Administrators. |
| Management server | The internet | none | No telemetry, no update check, no license call. |
Windows Event Log cannot be limited to one high port. The firewall script blocks the executable outbound except to the internal subnets you name. It changes nothing without -ConfirmEnforce ENFORCE.
Check it yourself
- Run pqcprzm plan and read the host list before collect.
- Run pqcprzm preflight on the management server. A warning means the account is over-privileged. Exit code 4.
- Open activity.json next to the report. Offline commands have "connections": [].
- During collect: Get-NetTCPConnection -OwningProcess and Resource Monitor. You should see the domain controllers and the named computers, not a public address.
- Sysmon event 3 on the executable should match the activity log. A connection to port 443 or to an address outside your subnets is a defect. Stop and tell us.
- Apply the firewall template and check Get-NetFirewallRule -DisplayName 'PQC PRZM*'.
- assess and baseline need no route. They read the file you already copied onto the machine.
Data
Everything stays in the --out folder: report.html, report.json, activity.json, snapshot.json when you collected, baseline-plan.json, and the scripts. There is no second copy at a vendor, because there is no connection. Protect the folder with BitLocker or EFS. Encrypting the report itself is not built. Do not put --out on a share other customers can read. Certificate stores are opened read-only; no PFX is exported, and msLAPS-Password and ms-Mcs-AdmPwd are not requested.
Builds
CI on Ubuntu and on Windows compiles and tests the source. CI does not publish a binary. Authenticode is a release step; this repository has no key. Until a signed build and a hash are published, a binary you did not build is untrusted. The collector source is src/PqcPrzm.Core/Collection.