Azure-Sentinel/Tools/ExtractMITRE
Gary Bushey 24c7ddaf77
Created the ExtractMITRE folder and added 2 files under it (#6255)
Created the ExtractMITRE folder and added a PowerShell file that allows you to download the information from the MITRE page in Sentinel
2022-10-04 17:58:33 +05:30
..
Export-AzSentinelMITREToCSV.ps1 Created the ExtractMITRE folder and added 2 files under it (#6255) 2022-10-04 17:58:33 +05:30
README.md Created the ExtractMITRE folder and added 2 files under it (#6255) 2022-10-04 17:58:33 +05:30

README.md

ExtractMITRE

Extract MITRE ATT&CK information

This command will generate a CSV file containing the information about all the Azure Sentinel MITRE tactics and techniques being used.

Make sure you are logged into Azure and are in the correct subscription before running:

Connect-AZAccount

Select-AzSubscription -SubscriptionId <Subscription GUID>

Examples

Create a file named "mitrerules.csv" containing all the active rule's MITRE information

Export-AzSentineMITREtoCSV -WorkspaceName "workspacename" -ResourceGroupName "rgname"

Create a file named "test.csv" that will contain all the active rule's MITRE information

Export-AzSentineMITREtoCSV -WorkspaceName "workspacename" -ResourceGroupName "rgname" -fileName "test"

Create a file named "mitrerules.csv" containing all the rule's MITRE information, including those rules that are disabled

Export-AzSentineMITREtoCSV -WorkspaceName "workspacename" -ResourceGroupName "rgname" -IncludeDisabled $true

Create a file named "simulated.csv" containing those rule templates that will cover techniques which have no rules covering them

Export-AzSentineMITREtoCSV -WorkspaceName "workspacename" -ResourceGroupName "rgname" -fileName "simulated" -ShowZeroSimulatedRuleTemplates $true

Create a file named "simulated.csv" containing those rule templates that will cover techniques and have not been used yet.

Export-AzSentineMITREtoCSV -WorkspaceName "workspacename" -ResourceGroupName "rgname" -fileName "simulated" -ShowAllSimulatedRuleTemplates $true