Krueger is a Proof of Concept (PoC) .NET post-exploitation tool designed to disable Endpoint Detection and Response (EDR) systems during lateral movement in a network.
Developed by security researcher Logan Goins, Krueger leverages Windows Defender Application Control (WDAC), a Microsoft utility originally intended to enhance security by controlling executable code on Windows devices.
However, Krueger weaponizes this feature to block EDR functionality at both user and kernel levels, enabling attackers to operate undetected.
Krueger operates by deploying a custom WDAC policy to the target system.
This policy is written to the C:\Windows\System32\CodeIntegrity\
directory and becomes active upon a system reboot. The policy effectively prevents EDR sensors from starting during boot, rendering them inoperative.
Attackers with administrative privileges can use this technique on individual machines or scale it across entire networks by leveraging domain admin access and distributing malicious policies via Group Policy Objects (GPOs).
One of Krueger’s key features is its ability to run entirely from memory using tools like execute-assembly
or inlineExecute-Assembly
.
For scenarios where writing policies to disk is not feasible, Krueger includes an embedded WDAC policy within its .NET assembly, which can be read from memory and deployed dynamically at runtime.
Detecting Krueger-based attacks is particularly challenging due to the legitimate nature of WDAC policies and the speed of execution.
Once the malicious policy is applied and the system reboots, EDR systems are disabled without triggering obvious alarms. This stealthy approach allows attackers to bypass traditional security defenses effectively.
To counteract such attacks, organizations are advised to:
CodeIntegrity
.Krueger exemplifies how security tools like WDAC can be repurposed offensively, highlighting the ongoing arms race between attackers and defenders in cybersecurity.
While it serves as a valuable research tool for identifying vulnerabilities, its misuse underscores the need for proactive defense measures.
The "Awesome-Red-Team-Operation" repository is a comprehensive collection of tools designed to support red team operations,…
Mise is a powerful and versatile tool designed to streamline and enhance the development environment…
Tabby is an innovative, self-hosted AI coding assistant designed to provide developers with an open-source…
GoRedOps is a comprehensive collection of Golang-based projects tailored for red teamers and offensive security…
Tokio is a high-performance, asynchronous runtime designed for the Rust programming language. It provides the…
AntiCrack DotNet is a sophisticated .NET project designed to safeguard software by implementing advanced anti-debugging,…