diff --git a/.script/tests/detectionTemplateSchemaValidation/ValidConnectorIds.json b/.script/tests/detectionTemplateSchemaValidation/ValidConnectorIds.json index 718f2be80b5..86672f5347b 100644 --- a/.script/tests/detectionTemplateSchemaValidation/ValidConnectorIds.json +++ b/.script/tests/detectionTemplateSchemaValidation/ValidConnectorIds.json @@ -204,5 +204,6 @@ "PingFederateAma", "vArmourACAma", "ContrastProtectAma", - "ClarotyAma" + "ClarotyAma", + "illusiveAttackManagementSystemAma" ] diff --git a/Solutions/Illusive Platform/Analytic Rules/Illusive_Detection_Query.yaml b/Solutions/Illusive Platform/Analytic Rules/Illusive_Detection_Query.yaml index 2fc87d7084a..7a90597c631 100644 --- a/Solutions/Illusive Platform/Analytic Rules/Illusive_Detection_Query.yaml +++ b/Solutions/Illusive Platform/Analytic Rules/Illusive_Detection_Query.yaml @@ -8,6 +8,9 @@ requiredDataConnectors: - connectorId: Illusive dataTypes: - CommonSecurityLog + - connectorId: illusiveAttackManagementSystemAma + dataTypes: + - CommonSecurityLog queryFrequency: 5m queryPeriod: 5m triggerOperator: gt @@ -46,5 +49,5 @@ alertDetailsOverride: Illusive Incident: {{IncidentId}} alertDescriptionFormat: | Illusive Incident {{IncidentId}} generated at {{TimeGenerated}} -version: 1.0.2 +version: 1.0.3 kind: Scheduled \ No newline at end of file diff --git a/Solutions/Illusive Platform/Data Connectors/illusive Attack Management System.json b/Solutions/Illusive Platform/Data Connectors/illusive Attack Management System.json index bd849b0b355..be0e6005355 100644 --- a/Solutions/Illusive Platform/Data Connectors/illusive Attack Management System.json +++ b/Solutions/Illusive Platform/Data Connectors/illusive Attack Management System.json @@ -1,6 +1,6 @@ { "id": "illusiveAttackManagementSystem", - "title": "Illusive Platform", + "title": "[Deprecated] Illusive Platform via Legacy Agent", "publisher": "illusive", "descriptionMarkdown": "The Illusive Platform Connector allows you to share Illusive's attack surface analysis data and incident logs with Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).", "graphQueries": [ diff --git a/Solutions/Illusive Platform/Data Connectors/template_IllusivePlatformAMA.json b/Solutions/Illusive Platform/Data Connectors/template_IllusivePlatformAMA.json new file mode 100644 index 00000000000..ead06ce10ad --- /dev/null +++ b/Solutions/Illusive Platform/Data Connectors/template_IllusivePlatformAMA.json @@ -0,0 +1,136 @@ +{ + "id": "illusiveAttackManagementSystemAma", + "title": "[Recommended] Illusive Platform via AMA", + "publisher": "illusive", + "descriptionMarkdown": "The Illusive Platform Connector allows you to share Illusive's attack surface analysis data and incident logs with Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).", + "graphQueries": [ + { + "metricName": "Total data received", + "legend": "illusive", + "baseQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)" + } + ], + "sampleQueries": [ + { + "description": "Number of Incidents in in the last 30 days in which Trigger Type is found", + "query": "union CommonSecurityLog\r\n| where (DeviceEventClassID == \"illusive:login\" or DeviceEventClassID == \"illusive:access\" or DeviceEventClassID == \"illusive:suspicious\")\r\n| where Message !contains \"hasForensics\" \r\n| where TimeGenerated > ago(30d) \r\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\"FieldDeviceCustomNumber2\", long(null)), DeviceCustomNumber2, long(null))\r\n| summarize by DestinationServiceName, DeviceCustomNumber2 \r\n| summarize incident_count=count() by DestinationServiceName" + }, + { + "description": "Top 10 alerting hosts in the last 30 days", + "query": "union CommonSecurityLog \r\n| where (DeviceEventClassID == \"illusive:login\" or DeviceEventClassID == \"illusive:access\" or DeviceEventClassID == \"illusive:suspicious\")\r\n| where Message !contains \"hasForensics\" \r\n| where TimeGenerated > ago(30d) \r\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\"FieldDeviceCustomNumber2\", long(null)), DeviceCustomNumber2, long(null)) \r\n| summarize by AlertingHost=iff(SourceHostName != \"\" and SourceHostName != \"Failed to obtain\", SourceHostName, SourceIP) ,DeviceCustomNumber2 \r\n| where AlertingHost != \"\" and AlertingHost != \"Failed to obtain\" \r\n| summarize incident_count=count() by AlertingHost \r\n| order by incident_count \r\n| limit 10" + } + ], + "dataTypes": [ + { + "name": "CommonSecurityLog (illusive)", + "lastDataReceivedQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)" + } + ], + "connectivityCriterias": [ + { + "type": "IsConnectedQuery", + "value": [ + "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize LastLogReceived = max(TimeGenerated)\n | project IsConnected = LastLogReceived > ago(30d)" + ] + } + ], + "availability": { + "status": 1, + "isPreview": false + }, + "permissions": { + "resourceProvider": [ + { + "provider": "Microsoft.OperationalInsights/workspaces", + "permissionsDisplayText": "read and write permissions are required.", + "providerDisplayName": "Workspace", + "scope": "Workspace", + "requiredPermissions": { + "read": true, + "write": true, + "delete": true + } + }, + { + "provider": "Microsoft.OperationalInsights/workspaces/sharedKeys", + "permissionsDisplayText": "read permissions to shared keys for the workspace are required. [See the documentation to learn more about workspace keys](https://docs.microsoft.com/azure/azure-monitor/platform/agent-windows#obtain-workspace-id-and-key).", + "providerDisplayName": "Keys", + "scope": "Workspace", + "requiredPermissions": { + "action": true + } + } + ], + "customs": [ + { + "description": "To collect data from non-Azure VMs, they must have Azure Arc installed and enabled. [Learn more](https://docs.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-install?tabs=ARMAgentPowerShell,PowerShellWindows,PowerShellWindowsArc,CLIWindows,CLIWindowsArc)" + }, + { + "description": "Common Event Format (CEF) via AMA and Syslog via AMA data connectors must be installed [Learn more](https://learn.microsoft.com/azure/sentinel/connect-cef-ama#open-the-connector-page-and-create-the-dcr)" + } + ] + }, + "instructionSteps": [ + { + "title": "", + "description": "", + "instructions": [ + { + "parameters": { + "title": "1. Kindly follow the steps to configure the data connector", + "instructionSteps": [ + { + "title": "Step A. Configure the Common Event Format (CEF) via AMA data connector", + "description": "_Note:- CEF logs are collected only from Linux Agents_\n\n1. Navigate to Microsoft Sentinel workspace ---> configuration ---> Data connector blade .\n\n2. Search for 'Common Event Format (CEF) via AMA' data connector and open it.\n\n3. Check If there is no existing DCR configured to collect required facility of logs, Create a new DCR (Data Collection Rule)\n\n\t_Note:- It is recommended to install minimum 1.27 version of AMA agent [Learn more](https://learn.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal ) and ensure there is no duplicate DCR as it can cause log duplicacy_\n\n4. Run the command provided in the CEF via AMA data connector page to configure the CEF collector on the machine", + "instructions": [ + ] + }, + { + "title": "Step B. Forward Illusive Common Event Format (CEF) logs to Syslog agent", + "description": "1. Set your security solution to send Syslog messages in CEF format to the proxy machine. Make sure you to send the logs to port 514 TCP on the machine's IP address.\n> 2. Log onto the Illusive Console, and navigate to Settings->Reporting.\n> 3. Find Syslog Servers\n> 4. Supply the following information:\n>> 1. Host name: Linux Syslog agent IP address or FQDN host name\n>> 2. Port: 514\n>> 3. Protocol: TCP\n>> 4. Audit messages: Send audit messages to server\n> 5. To add the syslog server, click Add.\n> 6. For more information about how to add a new syslog server in the Illusive platform, please find the Illusive Networks Admin Guide in here: https://support.illusivenetworks.com/hc/en-us/sections/360002292119-Documentation-by-Version", + "instructions": [ + ] + }, + { + "title": "Step C. Validate connection", + "description": "Follow the instructions to validate your connectivity:\n\nOpen Log Analytics to check if the logs are received using the CommonSecurityLog schema.\n\nIt may take about 20 minutes until the connection streams data to your workspace.\n\nIf the logs are not received, run the following connectivity validation script:\n\n 1. Make sure that you have Python on your machine using the following command: python -version\n\n2. You must have elevated permissions (sudo) on your machine", + "instructions": [ + { + "parameters": { + "label": "Run the following command to validate your connectivity:", + "value": "sudo wget -O Sentinel_AMA_troubleshoot.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py&&sudo python Sentinel_AMA_troubleshoot.py --cef" + }, + "type": "CopyableLabel" + } + ] + } + ] + }, + "type": "InstructionStepsGroup" + } + ] + }, + + + { + "title": "2. Secure your machine ", + "description": "Make sure to configure the machine's security according to your organization's security policy\n\n\n[Learn more >](https://aka.ms/SecureCEF)" + } + ], + "metadata": { + "id": "aa770f1e-4d05-477a-8dc1-b893772f3a46", + "version": "1.0.0", + "kind": "dataConnector", + "source": { + "kind": "community" + }, + "author": { + "name": "Illusive Networks" + }, + "support": { + "name": "Illusive Networks", + "link": "https://www.illusivenetworks.com/technical-support/", + "tier": "developer" + } + } +} \ No newline at end of file diff --git a/Solutions/Illusive Platform/Data/Solution_IllusiveAttackManagementSystem.json b/Solutions/Illusive Platform/Data/Solution_IllusiveAttackManagementSystem.json index 931d976db6a..2dc943d53d7 100644 --- a/Solutions/Illusive Platform/Data/Solution_IllusiveAttackManagementSystem.json +++ b/Solutions/Illusive Platform/Data/Solution_IllusiveAttackManagementSystem.json @@ -2,10 +2,11 @@ "Name": "Illusive Platform", "Author": "Illusive Networks", "Logo": "", - "Description": "The Illusive Platform solution for Microsoft Sentinel enables you to ingest Illusive Platform’s attack surface analysis data and incident logs into Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard). \r\n\r\n **Underlying Microsoft Technologies used:**\r\n\r\n This solution takes a dependency on the following technologies, and some of these dependencies either may be in [Preview](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) state or might result in additional ingestion or operational costs:\r\n\n a. [Agent-based log collection (CEF over Syslog)](https://docs.microsoft.com/azure/sentinel/connect-common-event-format)\r\n\n", + "Description": "The Illusive Platform solution for Microsoft Sentinel enables you to ingest Illusive Platform’s attack surface analysis data and incident logs into Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).\n\r\n1. **Illusive Platform via AMA** - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the new Azure Monitor Agent. Learn more about ingesting using the new Azure Monitor Agent [here](https://learn.microsoft.com/azure/sentinel/connect-cef-ama). **Microsoft recommends using this Data Connector**.\n\r\n2. **Illusive Platform via Legacy Agent** - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the legacy Log Analytics agent.\n\n**NOTE:** Microsoft recommends installation of Illusive Platform via AMA Connector. Legacy connector uses the Log Analytics agent which is about to be deprecated by **Aug 31, 2024,** and thus should only be installed where AMA is not supported. Using MMA and AMA on same machine can cause log duplication and extra ingestion cost [more details](https://learn.microsoft.com/en-us/azure/sentinel/ama-migrate).", "Data Connectors": [ - "Data Connectors/illusive Attack Management System.json" + "Data Connectors/illusive Attack Management System.json", + "Data Connectors/template_IllusivePlatformAMA.json" ], "Workbooks": [ "Workbooks/IllusiveADS.json", @@ -15,7 +16,7 @@ "Analytic Rules/Illusive_Detection_Query.yaml" ], "BasePath": "C:\\GitHub\\Azure-Sentinel\\Solutions\\Illusive Platform", - "Version": "2.0.1", + "Version": "3.0.0", "Metadata": "SolutionMetadata.json", "TemplateSpec": true, "Is1PConnector": false diff --git a/Solutions/Illusive Platform/Data/system_generated_metadata.json b/Solutions/Illusive Platform/Data/system_generated_metadata.json new file mode 100644 index 00000000000..d4d8874e288 --- /dev/null +++ b/Solutions/Illusive Platform/Data/system_generated_metadata.json @@ -0,0 +1,31 @@ +{ + "Name": "Illusive Platform", + "Author": "Illusive Networks", + "Logo": "", + "Description": "The Illusive Platform solution for Microsoft Sentinel enables you to ingest Illusive Platform’s attack surface analysis data and incident logs into Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).\n\r\n1. **Illusive Platform via AMA** - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the new Azure Monitor Agent. Learn more about ingesting using the new Azure Monitor Agent [here](https://learn.microsoft.com/azure/sentinel/connect-cef-ama). **Microsoft recommends using this Data Connector**.\n\r\n2. **Illusive Platform via Legacy Agent** - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the legacy Log Analytics agent.\n\n**NOTE:** Microsoft recommends installation of Illusive Platform via AMA Connector. Legacy connector uses the Log Analytics agent which is about to be deprecated by **Aug 31, 2024,** and thus should only be installed where AMA is not supported. Using MMA and AMA on same machine can cause log duplication and extra ingestion cost [more details](https://learn.microsoft.com/en-us/azure/sentinel/ama-migrate).", + "BasePath": "C:\\GitHub\\Azure-Sentinel\\Solutions\\Illusive Platform", + "Version": "3.0.0", + "Metadata": "SolutionMetadata.json", + "TemplateSpec": true, + "Is1PConnector": false, + "publisherId": "illusivenetworks", + "offerId": "illusive_platform_mss", + "providers": [ + "Illusive" + ], + "categories": { + "domains": [ + "Security - Threat Protection", + "Security - Others" + ] + }, + "firstPublishDate": "2022-05-25", + "support": { + "name": "Illusive Networks", + "tier": "Partner", + "link": "https://illusive.com/support" + }, + "Data Connectors": "[\n \"Data Connectors/illusive Attack Management System.json\",\n \"Data Connectors/template_IllusivePlatformAMA.json\"\n]", + "Workbooks": "[\n \"Workbooks/IllusiveADS.json\",\n \"Workbooks/IllusiveASM.json\"\n]", + "Analytic Rules": "[\n \"Illusive_Detection_Query.yaml\"\n]" +} diff --git a/Solutions/Illusive Platform/Package/3.0.0.zip b/Solutions/Illusive Platform/Package/3.0.0.zip new file mode 100644 index 00000000000..ee16748d6d1 Binary files /dev/null and b/Solutions/Illusive Platform/Package/3.0.0.zip differ diff --git a/Solutions/Illusive Platform/Package/createUiDefinition.json b/Solutions/Illusive Platform/Package/createUiDefinition.json index a31c4a98ebf..1d4c6798c6b 100644 --- a/Solutions/Illusive Platform/Package/createUiDefinition.json +++ b/Solutions/Illusive Platform/Package/createUiDefinition.json @@ -6,7 +6,7 @@ "config": { "isWizard": false, "basics": { - "description": "\n\n**Note:** _There may be [known issues](https://aka.ms/sentinelsolutionsknownissues) pertaining to this Solution, please refer to them before installing._\n\nThe Illusive Platform solution for Microsoft Sentinel enables you to ingest Illusive Platform’s attack surface analysis data and incident logs into Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard). \r\n\r\n **Underlying Microsoft Technologies used:**\r\n\r\n This solution takes a dependency on the following technologies, and some of these dependencies either may be in [Preview](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) state or might result in additional ingestion or operational costs:\r\n\n a. [Agent-based log collection (CEF over Syslog)](https://docs.microsoft.com/azure/sentinel/connect-common-event-format)\r\n\n\n\n**Data Connectors:** 1, **Workbooks:** 2, **Analytic Rules:** 1\n\n[Learn more about Microsoft Sentinel](https://aka.ms/azuresentinel) | [Learn more about Solutions](https://aka.ms/azuresentinelsolutionsdoc)", + "description": "\n\n**Note:** Please refer to the following before installing the solution: \r \n • Review the solution [Release Notes](https://github.com/Azure/Azure-Sentinel/tree/master/Solutions/OSSEC/ReleaseNotes.md)\r \n • There may be [known issues](https://aka.ms/sentinelsolutionsknownissues) pertaining to this Solution, please refer to them before installing.\n\nThe Illusive Platform solution for Microsoft Sentinel enables you to ingest Illusive Platform’s attack surface analysis data and incident logs into Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).\n\r\n1. **Illusive Platform via AMA** - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the new Azure Monitor Agent. Learn more about ingesting using the new Azure Monitor Agent [here](https://learn.microsoft.com/azure/sentinel/connect-cef-ama). **Microsoft recommends using this Data Connector**.\n\r\n2. **Illusive Platform via Legacy Agent** - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the legacy Log Analytics agent.\n\n**NOTE:** Microsoft recommends installation of Illusive Platform via AMA Connector. Legacy connector uses the Log Analytics agent which is about to be deprecated by **Aug 31, 2024,** and thus should only be installed where AMA is not supported. Using MMA and AMA on same machine can cause log duplication and extra ingestion cost [more details](https://learn.microsoft.com/en-us/azure/sentinel/ama-migrate).\n\n**Data Connectors:** 2, **Workbooks:** 2, **Analytic Rules:** 1\n\n[Learn more about Microsoft Sentinel](https://aka.ms/azuresentinel) | [Learn more about Solutions](https://aka.ms/azuresentinelsolutionsdoc)", "subscription": { "resourceProviders": [ "Microsoft.OperationsManagement/solutions", @@ -73,13 +73,14 @@ } } } + ] }, { "name": "workbooks", "label": "Workbooks", "subLabel": { - "preValidation": "Configure the workbooks", + "preValidation": "Configure the This Solution installs the data connector for Illusive Platform. You can get Illusive Platform CommonSecurityLog data in your Microsoft Sentinel workspace. After installing the solution, configure and enable this data connector by following guidance in Manage solution view.", "postValidation": "Done" }, "bladeTitle": "Workbooks", @@ -100,6 +101,34 @@ "uri": "https://docs.microsoft.com/azure/sentinel/tutorial-monitor-your-data" } } + }, + { + "name": "workbook1", + "type": "Microsoft.Common.Section", + "label": "Illusive ADS Dashboard", + "elements": [ + { + "name": "workbook1-text", + "type": "Microsoft.Common.TextBlock", + "options": { + "text": "Gain insights into unauthorized lateral movement in your organization's network.\nIllusive ADS is designed to paralyzes attackers and eradicates in-network threats by creating a hostile environment for the attackers across all the layers of the attack surface." + } + } + ] + }, + { + "name": "workbook2", + "type": "Microsoft.Common.Section", + "label": "Illusive ASM Dashboard", + "elements": [ + { + "name": "workbook2-text", + "type": "Microsoft.Common.TextBlock", + "options": { + "text": "Gain insights into your organization's Cyber Hygiene and Attack Surface risk.\nIllusive ASM automates discovery and clean-up of credential violations, allows drill-down inspection of pathways to critical assets, and provides risk insights that inform intelligent decision-making to reduce attacker mobility." + } + } + ] } ] }, @@ -138,7 +167,7 @@ "name": "analytic1-text", "type": "Microsoft.Common.TextBlock", "options": { - "text": "Create a Sentinel incident upon a new Illusive alert (incident) and associate all related Illusive events to the relevant Sentinel alert. This is done by filtering and processing Illusive Syslog messages." + "text": "Create a Microsoft Sentinel incident upon a new Illusive alert (incident) and associate all related Illusive events to the relevant Microsoft Sentinel alert. This is done by filtering and processing Illusive Syslog messages." } } ] diff --git a/Solutions/Illusive Platform/Package/mainTemplate.json b/Solutions/Illusive Platform/Package/mainTemplate.json index bf30906db63..7ba585abea6 100644 --- a/Solutions/Illusive Platform/Package/mainTemplate.json +++ b/Solutions/Illusive Platform/Package/mainTemplate.json @@ -48,62 +48,58 @@ "variables": { "solutionId": "illusivenetworks.illusive_platform_mss", "_solutionId": "[variables('solutionId')]", - "workspaceResourceId": "[resourceId('microsoft.OperationalInsights/Workspaces', parameters('workspace'))]", + "_solutionName": "Illusive Platform", + "_solutionVersion": "3.0.0", "uiConfigId1": "illusiveAttackManagementSystem", "_uiConfigId1": "[variables('uiConfigId1')]", "dataConnectorContentId1": "illusiveAttackManagementSystem", "_dataConnectorContentId1": "[variables('dataConnectorContentId1')]", "dataConnectorId1": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId1'))]", "_dataConnectorId1": "[variables('dataConnectorId1')]", - "dataConnectorTemplateSpecName1": "[concat(parameters('workspace'),'-dc-',uniquestring(variables('_dataConnectorContentId1')))]", + "dataConnectorTemplateSpecName1": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-dc-',uniquestring(variables('_dataConnectorContentId1'))))]", "dataConnectorVersion1": "1.0.0", + "_dataConnectorcontentProductId1": "[concat(take(variables('_solutionId'),50),'-','dc','-', uniqueString(concat(variables('_solutionId'),'-','DataConnector','-',variables('_dataConnectorContentId1'),'-', variables('dataConnectorVersion1'))))]", + "uiConfigId2": "illusiveAttackManagementSystemAma", + "_uiConfigId2": "[variables('uiConfigId2')]", + "dataConnectorContentId2": "illusiveAttackManagementSystemAma", + "_dataConnectorContentId2": "[variables('dataConnectorContentId2')]", + "dataConnectorId2": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId2'))]", + "_dataConnectorId2": "[variables('dataConnectorId2')]", + "dataConnectorTemplateSpecName2": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-dc-',uniquestring(variables('_dataConnectorContentId2'))))]", + "dataConnectorVersion2": "1.0.0", + "_dataConnectorcontentProductId2": "[concat(take(variables('_solutionId'),50),'-','dc','-', uniqueString(concat(variables('_solutionId'),'-','DataConnector','-',variables('_dataConnectorContentId2'),'-', variables('dataConnectorVersion2'))))]", "workbookVersion1": "1.0.0", "workbookContentId1": "IllusiveADSWorkbook", "workbookId1": "[resourceId('Microsoft.Insights/workbooks', variables('workbookContentId1'))]", - "workbookTemplateSpecName1": "[concat(parameters('workspace'),'-wb-',uniquestring(variables('_workbookContentId1')))]", + "workbookTemplateSpecName1": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-wb-',uniquestring(variables('_workbookContentId1'))))]", "_workbookContentId1": "[variables('workbookContentId1')]", + "workspaceResourceId": "[resourceId('microsoft.OperationalInsights/Workspaces', parameters('workspace'))]", + "_workbookcontentProductId1": "[concat(take(variables('_solutionId'),50),'-','wb','-', uniqueString(concat(variables('_solutionId'),'-','Workbook','-',variables('_workbookContentId1'),'-', variables('workbookVersion1'))))]", "workbookVersion2": "1.0.0", "workbookContentId2": "IllusiveASMWorkbook", "workbookId2": "[resourceId('Microsoft.Insights/workbooks', variables('workbookContentId2'))]", - "workbookTemplateSpecName2": "[concat(parameters('workspace'),'-wb-',uniquestring(variables('_workbookContentId2')))]", + "workbookTemplateSpecName2": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-wb-',uniquestring(variables('_workbookContentId2'))))]", "_workbookContentId2": "[variables('workbookContentId2')]", - "analyticRuleVersion1": "1.0.2", + "_workbookcontentProductId2": "[concat(take(variables('_solutionId'),50),'-','wb','-', uniqueString(concat(variables('_solutionId'),'-','Workbook','-',variables('_workbookContentId2'),'-', variables('workbookVersion2'))))]", + "analyticRuleVersion1": "1.0.3", "analyticRulecontentId1": "1a7dbcf6-21a2-4255-84b2-c8dbbdca4630", "_analyticRulecontentId1": "[variables('analyticRulecontentId1')]", "analyticRuleId1": "[resourceId('Microsoft.SecurityInsights/AlertRuleTemplates', variables('analyticRulecontentId1'))]", - "analyticRuleTemplateSpecName1": "[concat(parameters('workspace'),'-ar-',uniquestring(variables('_analyticRulecontentId1')))]", - "IllusiveIncident": "IncidentId", - "_IllusiveIncident": "[variables('IllusiveIncident')]" + "analyticRuleTemplateSpecName1": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-ar-',uniquestring(variables('_analyticRulecontentId1'))))]", + "_analyticRulecontentProductId1": "[concat(take(variables('_solutionId'),50),'-','ar','-', uniqueString(concat(variables('_solutionId'),'-','AnalyticsRule','-',variables('_analyticRulecontentId1'),'-', variables('analyticRuleVersion1'))))]", + "_solutioncontentProductId": "[concat(take(variables('_solutionId'),50),'-','sl','-', uniqueString(concat(variables('_solutionId'),'-','Solution','-',variables('_solutionId'),'-', variables('_solutionVersion'))))]" }, "resources": [ { - "type": "Microsoft.Resources/templateSpecs", - "apiVersion": "2021-05-01", + "type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates", + "apiVersion": "2023-04-01-preview", "name": "[variables('dataConnectorTemplateSpecName1')]", "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "DataConnector" - }, - "properties": { - "description": "Illusive Platform data connector with template", - "displayName": "Illusive Platform template" - } - }, - { - "type": "Microsoft.Resources/templateSpecs/versions", - "apiVersion": "2021-05-01", - "name": "[concat(variables('dataConnectorTemplateSpecName1'),'/',variables('dataConnectorVersion1'))]", - "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "DataConnector" - }, "dependsOn": [ - "[resourceId('Microsoft.Resources/templateSpecs', variables('dataConnectorTemplateSpecName1'))]" + "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]" ], "properties": { - "description": "Illusive Platform data connector with template version 2.0.1", + "description": "Illusive Platform data connector with template version 3.0.0", "mainTemplate": { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "[variables('dataConnectorVersion1')]", @@ -119,7 +115,7 @@ "properties": { "connectorUiConfig": { "id": "[variables('_uiConfigId1')]", - "title": "Illusive Platform", + "title": "[Deprecated] Illusive Platform via Legacy Agent", "publisher": "illusive", "descriptionMarkdown": "The Illusive Platform Connector allows you to share Illusive's attack surface analysis data and incident logs with Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).", "graphQueries": [ @@ -255,7 +251,7 @@ }, { "type": "Microsoft.OperationalInsights/workspaces/providers/metadata", - "apiVersion": "2022-01-01-preview", + "apiVersion": "2023-04-01-preview", "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId1'),'/'))))]", "properties": { "parentId": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId1'))]", @@ -278,12 +274,23 @@ } } ] - } + }, + "packageKind": "Solution", + "packageVersion": "[variables('_solutionVersion')]", + "packageName": "[variables('_solutionName')]", + "packageId": "[variables('_solutionId')]", + "contentSchemaVersion": "3.0.0", + "contentId": "[variables('_dataConnectorContentId1')]", + "contentKind": "DataConnector", + "displayName": "[Deprecated] Illusive Platform via Legacy Agent", + "contentProductId": "[variables('_dataConnectorcontentProductId1')]", + "id": "[variables('_dataConnectorcontentProductId1')]", + "version": "[variables('dataConnectorVersion1')]" } }, { "type": "Microsoft.OperationalInsights/workspaces/providers/metadata", - "apiVersion": "2022-01-01-preview", + "apiVersion": "2023-04-01-preview", "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId1'),'/'))))]", "dependsOn": [ "[variables('_dataConnectorId1')]" @@ -317,7 +324,7 @@ "kind": "GenericUI", "properties": { "connectorUiConfig": { - "title": "Illusive Platform", + "title": "[Deprecated] Illusive Platform via Legacy Agent", "publisher": "illusive", "descriptionMarkdown": "The Illusive Platform Connector allows you to share Illusive's attack surface analysis data and incident logs with Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).", "graphQueries": [ @@ -437,33 +444,360 @@ } }, { - "type": "Microsoft.Resources/templateSpecs", - "apiVersion": "2021-05-01", - "name": "[variables('workbookTemplateSpecName1')]", + "type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates", + "apiVersion": "2023-04-01-preview", + "name": "[variables('dataConnectorTemplateSpecName2')]", "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "Workbook" - }, + "dependsOn": [ + "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]" + ], "properties": { - "description": "Illusive Platform Workbook with template", - "displayName": "Illusive Platform workbook template" + "description": "Illusive Platform data connector with template version 3.0.0", + "mainTemplate": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "[variables('dataConnectorVersion2')]", + "parameters": {}, + "variables": {}, + "resources": [ + { + "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',variables('_dataConnectorContentId2'))]", + "apiVersion": "2021-03-01-preview", + "type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors", + "location": "[parameters('workspace-location')]", + "kind": "GenericUI", + "properties": { + "connectorUiConfig": { + "id": "[variables('_uiConfigId2')]", + "title": "[Recommended] Illusive Platform via AMA", + "publisher": "illusive", + "descriptionMarkdown": "The Illusive Platform Connector allows you to share Illusive's attack surface analysis data and incident logs with Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).", + "graphQueries": [ + { + "metricName": "Total data received", + "legend": "illusive", + "baseQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)" + } + ], + "sampleQueries": [ + { + "description": "Number of Incidents in in the last 30 days in which Trigger Type is found", + "query": "union CommonSecurityLog\r\n| where (DeviceEventClassID == \"illusive:login\" or DeviceEventClassID == \"illusive:access\" or DeviceEventClassID == \"illusive:suspicious\")\r\n| where Message !contains \"hasForensics\" \r\n| where TimeGenerated > ago(30d) \r\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\"FieldDeviceCustomNumber2\", long(null)), DeviceCustomNumber2, long(null))\r\n| summarize by DestinationServiceName, DeviceCustomNumber2 \r\n| summarize incident_count=count() by DestinationServiceName" + }, + { + "description": "Top 10 alerting hosts in the last 30 days", + "query": "union CommonSecurityLog \r\n| where (DeviceEventClassID == \"illusive:login\" or DeviceEventClassID == \"illusive:access\" or DeviceEventClassID == \"illusive:suspicious\")\r\n| where Message !contains \"hasForensics\" \r\n| where TimeGenerated > ago(30d) \r\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\"FieldDeviceCustomNumber2\", long(null)), DeviceCustomNumber2, long(null)) \r\n| summarize by AlertingHost=iff(SourceHostName != \"\" and SourceHostName != \"Failed to obtain\", SourceHostName, SourceIP) ,DeviceCustomNumber2 \r\n| where AlertingHost != \"\" and AlertingHost != \"Failed to obtain\" \r\n| summarize incident_count=count() by AlertingHost \r\n| order by incident_count \r\n| limit 10" + } + ], + "dataTypes": [ + { + "name": "CommonSecurityLog (illusive)", + "lastDataReceivedQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)" + } + ], + "connectivityCriterias": [ + { + "type": "IsConnectedQuery", + "value": [ + "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize LastLogReceived = max(TimeGenerated)\n | project IsConnected = LastLogReceived > ago(30d)" + ] + } + ], + "availability": { + "status": 1, + "isPreview": false + }, + "permissions": { + "resourceProvider": [ + { + "provider": "Microsoft.OperationalInsights/workspaces", + "permissionsDisplayText": "read and write permissions are required.", + "providerDisplayName": "Workspace", + "scope": "Workspace", + "requiredPermissions": { + "read": true, + "write": true, + "delete": true + } + }, + { + "provider": "Microsoft.OperationalInsights/workspaces/sharedKeys", + "permissionsDisplayText": "read permissions to shared keys for the workspace are required. [See the documentation to learn more about workspace keys](https://docs.microsoft.com/azure/azure-monitor/platform/agent-windows#obtain-workspace-id-and-key).", + "providerDisplayName": "Keys", + "scope": "Workspace", + "requiredPermissions": { + "action": true + } + } + ], + "customs": [ + { + "description": "To collect data from non-Azure VMs, they must have Azure Arc installed and enabled. [Learn more](https://docs.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-install?tabs=ARMAgentPowerShell,PowerShellWindows,PowerShellWindowsArc,CLIWindows,CLIWindowsArc)" + }, + { + "description": "Common Event Format (CEF) via AMA and Syslog via AMA data connectors must be installed [Learn more](https://learn.microsoft.com/azure/sentinel/connect-cef-ama#open-the-connector-page-and-create-the-dcr)" + } + ] + }, + "instructionSteps": [ + { + "instructions": [ + { + "parameters": { + "title": "1. Kindly follow the steps to configure the data connector", + "instructionSteps": [ + { + "title": "Step A. Configure the Common Event Format (CEF) via AMA data connector", + "description": "_Note:- CEF logs are collected only from Linux Agents_\n\n1. Navigate to Microsoft Sentinel workspace ---> configuration ---> Data connector blade .\n\n2. Search for 'Common Event Format (CEF) via AMA' data connector and open it.\n\n3. Check If there is no existing DCR configured to collect required facility of logs, Create a new DCR (Data Collection Rule)\n\n\t_Note:- It is recommended to install minimum 1.27 version of AMA agent [Learn more](https://learn.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal ) and ensure there is no duplicate DCR as it can cause log duplicacy_\n\n4. Run the command provided in the CEF via AMA data connector page to configure the CEF collector on the machine" + + }, + { + "title": "Step B. Forward Illusive Common Event Format (CEF) logs to Syslog agent", + "description": "1. Set your security solution to send Syslog messages in CEF format to the proxy machine. Make sure you to send the logs to port 514 TCP on the machine's IP address.\n> 2. Log onto the Illusive Console, and navigate to Settings->Reporting.\n> 3. Find Syslog Servers\n> 4. Supply the following information:\n>> 1. Host name: Linux Syslog agent IP address or FQDN host name\n>> 2. Port: 514\n>> 3. Protocol: TCP\n>> 4. Audit messages: Send audit messages to server\n> 5. To add the syslog server, click Add.\n> 6. For more information about how to add a new syslog server in the Illusive platform, please find the Illusive Networks Admin Guide in here: https://support.illusivenetworks.com/hc/en-us/sections/360002292119-Documentation-by-Version" + + }, + { + "title": "Step C. Validate connection", + "description": "Follow the instructions to validate your connectivity:\n\nOpen Log Analytics to check if the logs are received using the CommonSecurityLog schema.\n\nIt may take about 20 minutes until the connection streams data to your workspace.\n\nIf the logs are not received, run the following connectivity validation script:\n\n 1. Make sure that you have Python on your machine using the following command: python -version\n\n2. You must have elevated permissions (sudo) on your machine", + "instructions": [ + { + "parameters": { + "label": "Run the following command to validate your connectivity:", + "value": "sudo wget -O Sentinel_AMA_troubleshoot.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py&&sudo python Sentinel_AMA_troubleshoot.py --cef" + }, + "type": "CopyableLabel" + } + ] + } + ] + }, + "type": "InstructionStepsGroup" + } + ] + }, + { + "description": "Make sure to configure the machine's security according to your organization's security policy\n\n\n[Learn more >](https://aka.ms/SecureCEF)", + "title": "2. Secure your machine " + } + ], + "metadata": { + "id": "aa770f1e-4d05-477a-8dc1-b893772f3a46", + "version": "1.0.0", + "kind": "dataConnector", + "source": { + "kind": "community" + }, + "author": { + "name": "Illusive Networks" + }, + "support": { + "name": "Illusive Networks", + "link": "https://www.illusivenetworks.com/technical-support/", + "tier": "developer" + } + } + } + } + }, + { + "type": "Microsoft.OperationalInsights/workspaces/providers/metadata", + "apiVersion": "2023-04-01-preview", + "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId2'),'/'))))]", + "properties": { + "parentId": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId2'))]", + "contentId": "[variables('_dataConnectorContentId2')]", + "kind": "DataConnector", + "version": "[variables('dataConnectorVersion2')]", + "source": { + "kind": "Solution", + "name": "Illusive Platform", + "sourceId": "[variables('_solutionId')]" + }, + "author": { + "name": "Illusive Networks" + }, + "support": { + "name": "Illusive Networks", + "tier": "Partner", + "link": "https://illusive.com/support" + } + } + } + ] + }, + "packageKind": "Solution", + "packageVersion": "[variables('_solutionVersion')]", + "packageName": "[variables('_solutionName')]", + "packageId": "[variables('_solutionId')]", + "contentSchemaVersion": "3.0.0", + "contentId": "[variables('_dataConnectorContentId2')]", + "contentKind": "DataConnector", + "displayName": "[Recommended] Illusive Platform via AMA", + "contentProductId": "[variables('_dataConnectorcontentProductId2')]", + "id": "[variables('_dataConnectorcontentProductId2')]", + "version": "[variables('dataConnectorVersion2')]" } }, { - "type": "Microsoft.Resources/templateSpecs/versions", - "apiVersion": "2021-05-01", - "name": "[concat(variables('workbookTemplateSpecName1'),'/',variables('workbookVersion1'))]", + "type": "Microsoft.OperationalInsights/workspaces/providers/metadata", + "apiVersion": "2023-04-01-preview", + "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId2'),'/'))))]", + "dependsOn": [ + "[variables('_dataConnectorId2')]" + ], + "location": "[parameters('workspace-location')]", + "properties": { + "parentId": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId2'))]", + "contentId": "[variables('_dataConnectorContentId2')]", + "kind": "DataConnector", + "version": "[variables('dataConnectorVersion2')]", + "source": { + "kind": "Solution", + "name": "Illusive Platform", + "sourceId": "[variables('_solutionId')]" + }, + "author": { + "name": "Illusive Networks" + }, + "support": { + "name": "Illusive Networks", + "tier": "Partner", + "link": "https://illusive.com/support" + } + } + }, + { + "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',variables('_dataConnectorContentId2'))]", + "apiVersion": "2021-03-01-preview", + "type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors", + "location": "[parameters('workspace-location')]", + "kind": "GenericUI", + "properties": { + "connectorUiConfig": { + "title": "[Recommended] Illusive Platform via AMA", + "publisher": "illusive", + "descriptionMarkdown": "The Illusive Platform Connector allows you to share Illusive's attack surface analysis data and incident logs with Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).", + "graphQueries": [ + { + "metricName": "Total data received", + "legend": "illusive", + "baseQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)" + } + ], + "dataTypes": [ + { + "name": "CommonSecurityLog (illusive)", + "lastDataReceivedQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)" + } + ], + "connectivityCriterias": [ + { + "type": "IsConnectedQuery", + "value": [ + "CommonSecurityLog\n |where DeviceVendor =~ 'illusive'\n |where DeviceProduct =~ 'illusive'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize LastLogReceived = max(TimeGenerated)\n | project IsConnected = LastLogReceived > ago(30d)" + ] + } + ], + "sampleQueries": [ + { + "description": "Number of Incidents in in the last 30 days in which Trigger Type is found", + "query": "union CommonSecurityLog\r\n| where (DeviceEventClassID == \"illusive:login\" or DeviceEventClassID == \"illusive:access\" or DeviceEventClassID == \"illusive:suspicious\")\r\n| where Message !contains \"hasForensics\" \r\n| where TimeGenerated > ago(30d) \r\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\"FieldDeviceCustomNumber2\", long(null)), DeviceCustomNumber2, long(null))\r\n| summarize by DestinationServiceName, DeviceCustomNumber2 \r\n| summarize incident_count=count() by DestinationServiceName" + }, + { + "description": "Top 10 alerting hosts in the last 30 days", + "query": "union CommonSecurityLog \r\n| where (DeviceEventClassID == \"illusive:login\" or DeviceEventClassID == \"illusive:access\" or DeviceEventClassID == \"illusive:suspicious\")\r\n| where Message !contains \"hasForensics\" \r\n| where TimeGenerated > ago(30d) \r\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\"FieldDeviceCustomNumber2\", long(null)), DeviceCustomNumber2, long(null)) \r\n| summarize by AlertingHost=iff(SourceHostName != \"\" and SourceHostName != \"Failed to obtain\", SourceHostName, SourceIP) ,DeviceCustomNumber2 \r\n| where AlertingHost != \"\" and AlertingHost != \"Failed to obtain\" \r\n| summarize incident_count=count() by AlertingHost \r\n| order by incident_count \r\n| limit 10" + } + ], + "availability": { + "status": 1, + "isPreview": false + }, + "permissions": { + "resourceProvider": [ + { + "provider": "Microsoft.OperationalInsights/workspaces", + "permissionsDisplayText": "read and write permissions are required.", + "providerDisplayName": "Workspace", + "scope": "Workspace", + "requiredPermissions": { + "read": true, + "write": true, + "delete": true + } + }, + { + "provider": "Microsoft.OperationalInsights/workspaces/sharedKeys", + "permissionsDisplayText": "read permissions to shared keys for the workspace are required. [See the documentation to learn more about workspace keys](https://docs.microsoft.com/azure/azure-monitor/platform/agent-windows#obtain-workspace-id-and-key).", + "providerDisplayName": "Keys", + "scope": "Workspace", + "requiredPermissions": { + "action": true + } + } + ], + "customs": [ + { + "description": "To collect data from non-Azure VMs, they must have Azure Arc installed and enabled. [Learn more](https://docs.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-install?tabs=ARMAgentPowerShell,PowerShellWindows,PowerShellWindowsArc,CLIWindows,CLIWindowsArc)" + }, + { + "description": "Common Event Format (CEF) via AMA and Syslog via AMA data connectors must be installed [Learn more](https://learn.microsoft.com/azure/sentinel/connect-cef-ama#open-the-connector-page-and-create-the-dcr)" + } + ] + }, + "instructionSteps": [ + { + "instructions": [ + { + "parameters": { + "title": "1. Kindly follow the steps to configure the data connector", + "instructionSteps": [ + { + "title": "Step A. Configure the Common Event Format (CEF) via AMA data connector", + "description": "_Note:- CEF logs are collected only from Linux Agents_\n\n1. Navigate to Microsoft Sentinel workspace ---> configuration ---> Data connector blade .\n\n2. Search for 'Common Event Format (CEF) via AMA' data connector and open it.\n\n3. Check If there is no existing DCR configured to collect required facility of logs, Create a new DCR (Data Collection Rule)\n\n\t_Note:- It is recommended to install minimum 1.27 version of AMA agent [Learn more](https://learn.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal ) and ensure there is no duplicate DCR as it can cause log duplicacy_\n\n4. Run the command provided in the CEF via AMA data connector page to configure the CEF collector on the machine" + + }, + { + "title": "Step B. Forward Illusive Common Event Format (CEF) logs to Syslog agent", + "description": "1. Set your security solution to send Syslog messages in CEF format to the proxy machine. Make sure you to send the logs to port 514 TCP on the machine's IP address.\n> 2. Log onto the Illusive Console, and navigate to Settings->Reporting.\n> 3. Find Syslog Servers\n> 4. Supply the following information:\n>> 1. Host name: Linux Syslog agent IP address or FQDN host name\n>> 2. Port: 514\n>> 3. Protocol: TCP\n>> 4. Audit messages: Send audit messages to server\n> 5. To add the syslog server, click Add.\n> 6. For more information about how to add a new syslog server in the Illusive platform, please find the Illusive Networks Admin Guide in here: https://support.illusivenetworks.com/hc/en-us/sections/360002292119-Documentation-by-Version" + + }, + { + "title": "Step C. Validate connection", + "description": "Follow the instructions to validate your connectivity:\n\nOpen Log Analytics to check if the logs are received using the CommonSecurityLog schema.\n\nIt may take about 20 minutes until the connection streams data to your workspace.\n\nIf the logs are not received, run the following connectivity validation script:\n\n 1. Make sure that you have Python on your machine using the following command: python -version\n\n2. You must have elevated permissions (sudo) on your machine", + "instructions": [ + { + "parameters": { + "label": "Run the following command to validate your connectivity:", + "value": "sudo wget -O Sentinel_AMA_troubleshoot.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py&&sudo python Sentinel_AMA_troubleshoot.py --cef" + }, + "type": "CopyableLabel" + } + ] + } + ] + }, + "type": "InstructionStepsGroup" + } + ] + }, + { + "description": "Make sure to configure the machine's security according to your organization's security policy\n\n\n[Learn more >](https://aka.ms/SecureCEF)", + "title": "2. Secure your machine " + } + ], + "id": "[variables('_uiConfigId2')]" + } + } + }, + { + "type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates", + "apiVersion": "2023-04-01-preview", + "name": "[variables('workbookTemplateSpecName1')]", "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "Workbook" - }, "dependsOn": [ - "[resourceId('Microsoft.Resources/templateSpecs', variables('workbookTemplateSpecName1'))]" + "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]" ], "properties": { - "description": "IllusiveADSWorkbook Workbook with template version 2.0.1", + "description": "IllusiveADSWorkbook Workbook with template version 3.0.0", "mainTemplate": { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "[variables('workbookVersion1')]", @@ -481,7 +815,7 @@ }, "properties": { "displayName": "[parameters('workbook1-name')]", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"## Illusive ADS Dashboard\\n\"},\"name\":\"text - 2\"},{\"type\":1,\"content\":{\"json\":\"\\n\"},\"customWidth\":\"65\",\"name\":\"text - 2 - Copy\"},{\"type\":9,\"content\":{\"version\":\"KqlParameterItem/1.0\",\"parameters\":[{\"id\":\"e5b79f84-7773-4162-9750-702cd0001041\",\"version\":\"KqlParameterItem/1.0\",\"name\":\"NumberOfDays\",\"label\":\"Number of Days \",\"type\":2,\"description\":\"Select range of days to query\",\"isRequired\":true,\"value\":\"30\",\"jsonData\":\"[1,7,14,21,30]\",\"resourceType\":\"microsoft.insights/components\"},{\"id\":\"ba9324e9-07f9-49dc-81b6-f87833a09afc\",\"version\":\"KqlParameterItem/1.0\",\"name\":\"ManagementIP\",\"label\":\"Management IP\",\"type\":2,\"description\":\"Filter managment ip\",\"isRequired\":true,\"multiSelect\":true,\"quote\":\"'\",\"delimiter\":\",\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nwhere DeviceAddress != \\\"\\\" |\\r\\nsummarize count() by DeviceAddress | \\r\\nproject DeviceAddress\\r\\n\",\"value\":[\"value::all\"],\"typeSettings\":{\"additionalResourceOptions\":[\"value::all\"],\"selectAllValue\":\"All\"},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\"}],\"style\":\"pills\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\"},\"customWidth\":\"35\",\"name\":\"parameters - 6\",\"styleSettings\":{\"margin\":\"0px\",\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\nunion CommonSecurityLog | \\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\nwhere Message !contains \\\"hasForensics\\\" |\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\nextend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2) |\\nsummarize by bin(TimeGenerated,binSize) ,DeviceCustomNumber2 |\\nmake-series event_count=count() default=0 on TimeGenerated in range (ago({NumberOfDays}d), now(), binSize) |\\nmvexpand TimeGenerated, event_count |\\nproject todatetime(TimeGenerated), toint(event_count)\",\"size\":0,\"aggregation\":3,\"title\":\"Incidents over time\",\"timeContext\":{\"durationMs\":2592000000},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"linechart\",\"chartSettings\":{\"seriesLabelSettings\":[{\"seriesName\":\"event_count\",\"color\":\"red\"}]}},\"customWidth\":\"50\",\"name\":\"Incidents over time\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\nunion CommonSecurityLog | \\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\nwhere Message !contains \\\"hasForensics\\\" |\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\nsummarize by bin(TimeGenerated,binSize) ,ExternalID |\\nmake-series event_count=count() default=0 on TimeGenerated in range (ago({NumberOfDays}d), now(), binSize) |\\nmvexpand TimeGenerated, event_count |\\nproject todatetime(TimeGenerated), toint(event_count)\",\"size\":0,\"aggregation\":3,\"title\":\"Events over time\",\"timeContext\":{\"durationMs\":2592000000},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"linechart\",\"chartSettings\":{\"seriesLabelSettings\":[{\"seriesName\":\"event_count\",\"color\":\"yellow\"}]}},\"customWidth\":\"50\",\"name\":\"Events over time\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\r\\nunion CommonSecurityLog \\r\\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2)\\r\\n | where (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\r\\nwhere Message !contains \\\"hasForensics\\\" |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\r\\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\r\\nsummarize by DestinationServiceName ,DeviceCustomNumber2 |\\r\\nsummarize incident_count=count() by DestinationServiceName\",\"size\":0,\"title\":\"Number of Incidents in which Trigger Type is found\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"group\":\"DestinationServiceName\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"TriggerType\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog \\r\\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2)|\\r\\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\r\\nwhere Message !contains \\\"hasForensics\\\" |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\r\\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\r\\nsummarize by DeviceEventClassID ,DeviceCustomNumber2 |\\r\\nsummarize incident_count=count() by DeviceEventClassID\",\"size\":0,\"title\":\"Number of Incidents in which Event Type is found\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"group\":\"DeviceEventClassID\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"EventType\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog| \\r\\nextend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2)|\\r\\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\r\\nwhere Message !contains \\\"hasForensics\\\" |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\r\\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\r\\nsummarize by AlertingHost=iff(SourceHostName != \\\"\\\" and SourceHostName != \\\"Failed to obtain\\\", SourceHostName, SourceIP) ,DeviceCustomNumber2 |\\r\\nwhere AlertingHost != \\\"\\\" and AlertingHost != \\\"Failed to obtain\\\" |\\r\\nsummarize incident_count=count() by AlertingHost |\\r\\norder by incident_count |\\r\\nlimit 10\",\"size\":0,\"title\":\"Top 10 alerting hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"table\",\"chartSettings\":{\"group\":\"DeviceEventClassID\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"TopHosts\"}],\"fromTemplateId\":\"sentinel-IllusiveADS\",\"$schema\":\"https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json\"}\r\n", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"## Illusive ADS Dashboard\\n\"},\"name\":\"text - 2\"},{\"type\":1,\"content\":{\"json\":\"\\n\"},\"customWidth\":\"65\",\"name\":\"text - 2 - Copy\"},{\"type\":9,\"content\":{\"version\":\"KqlParameterItem/1.0\",\"parameters\":[{\"id\":\"e5b79f84-7773-4162-9750-702cd0001041\",\"version\":\"KqlParameterItem/1.0\",\"name\":\"NumberOfDays\",\"label\":\"Number of Days \",\"type\":2,\"description\":\"Select range of days to query\",\"isRequired\":true,\"value\":\"30\",\"jsonData\":\"[1,7,14,21,30]\",\"resourceType\":\"microsoft.insights/components\"},{\"id\":\"ba9324e9-07f9-49dc-81b6-f87833a09afc\",\"version\":\"KqlParameterItem/1.0\",\"name\":\"ManagementIP\",\"label\":\"Management IP\",\"type\":2,\"description\":\"Filter managment ip\",\"isRequired\":true,\"multiSelect\":true,\"quote\":\"'\",\"delimiter\":\",\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nwhere DeviceAddress != \\\"\\\" |\\r\\nsummarize count() by DeviceAddress | \\r\\nproject DeviceAddress\\r\\n\",\"value\":[\"value::all\"],\"typeSettings\":{\"additionalResourceOptions\":[\"value::all\"],\"selectAllValue\":\"All\"},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\"}],\"style\":\"pills\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\"},\"customWidth\":\"35\",\"name\":\"parameters - 6\",\"styleSettings\":{\"margin\":\"0px\",\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\nunion CommonSecurityLog | \\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\nwhere Message !contains \\\"hasForensics\\\" |\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\nextend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2) |\\nsummarize by bin(TimeGenerated,binSize) ,DeviceCustomNumber2 |\\nmake-series event_count=count() default=0 on TimeGenerated in range (ago({NumberOfDays}d), now(), binSize) |\\nmvexpand TimeGenerated, event_count |\\nproject todatetime(TimeGenerated), toint(event_count)\",\"size\":0,\"aggregation\":3,\"title\":\"Incidents over time\",\"timeContext\":{\"durationMs\":2592000000},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"linechart\",\"chartSettings\":{\"seriesLabelSettings\":[{\"seriesName\":\"event_count\",\"color\":\"red\"}]}},\"customWidth\":\"50\",\"name\":\"Incidents over time\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\nunion CommonSecurityLog | \\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\nwhere Message !contains \\\"hasForensics\\\" |\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\nsummarize by bin(TimeGenerated,binSize) ,ExternalID |\\nmake-series event_count=count() default=0 on TimeGenerated in range (ago({NumberOfDays}d), now(), binSize) |\\nmvexpand TimeGenerated, event_count |\\nproject todatetime(TimeGenerated), toint(event_count)\",\"size\":0,\"aggregation\":3,\"title\":\"Events over time\",\"timeContext\":{\"durationMs\":2592000000},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"linechart\",\"chartSettings\":{\"seriesLabelSettings\":[{\"seriesName\":\"event_count\",\"color\":\"yellow\"}]}},\"customWidth\":\"50\",\"name\":\"Events over time\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\r\\nunion CommonSecurityLog \\r\\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2)\\r\\n | where (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\r\\nwhere Message !contains \\\"hasForensics\\\" |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\r\\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\r\\nsummarize by DestinationServiceName ,DeviceCustomNumber2 |\\r\\nsummarize incident_count=count() by DestinationServiceName\",\"size\":0,\"title\":\"Number of Incidents in which Trigger Type is found\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"group\":\"DestinationServiceName\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"TriggerType\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog \\r\\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2)|\\r\\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\r\\nwhere Message !contains \\\"hasForensics\\\" |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\r\\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\r\\nsummarize by DeviceEventClassID ,DeviceCustomNumber2 |\\r\\nsummarize incident_count=count() by DeviceEventClassID\",\"size\":0,\"title\":\"Number of Incidents in which Event Type is found\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"group\":\"DeviceEventClassID\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"EventType\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog| \\r\\nextend DeviceCustomNumber2 = coalesce(column_ifexists(\\\"FieldDeviceCustomNumber2\\\", long(null)),DeviceCustomNumber2)|\\r\\nwhere (DeviceEventClassID == \\\"illusive:login\\\" or DeviceEventClassID == \\\"illusive:access\\\" or DeviceEventClassID == \\\"illusive:suspicious\\\")|\\r\\nwhere Message !contains \\\"hasForensics\\\" |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\r\\nwhere \\\"{ManagementIP}\\\" contains \\\"All\\\" or \\\"{ManagementIP}\\\" contains DeviceAddress |\\r\\nsummarize by AlertingHost=iff(SourceHostName != \\\"\\\" and SourceHostName != \\\"Failed to obtain\\\", SourceHostName, SourceIP) ,DeviceCustomNumber2 |\\r\\nwhere AlertingHost != \\\"\\\" and AlertingHost != \\\"Failed to obtain\\\" |\\r\\nsummarize incident_count=count() by AlertingHost |\\r\\norder by incident_count |\\r\\nlimit 10\",\"size\":0,\"title\":\"Top 10 alerting hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"table\",\"chartSettings\":{\"group\":\"DeviceEventClassID\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"TopHosts\"}],\"fromTemplateId\":\"sentinel-IllusiveADS\",\"$schema\":\"https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json\"}\n", "version": "1.0", "sourceId": "[variables('workspaceResourceId')]", "category": "sentinel" @@ -509,41 +843,51 @@ "name": "Illusive Networks", "tier": "Partner", "link": "https://illusive.com/support" + }, + "dependencies": { + "operator": "AND", + "criteria": [ + { + "contentId": "CommonSecurityLog", + "kind": "DataType" + }, + { + "contentId": "illusiveAttackManagementSystem", + "kind": "DataConnector" + }, + { + "contentId": "illusiveAttackManagementSystemAma", + "kind": "DataConnector" + } + ] } } } ] - } + }, + "packageKind": "Solution", + "packageVersion": "[variables('_solutionVersion')]", + "packageName": "[variables('_solutionName')]", + "packageId": "[variables('_solutionId')]", + "contentSchemaVersion": "3.0.0", + "contentId": "[variables('_workbookContentId1')]", + "contentKind": "Workbook", + "displayName": "[parameters('workbook1-name')]", + "contentProductId": "[variables('_workbookcontentProductId1')]", + "id": "[variables('_workbookcontentProductId1')]", + "version": "[variables('workbookVersion1')]" } }, { - "type": "Microsoft.Resources/templateSpecs", - "apiVersion": "2021-05-01", + "type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates", + "apiVersion": "2023-04-01-preview", "name": "[variables('workbookTemplateSpecName2')]", "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "Workbook" - }, - "properties": { - "description": "Illusive Platform Workbook with template", - "displayName": "Illusive Platform workbook template" - } - }, - { - "type": "Microsoft.Resources/templateSpecs/versions", - "apiVersion": "2021-05-01", - "name": "[concat(variables('workbookTemplateSpecName2'),'/',variables('workbookVersion2'))]", - "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "Workbook" - }, "dependsOn": [ - "[resourceId('Microsoft.Resources/templateSpecs', variables('workbookTemplateSpecName2'))]" + "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]" ], "properties": { - "description": "IllusiveASMWorkbook Workbook with template version 2.0.1", + "description": "IllusiveASMWorkbook Workbook with template version 3.0.0", "mainTemplate": { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "[variables('workbookVersion2')]", @@ -561,7 +905,7 @@ }, "properties": { "displayName": "[parameters('workbook2-name')]", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"## Illusive ASM Dashboard\\n\"},\"name\":\"text - 2\"},{\"type\":1,\"content\":{\"json\":\"\\n\"},\"customWidth\":\"80\",\"name\":\"text - 2 - Copy\"},{\"type\":9,\"content\":{\"version\":\"KqlParameterItem/1.0\",\"parameters\":[{\"id\":\"e5b79f84-7773-4162-9750-702cd0001041\",\"version\":\"KqlParameterItem/1.0\",\"name\":\"NumberOfDays\",\"label\":\"Number of Days \",\"type\":2,\"description\":\"Select range of days to query\",\"isRequired\":true,\"value\":\"14\",\"jsonData\":\"[1,7,14,21,30]\"}],\"style\":\"pills\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\"},\"customWidth\":\"20\",\"name\":\"parameters - 6\",\"styleSettings\":{\"margin\":\"0px\",\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize count = count() by ViolationType = DeviceCustomString1 \\r\\n\\r\\n\",\"size\":0,\"title\":\"Violation Types\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"yAxis\":[\"count\"],\"group\":\"ViolationType\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Violation Types\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\nunion CommonSecurityLog | \\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\nmake-series event_count=count() default=0 on TimeGenerated in range (ago({NumberOfDays}d), now(), binSize) |\\nmvexpand TimeGenerated, event_count |\\nproject todatetime(TimeGenerated), toint(event_count)\",\"size\":0,\"aggregation\":3,\"title\":\"Violations Over Time\",\"timeContext\":{\"durationMs\":2592000000},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"linechart\",\"chartSettings\":{\"seriesLabelSettings\":[{\"seriesName\":\"event_count\",\"color\":\"yellow\"}]}},\"customWidth\":\"50\",\"name\":\"Violations Trendline\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Domain User Credentials\"},\"name\":\"text - 9\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"USER_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingHost = SourceHostName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Domain User Credentials - Top Violating Hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":6}},\"customWidth\":\"50\",\"name\":\"Domain User Credentials Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"USER_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingUsers = SourceUserName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Domain User Credentials - Top Violating Users\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingUsers\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Domain User Credentials Top Violating Users\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Crown Jewel Connections\"},\"name\":\"text - 9 - Copy\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"CROWN_JEWEL_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingHost = SourceHostName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Crown Jewel Connections - Top Violating Hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":6}},\"customWidth\":\"33\",\"name\":\"Crown Jewel Connections Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"33\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"CROWN_JEWEL_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by CrownJewelType = DeviceCustomString6 |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Crown Jewel Connections - Crown Jewel Types\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"CrownJewelType\",\"createOtherGroup\":6}},\"customWidth\":\"33\",\"name\":\"Crown Jewel Connections - Crown Jewel Types\",\"styleSettings\":{\"maxWidth\":\"33\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"CROWN_JEWEL_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by ServiceType = DeviceCustomString4 |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Crown Jewel Connections - Service Types\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"ServiceType\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"Crown Jewel Connections - Service Types\",\"styleSettings\":{\"maxWidth\":\"33\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Local User Administrators\"},\"name\":\"text - 9 - Copy - Copy\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"LOCAL_USER_ADMINISTRATORS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingHost = SourceHostName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Local User Administrators - Top Violating Hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Local User Administrators Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"LOCAL_USER_ADMINISTRATORS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingUsers = SourceUserName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Local User Administrators - Top Violating Users\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingUsers\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Local User Administrators - Top Violating Users\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Suspicious Files\"},\"name\":\"text - 9 - Copy - Copy - Copy\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"SUSPICIOUS_FILES\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopSuspiciousFilesHashes = DeviceCustomString3 |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Suspicious Files - Top Violating Processes\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"table\",\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Suspicious Files Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"50\"}}],\"fromTemplateId\":\"sentinel-IllusiveASM\",\"$schema\":\"https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json\"}\r\n", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"## Illusive ASM Dashboard\\n\"},\"name\":\"text - 2\"},{\"type\":1,\"content\":{\"json\":\"\\n\"},\"customWidth\":\"80\",\"name\":\"text - 2 - Copy\"},{\"type\":9,\"content\":{\"version\":\"KqlParameterItem/1.0\",\"parameters\":[{\"id\":\"e5b79f84-7773-4162-9750-702cd0001041\",\"version\":\"KqlParameterItem/1.0\",\"name\":\"NumberOfDays\",\"label\":\"Number of Days \",\"type\":2,\"description\":\"Select range of days to query\",\"isRequired\":true,\"value\":\"14\",\"jsonData\":\"[1,7,14,21,30]\"}],\"style\":\"pills\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\"},\"customWidth\":\"20\",\"name\":\"parameters - 6\",\"styleSettings\":{\"margin\":\"0px\",\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize count = count() by ViolationType = DeviceCustomString1 \\r\\n\\r\\n\",\"size\":0,\"title\":\"Violation Types\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"yAxis\":[\"count\"],\"group\":\"ViolationType\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Violation Types\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"let binSize = iff({NumberOfDays} > 1, 1d, 1h);\\nunion CommonSecurityLog | \\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\nwhere TimeGenerated > ago({NumberOfDays}d) | \\nmake-series event_count=count() default=0 on TimeGenerated in range (ago({NumberOfDays}d), now(), binSize) |\\nmvexpand TimeGenerated, event_count |\\nproject todatetime(TimeGenerated), toint(event_count)\",\"size\":0,\"aggregation\":3,\"title\":\"Violations Over Time\",\"timeContext\":{\"durationMs\":2592000000},\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"linechart\",\"chartSettings\":{\"seriesLabelSettings\":[{\"seriesName\":\"event_count\",\"color\":\"yellow\"}]}},\"customWidth\":\"50\",\"name\":\"Violations Trendline\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Domain User Credentials\"},\"name\":\"text - 9\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"USER_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingHost = SourceHostName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Domain User Credentials - Top Violating Hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":6}},\"customWidth\":\"50\",\"name\":\"Domain User Credentials Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"USER_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingUsers = SourceUserName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Domain User Credentials - Top Violating Users\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingUsers\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Domain User Credentials Top Violating Users\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Crown Jewel Connections\"},\"name\":\"text - 9 - Copy\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"CROWN_JEWEL_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingHost = SourceHostName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Crown Jewel Connections - Top Violating Hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":6}},\"customWidth\":\"33\",\"name\":\"Crown Jewel Connections Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"33\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"CROWN_JEWEL_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by CrownJewelType = DeviceCustomString6 |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Crown Jewel Connections - Crown Jewel Types\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"CrownJewelType\",\"createOtherGroup\":6}},\"customWidth\":\"33\",\"name\":\"Crown Jewel Connections - Crown Jewel Types\",\"styleSettings\":{\"maxWidth\":\"33\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"CROWN_JEWEL_CREDENTIALS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by ServiceType = DeviceCustomString4 |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Crown Jewel Connections - Service Types\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"gridSettings\":{\"rowLimit\":10},\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"ServiceType\",\"createOtherGroup\":8}},\"customWidth\":\"33\",\"name\":\"Crown Jewel Connections - Service Types\",\"styleSettings\":{\"maxWidth\":\"33\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Local User Administrators\"},\"name\":\"text - 9 - Copy - Copy\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"LOCAL_USER_ADMINISTRATORS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingHost = SourceHostName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Local User Administrators - Top Violating Hosts\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Local User Administrators Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"LOCAL_USER_ADMINISTRATORS\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopViolatingUsers = SourceUserName |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Local User Administrators - Top Violating Users\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"piechart\",\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingUsers\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Local User Administrators - Top Violating Users\",\"styleSettings\":{\"maxWidth\":\"50\"}},{\"type\":1,\"content\":{\"json\":\"\\r\\n## Suspicious Files\"},\"name\":\"text - 9 - Copy - Copy - Copy\"},{\"type\":3,\"content\":{\"version\":\"KqlItem/1.0\",\"query\":\"union CommonSecurityLog | \\r\\nwhere (DeviceEventClassID == \\\"illusive:violation\\\") |\\r\\nwhere (DeviceCustomString1 == \\\"SUSPICIOUS_FILES\\\") |\\r\\nwhere TimeGenerated > ago({NumberOfDays}d) |\\r\\nsummarize NumberOfViolations = count() by TopSuspiciousFilesHashes = DeviceCustomString3 |\\r\\ntop 5 by NumberOfViolations desc\\r\\n\\r\\n\",\"size\":0,\"title\":\"Suspicious Files - Top Violating Processes\",\"queryType\":0,\"resourceType\":\"microsoft.operationalinsights/workspaces\",\"visualization\":\"table\",\"chartSettings\":{\"yAxis\":[\"NumberOfViolations\"],\"group\":\"TopViolatingHost\",\"createOtherGroup\":7}},\"customWidth\":\"50\",\"name\":\"Suspicious Files Top Violating Hosts\",\"styleSettings\":{\"maxWidth\":\"50\"}}],\"fromTemplateId\":\"sentinel-IllusiveASM\",\"$schema\":\"https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json\"}\n", "version": "1.0", "sourceId": "[variables('workspaceResourceId')]", "category": "sentinel" @@ -589,41 +933,51 @@ "name": "Illusive Networks", "tier": "Partner", "link": "https://illusive.com/support" + }, + "dependencies": { + "operator": "AND", + "criteria": [ + { + "contentId": "CommonSecurityLog", + "kind": "DataType" + }, + { + "contentId": "illusiveAttackManagementSystem", + "kind": "DataConnector" + }, + { + "contentId": "illusiveAttackManagementSystemAma", + "kind": "DataConnector" + } + ] } } } ] - } + }, + "packageKind": "Solution", + "packageVersion": "[variables('_solutionVersion')]", + "packageName": "[variables('_solutionName')]", + "packageId": "[variables('_solutionId')]", + "contentSchemaVersion": "3.0.0", + "contentId": "[variables('_workbookContentId2')]", + "contentKind": "Workbook", + "displayName": "[parameters('workbook2-name')]", + "contentProductId": "[variables('_workbookcontentProductId2')]", + "id": "[variables('_workbookcontentProductId2')]", + "version": "[variables('workbookVersion2')]" } }, { - "type": "Microsoft.Resources/templateSpecs", - "apiVersion": "2021-05-01", + "type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates", + "apiVersion": "2023-04-01-preview", "name": "[variables('analyticRuleTemplateSpecName1')]", "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "AnalyticsRule" - }, - "properties": { - "description": "Illusive Platform Analytics Rule 1 with template", - "displayName": "Illusive Platform Analytics Rule template" - } - }, - { - "type": "Microsoft.Resources/templateSpecs/versions", - "apiVersion": "2021-05-01", - "name": "[concat(variables('analyticRuleTemplateSpecName1'),'/',variables('analyticRuleVersion1'))]", - "location": "[parameters('workspace-location')]", - "tags": { - "hidden-sentinelWorkspaceId": "[variables('workspaceResourceId')]", - "hidden-sentinelContentType": "AnalyticsRule" - }, "dependsOn": [ - "[resourceId('Microsoft.Resources/templateSpecs', variables('analyticRuleTemplateSpecName1'))]" + "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]" ], "properties": { - "description": "Illusive_Detection_Query_AnalyticalRules Analytics Rule with template version 2.0.1", + "description": "Illusive_Detection_Query_AnalyticalRules Analytics Rule with template version 3.0.0", "mainTemplate": { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "[variables('analyticRuleVersion1')]", @@ -632,12 +986,12 @@ "resources": [ { "type": "Microsoft.SecurityInsights/AlertRuleTemplates", - "name": "[variables('AnalyticRulecontentId1')]", + "name": "[variables('analyticRulecontentId1')]", "apiVersion": "2022-04-01-preview", "kind": "Scheduled", "location": "[parameters('workspace-location')]", "properties": { - "description": "Create a Sentinel incident upon a new Illusive alert (incident) and associate all related Illusive events to the relevant Sentinel alert. This is done by filtering and processing Illusive Syslog messages.", + "description": "Create a Microsoft Sentinel incident upon a new Illusive alert (incident) and associate all related Illusive events to the relevant Microsoft Sentinel alert. This is done by filtering and processing Illusive Syslog messages.", "displayName": "Illusive Incidents Analytic Rule", "enabled": false, "query": "CommonSecurityLog\n| where DeviceProduct == \"illusive\"\n| extend DeviceCustomNumber2 = coalesce(column_ifexists(\"FieldDeviceCustomNumber2\", long(null)),DeviceCustomNumber2)\n| summarize arg_max(TimeGenerated, *) by DeviceCustomNumber2, AdditionalExtensions, TimeGenerated\n| extend Category = extract(@'cat=([^;]+)(\\;|$)', 1, AdditionalExtensions), HasForensics = extract(@'cs7=([^;]+)(\\;|$)', 1, AdditionalExtensions)\n| extend Category = coalesce(column_ifexists(\"DeviceEventCategory\",\"\"),Category)\t\n| where Category == \"illusive:alerts\"\n| extend IncidentId = DeviceCustomNumber2, IncidentURL = DeviceCustomString5\n| project TimeGenerated, SourceIP, SourceHostName,Computer , DeviceEventClassID ,HasForensics ,SourceUserName, Activity, DeviceAddress, DestinationHostName, DestinationUserName, IncidentId, IncidentURL\n", @@ -651,10 +1005,16 @@ "status": "Available", "requiredDataConnectors": [ { + "connectorId": "Illusive", "dataTypes": [ "CommonSecurityLog" - ], - "connectorId": "Illusive" + ] + }, + { + "connectorId": "illusiveAttackManagementSystemAma", + "dataTypes": [ + "CommonSecurityLog" + ] } ], "entityMappings": [ @@ -691,12 +1051,12 @@ }, "customDetails": { "Account": "SourceUserName", - "IllusiveIncidentId": "[variables('_IllusiveIncident')]", - "HasForensics": "HasForensics" + "HasForensics": "HasForensics", + "IllusiveIncidentId": "IncidentId" }, "alertDetailsOverride": { - "alertDescriptionFormat": "Illusive Incident {{IncidentId}} generated at {{TimeGenerated}}\n", - "alertDisplayNameFormat": "Illusive Incident: {{IncidentId}}\n" + "alertDisplayNameFormat": "Illusive Incident: {{IncidentId}}\n", + "alertDescriptionFormat": "Illusive Incident {{IncidentId}} generated at {{TimeGenerated}}\n" } } }, @@ -726,17 +1086,35 @@ } } ] - } + }, + "packageKind": "Solution", + "packageVersion": "[variables('_solutionVersion')]", + "packageName": "[variables('_solutionName')]", + "packageId": "[variables('_solutionId')]", + "contentSchemaVersion": "3.0.0", + "contentId": "[variables('_analyticRulecontentId1')]", + "contentKind": "AnalyticsRule", + "displayName": "Illusive Incidents Analytic Rule", + "contentProductId": "[variables('_analyticRulecontentProductId1')]", + "id": "[variables('_analyticRulecontentProductId1')]", + "version": "[variables('analyticRuleVersion1')]" } }, { - "type": "Microsoft.OperationalInsights/workspaces/providers/metadata", - "apiVersion": "2022-01-01-preview", + "type": "Microsoft.OperationalInsights/workspaces/providers/contentPackages", + "apiVersion": "2023-04-01-preview", "location": "[parameters('workspace-location')]", "properties": { - "version": "2.0.1", + "version": "3.0.0", "kind": "Solution", - "contentSchemaVersion": "2.0.0", + "contentSchemaVersion": "3.0.0", + "displayName": "Illusive Platform", + "publisherDisplayName": "Illusive Networks", + "descriptionHtml": "
Note: There may be known issues pertaining to this Solution, please refer to them before installing.
\nThe Illusive Platform solution for Microsoft Sentinel enables you to ingest Illusive Platform’s attack surface analysis data and incident logs into Microsoft Sentinel and view this information in dedicated dashboards that offer insight into your organization's attack surface risk (ASM Dashboard) and track unauthorized lateral movement in your organization's network (ADS Dashboard).
\nIllusive Platform via AMA - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the new Azure Monitor Agent. Learn more about ingesting using the new Azure Monitor Agent here. Microsoft recommends using this Data Connector.
\nIllusive Platform via Legacy Agent - This data connector helps in ingesting Illusive Platform logs into your Log Analytics Workspace using the legacy Log Analytics agent.
\nNOTE: Microsoft recommends installation of Illusive Platform via AMA Connector. Legacy connector uses the Log Analytics agent which is about to be deprecated by Aug 31, 2024, and thus should only be installed where AMA is not supported. Using MMA and AMA on same machine can cause log duplication and extra ingestion cost more details.
\nData Connectors: 2, Workbooks: 2, Analytic Rules: 1
\nLearn more about Microsoft Sentinel | Learn more about Solutions
\n", + "contentKind": "Solution", + "contentProductId": "[variables('_solutioncontentProductId')]", + "id": "[variables('_solutioncontentProductId')]", + "icon": "", "contentId": "[variables('_solutionId')]", "parentId": "[variables('_solutionId')]", "source": { @@ -760,6 +1138,11 @@ "contentId": "[variables('_dataConnectorContentId1')]", "version": "[variables('dataConnectorVersion1')]" }, + { + "kind": "DataConnector", + "contentId": "[variables('_dataConnectorContentId2')]", + "version": "[variables('dataConnectorVersion2')]" + }, { "kind": "Workbook", "contentId": "[variables('_workbookContentId1')]", diff --git a/Solutions/Illusive Platform/ReleaseNotes.md b/Solutions/Illusive Platform/ReleaseNotes.md new file mode 100644 index 00000000000..07f9b231e3b --- /dev/null +++ b/Solutions/Illusive Platform/ReleaseNotes.md @@ -0,0 +1,5 @@ +| **Version** | **Date Modified (DD-MM-YYYY)** | **Change History** | +|-------------|--------------------------------|--------------------------------------------------------------------| +| 3.0.0 | 13-09-2023 | Addition of new Illusive Platform AMA **Data Connector** | | + + diff --git a/Tools/Create-Azure-Sentinel-Solution/V2/WorkbookMetadata/WorkbooksMetadata.json b/Tools/Create-Azure-Sentinel-Solution/V2/WorkbookMetadata/WorkbooksMetadata.json index 4339b8d5aed..2af50955b7e 100644 --- a/Tools/Create-Azure-Sentinel-Solution/V2/WorkbookMetadata/WorkbooksMetadata.json +++ b/Tools/Create-Azure-Sentinel-Solution/V2/WorkbookMetadata/WorkbooksMetadata.json @@ -1191,7 +1191,8 @@ "CommonSecurityLog" ], "dataConnectorsDependencies": [ - "illusiveAttackManagementSystem" + "illusiveAttackManagementSystem", + "illusiveAttackManagementSystemAma" ], "previewImagesFileNames": [ "IllusiveASMWhite.png", @@ -1211,7 +1212,8 @@ "CommonSecurityLog" ], "dataConnectorsDependencies": [ - "illusiveAttackManagementSystem" + "illusiveAttackManagementSystem", + "illusiveAttackManagementSystemAma" ], "previewImagesFileNames": [ "IllusiveADSWhite.png",