Back
Idead4deed-9d48-4646-aee0-6b46c2dd1ae6
RulenameSpyCloud infostealer malware credential exposure
DescriptionIdentifies credentials harvested by infostealer malware on a compromised device. This

exposure may indicate an actively compromised endpoint with associated command-and-control

risk.
SeverityHigh
TacticsCredentialAccess
CommandAndControl
TechniquesT1555
T1071
Required data connectorsSpyCloudEnterpriseProtectionCCF
Kindscheduled
Query frequency1h
Query period1d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SpyCloud%20Enterprise%20Protection%20CCF/Analytic%20Rules/AR_malware_25.yaml
Version1.0.0
Arm templateead4deed-9d48-4646-aee0-6b46c2dd1ae6.json
Deploy To Azure
// Human-readable constant for the severity threshold used below
let severityThreshold = 25;
SpyCloudBreachWatchlistV2_CL
| where Severity == severityThreshold
| mv-expand IPAddress = IPAddresses to typeof(string)
| extend AccountName = Username, AccountEmail = Email, HostName = UserHostName
| project TimeGenerated, DocumentId, SourceId, SpyCloudPublishDate, AccountEmail,
    AccountName, HostName, InfectedMachineId, InfectedTime, UserOS, IPAddress
severity: High
tactics:
- CredentialAccess
- CommandAndControl
queryFrequency: 1h
id: ead4deed-9d48-4646-aee0-6b46c2dd1ae6
query: |
  // Human-readable constant for the severity threshold used below
  let severityThreshold = 25;
  SpyCloudBreachWatchlistV2_CL
  | where Severity == severityThreshold
  | mv-expand IPAddress = IPAddresses to typeof(string)
  | extend AccountName = Username, AccountEmail = Email, HostName = UserHostName
  | project TimeGenerated, DocumentId, SourceId, SpyCloudPublishDate, AccountEmail,
      AccountName, HostName, InfectedMachineId, InfectedTime, UserOS, IPAddress
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountName
  entityType: Account
- fieldMappings:
  - identifier: HostName
    columnName: HostName
  entityType: Host
- fieldMappings:
  - identifier: Address
    columnName: IPAddress
  entityType: IP
kind: scheduled
triggerOperator: gt
name: SpyCloud infostealer malware credential exposure
version: 1.0.0
requiredDataConnectors:
- dataTypes:
  - SpyCloudBreachWatchlistV2_CL
  connectorId: SpyCloudEnterpriseProtectionCCF
description: |
  'Identifies credentials harvested by infostealer malware on a compromised device. This
  exposure may indicate an actively compromised endpoint with associated command-and-control
  risk.'
relevantTechniques:
- T1555
- T1071
queryPeriod: 1d
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SpyCloud%20Enterprise%20Protection%20CCF/Analytic%20Rules/AR_malware_25.yaml
triggerThreshold: 0
eventGroupingSettings:
  aggregationKind: SingleAlert
{
  "$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/ead4deed-9d48-4646-aee0-6b46c2dd1ae6')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/ead4deed-9d48-4646-aee0-6b46c2dd1ae6')]",
      "properties": {
        "alertRuleTemplateName": "ead4deed-9d48-4646-aee0-6b46c2dd1ae6",
        "customDetails": null,
        "description": "'Identifies credentials harvested by infostealer malware on a compromised device. This\nexposure may indicate an actively compromised endpoint with associated command-and-control\nrisk.'\n",
        "displayName": "SpyCloud infostealer malware credential exposure",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountName",
                "identifier": "Name"
              }
            ]
          },
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "HostName",
                "identifier": "HostName"
              }
            ]
          },
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "IPAddress",
                "identifier": "Address"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "SingleAlert"
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SpyCloud%20Enterprise%20Protection%20CCF/Analytic%20Rules/AR_malware_25.yaml",
        "query": "// Human-readable constant for the severity threshold used below\nlet severityThreshold = 25;\nSpyCloudBreachWatchlistV2_CL\n| where Severity == severityThreshold\n| mv-expand IPAddress = IPAddresses to typeof(string)\n| extend AccountName = Username, AccountEmail = Email, HostName = UserHostName\n| project TimeGenerated, DocumentId, SourceId, SpyCloudPublishDate, AccountEmail,\n    AccountName, HostName, InfectedMachineId, InfectedTime, UserOS, IPAddress\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "P1D",
        "severity": "High",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "CommandAndControl",
          "CredentialAccess"
        ],
        "techniques": [
          "T1071",
          "T1555"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}