FortiAnalyzer
FortiAnalyzer can receive logs and Windows host events directly from endpoints connected to EMS, and you can use FortiAnalyzer to analyze the logs and run reports.
ck_FTNT
Staff
Staff
Article Id 230319

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 'Sandbreak' vm2 sandbox RCE vulnerability.

A report is also provided to gain historical visibility into the logs.

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 log 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 links:

IPS: https://www.fortiguard.com/encyclopedia/ips/52237

 

Web Application Security: https://www.fortiguard.com/encyclopedia/fwb/1090501592

Solution

What is included in Fortinet_Sandbreak_vm2.zip?

 

1) Sandbreak_vm2_event-handler.json.

This event handler helps identify Sandbreak_vm2 detected by FortiGates and other Fortinet products.

 

2) Sandbreak_vm2_report.dat.

This report displays the findings on Sandbreak_vm2 attacks from FortiGates and other Fortinet products. 

 

3) fgt_Sandbreak_vm2_event-handler.json.

The event handler for FortiGate ADOMs is configured for FortiGate logs only.

 

4) fgt_Sandbreak_vm2_report.dat.

The report for FortiGate ADOMs includes FortiGate charts only.

  

Steps:

 

1) Download the Fortinet_Sandbreak_vm2.zip file (contains 4 files).

 

2) Unzip Fortinet_Sandbreak_vm2.zip.

 

3) Import Sandbreak_vm2_event-handler.json or fgt_Sandbreak_vm2_event-handler.json event handler:

- Choose an ADOM (if ADOMs are enabled). The ADOM may be of type Fabric or FortiGate:

 

- Choose the FortiSOC module. 

- Select Event Handler List.

- Select the Import option under More.

- Select the appropriate event handler depending on the

ADOM type.

 

ck_FTNT_0-1668801286695.png

 

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.

 

4) Import Sandbreak_vm2_report.dat or fgt_Sandbreak_vm2_report.dat to Reports:

 

- Choose an ADOM (if ADOMs are enabled). ADOM may be of type Fabric or FortiGate.
- Choose the Report module.
- Select the Import option under 'More'.

- Select the appropriate file for the ADOM type to add the report to the ADOM.

 

ck_FTNT_1-1668801286705.png

 

Result

The Sandbreak_vm2_report can be run anytime as determined by an admin user.