Malware URLs
The CMDB Malware URLs page lists URLs that are known to host malware.
The Threat Stream Malware URL group is included in your FortiSIEM deployment.
Updating System-Defined Malware URL Group
Current system defined groups are updated by its own service
Threat Stream Malware URL
FortiSandbox Malware URL Hail-A-Taxi Malware URL
You only need to set these to update automatically on a schedule.
- Log in to your Supervisor node.
- Click CMDB.
- Select a system defined group
- Click Update.
- Set Schedule
- Select Update Automatically to open the update scheduler and verify the URI of the update service.
- Set the schedule for how often you want the list to update from the service. c. Click OK.
- Click Save
- Set user name and password
- Select the link
- Click Edit
- Enter User Name and Password
- Set Data Format to Custom and Incremental
- Click Save
Manually Creating Malware URLs
- Create a group under Blocked URLs as described in Creating CMDB Groups and Adding Objects to Them.
- Select the group you created and click New.
- Enter information for the Blocked URL you want to add, and then click Save.
Custom Malware URL Threat Feed
This topic describes how to import Malware URL information into FortiSIEM from external threat feed websites.
Prerequisites
Threat feed websites with built in support
Custom threat feed websites – CSV data – one-time manual import
Custom threat feed websites – CSV data – GUI import
Custom threat feed websites – non-CSV data – programmatic import
Custom threat feed websites – STIX formatted data and TAXII import
Prerequisites
Before proceeding gather the following information about a threat feed web site.
The website URL
Credentials required to access the website (optional)
If the website is not supported by FortiSIEM, you may need to understand the format of the data returned by the URL.
If the data is in comma separated value (CSV) format, then a simple integration is possible. Note that the separator need not be a comma but could be any separator.
If the data is any other format, e.g. XML, then some code needs to be written for integration using the FortiSIEM provided framework
Threat feed websites with built in support
The following websites are supported
Threat Stream Malware URL (https://api.threatstream.com)
FortiSandbox Malware URL
Hail-A-TAXII Malware IP (http://hailataxii.com/)
To import data from these websites, follow these steps
- In the CMDB > Malware URLs, find the website you need to import data from.
- Select the folder.
- Click Update.
- Select Update via API. The link should show in the edit box.
- Enter a schedule by clicking on the “+” icon.
- Enter the schedule parameters – when to start and how often to import. FortiSIEM recommends no more frequent than hourly.
Custom threat feed websites – CSV data – one-time manual import
This requires that the data to be imported is already in a file in comma separated value format. The required format is
- Select CMDB > Malware URL
- Click on the “+” button on the left navigation tree to bring up the Create New Malware URL Group
- Enter Group and add Description. Click OK to create the folder under Malware URLs.
- Select the folder just created.
- Select Import from a file.
- Click Browse; enter the file name and click Upload.
- The imported data will show on the right pane.
Custom threat feed websites – CSV data – GUI import
This requires that the web site data has the following structure.
The file in comma separated value format (separator can be any special character such as space, tab, hash, dollar etc.)
One line has only one entry
Follow these steps.
- Select CMDB > Malware URLs.
- Click on the “+” button on the left navigation tree to bring up the Create New Malware URL Group
- Enter Group and add Description. Click OK to create the folder under Malware URLs.
- Select the folder just created.
- Select Update via API
- For Website, Click Add.
- In the Data Mapping dialog:
- Enter the URL of the website
- Enter User Name and Password (optional)
- For Plugin class, the default class AccelOps.service.threatfeed.impl.ThreatFeedWithMappingPolicyService is shown. Do not modify this for this case.
- Enter the correct Field separator (by default it is a comma)
- Set Data Format to CSV
- Enter the Data Mapping by choosing the mapped field and the corresponding position in the website data. For example if the URL is in third position, then choose 3 in the Position g. Click Save
- Select a import schedule by clicking + on the Schedule Summary. Select when to start the import and how often to import to get new data from the website.
- The imported data will show on the right pane after some time.
Custom threat feed websites – non-CSV data – programmatic import
This is the most general case where the website data format is not CSV. In this case, user has to write a Java plugin class by modifying the default system provided one. Follow instructions in the FortiSIEM ServiceAPI available at FortiSIEM support portal under FortiSIEM ServiceAPI section.
After the class has been written and fully tested for correctness, follow these steps.
- Select CMDB>Malware URLs.
- Click on the “+” button on the left navigation tree to bring up the Create New Malware URL Group
- Enter Group and add Description. Click OK to create the folder under Malware URLs.
- Select the folder just created.
- Select Update via API
- For Website, Click Add.
- In the Data Mapping dialog:
- Enter the URL of the website
- Enter User Name and Password (optional)
- For Plugin class, the custom Java class for this case
- Select Custom as the Data Format.
- Click Save
- Select a import schedule by clicking + on the Schedule Summary. Select when to start the import and how often to import to get new data from the website.
- The imported data will show on the right pane after some time.
Custom threat feed websites – STIX formatted data and TAXII import
In this case, the threat feed data is available formatted as STIX and follows the TAXII protocol.
- Select CMDB>Malware URLs.
- Click on the “+” button on the left navigation tree to bring up the Create New Malware URL Group
- Enter Group and add Description. Click OK to create the folder under Malware URLs.
- Select the folder just created.
- Select Update via API
- For Website, Click Add.
- In the Data Mapping dialog:
- Enter the URL of the website
- Enter User Name and Password (optional)
- For Plugin class, choose STIX-TAXII and Full
- Click Save
- Select a import schedule by clicking + on the Schedule Summary. Select when to start the import and how often to import to get new data from the website.
- The imported data will show on the right pane after some time.
Malware Hashes
The CMDB Malware Hash page can be used to define a list of malware files and their hash functions. When FortiSIEM monitors a directory, it generates these directory events:
Directory Event | Generated by |
PH_DEV_MON_CUST_FILE_CREATE | New file creation |
PH_DEV_MON_CUST_FILE_SCAN | Directory is scanned |
PH_DEV_MON_CUST_FILE_CHANGE_CONTENT | Changes in file content |
When FortiSIEM scans a file and collects its hash, it uses the system rule Malware Hash Check to check the list of malware hashes, and triggers an alert if a match is found.
Adding a New Malware Hash
- Log in to your Supervisor node.
- Go to CMDB > Malware Hash.
- Select a group where you want to add the malware hash, or create a new one.
- Click New.
- Enter information for the malware hash.
Updating System Defined Malware Hash Group
Current system defined groups are updated by its own service
Threat Stream Malware Hash FortiSandbox Malware Hash
You only need to set these to update automatically on a schedule.
- Log in to your Supervisor node.
- Click CMDB.
- Select a system-defined group.
- Click Update.
- Select Update Automatically to open the update scheduler and verify the URI of the update service.
- Set the schedule for how often you want the list to update from the service.
- Click Save.
- If you want to remove an IP address or set of IP addresses from the group, clear the Enable selection next to the IP address, and then click Continue to confirm.
The IP address will still be listed in the group, but it will no longer be blocked. Select Enable to resume blocking it.
- If you want to add a malware IP address to the group, make sure the group is selected, click New, and enter information about the blocked IP address.
Manually Creating Manual Hash
- Create a group under Malware Hash as described in Creating CMDB Groups and Adding Objects to Them.
- Select the group you created and click New.
- Enter information for the Malware Hash you want to add, and then click Save.
Custom Malware Hash Threat Feed
This topic describes how to import Malware Hash information into FortiSIEM from external threat feed websites.
Prerequisites
Threat feed websites with built in support
Custom threat feed websites – CSV data – one-time manual import
Custom threat feed websites – CSV data – programmatic import
Custom threat feed websites – non-CSV data – programmatic import
Custom threat feed websites – STIX formatted data and TAXII import
Prerequisites
Before proceeding gather the following information about a threat feed web site.
The website URL
Credentials required to access the website (optional)
If the website is not supported by FortiSIEM, you may need to understand the format of the data returned by the URL. if the data is in the comma separated value format (the separator need not be a comma but could be any separator, then a simple integration is possible.
If the data is any other format, e.g. XML, then some code needs to be written for integration using the FortiSIEM provided framework
Threat feed websites with built in support
The following websites are supported
ThreatStream Malware Hash (https://api.threatstream.com)
FortiSandbox Malware Hash
Hail-A-TAXII Malware IP (http://hailataxii.com/)
To import data from these websites, follow these steps
- In the CMDB > Malware Hash, find the website you need to import data from.
- Select the folder.
- Click Update.
- Select Update via API. The link should show in the edit box.
- Enter a schedule by clicking on the “+” icon.
- Enter the schedule parameters – when to start and how often to import. FortiSIEM recommends no more frequent than hourly.
- Select the type of template you want to create.
Custom threat feed websites – CSV data – one-time manual import
This requires that the data to be imported is already in a file in comma separated value format. The required format is
- Select CMDB > Malware Hash
- Click on the “+” button on the left navigation tree to bring up the “Create New Malware Hash Group” dialog.
- Enter Group and add Description. Click OK to create the folder under Malware Hash.
- Select the folder just created.
- Select Import from a file.
- Click Browse; enter the file name and click Upload.
- The imported data will show on the right pane.
Custom threat feed websites – CSV data – programmatic import
- Select CMDB > Malware Hash.
- Click on the “+” button on the left navigation tree to bring up the “Create New Malware Hash Group” dialog.
- Enter Group and add Description. Click OK to create the folder under Malware Hash.
- Select the folder just created.
- Select Update via API
- For Website, Click Add.
- In the Data Mapping dialog:
- Enter the URL of the website
- Enter User Name and Password (optional)
- For Plugin class, the default class AccelOps.service.threatfeed.impl.ThreatFeedWithMappingPolicyService is shown. Do not modify this for this case.
- Enter the correct Field separator (by default it is a comma)
- Select CSV as the Data Format
- Enter the Data Mapping by choosing the mapped field and the corresponding position in the website data. For example if the Hash is in third position, then choose 3 in the Position g. Click Save
- Select a import schedule by clicking + on the Schedule Summary. Select when to start the import and how often to import to get new data from the website.
- The imported data will show on the right pane after some time.
Custom threat feed websites – non-CSV data – programmatic import
This is the most general case where the website data format does not satisfy the previous conditions. In this case, user has to write a Java plugin class by modifying the default system provided one. Follow instructions in the FortiSIEM ServiceAPI available at FortiSIEM support portal under FortiSIEM ServiceAPI section. After the class has been written and fully tested for correctness, follow these steps.
- Select CMDB>Malware Hash.
- Click on the “+” button on the left navigation tree to bring up the “Create New Malware Hash Group” dialog.
- Enter Group and add Description. Click OK to create the folder under Malware Hash.
- Select the folder just created.
- Select Update via API
- For Website, Click Add.
- In the Data Mapping dialog:
- Enter the URL of the website
- Enter User Name and Password (optional)
- For Plugin class, the custom Java class for this case.
- Enter the correct Field separator (by default it is a comma)
- Select CSV as the Data Format
- Enter the Data Mapping by choosing the mapped field and the corresponding position in the website data. For example if the Low Hash is in first position, then choose 1 in the Position g. Click Save
- Select a import schedule by clicking + on the Schedule Summary. Select when to start the import and how often to import to get new data from the website.
- The imported data will show on the right pane after some time.
Custom threat feed websites – STIX formatted data and TAXII import
In this case, the threat feed data is available formatted as STIX and follows the TAXII protocol.
- Select CMDB>Malware Hash.
- Click on the “+” button on the left navigation tree to bring up the Create New Malware Hash Group
- Enter Group and add Description. Click OK to create the folder under Malware Hash.
- Select the folder just created.
- Select Update via API
- For Website, Click Add.
- In the Data Mapping dialog:
- Enter the URL of the website
- Enter User Name and Password (optional)
- For Plugin class, choose STIX-TAXII and Full
- Click Save
- Select a import schedule by clicking + on the Schedule Summary. Select when to start the import and how often to import to get new
data from the website.
- The imported data will show on the right pane after some time.