{"id":"b1377339-fda6-477a-b455-ac0923f9ec2c","title":"Remote Access Tool - AnyDesk Piped Password Via CLI","description":"Detects piping the password to an anydesk instance via CMD and the '--set-password' flag.","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-09-28","modified":"2023-03-05","tags":["attack.command-and-control","attack.t1219.002"],"technique_ids":["T1219.002"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate piping of the password to anydesk","Some FP could occur with similar tools that uses the same command line '--set-password'"],"references":["https://redcanary.com/blog/misbehaving-rats/"],"source_path":"rules/windows/process_creation/proc_creation_win_remote_access_tools_anydesk_piped_password_via_cli.yml","source_sha256":"6bdc7deac5c76fcfd1429920844d6d1db69ada5f3a67660191b1bf94e5037f60","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_remote_access_tools_anydesk_piped_password_via_cli.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 Piped Password Via CLI\nid: b1377339-fda6-477a-b455-ac0923f9ec2c\nstatus: test\ndescription: Detects piping the password to an anydesk instance via CMD and the '--set-password' flag.\nreferences:\n    - https://redcanary.com/blog/misbehaving-rats/\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-09-28\nmodified: 2023-03-05\ntags:\n    - attack.command-and-control\n    - attack.t1219.002\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        CommandLine|contains|all:\n            # Example: C:\\WINDOWS\\system32\\cmd.exe /C cmd.exe /c echo J9kzQ2Y0qO |C:\\ProgramData\\anydesk.exe --set-password\n            - '/c '\n            - 'echo '\n            - '.exe --set-password'\n    condition: selection\nfalsepositives:\n    - Legitimate piping of the password to anydesk\n    - Some FP could occur with similar tools that uses the same command line '--set-password'\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/b1377339-fda6-477a-b455-ac0923f9ec2c.json","kind":"sigma"}
