Suspicious Remote Access Utility - AnyDesk Piped Password Via CLI (via process_creation)

This rule detects piping the password to an anydesk instance via CMD and the '--set-password' flag.

SigmamediumWindowsv1
sigma
title: Suspicious Remote Access Utility - AnyDesk Piped Password Via CLI (via process_creation)
id: 081aff4d-6d29-5cd3-a4ea-dd3212b34a48
status: stable
description: This rule detects piping the password to an anydesk instance via CMD and the '--set-password' flag.
references:
    - https://attack.mitre.org/techniques/T1219/002/
    - https://redcanary.com/blog/misbehaving-rats/
author: Huntrule Team
date: 2026-02-18
tags:
    - attack.command-and-control
    - attack.t1219.002
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|all:
            - '/c '
            - 'echo '
            - '.exe --set-password'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.