hunting-wmi-event-subscription-persistence
Hunts for malicious WMI permanent event subscription persistence by correlating
v1.0.03 установки+3 за 7 дней24 ЗвездыApache-2.0синхронизировано 10 часов назад
Установка
Ещё нет NotHoly CLI? Сначала установите её.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/hunting-wmi-event-subscription-persistenceПишет в ~/.notholy/skills после проверки подписи и SHA-256.
ПодписьПодписано, ed25519
Пакетe2444037…ce38bf79
e24440378eaa…64acce38bf794 файла · 3.0 KBПроверкаСредний2 замечания
- Исполняемый скрипт в составе навыкаscripts/analyst.py
- Ссылки на внешние домены
Источникgithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-wmi-event-subscription-persistence@da7600a
Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.
На странице
When to Use
- You have Sysmon WMI telemetry (Event ID 19 filter, 20 consumer, 21 binding) or a WMI repository export and want to find malicious permanent event subscriptions.
- You are investigating fileless persistence that survives reboots via WMI.
Do not use this for transient WMI process calls (T1047 execution) — this targets persistent __EventFilter/__EventConsumer subscriptions specifically.
Prerequisites
- Sysmon EID 19/20/21 events (CSV/JSON) or an exported subscription listing.
Workflow
Step 1: Parse and correlate triad records
python scripts/analyst.py hunt wmi_events.csvGroups filters, consumers, and bindings, and flags consumers whose payload is suspicious
(CommandLineEventConsumer running scripts/encoded commands, ActiveScriptEventConsumer with
inline VBScript/JScript).
Step 2: Assess the trigger
Inspect the __EventFilter query — common malicious triggers fire on logon, time intervals
(__InstanceModificationEvent within), or process start.
Step 3: Confirm maliciousness
Legitimate management subscriptions exist; weight inline scripts, encoded commands, and unusual consumer names.
Step 4: Operationalize
Write a Sigma/EDR rule for new ActiveScript/CommandLine consumers.
Validation
- Filter, consumer, and binding are correlated into a complete subscription where possible.
- Suspicious consumers are flagged by payload content, not consumer existence alone.
- Findings map to ATT&CK T1546.003.
Pitfalls
- Legitimate monitoring tools (SCCM, antivirus) create subscriptions — corroborate.
- Missing the binding that links an otherwise-benign-looking filter and consumer.
- Encoded PowerShell inside a consumer obscuring intent.
References
- See
references/api-reference.mdfor the hunter. - ATT&CK T1546.003 and Sysmon WMI events (linked in frontmatter).
Файлы этой версии
references/11.1 KB
- api-reference.md1.1 KB
scripts/12.9 KB
- analyst.py2.9 KB
- LICENSE340 B
- SKILL.md2.8 KB
Права
| Право | Заявлено | Найдено проверкой |
|---|---|---|
| Читает файлы | Нет | Нет |
| Пишет файлы | Нет | Нет |
| Выполняет команды shell | Да | Да |
| Ходит в сеть | Да | Да |
| Использует коннекторы | Нет | Нет |
| Управляет браузером | Нет | Нет |
Замечания проверки
Проверено 13 нояб. 2026 г.
- СредняяФайл · Исполняемый скрипт в составе навыкаscripts/analyst.py
- ИнфоСсылка · Ссылки на внешние домены
Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.
| Версия | Опубликована | Коммит | SHA-256 | Подпись | Изменение прав |
|---|---|---|---|---|---|
| v1.0.0 | 13 нояб. 2026 г. | da7600a | e2444037 | Подписана | – |
Ещё от meltedinhex
Всё от этого издателя- 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
Еще в категории «DFIR и threat hunting»
Вся категория- hunting-for-command-and-control-beaconingmukul975/hunting-for-command-and-control-beaconing5
- audit-context-buildingtrailofbits/audit-context-building4
- incident-response-forensicssecurityskills/incident-response-forensics3
- extracting-credentials-from-memory-dumpmukul975/extracting-credentials-from-memory-dump3
- analyzing-browser-forensics-with-hindsightmukul975/analyzing-browser-forensics-with-hindsight3
- forensics-ctfaeondave/forensics-ctf3
Спрашивайте обо всём, что позволяет ваш скоуп.
Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.
- 1/3
Создайте аккаунт
Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.
ЛичныйКомпания - 2/3
Пополните баланс
Картой. Оплата за токены, без подписки.
$5.00минимальное пополнение - 3/3
Спрашивайте
В чате, или установите CLI и выполните notholy login в терминале.
$ notholy login