[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B67ZD9B6XEB9GTH4DE53YN":3,"skill-same:01M7B67ZD9B6XEB9GTH4DE53YN":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":13,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M7B67ZD9B6XEB9GTH4DE53YN","detecting-rootkit-activity",null,"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\u002FEDR) show nothing abnormal but compromise is suspected.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-rootkit-activity\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-rootkit-activity\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: detecting-rootkit-activity\ndescription: 'Detects rootkit presence on compromised systems by identifying hidden\n  processes, hooked system calls, modified kernel structures, and covert network\n  connections using Volatility memory forensics, cross-view detection, and tools\n  like GMER, rkhunter, chkrootkit, and RootkitRevealer. Use when standard tools\n  (Task Manager, netstat, AV\u002FEDR) show nothing abnormal but compromise is suspected.\n\n  '\ndomain: cybersecurity\nsubdomain: malware-analysis\ntags:\n- malware\n- rootkit\n- detection\n- kernel-analysis\n- memory-forensics\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.AE-02\n- RS.AN-03\n- ID.RA-01\n- DE.CM-01\nmitre_attack:\n- T1014\n- T1547.006\n- T1564.001\n- T1574.006\n---\n\n# Detecting Rootkit Activity\n\n## When to Use\n\n- System shows signs of compromise but standard tools (Task Manager, netstat) show nothing abnormal\n- Antivirus\u002FEDR detects rootkit signatures but cannot identify the specific hiding mechanism\n- Memory forensics reveals discrepancies between kernel data structures and user-mode tool output\n- Investigating a persistent threat that survives remediation attempts and system reboots\n- Validating system integrity after a suspected kernel-level compromise\n\n**Do not use** as a first-line detection method; start with standard malware triage and escalate to rootkit analysis when hiding behavior is suspected.\n\n## Prerequisites\n\n- Volatility 3 for memory forensics and kernel structure analysis\n- GMER or Rootkit Revealer (Windows) for live system scanning\n- rkhunter and chkrootkit (Linux) for filesystem and process integrity checks\n- Sysinternals tools (Process Explorer, Autoruns, RootkitRevealer) for Windows analysis\n- Memory dump from the suspected system (WinPmem, LiME)\n- Clean baseline of the OS for comparison (known-good kernel module hashes)\n\n## Workflow\n\n### Step 1: Cross-View Detection for Hidden Processes\n\nCompare process lists from different data sources to find discrepancies:\n\n```bash\n# Volatility: Compare process enumeration methods\n# pslist - walks ActiveProcessLinks (EPROCESS linked list - what rootkits manipulate)\nvol3 -f memory.dmp windows.pslist > pslist_output.txt\n\n# psscan - scans physical memory for EPROCESS pool tags (rootkit-resistant)\nvol3 -f memory.dmp windows.psscan > psscan_output.txt\n\n# Compare outputs to find hidden processes\npython3 \u003C\u003C 'PYEOF'\npslist_pids = set()\npsscan_pids = set()\n\nwith open(\"pslist_output.txt\") as f:\n    for line in f:\n        parts = line.split()\n        if len(parts) > 1 and parts[1].isdigit():\n            pslist_pids.add(int(parts[1]))\n\nwith open(\"psscan_output.txt\") as f:\n    for line in f:\n        parts = line.split()\n        if len(parts) > 1 and parts[1].isdigit():\n            psscan_pids.add(int(parts[1]))\n\nhidden = psscan_pids - pslist_pids\nif hidden:\n    print(f\"[!] HIDDEN PROCESSES DETECTED (in psscan but not pslist):\")\n    for pid in hidden:\n        print(f\"    PID: {pid}\")\nelse:\n    print(\"[*] No hidden processes detected via cross-view analysis\")\nPYEOF\n```\n\n### Step 2: Detect System Call Hooking\n\nIdentify hooks in the System Service Descriptor Table (SSDT) and Import Address Tables:\n\n```bash\n# Check SSDT for hooked system calls\nvol3 -f memory.dmp windows.ssdt\n\n# Identify hooks pointing outside ntoskrnl.exe or win32k.sys\nvol3 -f memory.dmp windows.ssdt | grep -v \"ntoskrnl\\|win32k\"\n\n# Check for Inline hooks (detour patching)\nvol3 -f memory.dmp windows.apihooks --pid 4  # System process\n\n# IDT (Interrupt Descriptor Table) analysis\nvol3 -f memory.dmp windows.idt\n\n# Check for IRP (I\u002FO Request Packet) hooking on drivers\nvol3 -f memory.dmp windows.driverscan\nvol3 -f memory.dmp windows.driverirp\n```\n\n```\nTypes of Rootkit Hooks:\n━━━━━━━━━━━━━━━━━━━━━\nSSDT Hook:         Modifies System Service Descriptor Table entries to redirect\n                   system calls through rootkit code (filters process\u002Ffile listings)\n\nIAT Hook:          Patches Import Address Table of a process to intercept API calls\n                   before they reach the kernel\n\nInline Hook:       Overwrites the first bytes of a function with a JMP to rootkit code\n                   (detour\u002Ftrampoline technique)\n\nIRP Hook:          Intercepts I\u002FO Request Packets to filter disk\u002Fnetwork operations\n                   at the driver level\n\nDKOM:              Direct Kernel Object Manipulation - unlinking structures like\n                   EPROCESS from the ActiveProcessLinks list without hooking\n```\n\n### Step 3: Analyze Kernel Modules and Drivers\n\nIdentify unauthorized kernel drivers that may be rootkit components:\n\n```bash\n# List all loaded kernel modules\nvol3 -f memory.dmp windows.modules\n\n# Scan for drivers in memory (including hidden\u002Funlinked)\nvol3 -f memory.dmp windows.driverscan\n\n# Compare module lists to find hidden drivers\nvol3 -f memory.dmp windows.modscan > modscan.txt\nvol3 -f memory.dmp windows.modules > modules.txt\n\n# Check driver signatures and verify against known-good baselines\nvol3 -f memory.dmp windows.verinfo\n\n# Dump suspicious driver for static analysis\nvol3 -f memory.dmp windows.moddump --base 0xFFFFF80012340000 --dump\n```\n\n### Step 4: Detect File and Registry Hiding\n\nIdentify files and registry keys hidden by the rootkit:\n\n```bash\n# Linux rootkit detection with rkhunter\nrkhunter --check --skip-keypress --report-warnings-only\n\n# chkrootkit scanning\nchkrootkit -q\n\n# Windows: Compare filesystem views\n# Live system file listing vs Volatility filescan\nvol3 -f memory.dmp windows.filescan > mem_files.txt\n\n# Check for hidden registry keys\nvol3 -f memory.dmp windows.registry.hivelist\nvol3 -f memory.dmp windows.registry.printkey --key \"SYSTEM\\CurrentControlSet\\Services\"\n\n# Look for hidden services (loaded but not in service registry)\nvol3 -f memory.dmp windows.svcscan | grep -i \"kernel\"\n```\n\n### Step 5: Network Connection Analysis\n\nFind hidden network connections and backdoors:\n\n```bash\n# Memory-based network connection enumeration\nvol3 -f memory.dmp windows.netscan\n\n# Compare with live netstat (if available) to find hidden connections\n# Hidden connections: present in memory but not shown by netstat\n\n# Look for raw sockets (often used by rootkits for covert communication)\nvol3 -f memory.dmp windows.netscan | grep RAW\n\n# Check for network filter drivers (NDIS hooks)\nvol3 -f memory.dmp windows.driverscan | grep -i \"ndis\\|tcpip\\|afd\"\n\n# Analyze callback routines registered by drivers\nvol3 -f memory.dmp windows.callbacks\n```\n\n### Step 6: Integrity Verification\n\nVerify system file and kernel integrity:\n\n```bash\n# Check kernel code integrity (compare in-memory kernel to on-disk copy)\nvol3 -f memory.dmp windows.moddump --base 0xFFFFF80070000000 --dump\n# Compare SHA-256 of dumped ntoskrnl.exe with known-good copy\n\n# Windows: System File Checker (on live system)\nsfc \u002Fscannow\n\n# Linux: Package integrity verification\nrpm -Va  # RPM-based systems\ndebsums -c  # Debian-based systems\n\n# Compare critical system binaries\nfind \u002Fbin \u002Fsbin \u002Fusr\u002Fbin \u002Fusr\u002Fsbin -type f -exec sha256sum {} \\; > current_hashes.txt\n# Compare against baseline: diff baseline_hashes.txt current_hashes.txt\n\n# YARA scan for known rootkit signatures\nvol3 -f memory.dmp yarascan.YaraScan --yara-file rootkit_rules.yar\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Rootkit** | Malware designed to maintain persistent, privileged access while hiding its presence from system administrators and security tools |\n| **DKOM** | Direct Kernel Object Manipulation; technique of modifying kernel data structures (e.g., unlinking EPROCESS) to hide objects without hooking |\n| **SSDT Hooking** | Replacing entries in the System Service Descriptor Table to intercept and filter system call results (hide processes, files, connections) |\n| **Inline Hooking** | Patching the first instructions of a function with a jump to rootkit code; the rootkit can filter the function output before returning |\n| **Cross-View Detection** | Comparing results from multiple enumeration methods (linked list walk vs memory scan) to identify discrepancies caused by hiding |\n| **Kernel Driver** | Code running in kernel mode (Ring 0) with full system access; rootkits use malicious drivers to gain kernel-level control |\n| **Bootkits** | Rootkits that infect the boot process (MBR, VBR, or UEFI firmware) to load before the operating system and security tools |\n\n## Tools & Systems\n\n- **Volatility**: Memory forensics framework providing cross-view detection, SSDT analysis, and kernel structure inspection for rootkit detection\n- **GMER**: Free Windows rootkit detection tool scanning for SSDT hooks, IDT hooks, IRP hooks, and hidden processes\u002Ffiles\u002Fregistry\n- **rkhunter**: Linux rootkit detection tool checking for known rootkit signatures, suspicious files, and system binary modifications\n- **chkrootkit**: Linux tool for detecting rootkit presence through signature-based and anomaly-based checks\n- **Sysinternals RootkitRevealer**: Microsoft tool comparing Windows API results with raw filesystem\u002Fregistry scans to find discrepancies\n\n## Common Scenarios\n\n### Scenario: Investigating a System Where Standard Tools Show No Compromise\n\n**Context**: An endpoint shows network beaconing to a known C2 IP in firewall logs, but the local EDR, Task Manager, and netstat show no suspicious processes or connections. A memory dump has been acquired for analysis.\n\n**Approach**:\n1. Run Volatility `psscan` and compare with `pslist` to identify processes hidden via DKOM\n2. Run `windows.ssdt` to check for system call hooks that filter process and network listings\n3. Run `windows.malfind` to detect injected code in legitimate processes\n4. Run `windows.netscan` to find network connections hidden from user-mode tools\n5. Run `windows.driverscan` to identify malicious kernel drivers enabling the hiding\n6. Dump the rootkit driver and analyze with Ghidra to understand its hooking mechanism\n7. Check for boot persistence (MBR\u002FVBR modifications, UEFI firmware implants)\n\n**Pitfalls**:\n- Running detection tools on the live compromised system (rootkit may hide from or subvert them)\n- Assuming kernel integrity because no SSDT hooks are found (rootkit may use DKOM or inline hooks instead)\n- Not checking for both user-mode and kernel-mode rootkit components (many rootkits have both)\n- Trusting the rootkit scanner results on a live system; always verify with offline memory forensics\n\n## Output Format\n\n```\nROOTKIT DETECTION ANALYSIS REPORT\n====================================\nDump File:        memory.dmp\nSystem:           Windows 10 21H2 x64\nAnalysis Tool:    Volatility 3.2\n\nCROSS-VIEW DETECTION\nProcess List Comparison:\n  pslist processes:  127\n  psscan processes:  129\n  [!] HIDDEN PROCESSES: 2\n    PID 6784: sysmon64.exe (hidden rootkit component)\n    PID 6812: netfilter.exe (hidden network filter)\n\nSSDT HOOK ANALYSIS\n[!] Entry 0x004A (NtQuerySystemInformation) hooked -> driver.sys+0x1200\n[!] Entry 0x0055 (NtQueryDirectoryFile) hooked -> driver.sys+0x1400\n[!] Entry 0x0119 (NtDeviceIoControlFile) hooked -> driver.sys+0x1600\nHook Target: driver.sys at 0xFFFFF800ABCD0000 (unsigned, suspicious)\n\nKERNEL DRIVER ANALYSIS\n[!] driver.sys - No digital signature, loaded at 0xFFFFF800ABCD0000\n    Size: 45,056 bytes\n    SHA-256: abc123def456...\n    IRP Hooks: IRP_MJ_CREATE, IRP_MJ_DEVICE_CONTROL\n    Registry: HKLM\\SYSTEM\\CurrentControlSet\\Services\\MalDriver\n\nHIDDEN NETWORK CONNECTIONS\nPID 6812: 10.1.5.42:49152 -> 185.220.101.42:443 (ESTABLISHED)\n  - Not visible via netstat or user-mode tools\n  - Filtered by NtDeviceIoControlFile SSDT hook\n\nROOTKIT CAPABILITIES\n- Process hiding (DKOM + SSDT)\n- File hiding (NtQueryDirectoryFile hook)\n- Network connection hiding (NtDeviceIoControlFile hook)\n- Kernel-mode persistence (driver service)\n\nREMEDIATION\n- Boot from clean media for offline remediation\n- Remove malicious driver from offline registry\n- Verify MBR\u002FVBR\u002FUEFI integrity for boot persistence\n- Full system rebuild recommended for kernel-level compromise\n```\n","# Detecting Rootkit Activity\n\n## When to Use\n\n- System shows signs of compromise but standard tools (Task Manager, netstat) show nothing abnormal\n- Antivirus\u002FEDR detects rootkit signatures but cannot identify the specific hiding mechanism\n- Memory forensics reveals discrepancies between kernel data structures and user-mode tool output\n- Investigating a persistent threat that survives remediation attempts and system reboots\n- Validating system integrity after a suspected kernel-level compromise\n\n**Do not use** as a first-line detection method; start with standard malware triage and escalate to rootkit analysis when hiding behavior is suspected.\n\n## Prerequisites\n\n- Volatility 3 for memory forensics and kernel structure analysis\n- GMER or Rootkit Revealer (Windows) for live system scanning\n- rkhunter and chkrootkit (Linux) for filesystem and process integrity checks\n- Sysinternals tools (Process Explorer, Autoruns, RootkitRevealer) for Windows analysis\n- Memory dump from the suspected system (WinPmem, LiME)\n- Clean baseline of the OS for comparison (known-good kernel module hashes)\n\n## Workflow\n\n### Step 1: Cross-View Detection for Hidden Processes\n\nCompare process lists from different data sources to find discrepancies:\n\n```bash\n# Volatility: Compare process enumeration methods\n# pslist - walks ActiveProcessLinks (EPROCESS linked list - what rootkits manipulate)\nvol3 -f memory.dmp windows.pslist > pslist_output.txt\n\n# psscan - scans physical memory for EPROCESS pool tags (rootkit-resistant)\nvol3 -f memory.dmp windows.psscan > psscan_output.txt\n\n# Compare outputs to find hidden processes\npython3 \u003C\u003C 'PYEOF'\npslist_pids = set()\npsscan_pids = set()\n\nwith open(\"pslist_output.txt\") as f:\n    for line in f:\n        parts = line.split()\n        if len(parts) > 1 and parts[1].isdigit():\n            pslist_pids.add(int(parts[1]))\n\nwith open(\"psscan_output.txt\") as f:\n    for line in f:\n        parts = line.split()\n        if len(parts) > 1 and parts[1].isdigit():\n            psscan_pids.add(int(parts[1]))\n\nhidden = psscan_pids - pslist_pids\nif hidden:\n    print(f\"[!] HIDDEN PROCESSES DETECTED (in psscan but not pslist):\")\n    for pid in hidden:\n        print(f\"    PID: {pid}\")\nelse:\n    print(\"[*] No hidden processes detected via cross-view analysis\")\nPYEOF\n```\n\n### Step 2: Detect System Call Hooking\n\nIdentify hooks in the System Service Descriptor Table (SSDT) and Import Address Tables:\n\n```bash\n# Check SSDT for hooked system calls\nvol3 -f memory.dmp windows.ssdt\n\n# Identify hooks pointing outside ntoskrnl.exe or win32k.sys\nvol3 -f memory.dmp windows.ssdt | grep -v \"ntoskrnl\\|win32k\"\n\n# Check for Inline hooks (detour patching)\nvol3 -f memory.dmp windows.apihooks --pid 4  # System process\n\n# IDT (Interrupt Descriptor Table) analysis\nvol3 -f memory.dmp windows.idt\n\n# Check for IRP (I\u002FO Request Packet) hooking on drivers\nvol3 -f memory.dmp windows.driverscan\nvol3 -f memory.dmp windows.driverirp\n```\n\n```\nTypes of Rootkit Hooks:\n━━━━━━━━━━━━━━━━━━━━━\nSSDT Hook:         Modifies System Service Descriptor Table entries to redirect\n                   system calls through rootkit code (filters process\u002Ffile listings)\n\nIAT Hook:          Patches Import Address Table of a process to intercept API calls\n                   before they reach the kernel\n\nInline Hook:       Overwrites the first bytes of a function with a JMP to rootkit code\n                   (detour\u002Ftrampoline technique)\n\nIRP Hook:          Intercepts I\u002FO Request Packets to filter disk\u002Fnetwork operations\n                   at the driver level\n\nDKOM:              Direct Kernel Object Manipulation - unlinking structures like\n                   EPROCESS from the ActiveProcessLinks list without hooking\n```\n\n### Step 3: Analyze Kernel Modules and Drivers\n\nIdentify unauthorized kernel drivers that may be rootkit components:\n\n```bash\n# List all loaded kernel modules\nvol3 -f memory.dmp windows.modules\n\n# Scan for drivers in memory (including hidden\u002Funlinked)\nvol3 -f memory.dmp windows.driverscan\n\n# Compare module lists to find hidden drivers\nvol3 -f memory.dmp windows.modscan > modscan.txt\nvol3 -f memory.dmp windows.modules > modules.txt\n\n# Check driver signatures and verify against known-good baselines\nvol3 -f memory.dmp windows.verinfo\n\n# Dump suspicious driver for static analysis\nvol3 -f memory.dmp windows.moddump --base 0xFFFFF80012340000 --dump\n```\n\n### Step 4: Detect File and Registry Hiding\n\nIdentify files and registry keys hidden by the rootkit:\n\n```bash\n# Linux rootkit detection with rkhunter\nrkhunter --check --skip-keypress --report-warnings-only\n\n# chkrootkit scanning\nchkrootkit -q\n\n# Windows: Compare filesystem views\n# Live system file listing vs Volatility filescan\nvol3 -f memory.dmp windows.filescan > mem_files.txt\n\n# Check for hidden registry keys\nvol3 -f memory.dmp windows.registry.hivelist\nvol3 -f memory.dmp windows.registry.printkey --key \"SYSTEM\\CurrentControlSet\\Services\"\n\n# Look for hidden services (loaded but not in service registry)\nvol3 -f memory.dmp windows.svcscan | grep -i \"kernel\"\n```\n\n### Step 5: Network Connection Analysis\n\nFind hidden network connections and backdoors:\n\n```bash\n# Memory-based network connection enumeration\nvol3 -f memory.dmp windows.netscan\n\n# Compare with live netstat (if available) to find hidden connections\n# Hidden connections: present in memory but not shown by netstat\n\n# Look for raw sockets (often used by rootkits for covert communication)\nvol3 -f memory.dmp windows.netscan | grep RAW\n\n# Check for network filter drivers (NDIS hooks)\nvol3 -f memory.dmp windows.driverscan | grep -i \"ndis\\|tcpip\\|afd\"\n\n# Analyze callback routines registered by drivers\nvol3 -f memory.dmp windows.callbacks\n```\n\n### Step 6: Integrity Verification\n\nVerify system file and kernel integrity:\n\n```bash\n# Check kernel code integrity (compare in-memory kernel to on-disk copy)\nvol3 -f memory.dmp windows.moddump --base 0xFFFFF80070000000 --dump\n# Compare SHA-256 of dumped ntoskrnl.exe with known-good copy\n\n# Windows: System File Checker (on live system)\nsfc \u002Fscannow\n\n# Linux: Package integrity verification\nrpm -Va  # RPM-based systems\ndebsums -c  # Debian-based systems\n\n# Compare critical system binaries\nfind \u002Fbin \u002Fsbin \u002Fusr\u002Fbin \u002Fusr\u002Fsbin -type f -exec sha256sum {} \\; > current_hashes.txt\n# Compare against baseline: diff baseline_hashes.txt current_hashes.txt\n\n# YARA scan for known rootkit signatures\nvol3 -f memory.dmp yarascan.YaraScan --yara-file rootkit_rules.yar\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Rootkit** | Malware designed to maintain persistent, privileged access while hiding its presence from system administrators and security tools |\n| **DKOM** | Direct Kernel Object Manipulation; technique of modifying kernel data structures (e.g., unlinking EPROCESS) to hide objects without hooking |\n| **SSDT Hooking** | Replacing entries in the System Service Descriptor Table to intercept and filter system call results (hide processes, files, connections) |\n| **Inline Hooking** | Patching the first instructions of a function with a jump to rootkit code; the rootkit can filter the function output before returning |\n| **Cross-View Detection** | Comparing results from multiple enumeration methods (linked list walk vs memory scan) to identify discrepancies caused by hiding |\n| **Kernel Driver** | Code running in kernel mode (Ring 0) with full system access; rootkits use malicious drivers to gain kernel-level control |\n| **Bootkits** | Rootkits that infect the boot process (MBR, VBR, or UEFI firmware) to load before the operating system and security tools |\n\n## Tools & Systems\n\n- **Volatility**: Memory forensics framework providing cross-view detection, SSDT analysis, and kernel structure inspection for rootkit detection\n- **GMER**: Free Windows rootkit detection tool scanning for SSDT hooks, IDT hooks, IRP hooks, and hidden processes\u002Ffiles\u002Fregistry\n- **rkhunter**: Linux rootkit detection tool checking for known rootkit signatures, suspicious files, and system binary modifications\n- **chkrootkit**: Linux tool for detecting rootkit presence through signature-based and anomaly-based checks\n- **Sysinternals RootkitRevealer**: Microsoft tool comparing Windows API results with raw filesystem\u002Fregistry scans to find discrepancies\n\n## Common Scenarios\n\n### Scenario: Investigating a System Where Standard Tools Show No Compromise\n\n**Context**: An endpoint shows network beaconing to a known C2 IP in firewall logs, but the local EDR, Task Manager, and netstat show no suspicious processes or connections. A memory dump has been acquired for analysis.\n\n**Approach**:\n1. Run Volatility `psscan` and compare with `pslist` to identify processes hidden via DKOM\n2. Run `windows.ssdt` to check for system call hooks that filter process and network listings\n3. Run `windows.malfind` to detect injected code in legitimate processes\n4. Run `windows.netscan` to find network connections hidden from user-mode tools\n5. Run `windows.driverscan` to identify malicious kernel drivers enabling the hiding\n6. Dump the rootkit driver and analyze with Ghidra to understand its hooking mechanism\n7. Check for boot persistence (MBR\u002FVBR modifications, UEFI firmware implants)\n\n**Pitfalls**:\n- Running detection tools on the live compromised system (rootkit may hide from or subvert them)\n- Assuming kernel integrity because no SSDT hooks are found (rootkit may use DKOM or inline hooks instead)\n- Not checking for both user-mode and kernel-mode rootkit components (many rootkits have both)\n- Trusting the rootkit scanner results on a live system; always verify with offline memory forensics\n\n## Output Format\n\n```\nROOTKIT DETECTION ANALYSIS REPORT\n====================================\nDump File:        memory.dmp\nSystem:           Windows 10 21H2 x64\nAnalysis Tool:    Volatility 3.2\n\nCROSS-VIEW DETECTION\nProcess List Comparison:\n  pslist processes:  127\n  psscan processes:  129\n  [!] HIDDEN PROCESSES: 2\n    PID 6784: sysmon64.exe (hidden rootkit component)\n    PID 6812: netfilter.exe (hidden network filter)\n\nSSDT HOOK ANALYSIS\n[!] Entry 0x004A (NtQuerySystemInformation) hooked -> driver.sys+0x1200\n[!] Entry 0x0055 (NtQueryDirectoryFile) hooked -> driver.sys+0x1400\n[!] Entry 0x0119 (NtDeviceIoControlFile) hooked -> driver.sys+0x1600\nHook Target: driver.sys at 0xFFFFF800ABCD0000 (unsigned, suspicious)\n\nKERNEL DRIVER ANALYSIS\n[!] driver.sys - No digital signature, loaded at 0xFFFFF800ABCD0000\n    Size: 45,056 bytes\n    SHA-256: abc123def456...\n    IRP Hooks: IRP_MJ_CREATE, IRP_MJ_DEVICE_CONTROL\n    Registry: HKLM\\SYSTEM\\CurrentControlSet\\Services\\MalDriver\n\nHIDDEN NETWORK CONNECTIONS\nPID 6812: 10.1.5.42:49152 -> 185.220.101.42:443 (ESTABLISHED)\n  - Not visible via netstat or user-mode tools\n  - Filtered by NtDeviceIoControlFile SSDT hook\n\nROOTKIT CAPABILITIES\n- Process hiding (DKOM + SSDT)\n- File hiding (NtQueryDirectoryFile hook)\n- Network connection hiding (NtDeviceIoControlFile hook)\n- Kernel-mode persistence (driver service)\n\nREMEDIATION\n- Boot from clean media for offline remediation\n- Remove malicious driver from offline registry\n- Verify MBR\u002FVBR\u002FUEFI integrity for boot persistence\n- Full system rebuild recommended for kernel-level compromise\n```\n",{"name":5,"tags":24,"author":30,"domain":31,"license":14,"version":32,"nist_csf":33,"subdomain":38,"description":39,"mitre_attack":40},[25,26,27,28,29],"malware","rootkit","detection","kernel-analysis","memory-forensics","mahipal","cybersecurity","1.0.0",[34,35,36,37],"DE.AE-02","RS.AN-03","ID.RA-01","DE.CM-01","malware-analysis","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\u002FEDR) show nothing abnormal but compromise is suspected.\n",[41,42,43,44],"T1014","T1547.006","T1564.001","T1574.006","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-rootkit-activity","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-rootkit-activity",{"tool":57,"command":58},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-rootkit-activity",{"tool":60,"command":61},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill detecting-rootkit-activity","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-rootkit-activity\u002FSKILL.md",true,[65,69,75],{"path":66,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fapi-reference.md","REFERENCE","参考文档",2367,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-rootkit-activity\u002Freferences\u002Fapi-reference.md",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fagent.py","SCRIPT","脚本",8236,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fdetecting-rootkit-activity\u002Fscripts\u002Fagent.py",[82,90,97,104,111,118],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":86,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]