Skip to main content
bksol92
Staff
Staff
October 30, 2025

Technical Tip: How to test FortiEDR's protection against ransomware encryption

  • October 30, 2025
  • 0 replies
  • 15212 views
Description This article describes a simple test to confirm FortiEDR's ability to defend against ransomware encryption.
Scope FortiEDR.
Solution

The following PowerShell script simulates an encryption attack on a specified folder and its content: Encrypt-Delete-Test

 

It is highly advisable to run this in a lab environment:

 

 

With FortiEDR disabledWith FortiEDR disabled

 

Once enabled, the collector will detect the file rename attempt and block it:

 

With FortiEDR enabledWith FortiEDR enabled

 

 

The following security event will be generated:

 

Screenshot 2025-10-30 151709.png