Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Malware Link Clicked

Back
Id8675dd7a-795e-4d56-a79c-fc848c5ee61c
RulenameMalware Link Clicked
DescriptionThis query identifies a user clicking on an email link whose threat category is classified as a malware
SeverityMedium
TacticsInitialAccess
TechniquesT1566.002
Required data connectorsProofpointTAP
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ProofPointTap/Analytic Rules/MalwareLinkClicked.yaml
Version1.0.4
Arm template8675dd7a-795e-4d56-a79c-fc848c5ee61c.json
Deploy To Azure
ProofPointTAPClicksPermitted_CL
| where classification_s =~ "malware"
| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), count() by TimeGenerated, Sender = sender_s, SenderIPAddress = senderIP_s, Recipient = recipient_s, TimeClicked = clickTime_t, URLClicked = url_s
| extend RecipientName = tostring(split(Recipient, "@")[0]), RecipientUPNSuffix = tostring(split(Recipient, "@")[1])
| extend SenderName = tostring(split(Sender, "@")[0]), SenderUPNSuffix = tostring(split(Sender, "@")[1])
relevantTechniques:
- T1566.002
name: Malware Link Clicked
requiredDataConnectors:
- dataTypes:
  - ProofPointTAPClicksPermitted_CL
  connectorId: ProofpointTAP
entityMappings:
- fieldMappings:
  - identifier: FullName
    columnName: Recipient
  - identifier: Name
    columnName: RecipientName
  - identifier: UPNSuffix
    columnName: RecipientUPNSuffix
  entityType: Account
- fieldMappings:
  - identifier: FullName
    columnName: Sender
  - identifier: Name
    columnName: SenderName
  - identifier: UPNSuffix
    columnName: SenderUPNSuffix
  entityType: Account
- fieldMappings:
  - identifier: Address
    columnName: SenderIPAddress
  entityType: IP
- fieldMappings:
  - identifier: Url
    columnName: URLClicked
  entityType: URL
triggerThreshold: 0
id: 8675dd7a-795e-4d56-a79c-fc848c5ee61c
tactics:
- InitialAccess
version: 1.0.4
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ProofPointTap/Analytic Rules/MalwareLinkClicked.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
    'This query identifies a user clicking on an email link whose threat category is classified as a malware'
query: |
  ProofPointTAPClicksPermitted_CL
  | where classification_s =~ "malware"
  | summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), count() by TimeGenerated, Sender = sender_s, SenderIPAddress = senderIP_s, Recipient = recipient_s, TimeClicked = clickTime_t, URLClicked = url_s
  | extend RecipientName = tostring(split(Recipient, "@")[0]), RecipientUPNSuffix = tostring(split(Recipient, "@")[1])
  | extend SenderName = tostring(split(Sender, "@")[0]), SenderUPNSuffix = tostring(split(Sender, "@")[1])  
triggerOperator: gt
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/8675dd7a-795e-4d56-a79c-fc848c5ee61c')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/8675dd7a-795e-4d56-a79c-fc848c5ee61c')]",
      "properties": {
        "alertRuleTemplateName": "8675dd7a-795e-4d56-a79c-fc848c5ee61c",
        "customDetails": null,
        "description": "'This query identifies a user clicking on an email link whose threat category is classified as a malware'\n",
        "displayName": "Malware Link Clicked",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "Recipient",
                "identifier": "FullName"
              },
              {
                "columnName": "RecipientName",
                "identifier": "Name"
              },
              {
                "columnName": "RecipientUPNSuffix",
                "identifier": "UPNSuffix"
              }
            ]
          },
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "Sender",
                "identifier": "FullName"
              },
              {
                "columnName": "SenderName",
                "identifier": "Name"
              },
              {
                "columnName": "SenderUPNSuffix",
                "identifier": "UPNSuffix"
              }
            ]
          },
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "SenderIPAddress",
                "identifier": "Address"
              }
            ]
          },
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "URLClicked",
                "identifier": "Url"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ProofPointTap/Analytic Rules/MalwareLinkClicked.yaml",
        "query": "ProofPointTAPClicksPermitted_CL\n| where classification_s =~ \"malware\"\n| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), count() by TimeGenerated, Sender = sender_s, SenderIPAddress = senderIP_s, Recipient = recipient_s, TimeClicked = clickTime_t, URLClicked = url_s\n| extend RecipientName = tostring(split(Recipient, \"@\")[0]), RecipientUPNSuffix = tostring(split(Recipient, \"@\")[1])\n| extend SenderName = tostring(split(Sender, \"@\")[0]), SenderUPNSuffix = tostring(split(Sender, \"@\")[1])\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [
          "T1566.002"
        ],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1566"
        ],
        "templateVersion": "1.0.4",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}