Windows: Deletion of TeamViewer log files
Alerts on deletion of TeamViewer *.log files on Windows, excluding deletions performed by svchost.exe.
- Product
- windows
- Category
- file_delete
- Author
- frack113 (SigmaHQ), DRL 1.1
- Published
- 2022-01-16
- Updated
- 2026-07-31
ATT&CK techniques
Defense EvasionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies Windows file deletions where the target filename contains \TeamViewer_ and ends with .log. Deleting application logs can indicate an attempt to hinder incident investigation and remove forensic evidence. It relies on file deletion telemetry that includes the deleted filename and the process image, and it filters out deletions initiated by svchost.exe.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Windows: Deletion of TeamViewer log files"
id: a08dc6f5-400c-46a8-b86a-383c81f15234
status: test
description: This rule identifies Windows file deletions where the target filename contains \TeamViewer_ and ends with .log. Deleting application logs can indicate an attempt to hinder incident investigation and remove forensic evidence. It relies on file deletion telemetry that includes the deleted filename and the process image, and it filters out deletions initiated by svchost.exe.
references:
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.004/T1070.004.md
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_delete/file_delete_win_delete_teamviewer_logs.yml
author: frack113, Huntrule Team
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
license: DRL-1.1
related:
- id: b1decb61-ed83-4339-8e95-53ea51901720
type: derived