Add PowerShell wrapper with pipeline support, Wazuh SIEM integration, and HTML reporting#6
Open
MoSLoF wants to merge 3 commits intorasta-mouse:masterfrom
Open
Conversation
… and HTML reporting - Invoke-ThreatCheck.psm1: Pipeline-friendly wrapper with structured PSCustomObject output - Wazuh NDJSON event logging with MITRE ATT&CK T1562.001 / T1027 mapping - Self-contained dark-theme HTML threat report - AMSI + Defender engine support, glob/wildcard expansion, URL scanning - Invoke-ThreatCheck.psd1: Module manifest - CONTRIBUTING-HBV.md: Installation, usage, Wazuh decoder/rules, purple team context Co-authored-by: HoneyBadger Vanguard LLC <hbv@ihbv.io>
Removes a leftover debug print (status value: {status}) that was
emitting to stdout and polluting scan output.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds:
PowerShell wrapper module (Invoke-ThreatCheck) providing pipeline support, structured [PSCustomObject] output, Wazuh SIEM NDJSON logging with MITRE ATT&CK mapping, and a self-contained HTML threat report.
Files:
PowerShell/Invoke-ThreatCheck.psm1 — module (~880 lines)
PowerShell/Invoke-ThreatCheck.psd1 — manifest
CONTRIBUTING-HBV.md — installation, usage, Wazuh decoder/rules
ThreatCheck/Scanners/AmsiScanner.cs — removed debug Console.WriteLine
Tested: Single file, 3-file pipeline, HTML report, Wazuh NDJSON log, AMSI path-not-found error handling. PowerShell 7.5.4 on Windows 11.
cc @rasta-mouse