file where host.os.type == "windows" and event.type == "creation" and process.name : "TeamViewer.exe" and
file.extension : ("exe", "dll", "scr", "com", "bat", "ps1", "vbs", "vbe", "js", "wsh", "hta") and
not
(
file.path : (
"?:\\Users\\*\\AppData\\Local\\Microsoft\\Windows\\INetCache\\*.js",
"?:\\Users\\*\\AppData\\Local\\Temp\\TeamViewer\\update.exe",
"?:\\Users\\*\\AppData\\Local\\Temp\\?\\TeamViewer\\update.exe",
"?:\\Users\\*\\AppData\\Local\\TeamViewer\\CustomConfigs\\???????\\TeamViewer_Resource_??.dll",
"?:\\Users\\*\\AppData\\Local\\TeamViewer\\CustomConfigs\\???????\\TeamViewer*.exe"
) and process.code_signature.trusted == true
)
Install detection rules in Elastic Security
Detect Remote File Copy via TeamViewer in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).