Логотип Re Ioc Extraction

Re Ioc Extraction

Спільнота
hackersifu
re-ioc-extraction

Extract and normalize defensive IOCs (domains, IPs, URLs, file hashes, mutexes, registry paths, file paths, user agents) from analyst-provided evidence such as strings output, sandbox logs, network logs, or reverse engineering notes. Use when the user wants IOCs for detection, blocking, hunting, or reporting.

Огляд

Видавецьhackersifu
Репозиторійreverse-engineering-skills
Назва навичкиre-ioc-extraction
Зірки
43
Форки
3
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: hackersifu. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Re Ioc Extraction у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/hackersifu/reverse-engineering-skills/tree/main/.agents/skills/re-ioc-extraction
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hackersifu/reverse-engineering-skills.git /tmp/reverse-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/reverse-engineering-skills/.agents/skills/re-ioc-extraction .claude/skills/re-ioc-extraction
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Re Ioc Extraction в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Re Ioc Extraction, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Re Ioc Extraction не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

re-ioc-extraction

Purpose

Produce a complete, defensive IOC set from analyst-provided evidence and present it in:

  1. a Markdown IOC table, and
  2. a structured YAML list,
    with traceable evidence only (no guessing, no enrichment, no validation).

Inputs expected

Provide at least one of the following (more is better):

  • strings output (ASCII and/or UTF-16)
  • sandbox / EDR / detonation logs (process, file, registry, network)
  • packet/proxy/DNS logs or extracted HTTP requests
  • reverse engineering notes (imports, APIs, decompiled snippets, paths, config blobs)
  • known hashes from a trusted source

If evidence is missing, the skill must still produce output for what is present and clearly note gaps.

Optional evidence generation (static only, no execution)

This skill must not execute the sample. If the user requests execution (or execution is required to obtain evidence), pause and notify the engineer to decide whether to proceed in a controlled sandbox.

If the user asks for help generating evidence locally (or you are explicitly allowed to run commands), prefer small, single-purpose commands that are hard to break and easy to copy/paste.

Command hygiene (important)

  • Prefer one pattern per command over long one-liners with many quoted arguments.
  • Avoid complex nested quotes. If a command needs heavy quoting, break it into multiple commands.
  • If a combined command fails (e.g., quoting/EOF errors), rerun as several simple commands and proceed.

Tool availability check (recommended)

bash
command -v file strings sha256sum sha1sum md5sum capa jq || true

file (type/format context)

bash
file "<sample>"

hashes (for reporting / dedupe)

bash
sha256sum "<sample>"
sha1sum "<sample>"
md5sum "<sample>"

strings (baseline)

bash
strings -a "<sample>" | head -n 2000

strings (UTF-16 / wide strings on Windows malware)

bash
strings -el "<sample>" | head -n 2000

Searching extracted strings safely (recommended pattern)

First save strings to a file, then search with one pattern per command:

bash
strings -a "<sample>" > /tmp/sample.strings.txt
strings -el "<sample>" > /tmp/sample.strings.utf16.txt

rg -n -F "http://" /tmp/sample.strings.txt
rg -n -F "https://" /tmp/sample.strings.txt
rg -n -F ".onion" /tmp/sample.strings.txt
rg -n -F "HKEY_" /tmp/sample.strings.utf16.txt
rg -n -F "CurrentVersion\Run" /tmp/sample.strings.utf16.txt

capa (use when available; degrade gracefully)

Use capa only as supporting static context (capabilities, packer/obfuscation hints). It does not directly produce IOCs.

  • If capa fails due to rule/signature mismatches, note it and continue with the evidence you do have.
  • If you have to pin rules, do so explicitly and record the rules version used in notes.

