Detection rules › Sigma

Prefetch File Deleted

Status
test
Severity
high
Log source
category file_delete, product windows
Author
Cedric MAURUGEON
Source
github.com/SigmaHQ/sigma

Detects the deletion of a prefetch file which may indicate an attempt to destroy forensic evidence

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: Prefetch File Deleted
id: 0a1f9d29-6465-4776-b091-7f43b26e4c89
status: test
description: Detects the deletion of a prefetch file which may indicate an attempt to destroy forensic evidence
references:
    - Internal Research
    - https://www.group-ib.com/blog/hunting-for-ttps-with-prefetch-files/
author: Cedric MAURUGEON
date: 2021-09-29
modified: 2024-01-25
tags:
    - attack.stealth
    - attack.t1070.004
logsource:
    product: windows
    category: file_delete
detection:
    selection:
        TargetFilename|contains: ':\Windows\Prefetch\'
        TargetFilename|endswith: '.pf'
    filter_main_svchost:
        Image|endswith: ':\windows\system32\svchost.exe'
        User|contains: # covers many language settings
            - 'AUTHORI'
            - 'AUTORI'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    TargetFilename|contains: ':\Windows\Prefetch\'
    TargetFilename|endswith: '.pf'

Stage 2: not filter_main_svchost

filter_main_svchost:
    Image|endswith: ':\windows\system32\svchost.exe'
    User|contains:
        - 'AUTHORI'
        - 'AUTORI'

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
UsermatchAUTHORIexcludes:User field:"User" value:"AUTHORI"
UsermatchAUTORIexcludes:User field:"User" value:"AUTORI"
Imageends_with:\windows\system32\svchost.exeexcludes:Image field:"Image" value:":\windows\system32\svchost.exe"

Indicators

These rows show field, operator, and value matches.