Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to open a handle to the AppLocker driver (\Device\AppID) (code: 0xC0000022) #3

Open
aimhighstayhigh opened this issue Jun 3, 2024 · 2 comments

Comments

@aimhighstayhigh
Copy link

following errors when trying to compile the sln:

Error C2011 '_FILE_STAT_LX_INFORMATION': 'struct' type redefinition CVE-2024-21338-POC C:\Users\user\source\repos\CVE-2024-21338\phnt.h 17802
Error C2011 '_FILE_CASE_SENSITIVE_INFORMATION': 'struct' type redefinition CVE-2024-21338-POC C:\Users\user\source\repos\CVE-2024-21338\phnt.h 17829
Error C2011 '_FILE_STAT_INFORMATION': 'struct' type redefinition CVE-2024-21338-POC C:\Users\user\source\repos\CVE-2024-21338\phnt.h 17766

@aimhighstayhigh
Copy link
Author

resolved, but facing same issue as others raised:

[.] [ c_poc::set_ioctl_buffer ] Windows version detected: 10.0, build: 22631.
[.] [ c_poc::act ] Failed to open a handle to the AppLocker driver (\Device\AppID) (code: 0xC0000022)

have already verified that appid.sys service is running, and windows version is before patch

kindly advise, thank you

@aimhighstayhigh aimhighstayhigh changed the title C2011 'struct' type redefinition error Failed to open a handle to the AppLocker driver (\Device\AppID) (code: 0xC0000022) Jun 4, 2024
@nointel
Copy link

nointel commented Jul 26, 2024

Hi, can you solved this problem. Because I've face with same problem (10.0 - 22631 build number) so it's Failed to open a handle to the AppLocker driver (\Device\AppID)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants