xmydl Newbie cheater
Reputation: 0
Joined: 28 Apr 2023 Posts: 16
|
Posted: Thu Oct 19, 2023 10:53 am Post subject: [Solved]Calling Cheat Engine's IOCTLs outside of it |
|
|
Hello, thank you for reading this post.
I'm currently modifying Cheat Engine's Kernel Driver and want calling its IOCTLs outside of it. However while I'm calling it my user mode application failed to CreateFile or anything related for finding its Symbolic Name. Handling process was failed due to this.
Do I need any kind of priviledges such as debug privilidge for calling its IOCTLs? I currently didn't find related code for checking if its callable from a process. Only ifdef TobeSigned shows a little piece of checking.
I would be really grateful if you coould help me with this problem.
Updated0: Only one suggestion for that could Mr./Mrs. Dark Byte release patreon versions with debug infos? I know there is one currently for exes but not for kernel drivers. It could be a little bit hard using github's time machine finding specific code from specific time ranges.
Updated: Well there present to be no Checking or verification while releasing it without signature. What I'm facing is not because Cheat Engine's code but mine user mode app going wrong. What a shame. Debugging it for so long but gone for the wrong rabbit hole. Nevertheless thank you for reading this post. Have a nice day!
Code: | #ifdef TOBESIGNED
sedebugprivUID.LowPart=SE_DEBUG_PRIVILEGE;
sedebugprivUID.HighPart=0;
if (SeSinglePrivilegeCheck(sedebugprivUID, UserMode)==FALSE)
{
DbgPrint("DispatchIoctl called by a process without SeDebugPrivilege");
return STATUS_UNSUCCESSFUL;
}
#endif |
|
|