hooking functions to hide system artifacts

tl;dr rootkit-style code that uses the Microsoft Detours library to perform system call hooking. this tool allows us to: hide malicious processes (like backdoors) from Task Manager and security tools. conceal files and directories from file explorers and system utilities. hide registry keys from registry editors and system queries. the power comes from where it operates - at the Native API level…