Why not do a can solve closed and restart Eventlog service generate EventID for 7034 and 7036, and solve the problem of missing EventRecordID version?Modify DeleteRecordbyTerminateProcess. CPP operation process is as follows should be ok:
1.Try to EnableDebugPrivilege... Done
2.Try to OpenProcess... Done
(add ) Try to suspend eventlog Thead
3.Try to TerminateProcess... Done
4.Try to CloseFileHandle... Done
5.Try to Copy evtx file to current path... Done
6.Try to Delete the eventlog... Done
7.Try to replace evtx file... Done
8.Try to delete temp.evtx... Done
(add ) Try to eventlog process and suspend Thead
9.Try to Restart eventlog service...
(add ) Try to suspend eventlog Thead
Why not do a can solve closed and restart Eventlog service generate EventID for 7034 and 7036, and solve the problem of missing EventRecordID version?Modify DeleteRecordbyTerminateProcess. CPP operation process is as follows should be ok:
1.Try to EnableDebugPrivilege... Done 2.Try to OpenProcess... Done (add ) Try to suspend eventlog Thead
3.Try to TerminateProcess... Done 4.Try to CloseFileHandle... Done 5.Try to Copy evtx file to current path... Done 6.Try to Delete the eventlog... Done 7.Try to replace evtx file... Done 8.Try to delete temp.evtx... Done (add ) Try to eventlog process and suspend Thead 9.Try to Restart eventlog service... (add ) Try to suspend eventlog Thead