Detection rules › Sigma

TeamViewer Remote Session

Status
test
Severity
medium
Log source
category file_event, product windows
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the creation of log files during a TeamViewer remote session

Known false positives

  • Legitimate uses of TeamViewer in an organisation

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule body

title: TeamViewer Remote Session
id: 162ab1e4-6874-4564-853c-53ec3ab8be01
status: test
description: Detects the creation of log files during a TeamViewer remote session
references:
    - https://www.teamviewer.com/en-us/
author: Florian Roth (Nextron Systems)
date: 2022-01-30
tags:
    - attack.command-and-control
    - attack.t1219.002
logsource:
    product: windows
    category: file_event
detection:
    selection1:
        TargetFilename|endswith:
            - '\TeamViewer\RemotePrinting\tvprint.db'
            - '\TeamViewer\TVNetwork.log'
    selection2:
        TargetFilename|contains|all:
            - '\TeamViewer'
            - '_Logfile.log'
    condition: 1 of selection*
falsepositives:
    - Legitimate uses of TeamViewer in an organisation
level: medium

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection1

selection1:
    TargetFilename|endswith:
        - '\TeamViewer\RemotePrinting\tvprint.db'
        - '\TeamViewer\TVNetwork.log'

Stage 2: selection2

selection2:
    TargetFilename|contains|all:
        - '\TeamViewer'
        - '_Logfile.log'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • \TeamViewer\RemotePrinting\tvprint.db
  • \TeamViewer\TVNetwork.log
field:"TargetFilename" kind:ends_with
TargetFilenamematch
  • \TeamViewer
  • _Logfile.log
field:"TargetFilename" kind:match