Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
meltedinhex/hunting-wmi-event-subscription-persistenceDFIR e threat hunting

hunting-wmi-event-subscription-persistence

⁨Hunts for malicious WMI permanent event subscription persistence by correlating⁩

v1.0.03 instalações+3 em 7 dias24 EstrelasApache-2.0sincronizado há 10 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/hunting-wmi-event-subscription-persistence

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
OdgeNT/FSj…vBpOibCQ==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacotee2444037…ce38bf79
e24440378eaa…64acce38bf794 arquivos · ⁦3.0 KB⁩
VarreduraMédio2 achados
  • Script executável junto com a skillscripts/analyst.py
  • Links para domínios externos
Ver a varredura completa
Fontegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-wmi-event-subscription-persistence@da7600a

Este item ainda não foi escrito no seu idioma, então aparece em 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

bash
python scripts/analyst.py hunt wmi_events.csv

Groups 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.md for the hunter.
  • ATT&CK T1546.003 and Sysmon WMI events (linked in frontmatter).

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosNãoNão
Roda comandos no shellSimSim
Usa a redeSimSim
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

  1. MédiaArquivo · Script executável junto com a skillscripts/analyst.py
  2. InfoLink · Links para domínios externos

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v1.0.013 de nov. de 2026da7600ae2444037Assinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login