Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-21509-handler — PowerShell script to check, apply, and test the Kill-Bit protection for the CVE-2026-21509 Microsoft Office zero-day vulnerability affecting Office 2016/2019/LTSC. | Kitploit
Tools/GitHubGitHub/suuhm/cve-2026-21509-handler
Defensive ToolsVulnerability AnalysisConfiguration AuditingIncident Response
GitHubsuuhm/cve-2026-21509-handler

CVE-2026-21509-handler

PowerShell script to check, apply, and test the Kill-Bit protection for the CVE-2026-21509 Microsoft Office zero-day vulnerability affecting Office 2016/2019/LTSC.

View Repository
8136 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-21509 Office Kill-Bit Manager

PowerShell script to check, apply, and test the Kill-Bit protection for the CVE-2026-21509 Microsoft Office zero-day vulnerability affecting Office 2016/2019/LTSC.

What is CVE-2026-21509?

Critical RCE vulnerability in Microsoft Office OLE/COM handling (CVSS 9.8). Actively exploited by APT28 (Fancy Bear) via malicious RTF/DOC files targeting Shell.Explorer COM object {EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}.

Affected: Office 2016, 2019, LTSC 2021/2024, Microsoft 365 Apps (pre-January 26, 2026 patches)

Features

FeatureDescription
Kill-Bit CheckDetects if protection is active in registry
Auto-PatchSets Kill-Bit for 32/64-bit Office
Test FileCreates RTF dummy to verify Kill-Bit blocks COM object
KB CheckerLists KB5002694/KB5002695 patches
RestoreRemoves Kill-Bit (post-official patch)
Auto-detectIdentifies Office architecture

Prerequisites

  • Windows 10/11 with Office 2016+
  • PowerShell 5.1+ (built-in)
  • Administrator rights (required for registry)

Installation

  1. Download CVE-2026-21509.ps1
  2. Right-click → "Run with PowerShell" (as Administrator)
  3. Menu-driven - no parameters needed

Usage

root@kitploit:~
=== CVE-2026-21509 Office Kill-Bit Management ===

  ░█▀▀░█░█░█▀▀░░░░░▀▀▄░▄▀▄░▀▀▄░▄▀▀░░░░░▀▀▄░▀█░░█▀▀░▄▀▄░▄▀▄
  ░█░░░▀▄▀░█▀▀░▄▄▄░▄▀░░█/█░▄▀░░█▀▄░▄▄▄░▄▀░░░█░░▀▀▄░█/█░░▀█
  ░▀▀▀░░▀░░▀▀▀░░░░░▀▀▀░░▀░░▀▀▀░░▀░░░░░░▀▀▀░▀▀▀░▀▀░░░▀░░▀▀░
  
  Name: CVE-2026-21509.ps1
  ====================================================="

1. Check Kill-Bit Status        [Recommended first]
2. Apply Kill-Bit Protection    [If missing]
3. Test with Dummy COM File     [Verify protection]
4. Remove Kill-Bit (Restore)    [After official patch]
5. Check KB Updates             [Patch status]
0. Exit

Quick Start Workflow

root@kitploit:~
# 1. Check status
Option 1 → "Kill-Bit MISSING" = Vulnerable!

# 2. Apply protection  
Option 2 → "PROTECTED! 2 registry entries patched"

# 3. Verify with test
Option 3 → Creates test RTF → Open in Word
✓ Kill-Bit works = "Object cannot be activated"
✗ Vulnerable = Object loads

Test File Results

Kill-Bit StatusWord BehaviorProtection
Active"Cannot activate object" / Blank area✅ SAFE
InactiveCOM object loads / potential RCE⚠️ RISK

KB Patches

KBOffice VersionRelease
KB5002694Office 2016/2019Jan 26, 2026
KB5002695LTSC 2021/2024, M365Jan 26, 2026

Option 5 shows installed status via Get-HotFix.

Registry Locations

64-bit Office:

root@kitploit:~
HKLM\SOFTWARE\Microsoft\Office\16.0\Common\COM Compatibility\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}
"Compatibility Flags" = dword:00000400

32-bit Office:

root@kitploit:~
HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\...

Troubleshooting

IssueSolution
"Access denied"Run as Administrator
"Office not found"Installs Office 2016+ required
Test file "safe" but KB missingKill-Bit works, install KB anyway
Legit COM objects brokenTemporary - remove after KB install

Security Notes

  • Kill-Bit blocks ONLY this CLSID - other Office functions unaffected
  • Official patches automatically set/remove Kill-Bit
  • Test file is SAFE - contains no executable code, only CLSID reference
  • Phishing still dangerous - keep Protected View enabled

After Patching

  1. ✅ Install KB5002694/95 from Windows Update / Update Catalog
  2. ✅ Option 4 → Remove Kill-Bit (optional, patch handles it)
  3. ✅ Delete test file from %TEMP%

License

MIT License - Free for personal/commercial use.

Disclaimer

Not official Microsoft software. Use at your own risk. Tested on Windows 10/11 with Office 2016-2024.


⭐ Star on GitHub if helpful!
🐛 Issues? Open an issue

References:
CISA KEV | MSRC | BornCity Blog

Download Tool