Setres.exe

type: OSBinaries
Configures display settings

Full path

c:\windows\system32\setres.exe

Commands

  1. ExecuteUser T1218

    Executes arbitrary code

    setres.exe -w 800 -h 600

    Sets the resolution and then launches ‘choice’ command from the working directory.

    os: Windows Server 2012, Windows Server 2016, Windows Server 2019, Windows Server 2022

    Execute: EXE

Detection

Resources

acknowledgement: Grzegorz Tworek @0gtweet