Category : authz

I can write security log on windows server 2012 r2 using this code #include <stdio.h> #include <iostream> #include <string> #include <strsafe.h> #include <windows.h> #include <Authz.h> #include <Ntsecapi.h> #pragma comment(lib,"Authz.lib") #pragma comment(lib,"Advapi32.lib") BOOL SetPrivilege( HANDLE hToken, // access token handle LPCTSTR lpszPrivilege, // name of privilege to enable/disable BOOL bEnablePrivilege // to enable or disable privilege ..

Read more

I can write security log on windows server 2012 r2 using function https://docs.microsoft.com/en-us/windows/win32/api/authz/nf-authz-authzreportsecurityevent in https://docs.microsoft.com/en-us/windows/win32/api/authz/ but i can’t find a way formatted this log similar to original audit log. I can write security log following this threat windos 2012 r2 security event log custom insert Im using this code build executable and using this executable ..

Read more

I can write security log on windos server 2012 r2 using function AuthzReportSecurityEvent in authz.h but ı can’t find a way formatted this log similar to original audit log. I can write security log following this thread windos 2012 r2 security event log custom insert im using this code generate exe and writing logs but ..

Read more