Vai al contenuto
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
meltedinhex/hunting-fileless-and-in-memory-threatsDFIR e threat hunting

hunting-fileless-and-in-memory-threats

⁨Hunts for fileless and in-memory threats by correlating PowerShell script-block logs,⁩

v1.0.02 installazioni+2 in 7 giorni24 StelleApache-2.0sincronizzato 11 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/hunting-fileless-and-in-memory-threats

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
Rk7/8F1rjk…kI6uDoCA==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchettoad266eff…c703e733
ad266eff5f2c…149dc703e7334 file · ⁦3.2 KB⁩
ScansioneMedio10 segnalazioni
  • command.pipe_to_shellSKILL.md:56
  • command.pipe_to_shellSKILL.md:79
  • command.pipe_to_shellreferences/api-reference.md:22
Vedi la scansione completa
Sorgentegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-fileless-and-in-memory-threats@da7600a

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

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

bash
python scripts/analyst.py hunt events.csv

Flags [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.md for the hunter.
  • ATT&CK T1620 and script-block logging docs (linked in frontmatter).

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileNoNo
Scrive fileNoNo
Esegue comandi shellSìSì
Usa la reteSìSì
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

  1. MediaComando · command.pipe_to_shellSKILL.md:56
  2. MediaComando · command.pipe_to_shellSKILL.md:79
  3. MediaComando · command.pipe_to_shellreferences/api-reference.md:22
  4. MediaComando · command.pipe_to_shellreferences/api-reference.md:23
  5. MediaComando · command.base64_execreferences/api-reference.md:23
  6. MediaFile · Script eseguibile incluso nella skillscripts/analyst.py
  7. MediaComando · command.pipe_to_shellscripts/analyst.py:5
  8. MediaComando · command.pipe_to_shellscripts/analyst.py:20
  9. MediaComando · command.base64_execscripts/analyst.py:20
  10. InfoLink · Link a domini esterni

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v1.0.013 nov 2026da7600aad266effFirmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login