HostBadger
3.4
Minimum PowerShell version
5.1
Installation Options
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
Dependencies
This module has no dependencies.
Release Notes
## [3.4] - 2026-11-25
### Added
- **HostBadger on the PowerShell Gallery.** `Install-Module HostBadger` installs the
analyzer, the collector, the libraries and the catalogs, and gives each entry
point a command: `Invoke-HostBadger`, `New-HostSnapshot` (alias
`Collect-HostSnapshot`), `Start-HostBadger`, `Start-HostBadgerGui`,
`Test-HostBadgerSafety`, `New-SyntheticHostSnapshot`, and `Get-HostBadgerPath`
to reach a file of the module (the collector to copy to a host, the synthetic
fleet to analyze). The scripts are still the product: each function runs the
script file itself, in process, so the script keeps its own `$PSScriptRoot` and
finds `lib\` and `data\` where it always did. A SecureString parameter is easier
this way than from a command line: `-SnapshotPassword` no longer has to cross a
new PowerShell.
- `tools\New-HostBadgerModule.ps1` builds that module under `output\module`,
outside the repository's own files: anyone cloning the repository still gets a
set of scripts with no build step and no manifest. The param block, its
attributes and the comment based help of every function are copied from the
script's own source with the PowerShell parser, so the 66 parameters of
`HostBadger.ps1` are never written down twice and the module cannot drift from
the scripts. The regression reads the generated module without running it and
fails if a parameter, an export or the version differs from the scripts.
- The package leaves out what a run does not read (the demo report and its GIF,
the developer tools in `tools\`) and keeps `examples\fleet`, the synthetic
snapshots the README analyzes first.
FileList
- HostBadger.nuspec
- CHANGELOG.md
- HostBadger.psm1
- README.md
- Start-HostBadger.ps1
- Test-HostBadgerSafety.ps1
- data\attack-paths.json
- data\malicious-extensions.json
- data\remediation-profiles.json
- data\vulnerable-drivers.json
- examples\policy.example.json
- lib\Checks.ps1
- lib\Remediation.ps1
- tests\New-SyntheticHostSnapshot.ps1
- examples\fleet\hostsnapshot_hardened.json
- examples\fleet\hostsnapshot_partial.json
- Collect-HostSnapshot.ps1
- HostBadger.ps1
- LICENSE
- SECURITY.md
- Start-HostBadgerGui.ps1
- data\acn-nis2-measures.json
- data\cis-map.json
- data\recent-attacks.json
- data\stig-catalog.json
- examples\exceptions.example.json
- lib\AI.ps1
- lib\Common.ps1
- lib\Reporting.ps1
- examples\fleet\hostsnapshot_dc.json
- examples\fleet\hostsnapshot_laptop.json
- examples\fleet\hostsnapshot_weak.json
- COVERAGE.md
- HostBadger.psd1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 3.4 (current version) | 11 | 11/25/2026 |