T1546.001 · Change Default File Association

Windows Change File Association Command To Notepad

  • Windows
  • Confirmed Technique

About this detection

The following analytic detects attempts to change the command value of a file association of an extension to open with Notepad.exe. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on specific command-line patterns and registry modifications. This activity is significant as it can indicate an attempt to manipulate file handling behavior, a technique observed in APT and ransomware attacks like Prestige. After changing the extension of all encrypted files to a new one, Prestige ransomware modifies the file association for that extension to open with Notepad.exe in order to display a ransom note.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…