WannaCry
This article explains how to create a custom scan template that you can use to scan your network exclusively for vulnerabilities associated with the WannaCry ransomware.
Create a custom scan template to check for MS17-010
The easiest way to create a Custom template is by making a copy of an existing template.
-
Go to Administration > Vulnerability Management > Console Administration > Templates.
-
Click Manage Templates and copy a full audit enhanced logging without Web Spider
Name your copy of the Scan Template
-
Click: Vulnerability Checks -> Click: By Individual Check -> Add Check -> Enter:
MS17-010(As of 5/15/17 there are 192 individual checks).
If you want to create a Dynamic Asset Group (DAG) for assets vulnerable to this attack:
-
Create a new DAG with the following filters:
- ‘CVE ID’ ‘is’ CVE-2017-0143
- ‘CVE ID’ ‘is’ CVE-2017-0144
- ‘CVE ID’ ‘is’ CVE-2017-0145
- ‘CVE ID’ ‘is’ CVE-2017-0146
- ‘CVE ID’ ‘is’ CVE-2017-0147
- ‘CVE ID’ ‘is’ CVE-2017-0148
-
Change “Match (all) of the specified filters.” to “Match (any) of the specified filters.”
-
Hit SEARCH.
You can also create a SQL report to list ANY asset affected by ANY of the 6 CVEs:
SELECT
da.ip_address AS "IP Address",
da.host_name AS "Host Name",
dv.title AS "Title",
dv.description AS "Description",
dv.severity AS "Severity"
FROM dim_vulnerability dv
JOIN dim_asset_vulnerability_solution das USING(vulnerability_id)
JOIN dim_asset da USING(asset_id)
WHERE title ILIKE '%2017-0143%' OR title ILIKE '%2017-0144%' OR title ILIKE '%2017-0145%' OR title ILIKE '%2017-0146%' OR title ILIKE '%2017-0147%' OR title ILIKE '%2017-0148%'