fix: reduce Windows Defender false positive on fileless malware skill - #112
Open
kevglynn wants to merge 2 commits into
Open
fix: reduce Windows Defender false positive on fileless malware skill#112kevglynn wants to merge 2 commits into
kevglynn wants to merge 2 commits into
Conversation
Add AV false-positive guidance for issue mukul975#100, move inline YARA rule to references/yara-fileless-powershell.yar, and replace literal encoded PowerShell payload with a placeholder in the sample report.
The --yara-file reference should not assume a specific working directory. Use a placeholder path that analysts will substitute for their setup.
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.
Summary
Addresses #100 — Windows Defender quarantines
detecting-fileless-malware-techniques/SKILL.mdasTrojan:script/Wacatac.H!ml. The skill content is defensive/educational; the detection is a false positive caused by literal malware-pattern strings embedded in documentation.Scope and limitations: This PR reduces the triggering surface by removing the highest-signal tokens (inline YARA rules with literal malware strings, a Base64-encoded PowerShell payload sample). However,
SKILL.mdintentionally retains educational references to LOLBin abuse patterns,Invoke-Mimikatz, CobaltStrike, andAMSI bypass— these are core to the skill's purpose and cannot be sanitized without gutting the content. This PR may reduce but not eliminate false positives. The primary deliverable is the discoverability section so users who hit this know it's a known issue and how to resolve it.Changes:
references/yara-fileless-powershell.yar(preserves the rule for analysts, reduces scanner hits onSKILL.md)<BASE64_UTF16LE_PAYLOAD>placeholder in the worked reportstringsgrep examplesTest plan
python3 tools/validate-skill.py skills/detecting-fileless-malware-techniques→ PASSpython3 tools/validate-skill.py --all→ 817/817 PASSMitigates #100