HostBadger

3.6

Windows host hardening auditor. Collect once on each host with a read-only snapshot (as SYSTEM through an EDR, an RMM, Intune, a startup script or PowerShell remoting), then analyze anywhere: 248 checks plus about 500 DISA STIG registry rules, mapped to MITRE ATT&CK, the CIS Windows benchmarks, the ASD Essential Eight and NIS2 / ACN. One HTML report for the whole flee
Windows host hardening auditor. Collect once on each host with a read-only snapshot (as SYSTEM through an EDR, an RMM, Intune, a startup script or PowerShell remoting), then analyze anywhere: 248 checks plus about 500 DISA STIG registry rules, mapped to MITRE ATT&CK, the CIS Windows benchmarks, the ASD Essential Eight and NIS2 / ACN. One HTML report for the whole fleet, a findings CSV, JSON Lines for a SIEM, and a generated reversible remediation script. Pure PowerShell, Windows PowerShell 5.1 and PowerShell 7, no agent, and no network unless you ask for a catalog download or the optional AI summary. A check whose data could not be collected is listed as not evaluated, never as clean.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name HostBadger

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name HostBadger

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Gabriele Piccini. MIT licence.

Package Details

Author(s)

  • Gabriele Piccini

Tags

Security Hardening Audit Compliance Windows CIS STIG EssentialEight NIS2 Defender BlueTeam IncidentResponse

Functions

Get-HostBadgerPath Invoke-HostBadger New-HostSnapshot New-SyntheticHostSnapshot Start-HostBadger Start-HostBadgerGui Test-HostBadgerSafety

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## [3.6] - 2026-12-04
### Added
- **Bloatware and telemetry in the report.** A "Bloatware and telemetry" panel in the
 dashboard lists, per host, the preinstalled apps and trials found (installed, provisioned
 or program) and whether Windows diagnostic data is sent beyond the required level. A host
 where the check could not run, was turned off by the policy or whose snapshot predates the
 field says "not judged", never "none found". The overview JSON of the report gains
 `privacy` per host; the JSON Lines host summary gains `bloatware_state`, `bloatware_count`,
 `telemetry_state` and `telemetry_level`.
- New check `telemetry_active` (248 checks in all, Low, category Privacy): the DiagTrack
 service is not disabled and no policy keeps `AllowTelemetry` at 0 or 1. The collector reads
 the policy value into `hardening.allowTelemetry` (read-only registry); the service comes from
 the existing `services` section. The remediation profiles already carry the setting
 (`-RemediationPrivacy`).

### Fixed
- `bloatware_installed` listed apps that were already removed. The per-user records of the
 Store (`AppxAllUserStore`) outlive the removal of an app, so the collector now leaves out a
 record whose `Path` is gone, or, when it has none, whose app is in the `Deprovisioned` list.
 An app updated since its record was written (an older version in the key) is kept.

FileList

Version History

Version Downloads Last updated
3.6 (current version) 8 12/4/2026
3.4 14 11/25/2026