Eventvwr.exe

type: OSBinaries
Displays Windows Event Logs in a GUI window.

Full path

C:\Windows\System32\eventvwr.exe
C:\Windows\SysWOW64\eventvwr.exe

Commands

  1. UAC BypassUser T1548.002

    Execute a binary or script as a high-integrity process without a UAC prompt.

    eventvwr.exe

    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.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10

    Application: GUIExecute: EXE

  2. UAC BypassAdministrator T1548.002

    Execute a command to bypass security restrictions that limit the use of command-line interpreters.

    ysoserial.exe -o raw -f BinaryFormatter - g DataSet -c "{CMD}" > RecentViews & copy RecentViews %LOCALAPPDATA%\Microsoft\EventV~1\RecentViews & eventvwr.exe

    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

    os: Windows 7, Windows 8, Windows 8.1, Windows 10

    Application: GUIExecute: .NetObjects

Detection

Code samples

Resources

acknowledgement: Matt Nelson @enigma0x3, Matt Graeber @mattifestation, Orange Tsai @orange_8361