How it works
Version 0.1 stops at files. You read them and run them. The program does not link a GPO.
01
Watch
Turn the audit policy on before the window. The program does not. An empty log is not a pass unless the coverage flag is true, and the engine trusts the flag you set. Offline: assess on JSON, Event XML, or .evtx. Live: plan prints hosts, logs, and queries and opens nothing. collect refuses until --confirm-collect CONFIRM, and only in a Windows build. On another build it stops and says the collector is not included.
02
Judge
Status is the estate today: pass, fail, warning, inconclusive, or not built. Enforceability is a different question: already met, safe, blocked, or unknown. Both can be true. SMB1 can still be on while a quiet audit window makes disabling it defensible. If a copier attempted SMB1, the check fails and that host stays out of the script.
03
Baseline
One profile per role present in the snapshot: domain controllers, member servers, workstations. Sub-roles (file, web, SQL) are in the model and are always general. Intune devices get no profile. The pilot is the first computer name in sorted order; the rest are broad. In the school fixture the member-server pilot is fs01, the host that blocks SMB1. That is a placeholder, not a selection algorithm.
04
Scripts
Generators exist for SMB, NTLM, LDAP signing and channel binding, and TLS 1.0/1.1 off. Kerberos, hybrid TLS groups, and checks that are not built get no script. An Enforce row then stays in the manifest with artifact none. The script names only hosts that can take the safe value. Generating applies nothing.
05
Deploy laterroadmap
Version 2 can create and link a GPO, audit first where that exists, pilot OU first, with a backup taken before the link and a separate confirmation. Intune comes after that. That code does not exist. No subscription includes it.
From the check to the script
| Evidence | Plan and list | Script |
|---|---|---|
| Already met or safe on that host | The host is listed for that setting | The script skips a value that is already right |
| Blocked or unknown | The host stays off that list | Unless you override the plan and regenerate |
| Check not built, or no generator | Defer, or artifact none | No file that sets the control |
#Requires -Version 5.1
<#
.SYNOPSIS
PQC PRZM local SMB baseline. Review before use.
.DESCRIPTION
Generated by PQC PRZM 0.1.0.
Customer: Stichting De Horizon
Domain: horizon.school
Run this on each intended computer. It does not open a remoting session and it does not link a GPO.
With no arguments the script prints the desired settings and changes nothing.
Pass -ConfirmEnforce ENFORCE to apply. -WhatIf is still honored on that path.
Roll back with the same script: -Rollback -ConfirmEnforce ENFORCE.
Rollback restores only values this script captured, and refuses to guess when the state file is missing.
#>$Smb1ServerHosts = @(
'dc01'
'dc02'
'iis01'
'win11-beheer'
)
$SigningClientHosts = @(
'iis01'
'win11-beheer'
)warning: fs01 is excluded from SMB1-SERVER-OFF because that host is blocked or the evidence is incomplete.
warning: fs01 is excluded from SMB1-CLIENT-OFF because that host is blocked or the evidence is incomplete.
warning: Each setting is applied only on the computers listed for that setting. A blocked host is left out unless an admin overrode that setting.
Artifacts were written for review. Nothing was applied. No network connections were made.Commands
pqcprzm assess --snapshot file.json [--events dir] --out dir
pqcprzm baseline --snapshot file.json [--events dir] [--plan plan.json] --out dir
pqcprzm plan --domain dns --dc host [--computer host]
pqcprzm collect --customer name --domain dns --dc host [--computer host] --out dir --confirm-collect CONFIRM
pqcprzm preflight
pqcprzm catalogExit code 0 means the command ran, not that the estate passed. Exit code 2 is usage (missing argument or unknown command). Exit code 3 is a bad snapshot, a rejected artifact, or an unknown flag. Exit code 4 is preflight when the token is over-privileged. collect without CONFIRM stops with exit code 0 and writes nothing.
Installing and running a lab is in the guide. Installation guide. Permissions and network.