Created
September 7, 2022 19:52
-
-
Save thinkst-cs/c48d357c665a9b590623206b5e349e1d to your computer and use it in GitHub Desktop.
Monitoring Silent Process Exit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SilentProcessExit\nltest.exe] | |
"ReportingMode"=dword:00000001 | |
"MonitorProcess"="powershell.exe -Command \"Get-WmiObject win32_process -Filter 'ProcessID = %e' | select CreationDate,ProcessId,CommandLine >> C:\\\\Test\\\\Logcmdline.txt\"" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment