hunting-fileless-and-in-memory-threats
Hunts for fileless and in-memory threats by correlating PowerShell script-block logs,
v1.0.02 instalações+2 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-fileless-and-in-memory-threatsGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacotead266eff…c703e733
ad266eff5f2c…149dc703e7334 arquivos · 3.2 KBVarreduraMédio10 achados
- command.pipe_to_shellSKILL.md:56
- command.pipe_to_shellSKILL.md:79
- command.pipe_to_shellreferences/api-reference.md:22
Fontegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-fileless-and-in-memory-threats@da7600a
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
When to Use
- You have PowerShell script-block logs (4104), process telemetry, and registry-write events and want to detect fileless execution that leaves little on disk.
- You are hunting reflective loading, in-memory .NET execution, and registry-resident payloads.
Do not use this to alert on all PowerShell use — hunt the in-memory loading and encoded-payload patterns specifically.
Prerequisites
- 4104 script-block logs and/or process and registry telemetry (CSV/JSON).
Workflow
Step 1: Hunt in-memory loading patterns
python scripts/analyst.py hunt events.csvFlags [Reflection.Assembly]::Load, VirtualAlloc/WriteProcessMemory via PowerShell,
Invoke-Expression of decoded blobs, DownloadString+IEX, and large base64 in script blocks.
Step 2: Detect registry-resident payloads
Surface writes of large encoded blobs to HKCU\Software\... Run-adjacent or custom keys (fileless
storage).
Step 3: Confirm
Correlate script-block content with the parent process and subsequent network/child activity.
Step 4: Operationalize
Write detections for reflective loading and base64-heavy script blocks.
Validation
- Flags are based on in-memory loading/encoded-payload patterns, not PowerShell presence.
- Registry-resident payload detection keys on large encoded values.
- Findings map to ATT&CK T1620/T1059.001/T1112.
Pitfalls
- Legitimate admin scripts using
Invoke-Expression— corroborate with content/parent. - Obfuscated script blocks splitting indicators across logs.
- Constrained Language Mode evasions changing the observable API surface.
References
- See
references/api-reference.mdfor the hunter. - ATT&CK T1620 and script-block logging docs (linked in frontmatter).
Arquivos desta versão
references/11.4 KB
- api-reference.md1.4 KB
scripts/13.1 KB
- analyst.py3.1 KB
- LICENSE340 B
- SKILL.md2.7 KB
Permissões
| Permissão | Declarada | Encontrada na varredura |
|---|---|---|
| Lê arquivos | Não | Não |
| Grava arquivos | Não | Não |
| Roda comandos no shell | Sim | Sim |
| Usa a rede | Sim | Sim |
| Usa conectores | Não | Não |
| Controla um navegador | Não | Não |
Achados da varredura
Revisado em 13 de nov. de 2026
- MédiaComando · command.pipe_to_shellSKILL.md:56
- MédiaComando · command.pipe_to_shellSKILL.md:79
- MédiaComando · command.pipe_to_shellreferences/api-reference.md:22
- MédiaComando · command.pipe_to_shellreferences/api-reference.md:23
- MédiaComando · command.base64_execreferences/api-reference.md:23
- MédiaArquivo · Script executável junto com a skillscripts/analyst.py
- MédiaComando · command.pipe_to_shellscripts/analyst.py:5
- MédiaComando · command.pipe_to_shellscripts/analyst.py:20
- MédiaComando · command.base64_execscripts/analyst.py:20
- 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ão | Publicada em | Commit | SHA-256 | Assinatura | Mudança de permissão |
|---|---|---|---|---|---|
| v1.0.0 | 13 de nov. de 2026 | da7600a | ad266eff | Assinada | – |
Mais de meltedinhex
Tudo deste publicador- 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
Mais em DFIR e threat hunting
Ver a categoria- 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
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/3
Crie a conta
Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.
Pessoa físicaEmpresa - 2/3
Adicione créditos
No cartão. Você paga por token, sem assinatura.
$5.00recarga mínima - 3/3
Pergunte
No chat, ou instale o CLI e rode notholy login no terminal.
$ notholy login