defanging-and-sharing-iocs
Prepares indicators of compromise for safe sharing: defanging URLs, domains, IPs,
v1.0.03 installs+3 in 7 days24 StarsApache-2.0synced 10 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/defanging-and-sharing-iocsWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package8d181c64…2d5b7158
8d181c6417f0…c0fe2d5b71584 files · 2.9 KBScanMedium2 findings
- Executable script shipped with the skillscripts/analyst.py
- Links to outside domains
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/defanging-and-sharing-iocs@da7600a
On this page
When to Use
- You are about to put indicators in a report, ticket, chat, or email and must prevent accidental clicks or resolution.
- You need to export indicators in a structured format for a sharing platform (MISP/STIX) or feed.
- You are normalizing a messy indicator list before distribution.
Do not use raw, live indicators in any document a human or tool might auto-process — a clicked URL or auto-resolved domain can tip off the adversary or infect a reader.
Prerequisites
- A list of extracted indicators (from the IOC-extraction skill) and the target sharing format.
Workflow
Step 1: Normalize the indicators
Deduplicate and canonicalize (lowercase domains, strip trailing dots) so the output is clean.
Step 2: Defang for safety
Apply standard defanging: http→hxxp, .→[.], @→[at], ://→[://]. This blocks
hyperlinking and casual copy-paste resolution.
python scripts/analyst.py defang iocs.txtStep 3: Classify and structure
Tag each indicator by type (url, domain, ipv4, email, hash) and emit a structured form (CSV or a minimal STIX-style bundle) for the target platform.
Step 4: Add context
Attach the source, first-seen date, confidence, and related ATT&CK technique so consumers can act on the indicator.
Validation
- No output indicator is clickable or auto-resolvable (all are defanged).
- Each indicator is correctly typed and deduplicated.
- The structured export imports cleanly into the target platform.
Pitfalls
- Defanging inconsistently, so some indicators remain live.
- Sharing indicators without context (source, confidence), reducing their value.
- Over-defanging hashes (no need) or mangling indicators so they cannot be re-fanged for use.
References
- See
references/api-reference.mdfor the defang/export helper. - STIX 2.1 and MISP (linked in frontmatter).
Files in this version
references/11.0 KB
- api-reference.md1.0 KB
scripts/12.3 KB
- analyst.py2.3 KB
- LICENSE340 B
- SKILL.md2.7 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumFile · Executable script shipped with the skillscripts/analyst.py
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v1.0.0 | Nov 13, 2026 | da7600a | 8d181c64 | Signed | – |
More from meltedinhex
All from this publisher- writing-yara-rules-from-reversed-codemeltedinhex/writing-yara-rules-from-reversed-code4
- validating-detections-with-atomic-testsmeltedinhex/validating-detections-with-atomic-tests4
- writing-suricata-and-snort-rulesmeltedinhex/writing-suricata-and-snort-rules3
- writing-sigma-detection-rulesmeltedinhex/writing-sigma-detection-rules3
More in Malware and ransomware analysis
See the category- yara-sigsdariushoule/yara-sigs4
- monitoring-darkweb-sourcesmukul975/monitoring-darkweb-sources3
- deploying-ransomware-canary-filesmukul975/deploying-ransomware-canary-files3
- implementing-honeypot-for-ransomware-detectionmukul975/implementing-honeypot-for-ransomware-detection3
- yaraaeondave/yara3
- testing-ransomware-recovery-proceduresmukul975/testing-ransomware-recovery-procedures3
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login