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

NGINX - Core Dump

Back
Id9a7f5a97-354b-4eac-b407-a1cc7fc4b4ec
RulenameNGINX - Core Dump
DescriptionDetects a core dump of a crashing Nginx worker process, which could be a signal of a serious problem or exploitation attempts.
SeverityHigh
TacticsImpact
TechniquesT1499
Required data connectorsNGINXHTTPServer
KindScheduled
Query frequency10m
Query period10m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/NGINX HTTP Server/Analytic Rules/NGINXCoreDump.yaml
Version1.0.1
Arm template9a7f5a97-354b-4eac-b407-a1cc7fc4b4ec.json
Deploy To Azure
NGINXHTTPServer
| where EventType =~ "ErrorLog"
| where EventMessage contains 'exited on signal 6 (core dumped)'
| extend ProcessIdCustomEntity = ProcessId
name: NGINX - Core Dump
triggerOperator: gt
status: Available
relevantTechniques:
- T1499
query: |
  NGINXHTTPServer
  | where EventType =~ "ErrorLog"
  | where EventMessage contains 'exited on signal 6 (core dumped)'
  | extend ProcessIdCustomEntity = ProcessId  
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/NGINX HTTP Server/Analytic Rules/NGINXCoreDump.yaml
description: |
    'Detects a core dump of a crashing Nginx worker process, which could be a signal of a serious problem or exploitation attempts.'
triggerThreshold: 0
id: 9a7f5a97-354b-4eac-b407-a1cc7fc4b4ec
kind: Scheduled
severity: High
version: 1.0.1
entityMappings:
- fieldMappings:
  - identifier: ProcessId
    columnName: ProcessIdCustomEntity
  entityType: Process
queryFrequency: 10m
queryPeriod: 10m
requiredDataConnectors:
- dataTypes:
  - NGINXHTTPServer
  connectorId: NGINXHTTPServer
tactics:
- Impact
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/9a7f5a97-354b-4eac-b407-a1cc7fc4b4ec')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/9a7f5a97-354b-4eac-b407-a1cc7fc4b4ec')]",
      "properties": {
        "alertRuleTemplateName": "9a7f5a97-354b-4eac-b407-a1cc7fc4b4ec",
        "customDetails": null,
        "description": "'Detects a core dump of a crashing Nginx worker process, which could be a signal of a serious problem or exploitation attempts.'\n",
        "displayName": "NGINX - Core Dump",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Process",
            "fieldMappings": [
              {
                "columnName": "ProcessIdCustomEntity",
                "identifier": "ProcessId"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/NGINX HTTP Server/Analytic Rules/NGINXCoreDump.yaml",
        "query": "NGINXHTTPServer\n| where EventType =~ \"ErrorLog\"\n| where EventMessage contains 'exited on signal 6 (core dumped)'\n| extend ProcessIdCustomEntity = ProcessId\n",
        "queryFrequency": "PT10M",
        "queryPeriod": "PT10M",
        "severity": "High",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "techniques": [
          "T1499"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}