claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Content & Creative

reduce-golang-detections-skill

Claude Code skill for systematically reducing VirusTotal/EDR detection rates on compiled Go binaries via PE structural analysis and disciplined A/B testing.

// Content & Creative[ api ][ claude ]#claude#contentApache-2.0$open-sourceupdated 14 days ago
Actively maintained
96/100
last commit 14 days ago
last release none
releases 0
open issues 0
// install
git clone https://github.com/praetorian-inc/reduce-golang-detections-skill

reduce-golang-detections-skill

A Claude Code skill for systematically reducing VirusTotal and EDR detection rates on compiled Go binaries through structural analysis, iterative A/B testing, and ML feature vector optimization.

A companion blog post will be linked here once published.

What this is

Modern EDR detections on Go binaries are dominated by statistical ML classifiers (e.g. Microsoft Wacatac.B!ml, ML.Attribute.HighConfidence, MalwareX-gen, Evo-gen) rather than fixed-byte YARA rules. Defeating an ML classifier is a fundamentally different problem from defeating a signature — renaming strings and swapping imports often makes detection worse, because the resulting binary diverges further from the vanilla toolchain baseline the classifier has learned as "normal."

This skill packages a disciplined methodology for that problem:

  • Triage detection type before remediation. Label every hit as YARA-style or ML-style. The fixes are different and not interchangeable.
  • Change one variable per experiment. 10–20 samples per arm, control and variant built in the same VT upload window — Wacatac retrains on roughly a daily cadence, so a control batch from yesterday is not a valid A/B test.
  • Measure with a comprehensive PE structural analyzer (included) before and after each change, and compare deltas against a vanilla binary from the same toolchain.
  • Camouflage, not concealment. Give the classifier a believable answer to "what is this binary?" — mimicking the gopclntab symbol fingerprint of a single coherent large Go project consistently outperforms stripping, padding, or obfuscation.
  • Recognize the irreducible floor. Once detection drops to ~15–25% on VirusTotal (the stochastic floor near the ML threshold), further structural optimization rarely pays back, and VT is not ground truth for real endpoints.

What's in the box

FilePurpose
SKILL.mdThe skill itself — methodology, prerequisites, phased workflow, and the core principles above. Load this into Claude Code.
pe_structural_analyzer.pyStandalone Python analyzer that extracts the full PE structural feature vector (sections, imports, exports, resources, gopclntab, entropy, etc.) and produces a baseline/delta JSON report.
references/pe-structural-analyzer.mdHow to run the analyzer and interpret its output.
references/pe-structural-features.mdCatalog of structural features observed across vanilla vs. modified Go builds, with which features actually correlate with detection.
references/experiment-categories.mdCatalog of experiment categories that have and have not worked in practice, including dead ends to avoid.

Requirements

  • Python 3 with pefile and lief (a venv is recommended; on PEP 668 systems use --break-system-packages if you must install system-wide).
  • A VirusTotal API key.
  • A vanilla binary from the same toolchain as your target (e.g. GOOS=windows GOARCH=amd64 go build) for delta comparison.

Using the skill with Claude Code

Drop SKILL.md, pe_structural_analyzer.py, and the references/ directory into a location Claude Code can read as a skill, then invoke the workflow when you have a high-detection binary you need to bring down. The skill will walk through baseline collection, structural analysis, hypothesis selection, and per-experiment A/B testing.

Scope and intent

This is a defensive-research and authorized-engagement tool published by Praetorian to share methodology for understanding how modern ML-based EDR classifiers respond to changes in compiled binaries. It is intended for use on binaries you are authorized to test, in the context of red-team engagements, detection-engineering research, and toolchain hardening.

License

Apache License 2.0 — see LICENSE.

// compatibility

Platformsapi
Operating systems
AI compatibilityclaude
LicenseApache-2.0
Pricingopen-source
LanguagePython

// faq

What is reduce-golang-detections-skill?

Claude Code skill for systematically reducing VirusTotal/EDR detection rates on compiled Go binaries via PE structural analysis and disciplined A/B testing.. It is open-source on GitHub.

Is reduce-golang-detections-skill free to use?

reduce-golang-detections-skill is open-source under the Apache-2.0 license, so it is free to use.

What category does reduce-golang-detections-skill belong to?

reduce-golang-detections-skill is listed under skills in the Claudeers registry of Claude-compatible tools.

0 views
16 stars
unclaimed
updated 14 days ago

// embed badge

reduce-golang-detections-skill on Claudeers
[![Claudeers](https://claudeers.com/api/badge/reduce-golang-detections-skill.svg)](https://claudeers.com/reduce-golang-detections-skill)

// retro hit counter

reduce-golang-detections-skill hit counter
[![Hits](https://claudeers.com/api/counter/reduce-golang-detections-skill.svg)](https://claudeers.com/reduce-golang-detections-skill)

// reviews

// guestbook

0/500

// related in Content & Creative

🔓

A curated list of modern Generative Artificial Intelligence projects and services

// contentsteven2358/12,249CC0-1.0[ claude ]
🔓

Universal SEO skill for Claude Code. 25 sub-skills + 18 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, backlinks, local SEO, maps intelligence,…

// contentAgriciDaniel/Python10,755MIT[ claude ]
🔓

一键同步文章到多个内容平台,支持今日头条、WordPress、知乎、简书、掘金、CSDN、typecho各大平台,一次发布,多平台同步发布。解放个人生产力

// contentwechatsync/TypeScript5,919GPL-3.0[ claude ]
🔓

Claude Code blog skill suite: 30 sub-skills, 5 agents, 5-gate v1.9.0 Blog Delivery Contract, dual-optimized for Google rankings and AI citations. Active deve…

// contentAgriciDaniel/Python1,277MIT[ claude ]
→ see how reduce-golang-detections-skill connects across the ecosystem