Displays Windows Event Logs in a GUI window.
During startup, eventvwr.exe checks the registry value HKCU\Software\Classes\mscfile\shell\open\command
for the location of mmc.exe, which is used to open the eventvwr.msc saved console file. If the location of another binary or script is added to this registry value, it will be executed as a high-integrity process without a UAC prompt being displayed to the user.
eventvwr.exe
Execute a binary or script as a high-integrity process without a UAC prompt.
During startup, eventvwr.exe uses .NET deserialization with %LOCALAPPDATA%\Microsoft\EventV~1\RecentViews
file. This file can be created using https://github.com/pwntester/ysoserial.net
ysoserial.exe -o raw -f BinaryFormatter - g DataSet -c "{CMD}" > RecentViews & copy RecentViews %LOCALAPPDATA%\Microsoft\EventV~1\RecentViews & eventvwr.exe
Execute a command to bypass security restrictions that limit the use of command-line interpreters.