Detection rules › Sigma

Prefetch File Deleted

Status
test
Severity
high
Log source
product windows, category file_delete
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

Event coverage

Rule body yaml

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

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
UsermatchAUTHORI
UsermatchAUTORI
Imageends_with:\windows\system32\svchost.exe

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
TargetFilenameends_with
  • .pf
TargetFilenamematch
  • :\Windows\Prefetch\