TeamViwer_backdoor

YARA-2019-0046 High general Active

Detects malicious TeamViewer DLLs

TeamViwer_backdoor.yar Valid Syntax
rule TeamViwer_backdoor
{

meta:
date = "2019-04-14"
description = "Detects malicious TeamViewer DLLs"
reference = "https://research.checkpoint.com/2019/finteam-trojanized-teamviewer-against-government-targets/"

strings:

// PostMessageW hook function
$x1 = {55 8b ec 8b 45 0c 3d 12 01 00 00 75 05 83 c8 ff eb 12 8b 55 14 52 8b 55 10 52 50 8b 45 08 50 e8}

condition:
uint16(0) == 0x5a4d and $x1
}

Rule Metadata

date
2019-04-14
description
Detects malicious TeamViewer DLLs
reference
https://research.checkpoint.com/2019/finteam-trojanized-teamviewer-against-government-targets/

String Definitions

{"name":"$x1","value":"{55 8b ec 8b 45 0c 3d 12 01 00 00 75 05 83 c8 ff eb 12 8b 55 14 52 8b 55 10 52 50 8b 45 08 50 e8}"}

Threat Analysis

This YARA rule is designed to detect general threats.

Severity Level: High

The rule uses pattern matching to identify specific byte sequences, strings, or behavioral patterns associated with malicious activity.

Detection Capabilities

  • File-based detection for executables and documents
  • Memory scanning for running processes
  • Network traffic analysis support

Command Line Usage

# Scan a single file
yara TeamViwer_backdoor.yar /path/to/suspicious/file

# Scan a directory recursively
yara -r TeamViwer_backdoor.yar /path/to/directory/

# Scan with metadata output
yara -m TeamViwer_backdoor.yar target_file

# Scan process memory (Linux)
yara TeamViwer_backdoor.yar /proc/[pid]/exe

Integration Examples

Python (yara-python)

import yara
rules = yara.compile(filepath='TeamViwer_backdoor.yar')
matches = rules.match('/path/to/file')

ClamAV Integration

clamscan --yara-rules=TeamViwer_backdoor.yar /path/to/scan

Rule Information

YARA ID
YARA-2019-0046
Author
Unknown
Created
August 19, 2025
Last Updated
August 19, 2025
Last Imported
Never

Threat Intelligence

Risk Level High
Category general
Detection Confidence Analysis Pending
False Positive Rate Not Available
Last Seen in Wild No Data

Export Options