Deployment at scale (MSI + GPO)¶
Plasma ships two artifacts per release:
| Artifact | Use |
|---|---|
plasma-<version>-windows-x64.exe |
single-file installer for a console operator |
plasma-<version>-windows-x64.msi |
MSI for GPO / enterprise deployment |
The MSI installs the exe into C:\Program Files\Plasma\ and runs
plasma install --force --root "<PLASMA_ROOT>" --rotate as a deferred,
elevated custom action — so a GPO deployment provisions Sysmon/WHIDS and
the event store without anyone at the console. --rotate swaps the
canonical bin\plasma.exe and restarts the registered tasks, so an upgrade
leaves the running node reporting the package version rather than the
previous release.
Silent install¶
msiexec /i plasma-1.4.0-windows-x64.msi /qn
Custom data root (e.g. a larger volume):
msiexec /i plasma-1.4.0-windows-x64.msi /qn PLASMA_ROOT="D:\Plasma"
Diagnostic log:
msiexec /i plasma-1.4.0-windows-x64.msi /qn /l*v C:\Windows\Temp\plasma-msi.log
Requirements: Windows x64, local administrator, ~200 MB disk. Internet is optional — with it, the installer provisions Sysmon automatically; without it the node installs in MINIMAL mode (identity + ETW tap).
Group Policy deployment¶
- Put the MSI on a share the computer accounts can read, e.g.
\\fileserver\software\plasma\plasma-1.4.0-windows-x64.msi. - Group Policy Management → create/edit a GPO for the target OU → Computer Configuration → Policies → Software Settings → Software installation.
- New → Package…, choose the MSI from the UNC path, select Assigned, click OK.
- To change the data root per OU, deploy a transform (
.mst) that sets the public propertyPLASMA_ROOT, and add it in the package's Modifications tab. - Force policy refresh and reboot:
gpupdate /force, thengpresult /hto confirm the assignment.
The package upgrades in place: a newer release carries the same
UpgradeCode and replaces the previous version (MajorUpgrade).
Uninstall behavior: removing the MSI deletes the installed exe only. It
deliberately leaves Sysmon, WHIDS and C:\ProgramData\Plasma alone —
silently stripping an EDR's sensors is an operational decision, not an
uninstaller default. Remove those explicitly if required.
Verifying a deployed node¶
plasma health
plasma canary deploy # optional: realistic impact decoys
plasma canary token create --kind dns --domain assets.internal
plasma canary sysmon --apply # narrow Sysmon EID 22 include
plasma canary token create --kind http --base-url http://collector:8088
plasma canary serve --host 127.0.0.1 --port 8088
A node deployed by MSI runs the same install path as the exe, so its
config.json, health verdict and update behavior are identical.
Rollout pattern that works¶
- Pilot: one node, interactive install,
plasma watch oncefor a day. - Ring 1: MSI via GPO on a small OU; check
plasma healthcentrally withplasma fleet pull/correlate. - Ring 2: remaining OUs. Keep
--skip-whidstransforms for hosts where WHIDS is known to be unstable; the node records MINIMAL mode and health reports it, and the rest of the stack is unaffected. The installer also registers the PlasmaWhidsWatchdog scheduled task (SYSTEM, every 2 minutes), which runsplasma whids ensureto force-stop a hung StartPending and restart the sensor. Its actions are appended toC:\ProgramData\Plasma\logs\whids-watchdog.log.
Note on signing¶
The exe inside the MSI is Authenticode-signed from 1.2.0 onward. From
1.19.2 the release workflow also signs the MSI with the same PFX and
timestamp, and SHA256SUMS covers the signed MSI. The current certificate
is self-signed, so a fresh host reports UnknownError until the
certificate is trusted; distribute the MSI over a trusted internal share
and verify both signatures with Get-AuthenticodeSignature.