Non-negotiable rules

  1. No hallucinations: only output indicators explicitly present in the evidence.
  2. If incomplete/ambiguous (e.g., hxxp://, partial domains, truncated hashes), label candidate / incomplete and state what’s missing.
  3. No live validation: do not resolve domains, visit URLs, or test infrastructure. Extraction and normalization only.
  4. Every IOC must be traceable: include a verbatim evidence snippet (exact line or tight excerpt) and the source artifact (strings/log/notes).
  5. Stay on scope: do not inspect unrelated environment files (shell dotfiles, configs) unless explicitly requested. Focus on the sample and provided evidence.
  6. Do not “upgrade” indicators: do not infer C2/persistence/stealer behavior into network IOCs unless the indicator values are present. Behavioral assessment is optional notes only.
  7. No execution: do not run the sample or trigger detonation. If execution is requested or required, pause and notify the engineer to decide (and require a controlled sandbox/VM).

Execution required — pause template

If execution is requested/required, respond with:

PAUSE: This step would require executing an unknown sample. I will not proceed automatically.
Please confirm (engineer decision) whether to run in a controlled sandbox/VM, and provide the sandbox constraints (networking, snapshotting, logging tools).
If approved, paste sandbox outputs here and I will extract IOCs from the resulting evidence.

IOC types to extract

Extract only what is present in evidence. Common types include:

  • Hashes: MD5 / SHA1 / SHA256
  • Network: domains/subdomains, IPs (v4/v6), URLs, URI paths, ports, SNI/Host headers if present
  • Email addresses (if present)
  • File system: dropped file names, file paths
  • Windows persistence: registry keys/values, services, scheduled task names/paths (only if values are present)
  • Mutex names
  • User-Agent strings
  • Process names / command lines (only if explicitly present)
  • Certificates/keys: subjects, thumbprints, public keys (only if explicitly present)

Normalization rules

  • Domains: lowercase, strip surrounding punctuation, keep subdomains
  • URLs: preserve as-seen; if obfuscated (hxxp), include both obfuscated and normalized forms
  • IPs: normalize formatting; preserve IPv6
  • Hashes: lowercase; do not “fix” length or guess missing characters
  • Paths/registry: preserve exactly as provided; do not guess missing segments
  • De-obfuscation: only apply mechanical transforms that are explicitly reversible and obvious (e.g., hxxp→http). Do not decode custom encodings unless the decoded value is shown in evidence.

Confidence labels

Use a consistent, limited vocabulary:

  • confirmed: directly observed in authoritative output (hash tool output, explicit log lines)
  • high / medium / low: observed in evidence but context quality varies (e.g., noisy logs, partial correlation)
  • contextual: value is present but not inherently malicious (e.g., PDB path, product name, benign-looking file name)
  • candidate: looks like an IOC but may be incomplete/obfuscated/ambiguous
  • incomplete: truncated or partial value (state what is missing)

Output (always produce both)

A) IOC table (Markdown)

Include columns:

  • Type
  • Indicator
  • Confidence
  • Context (short)
  • Evidence (verbatim snippet + where it came from)

Rules:

  • One indicator per row.
  • Evidence must be an exact line or tight excerpt containing the indicator (do not paraphrase).
  • If the same IOC appears in multiple sources, include the best/most authoritative snippet, and optionally list a second snippet in the context.

B) Structured IOC list (YAML)

Schema (strict)

Top-level keys (include only those that have entries):

  • hashes
  • network
  • file_paths
  • file_names
  • process_names
  • registry
  • mutexes
  • user_agents
  • emails
  • certificates
  • notes (optional)
  • static_risk_notes (optional; see below)

Each list entry must include:

  • value (string)
  • confidence (one of: confirmed, high, medium, low, contextual, candidate, incomplete)
  • source (short label such as: "hash command output", "strings output", "UTF-16 strings output", "sandbox log", "network log", "RE notes")
  • evidence_snippet (verbatim line/excerpt containing the value)

Additional required fields by type:

  • hashes[]: algorithm (md5|sha1|sha256)
  • network[]: kind (domain|ipv4|ipv6|url|uri_path|port|sni|host_header)
    • If kind: port, value must be a string like "tcp/443" or "udp/53" when protocol is known; otherwise "port/443".
  • registry[]: kind (key|value|data) when known
  • certificates[]: kind (subject|thumbprint|public_key) when known

Example (shape only):

yaml
hashes:
  - value: "..."
    algorithm: "sha256"
    confidence: "confirmed"
    source: "hash command output"
    evidence_snippet: "sha256sum sample -> ..."

network:
  - kind: "domain"
    value: "example.com"
    confidence: "high"
    source: "sandbox log"
    evidence_snippet: "DNS query: example.com"

Optional: static risk notes (do not invent IOCs)

If the user asks “is it malicious?” you may include a short static_risk_notes section in YAML (and/or a short paragraph after the IOC table) that:

  • cites the exact static evidence used (e.g., packing/obfuscation signs, capa capability names, suspicious API surface),
  • avoids definitive attribution,
  • never manufactures missing IOCs.

Keep it brief and operational (what defenders should treat as risky and why).

Minimal clarification questions (only if required; max 1–3)

