Skip to content
DoS Disclosed report Intermediate

Denial of Service in anti_ransomware_service.exe via logs files

The anti-ransomware service writes its log files into a directory that any unprivileged user can write to, and the log file names follow a predictable sequence. An attacker can pre-create a hardlink from the next expected log file to the service executable itself, so that on reboot the service tries to write its log into its own binary and crashes with a sharing violation, leaving the machine without ransomware protection.

mjoensen Follow

Originally disclosed on HackerOne

Medium 4.7 View original
  • Disclosed after 14 months

anti_ransomware_service.exe keeps a log in a folder where any unprivileged user has write permissions. The logs are generated in a predictable pattern allowing the unprivileged user to create a hardlink from the, not yet created, log file to the anti_ransomware_service itself. On reboot, this forces the anti_ransomware_service to try to write its log into its own process, crashing in a SHARING VIOLATION. This crash occurs on every reboot.

Steps to reproduce:

  1. Download the symbolic link testing tools by James Forshaw: https://github.com/googleprojectzero/symboliclink-testing-tools
  2. Create hardlink from the next log file in line. E.g. If active_protection.1.log exist but not active_protection.2.log, create the hardlink on number 2 and so on. CreateHardlink.exe "C:\ProgramData\Acronis\ActiveProtection\Logs\active_protection.2.log" "C:\Program Files (x86)\Common Files\Acronis\ActiveProtection\anti_ransomware_service.exe"
  3. Reboot and verify that anti_ransomware_service.exe is not running.

Impact

The anti_ransomware_service.exe stops working from the first reboot (step 3) and onwards. This is a silent fail meaning that the user is not aware of the failing protection of the anti_ransomware_service.exe making the user vulnerable to ransomware.

The original report as published on HackerOne, by mjoensen. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely the log directory is writable by unprivileged users and the log file names are predictable, so a hardlink can be planted before the file is created.

Impact

The anti-ransomware service fails silently from the first reboot onwards, so the user is unaware that protection is gone and is left exposed to ransomware.

What the attacker needed

Local unprivileged user account; ability to create hardlinks; a reboot

How it was found

  1. Obtain a tool for creating hardlinks.
  2. Create a hardlink using the next log file name in the sequence, pointing it at the service executable.
  3. Reboot the machine and check that the service is no longer running.

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 report has not been written yet. The Original tab links to the source.

A hardlink is a second name for the same file on disk. The service logs to a folder ordinary users can write to, using predictable file names. By creating a hardlink with the next log file name pointing at the service program, the attacker makes the service try to write its log into itself, crashing it on every start.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by mjoensen

View all

2 more disclosed reports, best first.

More from Acronis

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.