{"id":"d58ba5c6-0ed7-4b9d-a433-6878379efda9","title":"Remote Access Tool - AnyDesk Incoming Connection","description":"Detects incoming connections to AnyDesk. This could indicate a potential remote attacker trying to connect to a listening instance of AnyDesk and use it as potential command and control channel.\n","author":"@d4ns4n_ (Wuerth-Phoenix)","status":"experimental","level":"medium","date":"2024-09-02","modified":"2025-02-24","tags":["attack.persistence","attack.command-and-control","attack.t1219.002"],"technique_ids":["T1219.002"],"logsource":{"category":"network_connection","product":"windows"},"falsepositives":["Legitimate incoming connections (e.g. sysadmin activity). Most of the time I would expect outgoing connections (initiated locally)."],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1219/T1219.md#atomic-test-2---anydesk-files-detected-test-on-windows","https://asec.ahnlab.com/en/40263/"],"source_path":"rules/windows/network_connection/net_connection_win_remote_access_tools_anydesk_incoming_connection.yml","source_sha256":"241b4a8d5e854224835d41542f1b40971f0474754b61f8fb3285079383d0e1fe","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/network_connection/net_connection_win_remote_access_tools_anydesk_incoming_connection.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Remote Access Tool - AnyDesk Incoming Connection\nid: d58ba5c6-0ed7-4b9d-a433-6878379efda9\nstatus: experimental\ndescription: |\n    Detects incoming connections to AnyDesk. This could indicate a potential remote attacker trying to connect to a listening instance of AnyDesk and use it as potential command and control channel.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1219/T1219.md#atomic-test-2---anydesk-files-detected-test-on-windows\n    - https://asec.ahnlab.com/en/40263/\nauthor: '@d4ns4n_ (Wuerth-Phoenix)'\ndate: 2024-09-02\nmodified: 2025-02-24\ntags:\n    - attack.persistence\n    - attack.command-and-control\n    - attack.t1219.002\nlogsource:\n    category: network_connection\n    product: windows\ndetection:\n    selection:\n        Image|endswith:\n            - '\\AnyDesk.exe'\n            - '\\AnyDeskMSI.exe'\n        Initiated: 'false' # If the network connection is initiated remotely (incoming), the field is set to false.\n    condition: selection\nfalsepositives:\n    - Legitimate incoming connections (e.g. sysadmin activity). Most of the time I would expect outgoing connections (initiated locally).\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1219.002","id":"T1219.002","name":"Remote Desktop Software","page":"techniques/enterprise/T1219.002/"}],"data_path":"data/detection-rules/d58ba5c6-0ed7-4b9d-a433-6878379efda9.json","kind":"sigma"}
