Detectionmediumtest

SCR File Write Event

Detects the creation of screensaver files (.scr) outside of system folders. Attackers may execute an application as an ".SCR" file using "rundll32.exe desk.cpl,InstallScreenSaver" for example.

Open in Detection LabConvert ruleBuild Package
Christopher Peacock, SCYTHECreated 2022-04-27Updated 2023-08-23c048f047-7e2a-4888-b302-55f509d4a91dwindows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event

Events for file system activity including creation, modification, and deletion.

Detection Logic
Detection Logic2 selectors
detection:
    selection:
        TargetFilename|endswith: '.scr'
    filter:
        TargetFilename|contains:
            - ':\$WINDOWS.~BT\NewOS\'
            - ':\Windows\System32\'
            - ':\Windows\SysWOW64\'
            - ':\Windows\WinSxS\'
            - ':\WUDownloadCache\' # Windows Update Download Cache
    condition: selection and not filter
False Positives

The installation of new screen savers by third party software

MITRE ATT&CK
Rule Metadata
Rule ID
c048f047-7e2a-4888-b302-55f509d4a91d
Status
test
Level
medium
Type
Detection
Created
2022-04-27
Modified
2023-08-23
Path
rules/windows/file/file_event/file_event_win_new_scr_file.yml
Raw Tags
attack.stealthattack.t1218.011
View on GitHub