A Critical Windows Kernel Vulnerability Leveraged by Lazarus Group — CVE-2024–21338
A flaw in the Windows appid.sys driver's handling of IOCTL requests allowed an attacker with admin rights to bypass security checks and gain kernel-level access. The Lazarus Group exploited this to deploy a rootkit that disabled security products and hid malicious activity.
The cybersecurity landscape has once again been jolted by the discovery of CVE-2024–21338, a high-severity vulnerability within the Windows Kernel, now at the center of sophisticated cyber espionage activities conducted by the notorious Lazarus Group.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the appid.sys driver failed to properly validate IOCTL requests, allowing a crafted request to manipulate the IOCTL dispatcher and execute an arbitrary pointer.
Impact
An attacker with admin rights could gain kernel-level access, disable security software, install a rootkit, and maintain persistent, stealthy control of the system.
What the attacker needed
Administrative privileges on the target system
The fix
Microsoft released a patch in February 2024 that ensures IOCTL requests are properly vetted before execution.
How it was found
- Obtain administrative privileges on the target Windows system.
- Send specially crafted IOCTL requests to the appid.sys driver.
- Manipulate the IOCTL dispatcher to execute an arbitrary pointer.
- Gain kernel-level access and deploy the FudModule rootkit.
- Use direct kernel object manipulation to disable security products and hide activity.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Windows has layers of privilege: normal user, administrator, and the deepest level called kernel mode. This bug let someone who was already an administrator jump to kernel mode, which is normally off-limits. Once in kernel mode, they could turn off security software and hide their tools.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.