Uncommon Child Process Of Setres.EXE

 Original Source: [Sigma source]
Title: Uncommon Child Process Of Setres.EXE
Status: test
Description:Detects uncommon child process of Setres.EXE. Setres.EXE is a Windows server only process and tool that can be used to set the screen resolution. It can potentially be abused in order to launch any arbitrary file with a name containing the word "choice" from the current execution path.
References:
  -https://lolbas-project.github.io/lolbas/Binaries/Setres/
  -https://twitter.com/0gtweet/status/1583356502340870144
  -https://strontic.github.io/xcyclopedia/library/setres.exe-0E30E4C09637D7A128A37B59A3BC4D09.html
  -https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc731033(v=ws.11)
Author: @gott_cyber, Nasreddine Bencherchali (Nextron Systems)
Date: 2022-12-11
modified:2024-06-26
Tags:
  • -'attack.stealth'
  • -'attack.t1218'
  • -'attack.t1202'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection:
    ParentImage|endswith: '\setres.exe'
    Image|contains: '\choice'
  filter_main_legit_location:
    Image|endswith:
      -'C:\Windows\System32\choice.exe'
      -'C:\Windows\SysWOW64\choice.exe'

  condition:selection and not 1 of filter_main_*
Falsepositives:
  -Unlikely
Level: high