detecting-rootkit-activity
Ce qu’il fait
Cet outil vous aide à repérer les programmes malveillants cachés (rootkits) sur les ordinateurs. Il analyse la mémoire du système pour détecter des activités suspectes que les outils habituels ne peuvent pas voir.
Quand l’utiliser
- ✓Lorsqu'un ordinateur semble infecté alors que le logiciel de sécurité ne trouve rien.
- ✓Si vous soupçonnez un programme de se dissimuler dans le système.
- ✓Après une tentative de nettoyage qui n'a pas résolu le problème.
Lien du skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-rootkit-activity/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Vérifiez s'il y a des rootkits sur mon ordinateur.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Il examine la mémoire de l'ordinateur à la recherche de processus, de connexions réseau et de fichiers cachés. Il compare ces informations à ce qui est normal afin de repérer les anomalies.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Detecting Rootkit Activity
When to Use
- System shows signs of compromise but standard tools (Task Manager, netstat) show nothing abnormal
- Antivirus/EDR detects rootkit signatures but cannot identify the specific hiding mechanism
- Memory forensics reveals discrepancies between kernel data structures and user-mode tool output
- Investigating a persistent threat that survives remediation attempts and system reboots
- Validating system integrity after a suspected kernel-level compromise
Do not use as a first-line detection method; start with standard malware triage and escalate to rootkit analysis when hiding behavior is suspected.
Prerequisites
- Volatility 3 for memory forensics and kernel structure analysis
- GMER or Rootkit Revealer (Windows) for live system scanning
- rkhunter and chkrootkit (Linux) for filesystem and process integrity checks
- Sysinternals tools (Process Explorer, Autoruns, RootkitRevealer) for Windows analysis
- Memory dump from the suspected system (WinPmem, LiME)
- Clean baseline of the OS for comparison (known-good kernel module hashes)
Workflow
Step 1: Cross-View Detection for Hidden Processes
Compare process lists from different data sources to find discrepancies:
# Volatility: Compare process enumeration methods
# pslist - walks ActiveProcessLinks (EPROCESS linked list - what rootkits manipulate)
vol3 -f memory.dmp windows.pslist > pslist_output.txt
# psscan - scans physical memory for EPROCESS pool tags (rootkit-resistant)
vol3 -f memory.dmp windows.psscan > psscan_output.txt
# Compare outputs to find hidden processes
python3 << 'PYEOF'
pslist_pids = set()
psscan_pids = set()
with open("pslist_output.txt") as f:
for line in f:
parts = line.split()
if len(parts) > 1 and parts[1].isdigit():
pslist_pids.add(int(parts[1]))
with open("psscan_output.txt") as f:
for line in f:
parts = line.split()
if len(parts) > 1 and parts[1].isdigit():
psscan_pids.add(int(parts[1]))
hidden = psscan_pids - pslist_pids
if hidden:
print(f"[!] HIDDEN PROCESSES DETECTED (in psscan but not pslist):")
for pid in hidden:
print(f" PID: {pid}")
else:
print("[*] No hidden processes detected via cross-view analysis")
PYEOF
Step 2: Detect System Call Hooking
Identify hooks in the System Service Descriptor Table (SSDT) and Import Address Tables:
# Check SSDT for hooked system calls
vol3 -f memory.dmp windows.ssdt
# Identify hooks pointing outside ntoskrnl.exe or win32k.sys
vol3 -f memory.dmp windows.ssdt | grep -v "ntoskrnl\|win32k"
# Check for Inline hooks (detour patching)
vol3 -f memory.dmp windows.apihooks --pid 4 # System process
# IDT (Interrupt Descriptor Table) analysis
vol3 -f memory.dmp windows.idt
# Check for IRP (I/O Request Packet) hooking on drivers
vol3 -f memory.dmp windows.driverscan
vol3 -f memory.dmp windows.driverirp
Types of Rootkit Hooks:
━━━━━━━━━━━━━━━━━━━━━
SSDT Hook: Modifies System Service Descriptor Table entries to redirect
system calls through rootkit code (filters process/file listings)
IAT Hook: Patches Import Address Table of a process to intercept API calls
before they reach the kernel
Inline Hook: Overwrites the first bytes of a function with a JMP to rootkit code
(detour/trampoline technique)
IRP Hook: Intercepts I/O Request Packets to filter disk/network operations
at the driver level
DKOM: Direct Kernel Object Manipulation - unlinking structures like
EPROCESS from the ActiveProcessLinks list without hooking
Step 3: Analyze Kernel Modules and Drivers
Identify unauthorized kernel drivers that may be rootkit components:
# List all loaded kernel modules
vol3 -f memory.dmp windows.modules
# Scan for drivers in memory (including hidden/unlinked)
vol3 -f memory.dmp windows.driverscan
# Compare module lists to find hidden drivers
vol3 -f memory.dmp windows.modscan > modscan.txt
vol3 -f memory.dmp windows.modules > modules.txt
# Check driver signatures and verify against known-good baselines
vol3 -f memory.dmp windows.verinfo
# Dump suspicious driver for static analysis
vol3 -f memory.dmp windows.moddump --base 0xFFFFF80012340000 --dump
Step 4: Detect File and Registry Hiding
Identify files and registry keys hidden by the rootkit:
…
Questions fréquentes
Qu'est-ce qu'un rootkit ?
C'est un type de programme malveillant conçu pour se cacher des utilisateurs et des logiciels de sécurité, ce qui permet à d'autres activités malveillantes de se dérouler sans être détectées.
Pourquoi utiliser cet outil plutôt qu'un antivirus ?
Les rootkits sont conçus pour tromper les antivirus. Cet outil utilise des techniques plus avancées pour les trouver, même lorsqu'ils sont bien dissimulés.
Faut-il des connaissances techniques pour l'utiliser ?
Oui, cet outil s'adresse à des personnes ayant une certaine expérience en analyse de sécurité informatique, car il nécessite l'examen de données techniques.
Détails
Description originale de l’auteur
Detects rootkit presence on compromised systems by identifying hidden processes, hooked system calls, modified kernel structures, and covert network connections using Volatility memory forensics, cross-view detection, and tools like GMER, rkhunter, chkrootkit, and RootkitRevealer. Use when standard tools (Task Manager, netstat, AV/EDR) show nothing abnormal but compromise is suspected. '
Popularité
- Étoiles GitHub
- 35k
- Position au classement
- #7868
- Licence
- Apache-2.0
- Mis à jour
- 31/08/2026
Commentaires
- …
Autres skills de ce dépôt
abusing-dpapi-for-credential-access
35kFournit à votre agent IA des instructions prêtes à l'emploi pour une tâche précise, afin qu'il la réalise mieux et plus vite.
abusing-shadow-credentials-for-privesc
35kApprend à votre agent IA à écrire des textes clairs et bien structurés.
achieving-cmmc-level-2-compliance
35kAide votre agent à préparer un environnement conforme à la certification CMMC niveau 2. Il met en œuvre les exigences de sécurité et gère la documentation nécessaire.
acquiring-disk-image-with-dd-and-dcfldd
35kAide votre agent à créer des copies exactes de disques durs. Utile pour garantir qu'aucune information n'est perdue ou modifiée lors d'enquêtes.
Skills similaires
add-model-provider
394kPermet à votre agent de connecter un nouveau fournisseur de modèles IA à OpenClaw par des commandes sûres, sans clé en clair, puis de lancer un test.
acp-router
394kAide votre agent à envoyer une tâche à un assistant de code comme Claude Code ou Cursor via OpenClaw, afin que le travail s'exécute dans cet outil.
browser-automation
394kApprend à votre agent à piloter des pages web étape par étape, y compris les connexions, les onglets et la reprise lorsqu'une page ne répond plus.