Detection rules › Sigma

Remote Access Tool - Team Viewer Session Started On Windows Host

Status
test
Severity
low
Log source
product windows, category process_creation
Author
Josh Nickels, Qi Nan
Source
github.com/SigmaHQ/sigma

Detects the command line executed when TeamViewer starts a session started by a remote host. Once a connection has been started, an investigator can verify the connection details by viewing the "incoming_connections.txt" log file in the TeamViewer folder.

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1133 External Remote Services
PersistenceT1133 External Remote Services

Event coverage

Rule body yaml

title: Remote Access Tool - Team Viewer Session Started On Windows Host
id: ab70c354-d9ac-4e11-bbb6-ec8e3b153357
related:
    - id: 1f6b8cd4-3e60-47cc-b282-5aa1cbc9182d
      type: similar
    - id: f459ccb4-9805-41ea-b5b2-55e279e2424a
      type: similar
status: test
description: |
    Detects the command line executed when TeamViewer starts a session started by a remote host.
    Once a connection has been started, an investigator can verify the connection details by viewing the "incoming_connections.txt" log file in the TeamViewer folder.
references:
    - Internal Research
author: Josh Nickels, Qi Nan
date: 2024-03-11
tags:
    - attack.persistence
    - attack.initial-access
    - attack.t1133
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image: 'TeamViewer_Desktop.exe'
        ParentImage: 'TeamViewer_Service.exe'
        CommandLine|endswith: 'TeamViewer_Desktop.exe --IPCport 5939 --Module 1'
    condition: selection
falsepositives:
    - Legitimate usage of TeamViewer
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image: 'TeamViewer_Desktop.exe'
    ParentImage: 'TeamViewer_Service.exe'
    CommandLine|endswith: 'TeamViewer_Desktop.exe --IPCport 5939 --Module 1'

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
CommandLineends_with
  • TeamViewer_Desktop.exe --IPCport 5939 --Module 1
Imageeq
  • TeamViewer_Desktop.exe
ParentImageeq
  • TeamViewer_Service.exe