Skip to content
RCE Write-up Advanced

Remote Access Tool Anydesk Execution With Known Revoked Signing Certificate

AnyDesk did not check the validity of the signing certificate of executables it downloaded and ran during updates, so an attacker could sign a malicious payload with a revoked AnyDesk certificate and have the remote system execute it without warning. The text describes this as part of a recent security incident and the resulting detection rule.

SaiPrashanth Pulisetti Follow

Published on systemweakness.com

In the world of cybersecurity, contributions come in various forms. One such contribution is the creation of rules that enhance the security of applications.

SaiPrashanth Pulisetti, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could trick a remote system into running a malicious executable signed with a revoked certificate, potentially leading to code execution on that system.

What the attacker needed

Ability to redirect DNS or modify update config; victim runs AnyDesk version prior to 8.0.8; attacker possesses revoked certificate

The fix

AnyDesk revoked and replaced the compromised code signing certificate and reset web portal passwords; the text states it is safe to use the latest version with the new certificate.

How it was found

  1. Steal the revoked certificate from an older AnyDesk version using SigThief.
  2. Embed the stolen certificate into a malicious payload.
  3. Set up a fake update server and redirect the remote system's DNS requests to it using Responder.
  4. Modify AnyDesk's update configuration file to point to the fake server.
  5. When the remote system checks for updates, it downloads and runs the signed malicious payload without warning.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When software updates itself, it should verify that the new file is genuinely from the vendor by checking a digital signature. Here, AnyDesk skipped that check, so a file signed with an old, revoked certificate was still trusted and run. An attacker who could redirect the update request could therefore get their own program executed on the victim's machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by SaiPrashanth Pulisetti

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.