Detection rules › Sigma

TeamViewer Log File Deleted

Status
test
Severity
low
Log source
category file_delete, product windows
Author
frack113
Source
github.com/SigmaHQ/sigma

Detects the deletion of the TeamViewer log files which may indicate an attempt to destroy forensic evidence

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: TeamViewer Log File Deleted
id: b1decb61-ed83-4339-8e95-53ea51901720
status: test
description: Detects the deletion of the TeamViewer log files which may indicate an attempt to destroy forensic evidence
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.004/T1070.004.md
author: frack113
date: 2022-01-16
modified: 2023-02-15
tags:
    - attack.stealth
    - attack.t1070.004
logsource:
    product: windows
    category: file_delete
detection:
    selection:
        TargetFilename|contains: '\TeamViewer_'
        TargetFilename|endswith: '.log'
    filter:
        Image: C:\Windows\system32\svchost.exe
    condition: selection and not filter
falsepositives:
    - Unknown
level: low

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    TargetFilename|contains: '\TeamViewer_'
    TargetFilename|endswith: '.log'

Stage 2: not filter

filter:
    Image: C:\Windows\system32\svchost.exe

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageeqC:\Windows\system32\svchost.exeexcludes:Image field:"Image" value:"C:\Windows\system32\svchost.exe"

Indicators

These rows show field, operator, and value matches.