We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I know it's a POC, but I thought it would be good to fix this anyway -
There is a stack buffer overflow reading the 'pid' from user mode. Replace inBufferLength with sizeof(pid).
HideProcess/driver/irphandlers.c
Line 60 in 99d7a72
The output buffer's length is not checked
Line 92 in 99d7a72
This memory is not freed anywhere
HideProcess/driver/hideprocess.c
Line 7 in 99d7a72
This buffer was allocated with length=(sizeof(ULONG) + 20), why is the param to sprintf_s longer?
Line 29 in 99d7a72
This string is not used anywhere (copied from the microsoft ioctl sample:) )
Line 43 in 99d7a72
Here, you use 'datalen' which is the length of the string from the sample instead of the real result string:
Line 95 in 99d7a72
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I know it's a POC, but I thought it would be good to fix this anyway -
There is a stack buffer overflow reading the 'pid' from user mode. Replace inBufferLength with sizeof(pid).
HideProcess/driver/irphandlers.c
Line 60 in 99d7a72
The output buffer's length is not checked
HideProcess/driver/irphandlers.c
Line 92 in 99d7a72
This memory is not freed anywhere
HideProcess/driver/hideprocess.c
Line 7 in 99d7a72
This buffer was allocated with length=(sizeof(ULONG) + 20), why is the param to sprintf_s longer?
HideProcess/driver/hideprocess.c
Line 29 in 99d7a72
This string is not used anywhere (copied from the microsoft ioctl sample:) )
HideProcess/driver/irphandlers.c
Line 43 in 99d7a72
Here, you use 'datalen' which is the length of the string from the sample instead of the real result string:
HideProcess/driver/irphandlers.c
Line 95 in 99d7a72
The text was updated successfully, but these errors were encountered: