“Microsoft hasn’t given up on securing the admin-to-kernel boundary, although,” researchers from Avast clarify. “Fairly the other. It has made an excessive amount of progress in making this boundary tougher to cross. Protection-in-depth protections, corresponding to DSE (Driver Signature Enforcement) or HVCI (Hypervisor-Protected Code Integrity), have made it more and more tough for attackers to execute customized code within the kernel, forcing most to resort to data-only assaults (the place they obtain their malicious goals solely by studying and writing kernel reminiscence). Different defenses, corresponding to driver blocklisting, are pushing attackers to maneuver to exploiting less-known susceptible drivers, leading to a rise in assault complexity. Though these defenses haven’t but reached the purpose the place we will formally name admin-to-kernel a security boundary (BYOVD assaults are nonetheless possible, so calling it one would simply mislead customers right into a false sense of security), they clearly characterize steps in the precise path.”
The brand new CVE-2024-21338 vulnerability exploited by Lazarus is situated in appid.sys, which is the central driver behind AppLocker, the applying whitelisting expertise constructed into Home windows, which makes it kind of ironic. Microsoft gave this vulnerability a rating of seven.8 out of 10 on the CVSS scale and, based on Avast, that is perhaps as a result of it may also be exploited from the native service account, which has much more lowered privileges in comparison with directors.
“Although the vulnerability might solely barely meet Microsoft’s security servicing standards, we consider patching was the precise selection and wish to thank Microsoft for ultimately addressing this difficulty,” the Avast researchers mentioned. “Patching will undoubtedly disrupt Lazarus’ offensive operations, forcing them to both discover a new admin-to-kernel zero-day or revert to utilizing BYOVD methods.”
Lazarus’s improved rootkit methods
The FudModule rootkit leverage its kernel learn/write entry to disable some necessary options that security merchandise depend on to detect suspicious conduct: register callbacks, that are used to detect system registry modifications; object callbacks, that are used to execute customized code in response to string, course of and desktop deal with operations; and course of, thread, and picture kernel callbacks, which permit endpoint security merchandise to carry out checks each time new processes are created or DLLs are loaded.
The FudModule rootkit will delete all of a majority of these callbacks registered by security merchandise within the kernel to be able to impair their malware detection capabilities. The brand new variant solely makes minor modifications to the callbacks that it deletes. The rootkit additionally removes file system minifilters which might be registered by antivirus packages to observe file operations.
A brand new characteristic of the rootkit is to disable picture verification callbacks that are invoked when a brand new driver picture is loaded into kernel reminiscence. This performance is leveraged by some anti-malware packages to detect and block malicious or susceptible drivers.