Created on 12-07-2025 09:09 PM Edited on 12-08-2025 10:10 AM
| Description |
This article describes how to use a custom event handler in FortiAnalyzer to raise alerts for incident response related to attacks that attempt to leverage the React2Shell Remote Code Execution. A report is also provided to gain historical visibility into the logs.
Note that this article provides alpha files, which are automatically generated. The article will be continually updated as more information becomes available. |
| Scope |
This article contains the files necessary to load an event handler and report into the FortiAnalyzer for either a Fabric ADOM or a FortiGate ADOM. The Fabric report and event handler leverage logs from other Fortinet products that can be used to detect the attack in addition to FortiGate logs.
For more information about this attack, see the following FortiGuard Outbreak Alert: |
| Solution |
What is included in Fortinet_React2Shell Remote Code Execution.zip:
Steps:
Result: The event handler is enabled and will be triggered if the appropriate logs are received following the import of the event handler. Edit the event handler to customize the notification section.
Import React2Shell Remote Code Execution_report.dat or fgt_React2Shell Remote Code Execution_report.dat to Reports:
Result: The React2Shell Remote Code Execution report can be run anytime, as determined by an admin user. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.