@Brock: yeah, sorry for clearing that, i forgot to mention of cos you have to copy ntdll to tmp file and load that instead of using %systemroot%\system32\(sysWow64)\ntdll.dll.
@TheExecuter: well, even if ZwCreateFile is hooked, there're multiple ways to bypass that hook but it's just too complicated to do such as simple task such as getting raw syscall numbers. Keep it simple, don't over-engineer mundane stuffs is my point.
@TheExecuter: well, even if ZwCreateFile is hooked, there're multiple ways to bypass that hook but it's just too complicated to do such as simple task such as getting raw syscall numbers. Keep it simple, don't over-engineer mundane stuffs is my point.