Sigma rule: Remote Access Tool - AnyDesk Piped Password Via CLI

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-dc4ec749ee96, updated 2023-03-05T00:00:00.000Z.

Rule

Title
Remote Access Tool - AnyDesk Piped Password Via CLI
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-09-28
Modified
2023-03-05
File
rules/windows/process_creation/proc_creation_win_remote_access_tools_anydesk_piped_password_via_cli.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects piping the password to an anydesk instance via CMD and the '--set-password' flag.

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|contains|all:
        # Example: C:\WINDOWS\system32\cmd.exe /C cmd.exe /c echo J9kzQ2Y0qO |C:\ProgramData\anydesk.exe --set-password
        - '/c '
        - 'echo '
        - '.exe --set-password'
condition: selection

False positives (as the rule lists them)

  • Legitimate piping of the password to anydesk
  • Some FP could occur with similar tools that uses the same command line '--set-password'

Tags

  • attack.command-and-control
  • attack.t1219.002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_remote_access_tools_anydesk_piped_password_via_cli.yml

Sources and licences

  • SigmaHQ

    "Remote Access Tool - AnyDesk Piped Password Via CLI" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_remote_access_tools_anydesk_piped_password_via_cli.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Remote Access Tool - AnyDesk Piped Password Via CLI",
entity page, dataset version ref-dc4ec749ee96, updated 2023-03-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b1377339-fda6-477a-b455-ac0923f9ec2c (accessed 2026-11-03).
Underlying source: SigmaHQ rule b1377339-fda6-477a-b455-ac0923f9ec2c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.