[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71E6WFA13ZWZ4ZXEVR4WKYR":3,"skill-same:01M71E6WFA13ZWZ4ZXEVR4WKYR":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M71E6WFA13ZWZ4ZXEVR4WKYR","linux-hw-firmware-bootkit-detect",null,"Linux Hw Firmware Bootkit Detect.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux-hw-firmware-bootkit-detect\u002FSKILL.md",[],[19,20,21,22,23,24],"linux","bootkit","firmware","detect","linux hw firmware bootkit detect","cybersecurity","2026-11-10 10:12:30",false,"---\nname: linux-hw-firmware-bootkit-detect\ndescription: \"Linux Hw Firmware Bootkit Detect.\"\ndomain: cybersecurity\n---\n\n|\n| **Bootkit** | Malware that infects the boot process (MBR, VBR, UEFI) to execute before the operating system loads, gaining persistent low-level control |\n| **MBR (Master Boot Record)** | First 512 bytes of a disk containing bootstrap code and partition table; MBR bootkits replace this code with malicious loaders |\n| **UEFI (Unified Extensible Firmware Interface)** | Modern firmware interface replacing BIOS; UEFI bootkits implant malicious modules in firmware volumes or modify the ESP |\n| **Secure Boot** | UEFI security feature verifying digital signatures of boot components; bootkits like BlackLotus exploit vulnerabilities to bypass it |\n| **SPI Flash** | Flash memory chip storing UEFI firmware; advanced bootkits like LoJax and MoonBounce modify SPI flash for firmware-level persistence |\n| **DKOM (Direct Kernel Object Manipulation)** | Rootkit technique modifying kernel structures to hide processes, files, and network connections without hooking functions |\n| **Driver Signature Enforcement (DSE)** | Windows security feature requiring kernel drivers to be digitally signed; bootkits disable DSE during boot to load unsigned rootkit drivers |\n\n## Tools & Systems\n\n- **UEFITool**: Open-source UEFI firmware image editor and parser for inspecting firmware volumes, drivers, and modules\n- **chipsec**: Intel hardware security assessment framework for verifying SPI flash protection, Secure Boot, and UEFI configuration\n- **Volatility**: Memory forensics framework with SSDT, IDT, callback, and driver analysis plugins for kernel rootkit detection\n- **GMER**: Windows rootkit detection tool scanning for SSDT hooks, IDT hooks, hidden processes, and modified kernel modules\n- **Bootkits Analyzer**: Specialized tool for analyzing MBR\u002FVBR code including disassembly and comparison against known-good baselines\n\n## Common Scenarios\n\n### Scenario: Investigating Persistent Compromise Surviving OS Reinstallation\n\n**Context**: An organization reimaged a compromised workstation, but the same C2 beaconing resumed within hours. Standard disk forensics finds no malware. UEFI bootkit is suspected.\n\n**Approach**:\n1. Boot from a Linux live USB to avoid executing any compromised OS components\n2. Dump the SPI flash firmware using chipsec or flashrom for offline analysis\n3. Dump the MBR and VBR sectors with dd for boot sector analysis\n4. Copy the EFI System Partition for bootloader integrity verification\n5. Open the SPI dump in UEFITool and compare module GUIDs against vendor-provided firmware\n6. Look for additional or modified DXE drivers that should not be present\n7. Analyze any suspicious modules with Ghidra (x86_64 UEFI module format)\n8. Verify Secure Boot configuration and check for exploit-based bypasses\n\n**Pitfalls**:\n- Analyzing the system while the compromised OS is running (rootkit may hide from live analysis)\n- Not checking SPI flash (only analyzing disk-based boot components misses firmware-level implants)\n- Assuming Secure Boot prevents all bootkits (known bypasses exist, e.g., CVE-2022-21894)\n- Not preserving the original firmware dump before reflashing (critical evidence for attribution)\n\n## Output Format\n\n```\nBOOTKIT \u002F ROOTKIT ANALYSIS REPORT\n====================================\nSystem:           Dell OptiPlex 7090 (UEFI, TPM 2.0)\nFirmware Version: 1.15.0 (Dell)\nSecure Boot:      ENABLED (but bypassed)\nCapture Method:   Linux Live USB + chipsec SPI dump\n\nMBR\u002FVBR ANALYSIS\nMBR Signature:    Valid (0x55AA)\nMBR Code:         MATCHES standard Windows 10 MBR (clean)\nVBR Code:         MATCHES standard NTFS VBR (clean)\n\nUEFI FIRMWARE ANALYSIS\nTotal Modules:    287\nVendor Expected:  285\nExtra Modules:    2 UNAUTHORIZED\n  [!] DXE Driver GUID: {ABCD1234-...} \"SmmAccessDxe_mod\" (MODIFIED)\n      Original Size: 12,288 bytes\n      Current Size:  45,056 bytes (32KB ADDED)\n      Entropy: 7.82 (HIGH - encrypted payload)\n\n  [!] DXE Driver GUID: {EFGH5678-...} \"UefiPayloadDxe\" (NEW - not in vendor firmware)\n      Size: 28,672 bytes\n      Function: Drops persistence agent during boot\n\nBOOT CHAIN INTEGRITY\nbootmgfw.efi:     MODIFIED (hash mismatch, Secure Boot bypass via CVE-2022-21894)\nwinload.efi:      MODIFIED (DSE disabled at load time)\nntoskrnl.exe:     CLEAN (but unsigned driver loaded after boot)\n\nKERNEL ROOTKIT COMPONENTS\nDriver:           C:\\Windows\\System32\\drivers\\null_mod.sys (unsigned, hidden)\nSSDT Hooks:       3 (NtQuerySystemInformation, NtQueryDirectoryFile, NtDeviceIoControlFile)\nHidden Processes: 2 (PID 6784: beacon.exe, PID 6812: keylog.exe)\nHidden Files:     C:\\Windows\\System32\\drivers\\null_mod.sys\n\nATTRIBUTION\nFamily:           BlackLotus variant\nConfidence:       HIGH (CVE-2022-21894 exploit, ESP modification pattern matches)\n\nREMEDIATION\n1. Reflash SPI firmware with clean vendor image via hardware programmer\n2. Rebuild EFI System Partition from clean Windows installation media\n3. Reinstall OS from verified media\n4. Enable all firmware write protections\n5. Update firmware to latest version (patches CVE-2022-21894)\n```\n","|\n| **Bootkit** | Malware that infects the boot process (MBR, VBR, UEFI) to execute before the operating system loads, gaining persistent low-level control |\n| **MBR (Master Boot Record)** | First 512 bytes of a disk containing bootstrap code and partition table; MBR bootkits replace this code with malicious loaders |\n| **UEFI (Unified Extensible Firmware Interface)** | Modern firmware interface replacing BIOS; UEFI bootkits implant malicious modules in firmware volumes or modify the ESP |\n| **Secure Boot** | UEFI security feature verifying digital signatures of boot components; bootkits like BlackLotus exploit vulnerabilities to bypass it |\n| **SPI Flash** | Flash memory chip storing UEFI firmware; advanced bootkits like LoJax and MoonBounce modify SPI flash for firmware-level persistence |\n| **DKOM (Direct Kernel Object Manipulation)** | Rootkit technique modifying kernel structures to hide processes, files, and network connections without hooking functions |\n| **Driver Signature Enforcement (DSE)** | Windows security feature requiring kernel drivers to be digitally signed; bootkits disable DSE during boot to load unsigned rootkit drivers |\n\n## Tools & Systems\n\n- **UEFITool**: Open-source UEFI firmware image editor and parser for inspecting firmware volumes, drivers, and modules\n- **chipsec**: Intel hardware security assessment framework for verifying SPI flash protection, Secure Boot, and UEFI configuration\n- **Volatility**: Memory forensics framework with SSDT, IDT, callback, and driver analysis plugins for kernel rootkit detection\n- **GMER**: Windows rootkit detection tool scanning for SSDT hooks, IDT hooks, hidden processes, and modified kernel modules\n- **Bootkits Analyzer**: Specialized tool for analyzing MBR\u002FVBR code including disassembly and comparison against known-good baselines\n\n## Common Scenarios\n\n### Scenario: Investigating Persistent Compromise Surviving OS Reinstallation\n\n**Context**: An organization reimaged a compromised workstation, but the same C2 beaconing resumed within hours. Standard disk forensics finds no malware. UEFI bootkit is suspected.\n\n**Approach**:\n1. Boot from a Linux live USB to avoid executing any compromised OS components\n2. Dump the SPI flash firmware using chipsec or flashrom for offline analysis\n3. Dump the MBR and VBR sectors with dd for boot sector analysis\n4. Copy the EFI System Partition for bootloader integrity verification\n5. Open the SPI dump in UEFITool and compare module GUIDs against vendor-provided firmware\n6. Look for additional or modified DXE drivers that should not be present\n7. Analyze any suspicious modules with Ghidra (x86_64 UEFI module format)\n8. Verify Secure Boot configuration and check for exploit-based bypasses\n\n**Pitfalls**:\n- Analyzing the system while the compromised OS is running (rootkit may hide from live analysis)\n- Not checking SPI flash (only analyzing disk-based boot components misses firmware-level implants)\n- Assuming Secure Boot prevents all bootkits (known bypasses exist, e.g., CVE-2022-21894)\n- Not preserving the original firmware dump before reflashing (critical evidence for attribution)\n\n## Output Format\n\n```\nBOOTKIT \u002F ROOTKIT ANALYSIS REPORT\n====================================\nSystem:           Dell OptiPlex 7090 (UEFI, TPM 2.0)\nFirmware Version: 1.15.0 (Dell)\nSecure Boot:      ENABLED (but bypassed)\nCapture Method:   Linux Live USB + chipsec SPI dump\n\nMBR\u002FVBR ANALYSIS\nMBR Signature:    Valid (0x55AA)\nMBR Code:         MATCHES standard Windows 10 MBR (clean)\nVBR Code:         MATCHES standard NTFS VBR (clean)\n\nUEFI FIRMWARE ANALYSIS\nTotal Modules:    287\nVendor Expected:  285\nExtra Modules:    2 UNAUTHORIZED\n  [!] DXE Driver GUID: {ABCD1234-...} \"SmmAccessDxe_mod\" (MODIFIED)\n      Original Size: 12,288 bytes\n      Current Size:  45,056 bytes (32KB ADDED)\n      Entropy: 7.82 (HIGH - encrypted payload)\n\n  [!] DXE Driver GUID: {EFGH5678-...} \"UefiPayloadDxe\" (NEW - not in vendor firmware)\n      Size: 28,672 bytes\n      Function: Drops persistence agent during boot\n\nBOOT CHAIN INTEGRITY\nbootmgfw.efi:     MODIFIED (hash mismatch, Secure Boot bypass via CVE-2022-21894)\nwinload.efi:      MODIFIED (DSE disabled at load time)\nntoskrnl.exe:     CLEAN (but unsigned driver loaded after boot)\n\nKERNEL ROOTKIT COMPONENTS\nDriver:           C:\\Windows\\System32\\drivers\\null_mod.sys (unsigned, hidden)\nSSDT Hooks:       3 (NtQuerySystemInformation, NtQueryDirectoryFile, NtDeviceIoControlFile)\nHidden Processes: 2 (PID 6784: beacon.exe, PID 6812: keylog.exe)\nHidden Files:     C:\\Windows\\System32\\drivers\\null_mod.sys\n\nATTRIBUTION\nFamily:           BlackLotus variant\nConfidence:       HIGH (CVE-2022-21894 exploit, ESP modification pattern matches)\n\nREMEDIATION\n1. Reflash SPI firmware with clean vendor image via hardware programmer\n2. Rebuild EFI System Partition from clean Windows installation media\n3. Reinstall OS from verified media\n4. Enable all firmware write protections\n5. Update firmware to latest version (patches CVE-2022-21894)\n```\n",{"name":5,"domain":24,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Flinux-hw-firmware-bootkit-detect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill linux-hw-firmware-bootkit-detect",{"tool":43,"command":44},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill linux-hw-firmware-bootkit-detect",{"tool":46,"command":47},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill linux-hw-firmware-bootkit-detect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux-hw-firmware-bootkit-detect\u002FSKILL.md",true,[51],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"index.json","REFERENCE","参考文档",528,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux-hw-firmware-bootkit-detect\u002Findex.json",[58,68,92,115,137,159],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":63,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":67},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":25},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[75,22,76,77,78,79,80,24,81,82,83,84,85,86,87,88,89,90,91],"services","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":25},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[99,77,100,75,101,102,103,104,105,24,106,107,108,109,110,111,112,113,91,114],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":25},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[122,123,124,125,126,127,128,129,130,131,111,91,132,133,104,134,103,24,135,136],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":25},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[144,145,146,22,24,147,90,148,149,150,79,91,151,152,153,154,155,156,157,158],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":25},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[166,144,167,22,168,169,80,91,151,170,171,172,104,79,24,147,173,90,174,149],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]