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.
emorlang_FTNT
Article Id 257828
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 TP-Link Archer AX-21 Command Injection Attack.

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

 

Note that this article provides alpha files that 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 your 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:

https://fortiguard.fortinet.com/outbreak-alert/tp-link-archer-ax-21-command-injection 

Solution

What is included in Fortinet_TP-Link Archer AX-21 Command Injection.zip:

 

1) TP-Link Archer AX-21 Command Injection_event-handler.json

This event handler helps identify TP-Link Archer AX-21 Command Injection Attack detected by FortiGates and other Fortinet products.

 

2) TP-Link Archer AX-21 Command Injection_report.dat

This report displays the findings on TP-Link Archer AX-21 Command Injection Attack attacks from FortiGates and other Fortinet products. 

 

3) fgt_TP-Link Archer AX-21 Command Injection_event-handler.json

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

 

4) fgt_TP-Link Archer AX-21 Command Injection_report.dat

The report for FortiGate ADOMs includes FortiGate charts only.

  

Steps:

1) Download the Fortinet_TP-Link Archer AX-21 Command Injection.zip file (contains 4 files).

 

2) Unzip Fortinet_TP-Link Archer AX-21 Command Injection.zip.

 

3) Import TP-Link Archer AX-21 Command Injection_event-handler.json or fgt_TP-Link Archer AX-21 Command Injection_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.

 

download.jpg

 

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 TP-Link Archer AX-21 Command Injection_report.dat or fgt_TP-Link Archer AX-21 Command Injection_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.

 

download.jpg

 

Result

The TP-Link Archer AX-21 Command Injection_report can be run anytime as determined by an admin user.