Uncommon Child Process Of Setres.EXE

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.

Sigma rule (View on GitHub)

 1title: Uncommon Child Process Of Setres.EXE
 2id: 835e75bf-4bfd-47a4-b8a6-b766cac8bcb7
 3status: test
 4description: |
 5    Detects uncommon child process of Setres.EXE.
 6    Setres.EXE is a Windows server only process and tool that can be used to set the screen resolution.
 7    It can potentially be abused in order to launch any arbitrary file with a name containing the word "choice" from the current execution path.    
 8references:
 9    - https://lolbas-project.github.io/lolbas/Binaries/Setres/
10    - https://twitter.com/0gtweet/status/1583356502340870144
11    - https://strontic.github.io/xcyclopedia/library/setres.exe-0E30E4C09637D7A128A37B59A3BC4D09.html
12    - https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc731033(v=ws.11)
13author: '@gott_cyber, Nasreddine Bencherchali (Nextron Systems)'
14date: 2022-12-11
15modified: 2024-06-26
16tags:
17    - attack.defense-evasion
18    - attack.t1218
19    - attack.t1202
20logsource:
21    category: process_creation
22    product: windows
23detection:
24    selection:
25        ParentImage|endswith: '\setres.exe'
26        Image|contains: '\choice'
27    filter_main_legit_location:
28        Image|endswith:
29            - 'C:\Windows\System32\choice.exe'
30            - 'C:\Windows\SysWOW64\choice.exe'
31    condition: selection and not 1 of filter_main_*
32falsepositives:
33    - Unlikely
34level: high

References

Related rules

to-top