Ask only if needed to avoid incorrect extraction:

  • “Do you want only confirmed IOCs, or include candidate/contextual values too?”
  • “Is this evidence from strings only or do you have sandbox/network logs as well?”
  • “Do you want output optimized for a specific consumer (SIEM rule, EDR blocklist, report)?”

Happy path example (regression anchor)

Example evidence (input)

sha256sum sample.exe -> 1111111111111111111111111111111111111111111111111111111111111111
sha1sum sample.exe   -> 2222222222222222222222222222222222222222
md5sum sample.exe    -> 33333333333333333333333333333333

strings:
... hxxp://BadDomain[.]com/path/index.php
... User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
... D:\Build\proj\bin\Release\sample.pdb

Expected IOC table (output)

TypeIndicatorConfidenceContextEvidence
sha2561111111111111111111111111111111111111111111111111111111111111111confirmedSample hashsha256sum sample.exe -> 1111...1111
sha12222222222222222222222222222222222222222confirmedSample hashsha1sum sample.exe -> 2222...2222
md533333333333333333333333333333333confirmedSample hashmd5sum sample.exe -> 3333...3333
url (obfuscated)hxxp://BadDomain[.]com/path/index.phpcandidateObfuscated URL in strings... hxxp://BadDomain[.]com/path/index.php
urlhttp://baddomain.com/path/index.phpcandidateNormalized from hxxp + [.]... hxxp://BadDomain[.]com/path/index.php
user_agentMozilla/5.0 (Windows NT 10.0; Win64; x64)contextualUA string in strings... User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
file_pathD:\Build\proj\bin\Release\sample.pdbcontextualEmbedded build/debug path... D:\Build\proj\bin\Release\sample.pdb

Expected YAML (output)

yaml
hashes:
  - value: "1111111111111111111111111111111111111111111111111111111111111111"
    algorithm: "sha256"
    confidence: "confirmed"
    source: "hash command output"
    evidence_snippet: "sha256sum sample.exe -> 1111111111111111111111111111111111111111111111111111111111111111"
  - value: "2222222222222222222222222222222222222222"
    algorithm: "sha1"
    confidence: "confirmed"
    source: "hash command output"
    evidence_snippet: "sha1sum sample.exe   -> 2222222222222222222222222222222222222222"
  - value: "33333333333333333333333333333333"
    algorithm: "md5"
    confidence: "confirmed"
    source: "hash command output"
    evidence_snippet: "md5sum sample.exe    -> 33333333333333333333333333333333"

network:
  - kind: "url"
    value: "hxxp://BadDomain[.]com/path/index.php"
    confidence: "candidate"
    source: "strings output"
    evidence_snippet: "... hxxp://BadDomain[.]com/path/index.php"
  - kind: "url"
    value: "http://baddomain.com/path/index.php"
    confidence: "candidate"
    source: "strings output"
    evidence_snippet: "... hxxp://BadDomain[.]com/path/index.php"

user_agents:
  - value: "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
    confidence: "contextual"
    source: "strings output"
    evidence_snippet: "... User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)"

file_paths:
  - value: "D:\\Build\\proj\\bin\\Release\\sample.pdb"
    confidence: "contextual"
    source: "strings output"
    evidence_snippet: "... D:\Build\proj\bin\Release\sample.pdb"

Definition of done

  • Every indicator in the table is present in the evidence and has a verbatim snippet.
  • YAML conforms to the schema and uses only allowed confidence labels.
  • Normalization is applied without guessing missing values.
  • No live validation/enrichment was performed.
  • If the user asked about maliciousness, any risk notes are brief, evidence-cited, and do not invent IOCs.

Поширені запитання

Що робить навичка ШІ Re Ioc Extraction?

Extract and normalize defensive IOCs (domains, IPs, URLs, file hashes, mutexes, registry paths, file paths, user agents) from analyst-provided evidence such as strings output, sandbox logs, network logs, or reverse engineering notes. Use when the user wants IOCs for detection, blocking, hunting, or reporting.

Навіщо використовувати Re Ioc Extraction у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Re Ioc Extraction — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Re Ioc Extraction у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/hackersifu/reverse-engineering-skills/tree/main/.agents/skills/re-ioc-extraction. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Re Ioc Extraction?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Re Ioc Extraction?

Зі скількома забажаєте. У TypingMind ви можете використовувати Re Ioc Extraction із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Re Ioc Extraction?

Так. На GitHub цю навичку публікує hackersifu за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