hunting-scheduled-task-abuse
Hunts for malicious scheduled task persistence by analyzing task registration events
v1.0.03 installazioni+3 in 7 giorni24 StelleApache-2.0sincronizzato 10 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-scheduled-task-abuseScrive in ~/.notholy/skills dopo aver controllato la firma e lo SHA-256.
FirmaFirmato, ed25519
Pacchettob890f62d…3d809147
b890f62de013…91bc3d8091474 file · 3.0 KBScansioneMedio4 segnalazioni
- command.persistenceSKILL.md:56
- command.persistenceSKILL.md:74
- Script eseguibile incluso nella skillscripts/analyst.py
Sorgentegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-scheduled-task-abuse@da7600a
Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.
In questa pagina
When to Use
- You have task-registration events (4698) and/or
schtasks.exe/at.exeprocess telemetry and want to detect persistence via malicious scheduled tasks. - You are investigating tasks that run scripts, encoded commands, or binaries from suspicious paths.
Do not use this to alert on all task creation — administration creates tasks routinely. Hunt on the action (script hosts, encoded commands, temp paths) and trigger context.
Prerequisites
- Event ID 4698 (task registered) and/or process-creation telemetry for
schtasks/at.
Workflow
Step 1: Hunt suspicious task actions
python scripts/analyst.py hunt events.csvFlags tasks whose action runs powershell -enc, mshta, wscript/cscript, cmd /c, or
binaries from %TEMP%/%APPDATA%/Public, and schtasks /create command lines with the same.
Step 2: Assess triggers and hiding
Note logon/onstart triggers, very frequent intervals, and tasks hidden via Hidden flag or SD
manipulation.
Step 3: Confirm
Distinguish legitimate software tasks from intrusion by author, path, and action content.
Step 4: Operationalize
Write a Sigma rule for task actions invoking script hosts or encoded commands.
Validation
- Flags require a suspicious action/path, not task creation alone.
schtasks /createand 4698 registrations are both covered.- Findings map to ATT&CK T1053.005.
Pitfalls
- Legitimate updater tasks (browsers, vendors) creating many tasks.
- Tasks created via direct XML drop bypassing
schtasks.exetelemetry. - Encoded commands hiding the true action.
References
- See
references/api-reference.mdfor the hunter. - ATT&CK T1053.005 and Event 4698 docs (linked in frontmatter).
File di questa versione
references/11.2 KB
- api-reference.md1.2 KB
scripts/12.7 KB
- analyst.py2.7 KB
- LICENSE340 B
- SKILL.md2.6 KB
Permessi
| Permesso | Dichiarato | Trovato dalla scansione |
|---|---|---|
| Legge file | No | No |
| Scrive file | No | No |
| Esegue comandi shell | Sì | Sì |
| Usa la rete | Sì | Sì |
| Usa i connettori | No | No |
| Controlla un browser | No | No |
Segnalazioni della scansione
Rivisto il 13 nov 2026
- MediaComando · command.persistenceSKILL.md:56
- MediaComando · command.persistenceSKILL.md:74
- MediaFile · Script eseguibile incluso nella skillscripts/analyst.py
- InfoLink · Link a domini esterni
Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.
| Versione | Pubblicata | Commit | SHA-256 | Firma | Cambio di permessi |
|---|---|---|---|---|---|
| v1.0.0 | 13 nov 2026 | da7600a | b890f62d | Firmata | – |
Altro da meltedinhex
Tutto da questo editore- 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
Altro in DFIR e threat hunting
Vai alla 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
Chiedi tutto quello che il tuo perimetro consente.
Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.
- 1/3
Crea l'account
Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.
PrivatoAzienda - 2/3
Aggiungi crediti
Con carta. Paghi a token, senza abbonamento.
$5.00ricarica minima - 3/3
Chiedi
In chat, oppure installa la CLI ed esegui notholy login nel terminale.
$ notholy login