Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

341 KB
Raw Blame
{
  "count": 768,
  "rules": [
    {
      "category": "application",
      "id": "det-application-001",
      "match_when": {
        "request_uri_pattern_match_any": [
          "UNION SELECT",
          "OR '1'='1",
          "; DROP TABLE",
          "1=1--",
          "sleep\\(",
          "benchmark\\("
        ]
      },
      "mitre": [
        "T1190"
      ],
      "name": "SQL Injection Attempt in HTTP Query",
      "product": "waf",
      "service": "http",
      "severity": "high",
      "slug": "sql-injection-attempt"
    },
    {
      "category": "application",
      "id": "det-application-002",
      "match_when": {
        "request_uri_pattern_match_any": [
          "<script>",
          "javascript:",
          "onerror=",
          "<svg/onload=",
          "document.cookie"
        ]
      },
      "mitre": [
        "T1190"
      ],
      "name": "Cross-Site Scripting Attempt",
      "product": "waf",
      "service": "http",
      "severity": "high",
      "slug": "xss-attempt"
    },
    {
      "category": "application",
      "id": "det-application-003",
      "match_when": {
        "request_uri_pattern_match_any": [
          "\\.\\./",
          "\\.\\.\\\\",
          "%2e%2e%2f",
          "%2e%2e/",
          "\\.\\.%2f"
        ]
      },
      "mitre": [
        "T1083"
      ],
      "name": "Path Traversal Attempt in HTTP Request",
      "product": "waf",
      "service": "http",
      "severity": "high",
      "slug": "path-traversal"
    },
    {
      "category": "application",
      "id": "det-application-004",
      "match_when": {
        "request_uri_pattern_match_any": [
          "169\\.254\\.169\\.254",
          "metadata\\.google\\.internal",
          "metadata\\.azure\\.com",
          "127\\.0\\.0\\.1:80"
        ]
      },
      "mitre": [
        "T1190",
        "T1212"
      ],
      "name": "SSRF Attempt to Cloud Metadata Endpoint",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "ssrf-attempt"
    },
    {
      "category": "application",
      "id": "det-application-005",
      "match_when": {
        "header_value_pattern_match_any": [
          "\\$\\{jndi:ldap:",
          "\\$\\{jndi:dns:",
          "\\$\\{jndi:rmi:"
        ]
      },
      "mitre": [
        "T1190"
      ],
      "name": "Log4Shell JNDI Pattern in HTTP Header",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "log4shell"
    },
    {
      "category": "application",
      "id": "det-application-006",
      "match_when": {
        "file_extension_in": [
          ".jsp",
          ".php",
          ".asp",
          ".aspx"
        ],
        "method_in": [
          "POST",
          "PUT"
        ],
        "request_uri_contains_any": [
          "/upload",
          "/wp-content/",
          "/cgi-bin/"
        ]
      },
      "mitre": [
        "T1505.003"
      ],
      "name": "Webshell File Upload Pattern",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "webshell-upload"
    },
    {
      "category": "application",
      "id": "det-application-007",
      "match_when": {
        "request_uri_pattern_match_any": [
          ";\\s?cat /etc/passwd",
          "\\| nc ",
          "&& curl ",
          "`id`",
          "\\$\\(whoami\\)"
        ]
      },
      "mitre": [
        "T1059"
      ],
      "name": "OS Command Injection in HTTP Parameter",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "command-injection"
    },
    {
      "category": "application",
      "id": "det-application-009",
      "match_when": {
        "request_body_contains_any": [
          "__schema",
          "__typename"
        ],
        "request_uri_endswith": "/graphql"
      },
      "mitre": [
        "T1592"
      ],
      "name": "GraphQL Introspection Query in Production",
      "product": "waf",
      "service": "http",
      "severity": "low",
      "slug": "graphql-introspection"
    },
    {
      "category": "application",
      "id": "det-application-010",
      "match_when": {
        "request_body_pattern_match_any": [
          "AKIA[0-9A-Z]{16}",
          "ghp_[A-Za-z0-9]{36}",
          "AIza[0-9A-Za-z\\-_]{35}",
          "xox[baprs]-"
        ]
      },
      "mitre": [
        "T1552.001"
      ],
      "name": "Hard-Coded API Key Pattern Leaked in HTTP Request",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "api-key-leak-in-request"
    },
    {
      "category": "application",
      "id": "det-application-011",
      "match_when": {
        "user_agent_contains_any": [
          "sqlmap",
          "nikto",
          "wpscan",
          "fuzzfaster",
          "ffuf"
        ]
      },
      "mitre": [
        "T1595.002"
      ],
      "name": "Known-Bad Scanner User-Agent",
      "product": "waf",
      "service": "http",
      "severity": "low",
      "slug": "user-agent-known-tool"
    },
    {
      "category": "application",
      "id": "det-application-012",
      "match_when": {
        "authorization_header_jwt_alg": "none"
      },
      "mitre": [
        "T1078"
      ],
      "name": "JWT With alg=none in Authorization Header",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "jwt-none-alg"
    },
    {
      "category": "application",
      "id": "det-application-013",
      "match_when": {
        "request_uri_contains_any": [
          "?next=http",
          "?redirect=http",
          "?url=http"
        ]
      },
      "mitre": [
        "T1204.001"
      ],
      "name": "Open Redirect Pattern in URL Parameter",
      "product": "waf",
      "service": "http",
      "severity": "medium",
      "slug": "open-redirect"
    },
    {
      "category": "application",
      "id": "det-application-014",
      "match_when": {
        "package_name_in_internal_namespace": true,
        "package_source_in": [
          "public-npm",
          "public-pypi",
          "public-rubygems"
        ]
      },
      "mitre": [
        "T1195.002"
      ],
      "name": "Build Pipeline Fetched Public Package With Internal Name",
      "product": "build",
      "service": "package",
      "severity": "high",
      "slug": "dependency-confusion-fetch"
    },
    {
      "category": "application",
      "id": "det-application-015",
      "match_when": {
        "log_line_pattern_match_any": [
          "AKIA[0-9A-Z]{16}",
          "ghp_[A-Za-z0-9]{36}",
          "-----BEGIN PRIVATE KEY-----"
        ]
      },
      "mitre": [
        "T1552.001"
      ],
      "name": "Secret-Pattern Match in CI Job Log",
      "product": "ci",
      "service": "logs",
      "severity": "high",
      "slug": "ci-secret-printed-to-log"
    },
    {
      "category": "application",
      "id": "det-application-017",
      "match_when": {
        "action": "repo.access",
        "public_repo": true
      },
      "mitre": [
        "T1530"
      ],
      "name": "Internal Repository Made Public",
      "product": "github",
      "service": "audit",
      "severity": "critical",
      "slug": "github-public-repo-flip"
    },
    {
      "category": "application",
      "id": "det-application-018",
      "match_when": {
        "image_registry_in_allowlist": false,
        "object_resource": "pods",
        "verb": "create"
      },
      "mitre": [
        "T1525"
      ],
      "name": "Kubernetes Pulled Image From Untrusted Registry",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "container-image-pulled-untrusted-registry"
    },
    {
      "category": "application",
      "id": "det-application-021",
      "match_when": {
        "method": "POST",
        "origin_present": false,
        "referer_present": false,
        "request_uri_in_sensitive_paths": true
      },
      "mitre": [
        "T1190"
      ],
      "name": "POST Without Referer/Origin to Sensitive Endpoint",
      "product": "waf",
      "service": "http",
      "severity": "medium",
      "slug": "csrf-on-sensitive-mutation"
    },
    {
      "category": "application",
      "id": "det-application-022",
      "match_when": {
        "request_body_pattern_match_any": [
          "rO0AB",
          "AAEAAAD",
          "_\\$\\$ND_FUNC\\$\\$_"
        ]
      },
      "mitre": [
        "T1190"
      ],
      "name": "Java/Python Deserialization Pattern",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "deserialization-attack"
    },
    {
      "category": "application",
      "id": "det-application-023",
      "match_when": {
        "event_type": "runners.register",
        "runner_scope": "shared"
      },
      "mitre": [
        "T1525"
      ],
      "name": "GitLab Runner Registered as Shared Without Approval",
      "product": "gitlab",
      "service": "audit",
      "severity": "high",
      "slug": "gitlab-runner-shared-tag"
    },
    {
      "category": "application",
      "id": "det-application-025",
      "match_when": {
        "channel_visibility": "public",
        "event_type": "message.posted",
        "message_text_pattern_match_any": [
          "xoxp-",
          "xoxb-",
          "xoxa-"
        ]
      },
      "mitre": [
        "T1552.004"
      ],
      "name": "Slack Token Posted in Public Channel",
      "product": "slack",
      "service": "audit",
      "severity": "high",
      "slug": "slack-token-exposed"
    },
    {
      "category": "application",
      "id": "det-application-026",
      "match_when": {
        "event_type": "marketplace.app.installed",
        "scope_set_contains_any": [
          "mail.full",
          "drive.full",
          "directory.readwrite"
        ]
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Marketplace App Installed With Broad Scopes",
      "product": "google-workspace",
      "service": "audit",
      "severity": "medium",
      "slug": "saas-app-installed"
    },
    {
      "category": "application",
      "id": "det-application-027",
      "match_when": {
        "event_type": "FileRead",
        "file_path_endswith_any": [
          "Login Data",
          "logins.json",
          "key3.db",
          "key4.db"
        ]
      },
      "mitre": [
        "T1555.003"
      ],
      "name": "Process Reading Browser Login Database",
      "product": "edr",
      "service": "file-read",
      "severity": "high",
      "slug": "browser-credential-grabber"
    },
    {
      "category": "application",
      "id": "det-application-028",
      "match_when": {
        "dst_ip_class": "internet",
        "dst_port": 3389,
        "src_role": "workstation"
      },
      "mitre": [
        "T1572"
      ],
      "name": "Outbound RDP Connection Initiated From Workstation to Internet",
      "product": "ndr",
      "service": "flow",
      "severity": "high",
      "slug": "rdp-tickling"
    },
    {
      "category": "application",
      "id": "det-application-029",
      "match_when": {
        "url_brand_impersonation_in": [
          "microsoft",
          "office365",
          "okta",
          "google-login"
        ]
      },
      "mitre": [
        "T1566.002"
      ],
      "name": "Microsoft 365 Brand Impersonation Phishing URL",
      "product": "email",
      "service": "messages",
      "severity": "high",
      "slug": "phishing-ms365-impersonation"
    },
    {
      "category": "application",
      "id": "det-application-030",
      "match_when": {
        "attachment_filename_match": ".+\\.(pdf|doc|xls|jpg|png)\\.(exe|js|vbs|scr|jar)$"
      },
      "mitre": [
        "T1566.001"
      ],
      "name": "Email Attachment with Double Extension Pattern",
      "product": "email",
      "service": "messages",
      "severity": "medium",
      "slug": "phishing-attachment-double-extension"
    },
    {
      "category": "application",
      "id": "det-application-031",
      "match_when": {
        "body_contains_any": [
          "{{7*7}}",
          "${7*7}",
          "{%7*7%}",
          "<%= 7*7 %>"
        ],
        "event_type": "http_request"
      },
      "mitre": [
        "T1190"
      ],
      "name": "Server-Side Template Injection Pattern In Request",
      "product": "waf",
      "service": "http",
      "severity": "high",
      "slug": "app-ssti-pattern"
    },
    {
      "category": "application",
      "id": "det-application-032",
      "match_when": {
        "body_contains_any": [
          "<!ENTITY",
          "SYSTEM \"file://",
          "SYSTEM \"http://"
        ],
        "event_type": "http_request"
      },
      "mitre": [
        "T1190"
      ],
      "name": "XML External Entity Reference In Request Body",
      "product": "waf",
      "service": "http",
      "severity": "high",
      "slug": "app-xxe-pattern"
    },
    {
      "category": "application",
      "id": "det-application-033",
      "match_when": {
        "body_contains_any": [
          "$ne\":",
          "$gt\":",
          "$where\":",
          "$regex\":"
        ],
        "event_type": "http_request"
      },
      "mitre": [
        "T1190"
      ],
      "name": "NoSQL Injection Operator In Request",
      "product": "waf",
      "service": "http",
      "severity": "high",
      "slug": "app-nosql-injection"
    },
    {
      "category": "application",
      "id": "det-application-034",
      "match_when": {
        "body_contains": "__schema",
        "environment": "prod",
        "event_type": "http_request",
        "uri": "/graphql"
      },
      "mitre": [
        "T1213"
      ],
      "name": "GraphQL Introspection Query Against Production",
      "product": "api-gateway",
      "service": "http",
      "severity": "medium",
      "slug": "app-graphql-introspection"
    },
    {
      "category": "application",
      "id": "det-application-035",
      "match_when": {
        "event_type": "http_request",
        "query_depth_gt": 10,
        "uri": "/graphql"
      },
      "mitre": [
        "T1499"
      ],
      "name": "GraphQL Query With Excessive Recursion Depth",
      "product": "api-gateway",
      "service": "http",
      "severity": "medium",
      "slug": "app-graphql-deep-recursion"
    },
    {
      "category": "application",
      "id": "det-application-036",
      "match_when": {
        "any_header_value_contains_any": [
          "${jndi:ldap://",
          "${jndi:rmi://",
          "${jndi:dns://"
        ],
        "event_type": "http_request"
      },
      "mitre": [
        "T1190"
      ],
      "name": "JNDI LDAP Lookup Pattern (Log4Shell-Style)",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "app-jndi-log4shell"
    },
    {
      "category": "application",
      "id": "det-application-037",
      "match_when": {
        "body_contains_any": [
          "class.module.classloader",
          "class.classLoader"
        ],
        "event_type": "http_request"
      },
      "mitre": [
        "T1190"
      ],
      "name": "Spring4Shell Class Loader Manipulation Pattern",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "app-spring4shell-pattern"
    },
    {
      "category": "application",
      "id": "det-application-038",
      "match_when": {
        "body_contains_any": [
          "rO0AB",
          "AAEAAAD/////AQAAAAAAAAAM",
          "TypeObject"
        ],
        "event_type": "http_request"
      },
      "mitre": [
        "T1059"
      ],
      "name": "Java/.NET Deserialization Marker In Body",
      "product": "waf",
      "service": "http",
      "severity": "critical",
      "slug": "app-deserialization-rce-marker"
    },
    {
      "category": "application",
      "id": "det-application-039",
      "match_when": {
        "event_type": "session_validate",
        "hmac_valid": false
      },
      "mitre": [
        "T1185"
      ],
      "name": "Session Cookie Failed HMAC Verification",
      "product": "application",
      "service": "auth",
      "severity": "medium",
      "slug": "app-cookie-tampered-hmac"
    },
    {
      "category": "application",
      "id": "det-application-041",
      "match_when": {
        "event_type": "ws_upgrade",
        "origin_matches_allowed_list": false
      },
      "mitre": [
        "T1190"
      ],
      "name": "WebSocket Upgrade From Cross-Origin Header",
      "product": "application",
      "service": "ws",
      "severity": "medium",
      "slug": "app-websocket-origin-bypass"
    },
    {
      "category": "application",
      "id": "det-application-042",
      "match_when": {
        "any_header_value_contains_any": [
          "%0d%0a",
          "\\r\\n"
        ],
        "event_type": "http_request"
      },
      "mitre": [
        "T1190"
      ],
      "name": "CRLF Sequence In HTTP Header Value",
      "product": "waf",
      "service": "http",
      "severity": "high",
      "slug": "app-crlf-header-injection"
    },
    {
      "category": "application",
      "id": "det-application-043",
      "match_when": {
        "event_type": "dns_response",
        "qtype": "CNAME",
        "target_endswith_any": [
          ".herokudns.com",
          ".github.io",
          ".azurewebsites.net"
        ],
        "target_resolves": false
      },
      "mitre": [
        "T1583.001"
      ],
      "name": "CNAME Pointing To Deleted SaaS Tenant",
      "product": "dns",
      "service": "resolver",
      "severity": "high",
      "slug": "app-subdomain-takeover-cname"
    },
    {
      "category": "application",
      "id": "det-application-044",
      "match_when": {
        "event_type": "http_response",
        "header_access_control_allow_credentials": "true",
        "header_access_control_allow_origin": "*"
      },
      "mitre": [
        "T1190"
      ],
      "name": "CORS Response With Wildcard Origin And Credentials Allowed",
      "product": "application",
      "service": "http",
      "severity": "medium",
      "slug": "app-cors-wildcard-with-creds"
    },
    {
      "category": "application",
      "id": "det-application-045",
      "match_when": {
        "csp_header_present": false,
        "environment": "prod",
        "event_type": "http_response"
      },
      "mitre": [
        "T1190"
      ],
      "name": "Content-Security-Policy Header Removed From Production Response",
      "product": "application",
      "service": "http",
      "severity": "medium",
      "slug": "app-csp-disabled"
    },
    {
      "category": "application",
      "id": "det-application-047",
      "match_when": {
        "action_in": [
          "org.register_self_hosted_runner",
          "repo.register_self_hosted_runner"
        ],
        "ip_is_internal": false
      },
      "mitre": [
        "T1199"
      ],
      "name": "Self-Hosted Runner Registered From External IP",
      "product": "github",
      "service": "actions",
      "severity": "critical",
      "slug": "app-self-hosted-runner-external"
    },
    {
      "category": "application",
      "id": "det-application-048",
      "match_when": {
        "event_type": "key_rotation",
        "in_change_window": false
      },
      "mitre": [
        "T1554"
      ],
      "name": "Build Artifact Signing Key Rotated Outside Maintenance Window",
      "product": "ci",
      "service": "signing",
      "severity": "high",
      "slug": "app-build-signing-key-rotated"
    },
    {
      "category": "application",
      "id": "det-application-049",
      "match_when": {
        "event_type": "helm_install",
        "repo_url_endswith_in_allow_list": false
      },
      "mitre": [
        "T1195.002"
      ],
      "name": "Helm Install From Unknown Chart Repository",
      "product": "kubernetes",
      "service": "helm",
      "severity": "high",
      "slug": "app-helm-chart-untrusted-repo"
    },
    {
      "category": "application",
      "id": "det-application-050",
      "match_when": {
        "command": "destroy",
        "event_type": "terraform_run",
        "workspace_in": [
          "prod",
          "production"
        ]
      },
      "mitre": [
        "T1485"
      ],
      "name": "terraform destroy Run Targeting Production Workspace",
      "product": "terraform",
      "service": "cli",
      "severity": "critical",
      "slug": "app-terraform-destroy-prod"
    },
    {
      "category": "application",
      "id": "det-application-051",
      "match_when": {
        "event_type": "secret_create",
        "value_contains": "hooks.slack.com/services/"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Newly Created Secret Has Slack Webhook Pattern",
      "product": "vault",
      "service": "secrets",
      "severity": "high",
      "slug": "app-secret-published-to-slack"
    },
    {
      "category": "application",
      "id": "det-application-052",
      "match_when": {
        "action": "public_key.create",
        "repo_contains": "/"
      },
      "mitre": [
        "T1098.004"
      ],
      "name": "SSH Deploy Key Added To GitHub Repository",
      "product": "github",
      "service": "repo",
      "severity": "medium",
      "slug": "app-deploy-key-added-github"
    },
    {
      "category": "application",
      "id": "det-application-054",
      "match_when": {
        "event_type": "package_publish",
        "publisher_ip_seen_before": false
      },
      "mitre": [
        "T1195.002"
      ],
      "name": "PyPI Package Published From New IP",
      "product": "pypi",
      "service": "registry",
      "severity": "medium",
      "slug": "app-pypi-package-publish-new-ip"
    },
    {
      "category": "application",
      "id": "det-application-056",
      "match_when": {
        "cvss_max_gte": 9.0,
        "event_type": "scan_result",
        "registry_environment": "prod"
      },
      "mitre": [
        "T1525"
      ],
      "name": "Container Image With Critical CVE Pushed To Prod Registry",
      "product": "container-registry",
      "service": "scan",
      "severity": "high",
      "slug": "app-image-critical-cve-pushed"
    },
    {
      "category": "application",
      "id": "det-application-057",
      "match_when": {
        "action_in": [
          "protected_branch.policy_override",
          "protected_branch.destroy"
        ]
      },
      "mitre": [
        "T1098.004"
      ],
      "name": "Branch Protection Disabled On Protected Branch",
      "product": "github",
      "service": "repo",
      "severity": "high",
      "slug": "app-protected-branch-disabled"
    },
    {
      "category": "application",
      "id": "det-application-059",
      "match_when": {
        "event_type": "SandboxRefresh",
        "in_change_window": false
      },
      "mitre": [
        "T1199"
      ],
      "name": "Salesforce Sandbox Refreshed Outside Change Window",
      "product": "salesforce",
      "service": "audit",
      "severity": "medium",
      "slug": "app-salesforce-sandbox-refresh-anomaly"
    },
    {
      "category": "application",
      "id": "det-application-060",
      "match_when": {
        "event_type": "BankAccountChange",
        "linked_ticket": false
      },
      "mitre": [
        "T1098"
      ],
      "name": "Workday Banking Info Changed Without HR Ticket",
      "product": "workday",
      "service": "audit",
      "severity": "high",
      "slug": "app-workday-bank-info-changed"
    },
    {
      "category": "application",
      "id": "det-application-061",
      "match_when": {
        "event_type": "recording_share",
        "share_type": "external"
      },
      "mitre": [
        "T1530"
      ],
      "name": "Zoom Cloud Recording Shared Externally",
      "product": "zoom",
      "service": "audit",
      "severity": "medium",
      "slug": "app-zoom-recording-shared-external"
    },
    {
      "category": "application",
      "id": "det-application-063",
      "match_when": {
        "actor_is_admin": false,
        "event_type": "workspace.export"
      },
      "mitre": [
        "T1530"
      ],
      "name": "Notion Workspace Exported By Non-Admin",
      "product": "notion",
      "service": "audit",
      "severity": "high",
      "slug": "app-notion-workspace-export"
    },
    {
      "category": "application",
      "id": "det-application-064",
      "match_when": {
        "event_type": "space.export",
        "size_bytes_gt": 524288000
      },
      "mitre": [
        "T1530"
      ],
      "name": "Confluence Bulk Space Export",
      "product": "confluence",
      "service": "audit",
      "severity": "medium",
      "slug": "app-confluence-space-export-bulk"
    },
    {
      "category": "application",
      "id": "det-application-066",
      "match_when": {
        "channel_type": "external",
        "event_type": "file_shared"
      },
      "mitre": [
        "T1567.002"
      ],
      "name": "Slack File Shared To External Channel",
      "product": "slack",
      "service": "audit",
      "severity": "medium",
      "slug": "app-slack-file-shared-external"
    },
    {
      "category": "application",
      "id": "det-application-067",
      "match_when": {
        "event_type": "channel_convert_to_public"
      },
      "mitre": [
        "T1213"
      ],
      "name": "Slack Private Channel Converted To Public",
      "product": "slack",
      "service": "audit",
      "severity": "medium",
      "slug": "app-slack-channel-public-conversion"
    },
    {
      "category": "application",
      "id": "det-application-068",
      "match_when": {
        "event_type": "AnonymousLinkCreated",
        "sensitivity_label_in": [
          "Confidential",
          "Highly Confidential"
        ]
      },
      "mitre": [
        "T1567.002"
      ],
      "name": "OneDrive Anonymous Sharing Link Created For Sensitive File",
      "product": "m365",
      "service": "audit",
      "severity": "high",
      "slug": "app-onedrive-anonymous-link-sensitive"
    },
    {
      "category": "application",
      "id": "det-application-069",
      "match_when": {
        "event_type": "TenantSettingChanged",
        "setting": "SharingCapability",
        "value": "ExternalUserSharingOnly"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "SharePoint Tenant-Wide Guest Access Enabled",
      "product": "m365",
      "service": "audit",
      "severity": "high",
      "slug": "app-sharepoint-guest-tenantwide"
    },
    {
      "category": "application",
      "id": "det-application-070",
      "match_when": {
        "actor_authenticated": false,
        "event_type": "graphql_op",
        "op_type": "mutation"
      },
      "mitre": [
        "T1190"
      ],
      "name": "GraphQL Mutation Executed By Anonymous Caller",
      "product": "api-gateway",
      "service": "http",
      "severity": "high",
      "slug": "app-graphql-mutation-anonymous"
    },
    {
      "category": "application",
      "id": "det-application-071",
      "match_when": {
        "event_type_endswith": ".api_key.created"
      },
      "mitre": [
        "T1098"
      ],
      "name": "LLM Provider API Key Created",
      "product": "openai",
      "service": "audit",
      "severity": "medium",
      "slug": "llm-api-key-created"
    },
    {
      "category": "application",
      "id": "det-application-072",
      "match_when": {
        "event_type_endswith": ".api_key.created",
        "key_scope": "admin"
      },
      "mitre": [
        "T1098"
      ],
      "name": "LLM Provider Admin API Key Created",
      "product": "openai",
      "service": "audit",
      "severity": "high",
      "slug": "llm-admin-key-created"
    },
    {
      "category": "application",
      "id": "det-application-073",
      "match_when": {
        "event_type_endswith": ".member.added",
        "role": "owner"
      },
      "mitre": [
        "T1098.003"
      ],
      "name": "LLM Provider Owner Role Granted",
      "product": "openai",
      "service": "audit",
      "severity": "high",
      "slug": "llm-member-added-owner"
    },
    {
      "category": "application",
      "id": "det-application-074",
      "match_when": {
        "action": "disabled",
        "event_type_contains": "logging"
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "LLM Provider Audit Logging Disabled",
      "product": "openai",
      "service": "audit",
      "severity": "critical",
      "slug": "llm-logging-disabled"
    },
    {
      "category": "application",
      "id": "det-application-075",
      "match_when": {
        "action": "disabled",
        "event_type_contains": "mfa"
      },
      "mitre": [
        "T1556"
      ],
      "name": "LLM Provider MFA Requirement Disabled",
      "product": "openai",
      "service": "audit",
      "severity": "high",
      "slug": "llm-mfa-disabled"
    },
    {
      "category": "application",
      "id": "det-application-076",
      "match_when": {
        "event_type": "anthropic.workspace.created"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Anthropic Workspace Created",
      "product": "anthropic",
      "service": "audit",
      "severity": "low",
      "slug": "llm-anthropic-workspace-created"
    },
    {
      "category": "application",
      "id": "det-application-077",
      "match_when": {
        "event_type_endswith": ".service_account.created"
      },
      "mitre": [
        "T1136.003"
      ],
      "name": "LLM Provider Service Account Created",
      "product": "openai",
      "service": "audit",
      "severity": "medium",
      "slug": "llm-service-account-created"
    },
    {
      "category": "application",
      "id": "det-application-087",
      "match_when": {
        "event_type_endswith": ".copilot.content_exclusion_changed"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Copilot Content Exclusion Changed",
      "product": "github_copilot",
      "service": "audit",
      "severity": "critical",
      "slug": "llm-copilot-content-exclusion-changed"
    },
    {
      "category": "application",
      "id": "det-application-088",
      "match_when": {
        "event_type_endswith": ".copilot.swe_agent_mcp_config_updated"
      },
      "mitre": [
        "T1195"
      ],
      "name": "Hosted Coding Agent MCP Server List Changed",
      "product": "github_copilot",
      "service": "audit",
      "severity": "high",
      "slug": "llm-copilot-agent-mcp-config-changed"
    },
    {
      "category": "application",
      "id": "det-application-089",
      "match_when": {
        "event_type_endswith": ".consent_to_application",
        "granted_scopes_has_any": [
          "Mail.ReadWrite",
          "Mail.Send",
          "Files.ReadWrite.All",
          "Sites.ReadWrite.All",
          "Directory.ReadWrite.All",
          "User.ReadWrite.All"
        ]
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "AI Application Consented a Write Scope",
      "product": "entra_consent",
      "service": "audit",
      "severity": "high",
      "slug": "llm-ai-app-granted-write-scope"
    },
    {
      "category": "application",
      "id": "det-application-090",
      "match_when": {
        "accessed_resource_count_gte": 25,
        "event_type_endswith": ".CopilotInteraction"
      },
      "mitre": [
        "T1530"
      ],
      "name": "AI Assistant Interaction Touched Many Resources at Once",
      "product": "microsoft_copilot",
      "service": "audit",
      "severity": "medium",
      "slug": "llm-copilot-bulk-resource-access"
    },
    {
      "category": "application",
      "id": "det-application-078",
      "match_when": {
        "event_type_endswith": ".project.archived"
      },
      "mitre": [
        "T1485"
      ],
      "name": "LLM Provider Project Deleted",
      "product": "openai",
      "service": "audit",
      "severity": "medium",
      "slug": "llm-project-deleted"
    },
    {
      "category": "application",
      "id": "det-application-079",
      "match_when": {
        "finding_type": "prompt_injection"
      },
      "mitre": [
        "T1059"
      ],
      "name": "Prompt Injection Detected in AI Agent Context",
      "product": "ai_guardrail",
      "service": "runtime",
      "severity": "high",
      "slug": "ai-prompt-injection-detected"
    },
    {
      "category": "application",
      "id": "det-application-080",
      "match_when": {
        "finding_type": "excessive_agency"
      },
      "mitre": [
        "T1078"
      ],
      "name": "AI Agent Took Action Beyond Its Granted Scope",
      "product": "ai_guardrail",
      "service": "runtime",
      "severity": "high",
      "slug": "ai-agent-excessive-agency"
    },
    {
      "category": "application",
      "id": "det-application-081",
      "match_when": {
        "finding_type": "sensitive_data_egress"
      },
      "mitre": [
        "T1567"
      ],
      "name": "Sensitive Data Left via an AI Agent",
      "product": "ai_guardrail",
      "service": "runtime",
      "severity": "critical",
      "slug": "ai-sensitive-data-egress"
    },
    {
      "category": "application",
      "id": "det-application-082",
      "match_when": {
        "finding_type": "unapproved_model"
      },
      "mitre": [
        "T1078"
      ],
      "name": "AI Agent Used an Unapproved Model",
      "product": "ai_guardrail",
      "service": "runtime",
      "severity": "medium",
      "slug": "ai-unapproved-model"
    },
    {
      "category": "application",
      "id": "det-application-083",
      "match_when": {
        "finding_type": "tool_escalation"
      },
      "mitre": [
        "T1548"
      ],
      "name": "AI Agent Escalated to a Higher-Privilege Tool",
      "product": "ai_guardrail",
      "service": "runtime",
      "severity": "high",
      "slug": "ai-tool-escalation"
    },
    {
      "category": "application",
      "id": "det-application-084",
      "match_when": {
        "finding_type": "shadow_ai"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Undeclared AI Agent Observed",
      "product": "ai_guardrail",
      "service": "runtime",
      "severity": "medium",
      "slug": "ai-shadow-agent-discovered"
    },
    {
      "category": "application",
      "id": "det-application-085",
      "match_when": {
        "prompt_secret_kinds_has_any": [
          "aws_access_key",
          "github_token",
          "openai_key",
          "private_key",
          "slack_token"
        ]
      },
      "mitre": [
        "T1552"
      ],
      "name": "Credential Material Present in an AI Prompt",
      "product": "ai_runtime",
      "service": "runtime",
      "severity": "high",
      "slug": "ai-prompt-contained-credential"
    },
    {
      "category": "application",
      "id": "det-application-091",
      "match_when": {
        "baseline_agent_tool_rarity_gte": 0.95,
        "tool_name_in": [
          "execute_command",
          "run_shell",
          "write_file",
          "delete_file",
          "send_email",
          "create_user",
          "grant_permission",
          "deploy",
          "terraform_apply",
          "database_write"
        ]
      },
      "mitre": [
        "T1059"
      ],
      "name": "AI Agent Called a High-Risk Tool It Has Never Used",
      "product": "ai_runtime",
      "service": "runtime",
      "severity": "high",
      "slug": "ai-agent-new-high-risk-tool"
    },
    {
      "category": "application",
      "id": "det-application-092",
      "match_when": {
        "baseline_agent_volume_z_gte": 3.0,
        "outcome": "blocked"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Guardrail Violations Rose Sharply for One AI Agent",
      "product": "ai_guardrail",
      "service": "runtime",
      "severity": "high",
      "slug": "ai-agent-guardrail-violation-rate"
    },
    {
      "category": "application",
      "id": "det-application-093",
      "match_when": {
        "baseline_agent_token_spend_z_gte": 4.0
      },
      "mitre": [
        "T1496"
      ],
      "name": "AI Agent Spend Far Above Its Own Baseline",
      "product": "ai_runtime",
      "service": "runtime",
      "severity": "medium",
      "slug": "ai-agent-token-spend-anomaly"
    },
    {
      "category": "application",
      "id": "det-application-094",
      "match_when": {
        "baseline_gateway_key_token_spend_z_gte": 4.0
      },
      "mitre": [
        "T1496"
      ],
      "name": "AI Gateway Key Spend Far Above Its Own Baseline",
      "product": "ai_runtime",
      "service": "runtime",
      "severity": "medium",
      "slug": "ai-gateway-key-spend-anomaly"
    },
    {
      "category": "application",
      "id": "det-application-086",
      "match_when": {
        "outcome": "denied"
      },
      "mitre": [
        "T1078"
      ],
      "name": "AI Agent Tool Call Denied",
      "product": "ai_runtime",
      "service": "runtime",
      "severity": "low",
      "slug": "ai-agent-tool-call-failed-repeatedly"
    },
    {
      "category": "cloud",
      "id": "det-cloud-001",
      "match_when": {
        "error_code": null,
        "event_name": "ConsoleLogin",
        "user_type": "Root"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "AWS Root Account Console Login",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "critical",
      "slug": "aws-root-account-login"
    },
    {
      "category": "cloud",
      "id": "det-cloud-003",
      "match_when": {
        "event_name_in": [
          "PutBucketAcl",
          "PutBucketPolicy"
        ],
        "public_grant": true
      },
      "mitre": [
        "T1530"
      ],
      "name": "AWS S3 Bucket Made Public",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-s3-public-bucket"
    },
    {
      "category": "cloud",
      "id": "det-cloud-004",
      "match_when": {
        "event_name": "DeleteBucket"
      },
      "mitre": [
        "T1485"
      ],
      "name": "AWS S3 Bucket Deletion",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-s3-bucket-deletion"
    },
    {
      "category": "cloud",
      "id": "det-cloud-005",
      "match_when": {
        "aws_region_not_in": [
          "us-east-1",
          "us-west-2",
          "eu-west-1"
        ],
        "event_name": "RunInstances"
      },
      "mitre": [
        "T1578.002"
      ],
      "name": "AWS EC2 Instance Launched in Unauthorized Region",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "medium",
      "slug": "aws-ec2-launch-foreign-region"
    },
    {
      "category": "cloud",
      "id": "det-cloud-006",
      "match_when": {
        "event_name": "AuthorizeSecurityGroupIngress",
        "ip_range": "0.0.0.0/0",
        "port_in": [
          22,
          3389,
          3306,
          5432,
          1433,
          6379
        ]
      },
      "mitre": [
        "T1190",
        "T1133"
      ],
      "name": "AWS Security Group Opened to 0.0.0.0/0",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-security-group-open-world"
    },
    {
      "category": "cloud",
      "id": "det-cloud-007",
      "match_when": {
        "event_name_in": [
          "PutUserPolicy",
          "PutRolePolicy",
          "AttachUserPolicy"
        ],
        "policy_action": "*",
        "policy_resource": "*"
      },
      "mitre": [
        "T1078.004",
        "T1098.001"
      ],
      "name": "AWS IAM Policy with Wildcard Action",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-iam-policy-permissive"
    },
    {
      "category": "cloud",
      "id": "det-cloud-008",
      "match_when": {
        "event_name_in": [
          "DisableKey",
          "ScheduleKeyDeletion"
        ]
      },
      "mitre": [
        "T1485",
        "T1486"
      ],
      "name": "AWS KMS Key Disabled or Scheduled for Deletion",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "critical",
      "slug": "aws-kms-key-disable"
    },
    {
      "category": "cloud",
      "id": "det-cloud-009",
      "match_when": {
        "event_name_in": [
          "StopLogging",
          "DeleteTrail",
          "UpdateTrail"
        ]
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "AWS CloudTrail Logging Disabled",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "critical",
      "slug": "aws-cloudtrail-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-010",
      "match_when": {
        "event_name": "AddPermission",
        "principal": "*"
      },
      "mitre": [
        "T1190"
      ],
      "name": "AWS Lambda Function with Public Invoke Permission",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "medium",
      "slug": "aws-lambda-permissive-trigger"
    },
    {
      "category": "cloud",
      "id": "det-cloud-011",
      "match_when": {
        "event_name": "DeleteFlowLogs"
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "AWS VPC Flow Logs Disabled",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-vpc-flow-logs-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-012",
      "match_when": {
        "event_name_in": [
          "CreateDBInstance",
          "ModifyDBInstance"
        ],
        "publicly_accessible": true
      },
      "mitre": [
        "T1190",
        "T1530"
      ],
      "name": "AWS RDS Instance Set Publicly Accessible",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-rds-publicly-accessible"
    },
    {
      "category": "cloud",
      "id": "det-cloud-013",
      "match_when": {
        "createvolumepermission": "all",
        "event_name": "ModifySnapshotAttribute"
      },
      "mitre": [
        "T1530"
      ],
      "name": "AWS EBS Snapshot Made Public",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "critical",
      "slug": "aws-ebs-snapshot-public"
    },
    {
      "category": "cloud",
      "id": "det-cloud-014",
      "match_when": {
        "event_name": "AssumeRole",
        "external_account_in_allowlist": false,
        "user_arn_external_account": true
      },
      "mitre": [
        "T1078.004",
        "T1199"
      ],
      "name": "AWS AssumeRole from Untrusted External Account",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-cross-account-assumerole"
    },
    {
      "category": "cloud",
      "id": "det-cloud-016",
      "match_when": {
        "operation_name": "AddMemberToRole",
        "role_name_in": [
          "Global Administrator",
          "Privileged Role Administrator",
          "Owner"
        ]
      },
      "mitre": [
        "T1098.003"
      ],
      "name": "Azure AD Owner/Global-Admin Role Assignment",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "critical",
      "slug": "azure-ad-role-owner-assignment"
    },
    {
      "category": "cloud",
      "id": "det-cloud-017",
      "match_when": {
        "operation_name": "Update application - Certificates and secrets management"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Azure AD Application Credential Added",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "high",
      "slug": "azure-ad-app-secret-added"
    },
    {
      "category": "cloud",
      "id": "det-cloud-018",
      "match_when": {
        "operation_name_in": [
          "Update conditional access policy",
          "Delete conditional access policy"
        ],
        "policy_state": "disabled"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Azure AD Conditional Access Policy Disabled or Removed",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "critical",
      "slug": "azure-conditional-access-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-019",
      "match_when": {
        "operation_name_in": [
          "KeyDelete",
          "VaultDelete"
        ]
      },
      "mitre": [
        "T1485"
      ],
      "name": "Azure Key Vault Key Deleted",
      "product": "azure",
      "service": "keyvault",
      "severity": "high",
      "slug": "azure-keyvault-key-deleted"
    },
    {
      "category": "cloud",
      "id": "det-cloud-020",
      "match_when": {
        "operation_name": "Microsoft.Network/networkSecurityGroups/securityRules/write",
        "rule_destination_port_in": [
          22,
          3389,
          1433,
          3306,
          6379
        ],
        "rule_source": "*"
      },
      "mitre": [
        "T1190"
      ],
      "name": "Azure NSG Rule Allowing 0.0.0.0/0 Inbound",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-nsg-allow-all-inbound"
    },
    {
      "category": "cloud",
      "id": "det-cloud-021",
      "match_when": {
        "operation_name": "Microsoft.Storage/storageAccounts/blobServices/containers/write",
        "public_access_in": [
          "blob",
          "container"
        ]
      },
      "mitre": [
        "T1530"
      ],
      "name": "Azure Storage Account Container Made Public",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-storage-public-blob"
    },
    {
      "category": "cloud",
      "id": "det-cloud-022",
      "match_when": {
        "operation_name": "Disable Strong Authentication"
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "Azure AD MFA Disabled for User",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "high",
      "slug": "azure-ad-mfa-disabled-for-user"
    },
    {
      "category": "cloud",
      "id": "det-cloud-023",
      "match_when": {
        "operation_name": "Add app role assignment to service principal",
        "scope_in": [
          "Mail.ReadWrite",
          "Files.ReadWrite.All",
          "Directory.ReadWrite.All",
          "User.ReadWrite.All"
        ]
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Azure AD App Registration Granted Broad Graph Scope",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "high",
      "slug": "azure-app-registration-permissive-scope"
    },
    {
      "category": "cloud",
      "id": "det-cloud-024",
      "match_when": {
        "risk_event_type": "anonymizedIPAddress"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Azure AD Login from Tor / Anonymous IP",
      "product": "azure",
      "service": "azuread-signin",
      "severity": "high",
      "slug": "azure-login-anonymous-ip"
    },
    {
      "category": "cloud",
      "id": "det-cloud-026",
      "match_when": {
        "method_name": "SetIamPolicy",
        "role_in": [
          "roles/owner",
          "roles/editor"
        ]
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "GCP IAM Primitive Role (Owner/Editor) Granted",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-iam-primitive-role-grant"
    },
    {
      "category": "cloud",
      "id": "det-cloud-027",
      "match_when": {
        "method_name": "google.iam.admin.v1.CreateServiceAccountKey"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "GCP Service Account Key Created",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-service-account-key-created"
    },
    {
      "category": "cloud",
      "id": "det-cloud-028",
      "match_when": {
        "iam_member_in": [
          "allUsers",
          "allAuthenticatedUsers"
        ],
        "method_name": "storage.setIamPermissions"
      },
      "mitre": [
        "T1530"
      ],
      "name": "GCP GCS Bucket Set to Public",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-gcs-bucket-public"
    },
    {
      "category": "cloud",
      "id": "det-cloud-029",
      "match_when": {
        "method_name": "compute.firewalls.insert",
        "port_in": [
          22,
          3389,
          5432,
          3306,
          6379
        ],
        "source_range": "0.0.0.0/0"
      },
      "mitre": [
        "T1190"
      ],
      "name": "GCP Firewall Rule Allowing 0.0.0.0/0 Inbound",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-firewall-rule-allow-all"
    },
    {
      "category": "cloud",
      "id": "det-cloud-030",
      "match_when": {
        "method_name": "DeleteProject"
      },
      "mitre": [
        "T1485"
      ],
      "name": "GCP Project Marked for Deletion",
      "product": "gcp",
      "service": "audit",
      "severity": "critical",
      "slug": "gcp-project-deletion"
    },
    {
      "category": "cloud",
      "id": "det-cloud-031",
      "match_when": {
        "method_name_in": [
          "google.logging.v2.ConfigServiceV2.DeleteSink",
          "google.logging.v2.ConfigServiceV2.UpdateSink"
        ]
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "GCP Audit Log Sink Disabled or Deleted",
      "product": "gcp",
      "service": "audit",
      "severity": "critical",
      "slug": "gcp-audit-log-sink-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-032",
      "match_when": {
        "method_name_endswith": ".SetOrgPolicy"
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "GCP Organization Policy Modified",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-org-policy-modified"
    },
    {
      "category": "cloud",
      "id": "det-cloud-033",
      "match_when": {
        "impersonator_in_allowlist": false,
        "method_name": "GenerateAccessToken"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "GCP Service Account Impersonation Outside Allowlist",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-service-account-impersonation"
    },
    {
      "category": "cloud",
      "id": "det-cloud-035",
      "match_when": {
        "iam_member_in": [
          "allUsers",
          "allAuthenticatedUsers"
        ],
        "method_name": "google.cloud.bigquery.v2.DatasetService.UpdateDataset"
      },
      "mitre": [
        "T1530"
      ],
      "name": "GCP BigQuery Dataset Made Public",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-bigquery-dataset-public"
    },
    {
      "category": "cloud",
      "id": "det-cloud-036",
      "match_when": {
        "env_has_secret": true,
        "event_name_in": [
          "RunInstances",
          "RunPods",
          "DeployContainer"
        ]
      },
      "mitre": [
        "T1552.001"
      ],
      "name": "Cloud Workload Spawned with Secrets in Environment Variables",
      "product": "cloud",
      "service": "workload",
      "severity": "high",
      "slug": "cloud-secrets-in-env"
    },
    {
      "category": "cloud",
      "id": "det-cloud-037",
      "match_when": {
        "event_name_in": [
          "UpdateRepositoryVisibility",
          "SetIamPolicy"
        ],
        "visibility": "public"
      },
      "mitre": [
        "T1525"
      ],
      "name": "Container Registry Repository Made Public",
      "product": "cloud",
      "service": "registry",
      "severity": "medium",
      "slug": "cloud-container-registry-public"
    },
    {
      "category": "cloud",
      "id": "det-cloud-038",
      "match_when": {
        "bucket_visibility": "public",
        "object_path_endswith": ".tfstate"
      },
      "mitre": [
        "T1530",
        "T1552.001"
      ],
      "name": "Terraform State File Stored in Public Bucket",
      "product": "cloud",
      "service": "storage",
      "severity": "critical",
      "slug": "cloud-tfstate-public"
    },
    {
      "category": "cloud",
      "id": "det-cloud-039",
      "match_when": {
        "event_name_in": [
          "CreateLoadBalancer",
          "ModifyLoadBalancerAttributes"
        ],
        "scheme": "internet-facing",
        "waf_attached": false
      },
      "mitre": [
        "T1190"
      ],
      "name": "Internet-Facing Load Balancer Without WAF",
      "product": "cloud",
      "service": "lb",
      "severity": "medium",
      "slug": "cloud-internet-load-balancer-no-waf"
    },
    {
      "category": "cloud",
      "id": "det-cloud-040",
      "match_when": {
        "event_name_in": [
          "UpdateAssumeRolePolicy",
          "PutRolePolicy"
        ],
        "external_account_in_allowlist": false,
        "trusted_principal_external_account": true
      },
      "mitre": [
        "T1199"
      ],
      "name": "Cross-Account Trust Added to Privileged Role",
      "product": "cloud",
      "service": "iam",
      "severity": "critical",
      "slug": "cloud-cross-account-trust-add"
    },
    {
      "category": "cloud",
      "id": "det-cloud-041",
      "match_when": {
        "event_name_in": [
          "AttachUserPolicy",
          "AttachRolePolicy",
          "AttachGroupPolicy"
        ],
        "policy_arn": "arn:aws:iam::aws:policy/AdministratorAccess"
      },
      "mitre": [
        "T1078.004",
        "T1098"
      ],
      "name": "AWS IAM AdministratorAccess Policy Attached",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-attach-administrator-access"
    },
    {
      "category": "cloud",
      "id": "det-cloud-043",
      "match_when": {
        "event_name": "DeactivateMFADevice",
        "target_user_priv": true
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "AWS IAM MFA Removed From Privileged User",
      "product": "aws",
      "service": "iam",
      "severity": "critical",
      "slug": "aws-iam-mfa-disabled-on-priv-user"
    },
    {
      "category": "cloud",
      "id": "det-cloud-044",
      "match_when": {
        "event_name": "UpdateAssumeRolePolicy",
        "trust_principal": "*"
      },
      "mitre": [
        "T1078.004",
        "T1098.001"
      ],
      "name": "AWS IAM Role Trust Policy Allows Principal '*'",
      "product": "aws",
      "service": "iam",
      "severity": "critical",
      "slug": "aws-iam-role-trust-broadened-wildcard"
    },
    {
      "category": "cloud",
      "id": "det-cloud-045",
      "match_when": {
        "event_name": "SetDefaultPolicyVersion",
        "policy_action": "*",
        "policy_resource": "*"
      },
      "mitre": [
        "T1098"
      ],
      "name": "AWS IAM Policy Version Set With Wildcard Action",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-policy-version-set-default-broad"
    },
    {
      "category": "cloud",
      "id": "det-cloud-046",
      "match_when": {
        "event_name": "DeleteUserPermissionsBoundary"
      },
      "mitre": [
        "T1098"
      ],
      "name": "AWS IAM Permissions Boundary Removed",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-permissions-boundary-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-047",
      "match_when": {
        "event_name_in": [
          "UpdateSAMLProvider",
          "CreateSAMLProvider"
        ]
      },
      "mitre": [
        "T1556"
      ],
      "name": "AWS IAM SAML Provider Updated",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-saml-provider-modified"
    },
    {
      "category": "cloud",
      "id": "det-cloud-048",
      "match_when": {
        "event_name": "CreateRole",
        "trust_principal_endswith": ":root",
        "trust_principal_external": true
      },
      "mitre": [
        "T1199"
      ],
      "name": "AWS IAM Role Trusts Foreign Account Root",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-cross-account-role-broad-trust"
    },
    {
      "category": "cloud",
      "id": "det-cloud-049",
      "match_when": {
        "event_name": "CreateRole",
        "trust_principal_in": [
          "anonymous",
          "AllUsers"
        ]
      },
      "mitre": [
        "T1199"
      ],
      "name": "AWS IAM Role Trusts Anonymous Federation",
      "product": "aws",
      "service": "iam",
      "severity": "critical",
      "slug": "aws-iam-anonymous-role-trust"
    },
    {
      "category": "cloud",
      "id": "det-cloud-053",
      "match_when": {
        "event_name": "CreateLoginProfile",
        "user_existed": true
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "AWS IAM Login Profile Added To Existing User",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-login-profile-created-existing-user"
    },
    {
      "category": "cloud",
      "id": "det-cloud-054",
      "match_when": {
        "actor_eq_target": false,
        "event_name": "CreateAccessKey"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "AWS IAM Access Key Created For Another User",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-access-key-created-other-user"
    },
    {
      "category": "cloud",
      "id": "det-cloud-055",
      "match_when": {
        "event_name_in": [
          "CreatePolicy",
          "CreatePolicyVersion"
        ],
        "policy_uses_notaction": true
      },
      "mitre": [
        "T1098"
      ],
      "name": "AWS IAM Policy Created With NotAction Wildcard",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "aws-iam-policy-with-notaction"
    },
    {
      "category": "cloud",
      "id": "det-cloud-056",
      "match_when": {
        "block_public_acls": false,
        "event_name_in": [
          "PutBucketPublicAccessBlock",
          "DeletePublicAccessBlock"
        ]
      },
      "mitre": [
        "T1530"
      ],
      "name": "AWS S3 Block Public Access Disabled",
      "product": "aws",
      "service": "s3",
      "severity": "critical",
      "slug": "aws-s3-block-public-access-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-057",
      "match_when": {
        "event_name": "PutBucketPolicy",
        "policy_principal": "*"
      },
      "mitre": [
        "T1530"
      ],
      "name": "AWS S3 Bucket Policy Allows Principal '*'",
      "product": "aws",
      "service": "s3",
      "severity": "critical",
      "slug": "aws-s3-bucket-policy-allows-anonymous"
    },
    {
      "category": "cloud",
      "id": "det-cloud-058",
      "match_when": {
        "destination_account_external": true,
        "event_name": "PutBucketReplication"
      },
      "mitre": [
        "T1537"
      ],
      "name": "AWS S3 Replication Configured To External Account",
      "product": "aws",
      "service": "s3",
      "severity": "high",
      "slug": "aws-s3-replication-to-foreign-account"
    },
    {
      "category": "cloud",
      "id": "det-cloud-059",
      "match_when": {
        "event_name": "PutBucketLogging",
        "logging_enabled": false
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "AWS S3 Server Access Logging Disabled",
      "product": "aws",
      "service": "s3",
      "severity": "medium",
      "slug": "aws-s3-server-access-logging-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-060",
      "match_when": {
        "event_name_in": [
          "PutObjectLockConfiguration",
          "PutObjectRetention"
        ],
        "retention_disabled": true
      },
      "mitre": [
        "T1485"
      ],
      "name": "AWS S3 Object Lock / Retention Disabled",
      "product": "aws",
      "service": "s3",
      "severity": "high",
      "slug": "aws-s3-object-lock-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-062",
      "match_when": {
        "event_name": "ModifySnapshotAttribute",
        "shared_account_external": true
      },
      "mitre": [
        "T1537"
      ],
      "name": "AWS EBS Snapshot Shared With Foreign Account",
      "product": "aws",
      "service": "ec2",
      "severity": "high",
      "slug": "aws-ebs-snapshot-shared-foreign"
    },
    {
      "category": "cloud",
      "id": "det-cloud-063",
      "match_when": {
        "ami_made_public": true,
        "event_name": "ModifyImageAttribute"
      },
      "mitre": [
        "T1537"
      ],
      "name": "AWS AMI Shared Publicly",
      "product": "aws",
      "service": "ec2",
      "severity": "high",
      "slug": "aws-ami-shared-public"
    },
    {
      "category": "cloud",
      "id": "det-cloud-064",
      "match_when": {
        "event_name": "RunInstances",
        "imds_v1_allowed": true
      },
      "mitre": [
        "T1552.005"
      ],
      "name": "AWS EC2 Instance Launched With IMDSv1 Allowed",
      "product": "aws",
      "service": "ec2",
      "severity": "medium",
      "slug": "aws-ec2-imds-v1-allowed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-065",
      "match_when": {
        "event_name": "ImportKeyPair"
      },
      "mitre": [
        "T1098.004"
      ],
      "name": "AWS EC2 Key Pair Imported",
      "product": "aws",
      "service": "ec2",
      "severity": "medium",
      "slug": "aws-ec2-key-pair-imported"
    },
    {
      "category": "cloud",
      "id": "det-cloud-066",
      "match_when": {
        "attribute": "disableApiStop",
        "event_name": "ModifyInstanceAttribute",
        "value": false
      },
      "mitre": [
        "T1485"
      ],
      "name": "AWS EC2 DisableApiStop Protection Revoked",
      "product": "aws",
      "service": "ec2",
      "severity": "medium",
      "slug": "aws-ec2-disable-api-stop-revoked"
    },
    {
      "category": "cloud",
      "id": "det-cloud-067",
      "match_when": {
        "attribute": "userData",
        "event_name": "ModifyInstanceAttribute",
        "instance_state": "running"
      },
      "mitre": [
        "T1059.001",
        "T1059.004"
      ],
      "name": "AWS EC2 UserData Modified On Running Instance",
      "product": "aws",
      "service": "ec2",
      "severity": "high",
      "slug": "aws-ec2-userdata-modified-running"
    },
    {
      "category": "cloud",
      "id": "det-cloud-068",
      "match_when": {
        "destination_cidr": "0.0.0.0/0",
        "event_name": "CreateRoute",
        "target_type": "internet-gateway"
      },
      "mitre": [
        "T1090"
      ],
      "name": "AWS VPC Default Route Pointed At New IGW",
      "product": "aws",
      "service": "ec2",
      "severity": "high",
      "slug": "aws-vpc-route-to-internet-gateway"
    },
    {
      "category": "cloud",
      "id": "det-cloud-069",
      "match_when": {
        "cidr": "0.0.0.0/0",
        "event_name": "AuthorizeSecurityGroupIngress",
        "from_port": 22,
        "ip_protocol": "tcp",
        "to_port": 22
      },
      "mitre": [
        "T1133"
      ],
      "name": "AWS SG Rule Allows SSH From 0.0.0.0/0",
      "product": "aws",
      "service": "ec2",
      "severity": "high",
      "slug": "aws-security-group-rule-add-22-from-anywhere"
    },
    {
      "category": "cloud",
      "id": "det-cloud-070",
      "match_when": {
        "cidr": "0.0.0.0/0",
        "event_name": "AuthorizeSecurityGroupIngress",
        "from_port": 3389,
        "ip_protocol": "tcp",
        "to_port": 3389
      },
      "mitre": [
        "T1133"
      ],
      "name": "AWS SG Rule Allows RDP From 0.0.0.0/0",
      "product": "aws",
      "service": "ec2",
      "severity": "high",
      "slug": "aws-security-group-rule-add-3389-from-anywhere"
    },
    {
      "category": "cloud",
      "id": "det-cloud-071",
      "match_when": {
        "event_name": "CreateVpcPeeringConnection",
        "peer_account_external": true
      },
      "mitre": [
        "T1199"
      ],
      "name": "AWS VPC Peering Connection Across Organizations",
      "product": "aws",
      "service": "ec2",
      "severity": "high",
      "slug": "aws-vpc-peering-cross-org"
    },
    {
      "category": "cloud",
      "id": "det-cloud-072",
      "match_when": {
        "event_name_in": [
          "CreateDBInstance",
          "ModifyDBInstance"
        ],
        "publicly_accessible": true
      },
      "mitre": [
        "T1530"
      ],
      "name": "AWS RDS Instance Modified To Publicly Accessible",
      "product": "aws",
      "service": "rds",
      "severity": "critical",
      "slug": "aws-rds-publicly-accessible-true"
    },
    {
      "category": "cloud",
      "id": "det-cloud-073",
      "match_when": {
        "event_name": "ModifyDBSnapshotAttribute",
        "shared_account_external": true
      },
      "mitre": [
        "T1537"
      ],
      "name": "AWS RDS Snapshot Shared With Other Account",
      "product": "aws",
      "service": "rds",
      "severity": "high",
      "slug": "aws-rds-snapshot-shared"
    },
    {
      "category": "cloud",
      "id": "det-cloud-074",
      "match_when": {
        "event_name": "ModifyDBInstance",
        "iam_database_authentication_enabled": false
      },
      "mitre": [
        "T1556"
      ],
      "name": "AWS RDS IAM Authentication Disabled",
      "product": "aws",
      "service": "rds",
      "severity": "medium",
      "slug": "aws-rds-iam-auth-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-075",
      "match_when": {
        "event_name": "ModifyDBInstance",
        "master_user_password_changed": true
      },
      "mitre": [
        "T1098"
      ],
      "name": "AWS RDS Master User Password Reset",
      "product": "aws",
      "service": "rds",
      "severity": "high",
      "slug": "aws-rds-master-password-reset"
    },
    {
      "category": "cloud",
      "id": "det-cloud-076",
      "match_when": {
        "deletion_protection": false,
        "event_name": "ModifyDBInstance"
      },
      "mitre": [
        "T1485"
      ],
      "name": "AWS RDS Deletion Protection Disabled",
      "product": "aws",
      "service": "rds",
      "severity": "medium",
      "slug": "aws-rds-deletion-protection-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-077",
      "match_when": {
        "event_name": "AddPermission",
        "principal": "*"
      },
      "mitre": [
        "T1190"
      ],
      "name": "AWS Lambda AddPermission Allows Principal '*'",
      "product": "aws",
      "service": "lambda",
      "severity": "critical",
      "slug": "aws-lambda-add-permission-anonymous"
    },
    {
      "category": "cloud",
      "id": "det-cloud-078",
      "match_when": {
        "env_secret_pattern": true,
        "event_name_in": [
          "CreateFunction",
          "UpdateFunctionConfiguration"
        ]
      },
      "mitre": [
        "T1552.001"
      ],
      "name": "AWS Lambda Env Var Contains Secret Pattern",
      "product": "aws",
      "service": "lambda",
      "severity": "high",
      "slug": "aws-lambda-env-var-secret-pattern"
    },
    {
      "category": "cloud",
      "id": "det-cloud-079",
      "match_when": {
        "auth_type": "NONE",
        "event_name": "CreateFunctionUrlConfig"
      },
      "mitre": [
        "T1190"
      ],
      "name": "AWS Lambda Function URL With AuthType=NONE",
      "product": "aws",
      "service": "lambda",
      "severity": "high",
      "slug": "aws-lambda-create-url-public"
    },
    {
      "category": "cloud",
      "id": "det-cloud-080",
      "match_when": {
        "event_name": "CreateFunction",
        "runtime_in": [
          "nodejs10.x",
          "nodejs12.x",
          "python2.7",
          "python3.6"
        ]
      },
      "mitre": [
        "T1610"
      ],
      "name": "AWS Lambda Function Uses Deprecated Runtime",
      "product": "aws",
      "service": "lambda",
      "severity": "medium",
      "slug": "aws-lambda-runtime-deprecated"
    },
    {
      "category": "cloud",
      "id": "det-cloud-081",
      "match_when": {
        "endpoint_public_access": true,
        "event_name_in": [
          "CreateCluster",
          "UpdateClusterConfig"
        ],
        "public_access_cidrs_contains": "0.0.0.0/0"
      },
      "mitre": [
        "T1133"
      ],
      "name": "AWS EKS Cluster API Endpoint Made Public",
      "product": "aws",
      "service": "eks",
      "severity": "critical",
      "slug": "aws-eks-cluster-public-endpoint"
    },
    {
      "category": "cloud",
      "id": "det-cloud-082",
      "match_when": {
        "event_name": "CreateFargateProfile",
        "namespace": "default"
      },
      "mitre": [
        "T1610"
      ],
      "name": "AWS EKS Fargate Profile Targets default Namespace",
      "product": "aws",
      "service": "eks",
      "severity": "medium",
      "slug": "aws-eks-fargate-profile-default-ns"
    },
    {
      "category": "cloud",
      "id": "det-cloud-083",
      "match_when": {
        "event_name": "RegisterTaskDefinition",
        "privileged": true
      },
      "mitre": [
        "T1611"
      ],
      "name": "AWS ECS Task Definition With privileged=true",
      "product": "aws",
      "service": "ecs",
      "severity": "high",
      "slug": "aws-ecs-task-privileged"
    },
    {
      "category": "cloud",
      "id": "det-cloud-084",
      "match_when": {
        "enable_execute_command": true,
        "event_name_in": [
          "CreateService",
          "UpdateService"
        ]
      },
      "mitre": [
        "T1059"
      ],
      "name": "AWS ECS ExecuteCommand Enabled On Service",
      "product": "aws",
      "service": "ecs",
      "severity": "medium",
      "slug": "aws-ecs-execute-command-enabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-085",
      "match_when": {
        "event_name": "SetRepositoryPolicy",
        "policy_principal": "*"
      },
      "mitre": [
        "T1525"
      ],
      "name": "AWS ECR Repository Policy Public",
      "product": "aws",
      "service": "ecr",
      "severity": "high",
      "slug": "aws-ecr-repo-publicly-readable"
    },
    {
      "category": "cloud",
      "id": "det-cloud-086",
      "match_when": {
        "event_name": "PutImageScanningConfiguration",
        "scan_on_push": false
      },
      "mitre": [
        "T1610"
      ],
      "name": "AWS ECR Image Scan-On-Push Disabled",
      "product": "aws",
      "service": "ecr",
      "severity": "low",
      "slug": "aws-ecr-image-scan-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-087",
      "match_when": {
        "event_name": "PutKeyPolicy",
        "policy_principal": "*"
      },
      "mitre": [
        "T1552.001"
      ],
      "name": "AWS KMS Key Policy Allows Principal '*'",
      "product": "aws",
      "service": "kms",
      "severity": "critical",
      "slug": "aws-kms-key-policy-anonymous"
    },
    {
      "category": "cloud",
      "id": "det-cloud-088",
      "match_when": {
        "event_name": "ScheduleKeyDeletion"
      },
      "mitre": [
        "T1485"
      ],
      "name": "AWS KMS ScheduleKeyDeletion Used",
      "product": "aws",
      "service": "kms",
      "severity": "high",
      "slug": "aws-kms-schedule-key-deletion"
    },
    {
      "category": "cloud",
      "id": "det-cloud-090",
      "match_when": {
        "event_name": "PutParameter",
        "key_id": null,
        "type": "SecureString"
      },
      "mitre": [
        "T1552.001"
      ],
      "name": "AWS SSM SecureString Parameter Created Without KMS",
      "product": "aws",
      "service": "ssm",
      "severity": "medium",
      "slug": "aws-ssm-parameter-secure-no-kms"
    },
    {
      "category": "cloud",
      "id": "det-cloud-091",
      "match_when": {
        "event_name": "StopConfigurationRecorder"
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "AWS Config Recorder Stopped",
      "product": "aws",
      "service": "config",
      "severity": "critical",
      "slug": "aws-config-recorder-stopped"
    },
    {
      "category": "cloud",
      "id": "det-cloud-092",
      "match_when": {
        "event_name": "DeleteDetector"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "AWS GuardDuty Detector Deleted",
      "product": "aws",
      "service": "guardduty",
      "severity": "critical",
      "slug": "aws-guardduty-detector-deleted"
    },
    {
      "category": "cloud",
      "id": "det-cloud-093",
      "match_when": {
        "event_name": "DisableSecurityHub"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "AWS SecurityHub DisableSecurityHub",
      "product": "aws",
      "service": "securityhub",
      "severity": "critical",
      "slug": "aws-securityhub-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-094",
      "match_when": {
        "event_name": "PutEventSelectors",
        "selector_includes_management_events": false
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "AWS CloudTrail Event Selector Narrowed",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "high",
      "slug": "aws-cloudtrail-event-selector-narrowed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-095",
      "match_when": {
        "event_name_in": [
          "RemoveAccountFromOrganization",
          "LeaveOrganization"
        ]
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "AWS Organizations Account Removed",
      "product": "aws",
      "service": "organizations",
      "severity": "high",
      "slug": "aws-organizations-account-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-096",
      "match_when": {
        "event_name": "TransferDomainToAnotherAwsAccount"
      },
      "mitre": [
        "T1583.001"
      ],
      "name": "AWS Route53 Domain Transfer Out",
      "product": "aws",
      "service": "route53domains",
      "severity": "high",
      "slug": "aws-route53-domain-transfer-out"
    },
    {
      "category": "cloud",
      "id": "det-cloud-098",
      "match_when": {
        "event_name": "DisassociateWebACL"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "AWS WAF Web ACL Disassociated",
      "product": "aws",
      "service": "wafv2",
      "severity": "high",
      "slug": "aws-waf-web-acl-disassociated"
    },
    {
      "category": "cloud",
      "id": "det-cloud-099",
      "match_when": {
        "event_name": "SetTopicAttributes",
        "policy_principal": "*"
      },
      "mitre": [
        "T1098"
      ],
      "name": "AWS SNS Topic Policy Allows Anonymous Subscribe",
      "product": "aws",
      "service": "sns",
      "severity": "medium",
      "slug": "aws-sns-topic-public-subscribe"
    },
    {
      "category": "cloud",
      "id": "det-cloud-100",
      "match_when": {
        "event_name": "SetQueueAttributes",
        "policy_principal": "*"
      },
      "mitre": [
        "T1098"
      ],
      "name": "AWS SQS Queue Policy Allows Principal '*'",
      "product": "aws",
      "service": "sqs",
      "severity": "medium",
      "slug": "aws-sqs-queue-public-policy"
    },
    {
      "category": "cloud",
      "id": "det-cloud-101",
      "match_when": {
        "consent_type": "AllPrincipals",
        "operation_name": "Consent to application"
      },
      "mitre": [
        "T1528"
      ],
      "name": "Entra ID Admin Consent Granted To App",
      "product": "azure",
      "service": "entra-audit",
      "severity": "high",
      "slug": "azure-ad-app-consent-grant"
    },
    {
      "category": "cloud",
      "id": "det-cloud-102",
      "match_when": {
        "is_business_hours": false,
        "operation_name": "Add service principal credentials"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Entra ID App Credential Added Outside Business Hours",
      "product": "azure",
      "service": "entra-audit",
      "severity": "high",
      "slug": "azure-ad-app-credential-added-out-of-hours"
    },
    {
      "category": "cloud",
      "id": "det-cloud-103",
      "match_when": {
        "operation_name": "Update policy",
        "policy_excludes_priv_user": true
      },
      "mitre": [
        "T1556"
      ],
      "name": "Entra ID Conditional Access Rule Excludes Privileged User",
      "product": "azure",
      "service": "entra-audit",
      "severity": "high",
      "slug": "azure-ad-conditional-access-bypass-rule"
    },
    {
      "category": "cloud",
      "id": "det-cloud-104",
      "match_when": {
        "method_removed": true,
        "operation_name_in": [
          "User registered security info",
          "User deleted security info"
        ],
        "target_user_priv": true
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "Entra ID MFA Method Removed From Privileged User",
      "product": "azure",
      "service": "entra-audit",
      "severity": "critical",
      "slug": "azure-ad-mfa-method-removed-priv"
    },
    {
      "category": "cloud",
      "id": "det-cloud-105",
      "match_when": {
        "actor_eq_target": true,
        "operation_name": "Add eligible member to role"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Entra ID PIM Role Eligibility Self-Assigned",
      "product": "azure",
      "service": "entra-audit",
      "severity": "high",
      "slug": "azure-ad-pim-role-eligibility-self-assigned"
    },
    {
      "category": "cloud",
      "id": "det-cloud-106",
      "match_when": {
        "operation_name": "Update application",
        "permissions_added_contains_any": [
          "Directory.ReadWrite.All",
          "RoleManagement.ReadWrite.Directory"
        ]
      },
      "mitre": [
        "T1098.003"
      ],
      "name": "Entra ID App Granted Directory.ReadWrite.All",
      "product": "azure",
      "service": "entra-audit",
      "severity": "critical",
      "slug": "azure-ad-app-permissions-graph-read-write-all"
    },
    {
      "category": "cloud",
      "id": "det-cloud-108",
      "match_when": {
        "operation_name": "Delete named location"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Entra ID Trusted Named Location Removed",
      "product": "azure",
      "service": "entra-audit",
      "severity": "medium",
      "slug": "azure-ad-named-location-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-109",
      "match_when": {
        "block_legacy_auth": false,
        "operation_name": "Update policy"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Entra ID Legacy Authentication Re-Enabled",
      "product": "azure",
      "service": "entra-audit",
      "severity": "high",
      "slug": "azure-ad-legacy-auth-allowed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-111",
      "match_when": {
        "admin_consent_workflow": false,
        "operation_name": "Set Company Information"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Entra ID Admin Consent Workflow Disabled",
      "product": "azure",
      "service": "entra-audit",
      "severity": "medium",
      "slug": "azure-ad-admin-consent-workflow-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-112",
      "match_when": {
        "operation_name_in": [
          "Update password reset policy",
          "Disable password reset policy"
        ]
      },
      "mitre": [
        "T1556"
      ],
      "name": "Entra ID SSPR Policy Weakened",
      "product": "azure",
      "service": "entra-audit",
      "severity": "medium",
      "slug": "azure-ad-self-service-pwd-reset-policy-modified"
    },
    {
      "category": "cloud",
      "id": "det-cloud-113",
      "match_when": {
        "operation_name_endswith": "policyAssignments/delete",
        "scope_root": true
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Azure Policy Assignment Deleted",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-arm-policy-assignment-deleted"
    },
    {
      "category": "cloud",
      "id": "det-cloud-114",
      "match_when": {
        "operation_name_endswith": "blueprintAssignments/delete"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Azure Blueprint Assignment Removed",
      "product": "azure",
      "service": "activity",
      "severity": "medium",
      "slug": "azure-arm-blueprint-deleted"
    },
    {
      "category": "cloud",
      "id": "det-cloud-115",
      "match_when": {
        "operation_name_endswith": "roleAssignments/write",
        "role": "Owner",
        "scope_root": true
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Azure Role Assignment Owner At Tenant Scope",
      "product": "azure",
      "service": "activity",
      "severity": "critical",
      "slug": "azure-arm-role-assignment-owner-tenant"
    },
    {
      "category": "cloud",
      "id": "det-cloud-117",
      "match_when": {
        "operation_name_endswith": "diagnosticSettings/delete"
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "Azure Diagnostic Settings Deleted",
      "product": "azure",
      "service": "activity",
      "severity": "critical",
      "slug": "azure-arm-diagnostic-settings-deleted"
    },
    {
      "category": "cloud",
      "id": "det-cloud-119",
      "match_when": {
        "operation_name_endswith": "managementGroups/delete"
      },
      "mitre": [
        "T1485"
      ],
      "name": "Azure Management Group Removed",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-arm-management-group-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-120",
      "match_when": {
        "operation_name_contains": "subscriptions/transfer"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Azure Subscription Transferred",
      "product": "azure",
      "service": "activity",
      "severity": "critical",
      "slug": "azure-arm-subscription-transferred"
    },
    {
      "category": "cloud",
      "id": "det-cloud-121",
      "match_when": {
        "operation_name_endswith": "blobServices/containers/write",
        "public_access_in": [
          "Container",
          "Blob"
        ]
      },
      "mitre": [
        "T1530"
      ],
      "name": "Azure Storage Container Allows Anonymous Read",
      "product": "azure",
      "service": "activity",
      "severity": "critical",
      "slug": "azure-storage-blob-anonymous-read"
    },
    {
      "category": "cloud",
      "id": "det-cloud-122",
      "match_when": {
        "default_action": "Allow",
        "operation_name_endswith": "storageAccounts/write"
      },
      "mitre": [
        "T1133"
      ],
      "name": "Azure Storage Account Firewall Disabled",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-storage-account-firewall-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-123",
      "match_when": {
        "operation_name_contains": "ListKeys",
        "ttl_days_gt": 365
      },
      "mitre": [
        "T1078"
      ],
      "name": "Azure Storage Shared Access Signature Generated With Long TTL",
      "product": "azure",
      "service": "activity",
      "severity": "medium",
      "slug": "azure-storage-shared-key-issued"
    },
    {
      "category": "cloud",
      "id": "det-cloud-124",
      "match_when": {
        "operation_name_endswith": "immutabilityPolicies/delete"
      },
      "mitre": [
        "T1485"
      ],
      "name": "Azure Storage Immutability Policy Removed",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-storage-immutability-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-125",
      "match_when": {
        "delete_retention_enabled": false,
        "operation_name_endswith": "blobServices/write"
      },
      "mitre": [
        "T1490"
      ],
      "name": "Azure Blob Soft Delete Disabled",
      "product": "azure",
      "service": "activity",
      "severity": "medium",
      "slug": "azure-storage-soft-delete-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-126",
      "match_when": {
        "enable_purge_protection": false,
        "operation_name_endswith": "vaults/write"
      },
      "mitre": [
        "T1485"
      ],
      "name": "Azure Key Vault Purge Protection Disabled",
      "product": "azure",
      "service": "keyvault",
      "severity": "high",
      "slug": "azure-keyvault-purge-protection-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-128",
      "match_when": {
        "operation_name_endswith": "vaults/accessPolicies/write",
        "permissions_contains": "all"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Azure Key Vault Access Policy Adds Permission '*'",
      "product": "azure",
      "service": "keyvault",
      "severity": "critical",
      "slug": "azure-keyvault-access-policy-broadened"
    },
    {
      "category": "cloud",
      "id": "det-cloud-129",
      "match_when": {
        "default_action": "Allow",
        "operation_name_endswith": "vaults/write"
      },
      "mitre": [
        "T1133"
      ],
      "name": "Azure Key Vault Network ACL Allows All",
      "product": "azure",
      "service": "keyvault",
      "severity": "high",
      "slug": "azure-keyvault-firewall-allow-all"
    },
    {
      "category": "cloud",
      "id": "det-cloud-130",
      "match_when": {
        "exportable": true,
        "operation_name_endswith": "keys/create"
      },
      "mitre": [
        "T1552"
      ],
      "name": "Azure Key Vault Key Export Attribute Set",
      "product": "azure",
      "service": "keyvault",
      "severity": "high",
      "slug": "azure-keyvault-key-export-allowed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-131",
      "match_when": {
        "authorized_ip_ranges_empty": true,
        "operation_name_endswith": "managedClusters/write",
        "private_cluster": false
      },
      "mitre": [
        "T1133"
      ],
      "name": "Azure AKS Cluster API With Public FQDN",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-aks-cluster-public-fqdn"
    },
    {
      "category": "cloud",
      "id": "det-cloud-132",
      "match_when": {
        "enable_rbac": false,
        "operation_name_endswith": "managedClusters/write"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Azure AKS Cluster RBAC Disabled",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-aks-rbac-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-133",
      "match_when": {
        "operation_name_endswith": "virtualMachines/runCommand/action"
      },
      "mitre": [
        "T1059"
      ],
      "name": "Azure VM RunCommand Invoked",
      "product": "azure",
      "service": "activity",
      "severity": "high",
      "slug": "azure-vm-runcommand"
    },
    {
      "category": "cloud",
      "id": "det-cloud-134",
      "match_when": {
        "extension_type": "CustomScript",
        "operation_name_endswith": "extensions/write"
      },
      "mitre": [
        "T1059"
      ],
      "name": "Azure VM CustomScript Extension Installed",
      "product": "azure",
      "service": "activity",
      "severity": "medium",
      "slug": "azure-vm-extension-customscript"
    },
    {
      "category": "cloud",
      "id": "det-cloud-135",
      "match_when": {
        "encryption_enabled": false,
        "operation_name_endswith": "encryptionExtensions/write"
      },
      "mitre": [
        "T1485"
      ],
      "name": "Azure VM Disk Encryption Disabled",
      "product": "azure",
      "service": "activity",
      "severity": "medium",
      "slug": "azure-vm-disk-encryption-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-136",
      "match_when": {
        "added_member_in": [
          "allUsers",
          "allAuthenticatedUsers"
        ],
        "method_name_endswith": "SetIamPolicy"
      },
      "mitre": [
        "T1530"
      ],
      "name": "GCP IAM Binding Adds allUsers / allAuthenticatedUsers",
      "product": "gcp",
      "service": "audit",
      "severity": "critical",
      "slug": "gcp-iam-allusers-binding"
    },
    {
      "category": "cloud",
      "id": "det-cloud-137",
      "match_when": {
        "method_name_endswith": "DisableServiceAccount"
      },
      "mitre": [
        "T1531"
      ],
      "name": "GCP Service Account Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-iam-service-account-disable"
    },
    {
      "category": "cloud",
      "id": "det-cloud-138",
      "match_when": {
        "method_name_endswith": "SetIamPolicy",
        "role_added": "roles/iam.serviceAccountUser"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "GCP iam.serviceAccountUser Grant",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-iam-service-account-actas-grant"
    },
    {
      "category": "cloud",
      "id": "det-cloud-139",
      "match_when": {
        "method_name_endswith": "SetIamPolicy",
        "role_added": "roles/iam.serviceAccountTokenCreator"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "GCP iam.serviceAccountTokenCreator Grant",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-iam-token-creator-grant"
    },
    {
      "category": "cloud",
      "id": "det-cloud-140",
      "match_when": {
        "method_name_endswith": "SetIamPolicy",
        "role_added": "roles/billing.admin"
      },
      "mitre": [
        "T1098"
      ],
      "name": "GCP roles/billing.admin Granted",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-iam-billing-admin-grant"
    },
    {
      "category": "cloud",
      "id": "det-cloud-141",
      "match_when": {
        "list_policy_all_values": "ALLOW",
        "method_name_endswith": "SetOrgPolicy"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "GCP Organization Policy Constraint Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-iam-org-policy-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-143",
      "match_when": {
        "added_member_external_domain": true,
        "method_name_endswith": "SetIamPolicy"
      },
      "mitre": [
        "T1199"
      ],
      "name": "GCP IAM Binding To External Domain",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-iam-grant-from-foreign-domain"
    },
    {
      "category": "cloud",
      "id": "det-cloud-145",
      "match_when": {
        "condition_removed": true,
        "method_name_endswith": "SetIamPolicy"
      },
      "mitre": [
        "T1556"
      ],
      "name": "GCP IAM Conditional Binding Removed",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-iam-conditional-binding-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-146",
      "match_when": {
        "added_member_in": [
          "allUsers",
          "allAuthenticatedUsers"
        ],
        "method_name_endswith_any": [
          "storage.setIamPermissions",
          "storage.buckets.update"
        ]
      },
      "mitre": [
        "T1530"
      ],
      "name": "GCS Bucket IAM Granted To allUsers",
      "product": "gcp",
      "service": "audit",
      "severity": "critical",
      "slug": "gcp-gcs-bucket-iam-allusers"
    },
    {
      "category": "cloud",
      "id": "det-cloud-147",
      "match_when": {
        "method_name_endswith": "storage.buckets.update",
        "uniform_bucket_level_access": false
      },
      "mitre": [
        "T1530"
      ],
      "name": "GCS Uniform Bucket-Level Access Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-gcs-uniform-access-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-149",
      "match_when": {
        "method_name_endswith": "storage.buckets.removeRetentionPolicy"
      },
      "mitre": [
        "T1485"
      ],
      "name": "GCS Bucket Retention Policy Removed",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-gcs-bucket-retention-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-150",
      "match_when": {
        "method_name_endswith": "storage.buckets.update",
        "versioning_enabled": false
      },
      "mitre": [
        "T1490"
      ],
      "name": "GCS Object Versioning Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-gcs-versioning-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-151",
      "match_when": {
        "cors_origin": "*",
        "method_name_endswith": "storage.buckets.update"
      },
      "mitre": [
        "T1530"
      ],
      "name": "GCS Bucket CORS Wildcard Origin",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-gcs-cors-wildcard"
    },
    {
      "category": "cloud",
      "id": "det-cloud-152",
      "match_when": {
        "anonymous_auth": true,
        "method_name_endswith": "clusters.update"
      },
      "mitre": [
        "T1133"
      ],
      "name": "GKE Cluster Anonymous Auth Enabled",
      "product": "gcp",
      "service": "audit",
      "severity": "critical",
      "slug": "gcp-gke-rbac-anonymous"
    },
    {
      "category": "cloud",
      "id": "det-cloud-153",
      "match_when": {
        "authorized_networks_empty": true,
        "method_name_endswith": "clusters.update",
        "private_cluster": false
      },
      "mitre": [
        "T1133"
      ],
      "name": "GKE Cluster Private Cluster Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-gke-private-cluster-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-154",
      "match_when": {
        "method_name_endswith": "clusters.update",
        "workload_identity_config": null
      },
      "mitre": [
        "T1078"
      ],
      "name": "GKE Workload Identity Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-gke-workload-identity-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-155",
      "match_when": {
        "method_name_endswith": "clusters.update",
        "shielded_nodes": false
      },
      "mitre": [
        "T1610"
      ],
      "name": "GKE Shielded Nodes Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-gke-shielded-nodes-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-156",
      "match_when": {
        "binary_authorization": false,
        "method_name_endswith": "clusters.update"
      },
      "mitre": [
        "T1610"
      ],
      "name": "GKE Binary Authorization Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-gke-binary-auth-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-157",
      "match_when": {
        "added_member_in": [
          "allUsers",
          "allAuthenticatedUsers"
        ],
        "method_name": "datasetservice.update"
      },
      "mitre": [
        "T1530"
      ],
      "name": "BigQuery Dataset ACL Adds allUsers",
      "product": "gcp",
      "service": "audit",
      "severity": "critical",
      "slug": "gcp-bq-dataset-allusers-access"
    },
    {
      "category": "cloud",
      "id": "det-cloud-159",
      "match_when": {
        "method_name": "jobservice.jobcompleted",
        "referenced_project_external": true
      },
      "mitre": [
        "T1083"
      ],
      "name": "BigQuery Query Across External Project",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-bq-cross-project-query"
    },
    {
      "category": "cloud",
      "id": "det-cloud-160",
      "match_when": {
        "method_name": "tableservice.delete",
        "table_age_minutes_lt": 60
      },
      "mitre": [
        "T1485"
      ],
      "name": "BigQuery Table Deleted Within 1 Hour Of Creation",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-bq-table-deleted-recently-created"
    },
    {
      "category": "cloud",
      "id": "det-cloud-161",
      "match_when": {
        "kms_key_removed": true,
        "method_name": "datasetservice.update"
      },
      "mitre": [
        "T1485"
      ],
      "name": "BigQuery Dataset CMEK Removed",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-bq-cmek-removed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-162",
      "match_when": {
        "method_name_endswith": "firewalls.insert",
        "port_any": true,
        "source_ranges_contains": "0.0.0.0/0"
      },
      "mitre": [
        "T1133"
      ],
      "name": "GCP Firewall Rule 0.0.0.0/0 With Any Port",
      "product": "gcp",
      "service": "audit",
      "severity": "high",
      "slug": "gcp-compute-firewall-source-any-port-any"
    },
    {
      "category": "cloud",
      "id": "det-cloud-163",
      "match_when": {
        "external_ip_attached": true,
        "label_internal": true,
        "method_name_endswith": "instances.insert"
      },
      "mitre": [
        "T1133"
      ],
      "name": "GCP Compute Public IP Attached To Instance",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-compute-instance-public-ip-attached"
    },
    {
      "category": "cloud",
      "id": "det-cloud-164",
      "match_when": {
        "metadata_oslogin": "FALSE",
        "method_name_endswith": "projects.setCommonInstanceMetadata"
      },
      "mitre": [
        "T1556"
      ],
      "name": "GCP Project OS Login Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-compute-os-login-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-165",
      "match_when": {
        "method_name_endswith": "instances.update",
        "shielded_instance_config": false
      },
      "mitre": [
        "T1610"
      ],
      "name": "GCP Compute Shielded VM Disabled",
      "product": "gcp",
      "service": "audit",
      "severity": "medium",
      "slug": "gcp-compute-shielded-vm-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-166",
      "match_when": {
        "object_resource": "clusterrolebindings",
        "role_ref_name": "cluster-admin",
        "subject_namespace_not": "kube-system",
        "verb": "create"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Kubernetes cluster-admin ClusterRoleBinding For Non-System Subject",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "k8s-cluster-admin-binding-non-system"
    },
    {
      "category": "cloud",
      "id": "det-cloud-168",
      "match_when": {
        "object_namespace_in": [
          "prod",
          "production"
        ],
        "object_resource": "pods/exec",
        "verb": "create"
      },
      "mitre": [
        "T1610"
      ],
      "name": "Kubernetes pods/exec In Production Namespace",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-pod-exec-prod-namespace"
    },
    {
      "category": "cloud",
      "id": "det-cloud-169",
      "match_when": {
        "object_namespace_in": [
          "prod",
          "production"
        ],
        "object_resource": "pods/attach",
        "verb": "create"
      },
      "mitre": [
        "T1610"
      ],
      "name": "Kubernetes pods/attach In Production Namespace",
      "product": "kubernetes",
      "service": "audit",
      "severity": "medium",
      "slug": "k8s-pod-attach-prod-namespace"
    },
    {
      "category": "cloud",
      "id": "det-cloud-170",
      "match_when": {
        "response_status_code_lt": 400,
        "user_name": "system:anonymous"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Kubernetes Request By system:anonymous",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "k8s-anonymous-system-unauth"
    },
    {
      "category": "cloud",
      "id": "det-cloud-171",
      "match_when": {
        "object_resource_in": [
          "roles",
          "clusterroles"
        ],
        "rule_verbs_contains": "*",
        "verb_in": [
          "create",
          "update"
        ]
      },
      "mitre": [
        "T1078"
      ],
      "name": "Kubernetes Role Created With Wildcard Verb",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-rbac-wildcard-verb"
    },
    {
      "category": "cloud",
      "id": "det-cloud-172",
      "match_when": {
        "host_pid": true,
        "object_resource": "pods",
        "verb": "create"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Kubernetes Pod hostPID=true",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-pod-host-pid-enabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-173",
      "match_when": {
        "host_network": true,
        "object_resource": "pods",
        "verb": "create"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Kubernetes Pod hostNetwork=true",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-pod-host-network-enabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-174",
      "match_when": {
        "object_resource": "pods",
        "privileged": true,
        "verb": "create"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Kubernetes Privileged Container Created",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-pod-privileged-container"
    },
    {
      "category": "cloud",
      "id": "det-cloud-175",
      "match_when": {
        "object_resource": "validatingwebhookconfigurations",
        "verb": "delete"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Kubernetes ValidatingWebhookConfiguration Deleted",
      "product": "kubernetes",
      "service": "audit",
      "severity": "medium",
      "slug": "k8s-validating-webhook-deleted"
    },
    {
      "category": "cloud",
      "id": "det-cloud-176",
      "match_when": {
        "object_resource": "mutatingwebhookconfigurations",
        "verb_in": [
          "create",
          "update"
        ],
        "webhook_url_external": true
      },
      "mitre": [
        "T1556"
      ],
      "name": "Kubernetes MutatingWebhookConfiguration With External Endpoint",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-mutating-webhook-suspicious-target"
    },
    {
      "category": "cloud",
      "id": "det-cloud-177",
      "match_when": {
        "automount_token": true,
        "object_resource": "pods",
        "service_account": "default",
        "verb": "create"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Kubernetes Pod Default ServiceAccount Token Mount",
      "product": "kubernetes",
      "service": "audit",
      "severity": "low",
      "slug": "k8s-service-account-token-mount-default"
    },
    {
      "category": "cloud",
      "id": "det-cloud-178",
      "match_when": {
        "impersonated_user_in": [
          "system:masters",
          "kubernetes-admin"
        ],
        "verb_contains": "impersonate"
      },
      "mitre": [
        "T1078.001"
      ],
      "name": "Kubernetes Impersonate Privileged User",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-impersonation-by-user"
    },
    {
      "category": "cloud",
      "id": "det-cloud-179",
      "match_when": {
        "object_name_in": [
          "prod",
          "production"
        ],
        "object_resource": "namespaces",
        "verb": "delete"
      },
      "mitre": [
        "T1485"
      ],
      "name": "Kubernetes Production Namespace Deleted",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "k8s-namespace-deletion-prod"
    },
    {
      "category": "cloud",
      "id": "det-cloud-180",
      "match_when": {
        "object_namespace_in": [
          "prod",
          "production"
        ],
        "object_resource": "networkpolicies",
        "verb": "delete"
      },
      "mitre": [
        "T1562.004"
      ],
      "name": "Kubernetes NetworkPolicy Deleted In Production",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-network-policy-deleted-prod"
    },
    {
      "category": "cloud",
      "id": "det-cloud-181",
      "match_when": {
        "action": "zone.transfer_out"
      },
      "mitre": [
        "T1583.001"
      ],
      "name": "Cloudflare Zone Transferred Out Of Account",
      "product": "cloudflare",
      "service": "audit",
      "severity": "high",
      "slug": "cloud-cloudflare-zone-transfer"
    },
    {
      "category": "cloud",
      "id": "det-cloud-182",
      "match_when": {
        "action_in": [
          "firewall_rule.disable",
          "waf_rule.disable"
        ]
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Cloudflare WAF Rule Disabled",
      "product": "cloudflare",
      "service": "audit",
      "severity": "high",
      "slug": "cloud-cloudflare-waf-rule-disabled"
    },
    {
      "category": "cloud",
      "id": "det-cloud-183",
      "match_when": {
        "action": "access_policy.create",
        "decision": "bypass"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Cloudflare Access Policy Bypass Granted",
      "product": "cloudflare",
      "service": "audit",
      "severity": "critical",
      "slug": "cloud-cloudflare-access-policy-bypass"
    },
    {
      "category": "cloud",
      "id": "det-cloud-184",
      "match_when": {
        "action": "snapshot.transfer",
        "destination_account_external": true
      },
      "mitre": [
        "T1537"
      ],
      "name": "DigitalOcean Droplet Snapshot Transferred",
      "product": "digitalocean",
      "service": "api",
      "severity": "high",
      "slug": "cloud-do-droplet-snapshot-shared"
    },
    {
      "category": "cloud",
      "id": "det-cloud-185",
      "match_when": {
        "compartment": "tenancy",
        "event_name": "AddUserToGroup",
        "group": "Administrators"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "OCI Tenant Administrators Group Membership Added",
      "product": "oci",
      "service": "audit",
      "severity": "critical",
      "slug": "cloud-oci-iam-tenant-admin-binding"
    },
    {
      "category": "cloud",
      "id": "det-cloud-187",
      "match_when": {
        "action": "manual_override",
        "approver_in": [
          "self"
        ],
        "out_of_hours": true
      },
      "mitre": [
        "T1610"
      ],
      "name": "Infra-As-Code Drift Bypassed With Manual Override",
      "product": "multi-cloud",
      "service": "iac",
      "severity": "medium",
      "slug": "cloud-iac-drift-bypassed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-188",
      "match_when": {
        "action": "state.modify",
        "actor_in_pipeline": false
      },
      "mitre": [
        "T1565.001"
      ],
      "name": "Terraform State File Modified Outside Pipeline",
      "product": "multi-cloud",
      "service": "iac",
      "severity": "high",
      "slug": "cloud-terraform-state-modified-direct"
    },
    {
      "category": "cloud",
      "id": "det-cloud-189",
      "match_when": {
        "event_name_in": [
          "UpdateSAMLProvider",
          "Update federation configuration",
          "SetIdentityProvider"
        ],
        "metadata_url_changed": true
      },
      "mitre": [
        "T1556"
      ],
      "name": "Cloud Provider SAML IdP Trust Changed",
      "product": "multi-cloud",
      "service": "iam",
      "severity": "high",
      "slug": "cloud-saml-idp-trust-changed"
    },
    {
      "category": "cloud",
      "id": "det-cloud-190",
      "match_when": {
        "actor_eq_target": false,
        "event_name_in": [
          "UpdateAccountEmail",
          "Update tenant primary contact",
          "ChangeRootMail"
        ]
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Cloud Provider Root/Owner Email Modified",
      "product": "multi-cloud",
      "service": "iam",
      "severity": "critical",
      "slug": "cloud-org-rootmail-modified"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-003",
      "match_when": {
        "image_basename_in": [
          "rclone.exe",
          "rclone",
          "megacmd",
          "megacmd.exe"
        ]
      },
      "mitre": [
        "T1567.002"
      ],
      "name": "rclone or megacmd Process Spawned on Host",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "rclone-process-on-host"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-004",
      "match_when": {
        "archive_seen_within_minutes_lt": 15,
        "egress_bytes_gt": 100000000
      },
      "mitre": [
        "T1560.001",
        "T1041"
      ],
      "name": "Archive Tool Then Large Egress Within 15 Minutes",
      "product": "edr",
      "service": "correlated",
      "severity": "high",
      "slug": "archive-then-egress"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-005",
      "match_when": {
        "event_type": "drive.acl.change",
        "share_target_domain_in_allowlist": false,
        "share_target_external": true
      },
      "mitre": [
        "T1567"
      ],
      "name": "SaaS File Shared to External Domain",
      "product": "google-workspace",
      "service": "drive",
      "severity": "medium",
      "slug": "data-share-external-domain"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-007",
      "match_when": {
        "event_type": "QUERY",
        "rows_produced_gt": 1000000,
        "user_type": "human"
      },
      "mitre": [
        "T1530"
      ],
      "name": "Snowflake Large Result-Set Download by Non-Service Account",
      "product": "snowflake",
      "service": "queryhistory",
      "severity": "high",
      "slug": "snowflake-mass-export"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-009",
      "match_when": {
        "bytes_out_gt": 50000000,
        "hour_of_day_local_not_in": [
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19
        ]
      },
      "mitre": [
        "T1041"
      ],
      "name": "Bulk Download Outside Business Hours",
      "product": "proxy",
      "service": "http",
      "severity": "medium",
      "slug": "off-hours-bulk-download"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-011",
      "match_when": {
        "bytes_out_gt": 1000,
        "dst_in_paste_list": true,
        "method": "POST"
      },
      "mitre": [
        "T1567"
      ],
      "name": "Outbound Paste to Public Pastebin / Gist",
      "product": "proxy",
      "service": "http",
      "severity": "medium",
      "slug": "outbound-paste-public"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-012",
      "match_when": {
        "attachment_encrypted": true,
        "to_external": true
      },
      "mitre": [
        "T1560.001",
        "T1567"
      ],
      "name": "Encrypted Archive Attachment Sent Externally",
      "product": "email",
      "service": "messages",
      "severity": "medium",
      "slug": "encrypted-archive-attachment"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-014",
      "match_when": {
        "event_type": "FileCreate",
        "file_path_endswith": ".zip",
        "host_role": "fileserver",
        "zip_size_bytes_gt": 500000000
      },
      "mitre": [
        "T1560.001"
      ],
      "name": "Bulk Zip Creation on File Server",
      "product": "edr",
      "service": "file-create",
      "severity": "medium",
      "slug": "bulk-zip-on-fileserver"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-015",
      "match_when": {
        "operation_name": "Search-Mailbox -DeleteContent:$false -TargetMailbox"
      },
      "mitre": [
        "T1114.002"
      ],
      "name": "Bulk Mailbox Export From M365 Compliance Center",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "high",
      "slug": "bulk-msg-export-mail"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-016",
      "match_when": {
        "forward_destination_external": true,
        "operation_name_in": [
          "New-InboxRule",
          "Set-InboxRule"
        ]
      },
      "mitre": [
        "T1114.003"
      ],
      "name": "Inbox Rule Forwarding to External Address",
      "product": "azure",
      "service": "exchange-online",
      "severity": "high",
      "slug": "exchange-mail-forward-external"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-017",
      "match_when": {
        "backup_dst_in_allowlist": false,
        "event_type": "Backup.Export"
      },
      "mitre": [
        "T1567"
      ],
      "name": "Backup Export to Non-Allowlisted Destination",
      "product": "cloud",
      "service": "backup",
      "severity": "high",
      "slug": "backup-export-anomalous"
    },
    {
      "category": "data-exfil",
      "id": "det-data-exfil-019",
      "match_when": {
        "bytes_in_gt": 200000000,
        "src_country_in_allowlist": false
      },
      "mitre": [
        "T1041"
      ],
      "name": "VPN Tunnel Large Download from Foreign Country",
      "product": "vpn",
      "service": "session",
      "severity": "medium",
      "slug": "vpn-large-download-foreign"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-001",
      "match_when": {
        "command_line_contains_any": [
          "http",
          "/i:",
          "downloadfile",
          "scrobj.dll",
          "/transfer",
          "wsh"
        ],
        "image_basename_in": [
          "regsvr32.exe",
          "rundll32.exe",
          "mshta.exe",
          "certutil.exe",
          "bitsadmin.exe",
          "installutil.exe",
          "msbuild.exe",
          "wmic.exe"
        ]
      },
      "mitre": [
        "T1218"
      ],
      "name": "LOLBAS Binary Used for Download or Execution",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "lolbas-execution"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-002",
      "match_when": {
        "granted_access_mask_contains_any": [
          "0x10",
          "0x1010",
          "0x1410",
          "0x1438",
          "0x143a",
          "0x1fffff"
        ],
        "source_image_not_in_allowlist": true,
        "target_image_endswith": "lsass.exe"
      },
      "mitre": [
        "T1003.001"
      ],
      "name": "LSASS Memory Read by Untrusted Process",
      "product": "edr",
      "service": "object-access",
      "severity": "critical",
      "slug": "credential-dumping-lsass"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-004",
      "match_when": {
        "image_basename_in": [
          "powershell.exe",
          "cmd.exe",
          "wscript.exe",
          "cscript.exe",
          "mshta.exe"
        ],
        "parent_image_basename_in": [
          "winword.exe",
          "excel.exe",
          "powerpnt.exe",
          "outlook.exe"
        ]
      },
      "mitre": [
        "T1059",
        "T1204.002"
      ],
      "name": "Office Application Spawns Shell or Scripting Engine",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "office-spawn-shell"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-005",
      "match_when": {
        "command_line_contains_all": [
          "-enc",
          "-exec"
        ],
        "command_line_contains_any": [
          "bypass",
          "unrestricted"
        ],
        "image_basename": "powershell.exe"
      },
      "mitre": [
        "T1059.001",
        "T1027"
      ],
      "name": "PowerShell with Encoded Command and Bypass Flag",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "powershell-encoded-command"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-006",
      "match_when": {
        "image_basename_in_allowlist": false,
        "parent_image_basename_in": [
          "wmiprvse.exe"
        ]
      },
      "mitre": [
        "T1047"
      ],
      "name": "Process Created via WMI by Non-Admin Tool",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "wmi-process-creation"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-007",
      "match_when": {
        "event_type": "ScheduledTaskCreate",
        "task_command_path_startswith_any": [
          "C:\\Users\\Public\\",
          "C:\\ProgramData\\",
          "C:\\Windows\\Temp\\"
        ]
      },
      "mitre": [
        "T1053.005"
      ],
      "name": "Scheduled Task Created Pointing to Suspicious Path",
      "product": "edr",
      "service": "scheduled-task",
      "severity": "high",
      "slug": "scheduled-task-create-suspicious"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-008",
      "match_when": {
        "event_type": "RegistryValueSet",
        "registry_path_in": [
          "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run",
          "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run",
          "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce"
        ]
      },
      "mitre": [
        "T1547.001"
      ],
      "name": "Persistence via Registry Run Key Write",
      "product": "edr",
      "service": "registry",
      "severity": "high",
      "slug": "registry-runkey-write"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-009",
      "match_when": {
        "event_id": 7045,
        "service_path_startswith_any": [
          "C:\\Users\\",
          "C:\\ProgramData\\",
          "C:\\Windows\\Temp\\"
        ]
      },
      "mitre": [
        "T1543.003"
      ],
      "name": "New Service Installed with Suspicious Binary Path",
      "product": "windows",
      "service": "system",
      "severity": "high",
      "slug": "service-install-binary-suspicious"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-010",
      "match_when": {
        "event_type": "FileCreate",
        "file_path_contains": "ADMIN$",
        "file_path_endswith": ".exe"
      },
      "mitre": [
        "T1021.002"
      ],
      "name": "Binary Written to ADMIN$ via SMB",
      "product": "edr",
      "service": "file-create",
      "severity": "high",
      "slug": "psexec-style-binary-write-admin-share"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-011",
      "match_when": {
        "event_type": "ServiceStop",
        "service_name_in": [
          "WinDefend",
          "Sense",
          "MsMpEng",
          "CrowdStrike",
          "SentinelOne",
          "CarbonBlack"
        ]
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "EDR / AV Service Stopped or Unloaded",
      "product": "edr",
      "service": "service",
      "severity": "critical",
      "slug": "edr-unload-attempt"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-012",
      "match_when": {
        "command_line_contains_any": [
          "delete shadows",
          "shadowcopy delete",
          "delete catalog -quiet"
        ],
        "image_basename_in": [
          "vssadmin.exe",
          "wmic.exe",
          "diskshadow.exe",
          "wbadmin.exe"
        ]
      },
      "mitre": [
        "T1490"
      ],
      "name": "Volume Shadow Copies Deleted",
      "product": "edr",
      "service": "process-create",
      "severity": "critical",
      "slug": "shadow-copy-deletion"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-013",
      "match_when": {
        "event_id_in": [
          1102,
          104
        ]
      },
      "mitre": [
        "T1070.001"
      ],
      "name": "Windows Event Log Cleared",
      "product": "windows",
      "service": "security",
      "severity": "critical",
      "slug": "windows-event-log-cleared"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-014",
      "match_when": {
        "command_line_contains_all": [
          "advfirewall",
          "set",
          "off"
        ],
        "image_basename": "netsh.exe"
      },
      "mitre": [
        "T1562.004"
      ],
      "name": "Host Firewall Disabled",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "firewall-disabled-host"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-015",
      "match_when": {
        "event_type": "CreateRemoteThread",
        "source_image_basename_not_in_allowlist": true,
        "target_image_basename_in": [
          "explorer.exe",
          "svchost.exe",
          "lsass.exe",
          "winlogon.exe"
        ]
      },
      "mitre": [
        "T1055"
      ],
      "name": "Cross-Process Remote Thread Injection",
      "product": "edr",
      "service": "thread",
      "severity": "high",
      "slug": "process-injection-cross-process-thread"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-016",
      "match_when": {
        "command_line_contains_any": [
          "AmsiUtils",
          "AmsiInitFailed",
          "amsi.dll"
        ],
        "image_basename": "powershell.exe"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "AMSI Bypass via DLL or Reflective Patch",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "amsi-bypass"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-017",
      "match_when": {
        "any_of": [
          {
            "command_line_contains": "stop",
            "image_basename": "logman.exe"
          },
          {
            "command_line_contains_any": [
              "sl",
              "/e:false",
              "cl"
            ],
            "image_basename": "wevtutil.exe"
          }
        ]
      },
      "mitre": [
        "T1562.006"
      ],
      "name": "ETW Tampering / Logging Disable",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "etw-tampering"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-018",
      "match_when": {
        "event_type": "FileWrite",
        "file_path_endswith": "\\drivers\\etc\\hosts"
      },
      "mitre": [
        "T1565.001"
      ],
      "name": "Hosts File Modified",
      "product": "edr",
      "service": "file-write",
      "severity": "medium",
      "slug": "host-files-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-019",
      "match_when": {
        "event_type": "ImageLoad",
        "image_basename_loaded_endswith": ".dll",
        "signature_status_in": [
          "Invalid",
          "Expired",
          "Untrusted"
        ]
      },
      "mitre": [
        "T1574.002"
      ],
      "name": "DLL Loaded with Invalid or Untrusted Signature",
      "product": "edr",
      "service": "image-load",
      "severity": "medium",
      "slug": "image-load-suspicious-signing"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-020",
      "match_when": {
        "event_type": "ImageLoad",
        "image_loaded_path_startswith": "\\\\"
      },
      "mitre": [
        "T1574.002"
      ],
      "name": "DLL Loaded From Network Share",
      "product": "edr",
      "service": "image-load",
      "severity": "high",
      "slug": "remote-image-load-from-share"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-021",
      "match_when": {
        "event_type": "PATH",
        "permissions_has_any": [
          "S_ISUID",
          "S_ISGID"
        ]
      },
      "mitre": [
        "T1548.001"
      ],
      "name": "SUID/SGID Binary Created",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "suid-binary-creation"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-022",
      "match_when": {
        "event_type": "MODULE",
        "module_path_not_startswith": "/lib/modules/"
      },
      "mitre": [
        "T1547.006"
      ],
      "name": "Kernel Module Loaded from Non-Standard Path",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "kernel-module-load-suspicious"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-023",
      "match_when": {
        "command_text_contains_any": [
          "/tmp/",
          "/dev/shm/",
          "curl",
          "wget"
        ],
        "event_type": "PATH",
        "file_path_startswith_any": [
          "/etc/cron",
          "/var/spool/cron"
        ]
      },
      "mitre": [
        "T1053.003"
      ],
      "name": "Cron Job Created Pointing to /tmp or /dev/shm",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "cronjob-suspicious-path"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-024",
      "match_when": {
        "image_basename_in": [
          "bash",
          "sh",
          "zsh",
          "ksh",
          "dash"
        ],
        "parent_image_basename_in": [
          "nginx",
          "apache2",
          "httpd",
          "php-fpm",
          "node",
          "java"
        ]
      },
      "mitre": [
        "T1059.004",
        "T1505.003"
      ],
      "name": "Shell Spawned by Web Server Process",
      "product": "linux",
      "service": "auditd",
      "severity": "critical",
      "slug": "shell-from-web-server"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-025",
      "match_when": {
        "command_line_contains_any": [
          "bash -i >& /dev/tcp/",
          "0<&196;exec 196<>/dev/tcp/",
          "bash -c \"bash -i\""
        ],
        "image_basename": "bash"
      },
      "mitre": [
        "T1059.004"
      ],
      "name": "Reverse Shell Pattern from /bin/bash",
      "product": "linux",
      "service": "auditd",
      "severity": "critical",
      "slug": "reverse-shell-bash"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-026",
      "match_when": {
        "command_line_contains_any": [
          "/bin/bash",
          "/bin/sh"
        ],
        "event_type": "USER_ADD"
      },
      "mitre": [
        "T1136.001"
      ],
      "name": "Unix User Added with Login Shell",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "user-add-suspicious"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-027",
      "match_when": {
        "event_type_in": [
          "PATH",
          "FILE_WRITE"
        ],
        "file_path_endswith": "/.ssh/authorized_keys"
      },
      "mitre": [
        "T1098.004"
      ],
      "name": "SSH authorized_keys File Modified",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "ssh-key-added-authorized"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-028",
      "match_when": {
        "command_line_contains_any": [
          "--privileged",
          "-v /:/host"
        ],
        "image_basename_in": [
          "docker",
          "podman"
        ]
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Launched with --privileged Flag",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "container-privileged-launch"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-029",
      "match_when": {
        "object_resource": "pods",
        "verb": "create",
        "volume_path": "/"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Mounts Host Filesystem at /host",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "container-mount-host-fs"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-030",
      "match_when": {
        "namespace": "production",
        "object_resource": "pods",
        "subresource": "exec",
        "user_role_not_in": [
          "operator",
          "admin"
        ],
        "verb": "create"
      },
      "mitre": [
        "T1609"
      ],
      "name": "kubectl exec Into Production Namespace by Non-Operator",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "kube-exec-into-prod-pod"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-031",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_CREATE",
        "file_path_startswith_any": [
          "/Library/LaunchAgents/",
          "/Library/LaunchDaemons/",
          "/Users/Shared/"
        ]
      },
      "mitre": [
        "T1543.001",
        "T1543.004"
      ],
      "name": "macOS LaunchAgent or LaunchDaemon Plist Created",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-launchagent-write"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-032",
      "match_when": {
        "command_line_contains_any": [
          "TCC.db",
          "kTCCService"
        ],
        "image_basename": "sqlite3"
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "macOS TCC Bypass Pattern (Direct DB Write)",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-tcc-bypass-attempt"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-033",
      "match_when": {
        "command_line_contains_any": [
          "do shell script",
          "with administrator privileges",
          "tell application \"System Events\""
        ],
        "image_basename": "osascript"
      },
      "mitre": [
        "T1059.002"
      ],
      "name": "Suspicious AppleScript Execution via osascript",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-osascript-spawn"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-034",
      "match_when": {
        "command_line_contains_all": [
          "--master-disable"
        ],
        "image_basename": "spctl"
      },
      "mitre": [
        "T1553.001"
      ],
      "name": "macOS Gatekeeper Disabled",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-gatekeeper-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-035",
      "match_when": {
        "command_line_contains_any": [
          "-d com.apple.quarantine",
          "-c"
        ],
        "image_basename": "xattr"
      },
      "mitre": [
        "T1553.001"
      ],
      "name": "macOS Quarantine Attribute Stripped",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-codesign-bypass"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-036",
      "match_when": {
        "command_line_contains": "--load-extension",
        "image_basename_in": [
          "chrome.exe",
          "msedge.exe",
          "firefox.exe"
        ]
      },
      "mitre": [
        "T1176"
      ],
      "name": "Browser Extension Installed Outside Allowlist",
      "product": "edr",
      "service": "process-create",
      "severity": "medium",
      "slug": "browser-extension-installed-suspicious"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-037",
      "match_when": {
        "device_class": "USB-MassStorage",
        "event_type": "DeviceConnect",
        "host_role": "restricted"
      },
      "mitre": [
        "T1052.001"
      ],
      "name": "USB Mass-Storage Device Attached to Restricted Host",
      "product": "edr",
      "service": "device",
      "severity": "high",
      "slug": "usb-device-mass-storage-attached"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-038",
      "match_when": {
        "image_basename_in": [
          "AnyDesk.exe",
          "TeamViewer.exe",
          "ScreenConnect.ClientService.exe",
          "atera_agent.exe",
          "splashtop.exe"
        ],
        "image_basename_in_allowlist": false
      },
      "mitre": [
        "T1219"
      ],
      "name": "Remote Management Tool Installed Outside Allowlist",
      "product": "edr",
      "service": "process-create",
      "severity": "high",
      "slug": "rmm-tool-install"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-039",
      "match_when": {
        "driver_hash_in_byovd_list": true,
        "event_type": "DriverLoad"
      },
      "mitre": [
        "T1068"
      ],
      "name": "Driver Signed by Microsoft Loaded with Vulnerable Hash (BYOVD)",
      "product": "edr",
      "service": "image-load",
      "severity": "critical",
      "slug": "drivers-loaded-suspicious"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-040",
      "match_when": {
        "host_role": "sensitive",
        "image_basename_in": [
          "snippingtool.exe",
          "screenclippinghost.exe",
          "obs64.exe",
          "obs.exe"
        ]
      },
      "mitre": [
        "T1113"
      ],
      "name": "Screen-Capture Tool Use on Sensitive Workstation",
      "product": "edr",
      "service": "process-create",
      "severity": "medium",
      "slug": "screen-capture-tool"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-041",
      "match_when": {
        "event_id": 7045,
        "service_image_path_contains_any": [
          "\\users\\public\\",
          "\\appdata\\local\\temp\\",
          "\\programdata\\"
        ]
      },
      "mitre": [
        "T1543.003"
      ],
      "name": "Windows Service Created With Suspicious BinaryPath",
      "product": "windows",
      "service": "services",
      "severity": "high",
      "slug": "win-service-create-suspicious-binpath"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-042",
      "match_when": {
        "event_id": 4697,
        "service_image_path_changed": true
      },
      "mitre": [
        "T1543.003",
        "T1574"
      ],
      "name": "Windows Service Image Path Modified",
      "product": "windows",
      "service": "services",
      "severity": "high",
      "slug": "win-service-modify-image-path"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-043",
      "match_when": {
        "image_loaded_path_contains_any": [
          "\\users\\",
          "\\temp\\",
          "\\appdata\\"
        ],
        "process_name": "svchost.exe"
      },
      "mitre": [
        "T1574.002"
      ],
      "name": "Windows svchost.exe Loaded DLL From User Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-service-svchost-loaded-suspicious-dll"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-044",
      "match_when": {
        "creator_process_endswith_any": [
          "winword.exe",
          "excel.exe",
          "outlook.exe",
          "chrome.exe",
          "msedge.exe"
        ],
        "event_id": 4698
      },
      "mitre": [
        "T1053.005"
      ],
      "name": "Scheduled Task Created From Office or Browser",
      "product": "windows",
      "service": "task-scheduler",
      "severity": "high",
      "slug": "win-task-create-from-untrusted-process"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-045",
      "match_when": {
        "event_id": 4698,
        "task_command_contains": "-encodedcommand"
      },
      "mitre": [
        "T1053.005",
        "T1027"
      ],
      "name": "Scheduled Task Runs Encoded PowerShell",
      "product": "windows",
      "service": "task-scheduler",
      "severity": "high",
      "slug": "win-task-runs-encoded-powershell"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-046",
      "match_when": {
        "event_id": 13,
        "target_object_contains": "\\currentversion\\run",
        "value_data_contains_any": [
          "\\temp\\",
          "\\appdata\\local\\temp\\"
        ]
      },
      "mitre": [
        "T1547.001"
      ],
      "name": "Registry Run Key Points To Temp Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-runkey-write-binary-temp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-047",
      "match_when": {
        "event_id": 13,
        "target_object_contains": "\\runonceex"
      },
      "mitre": [
        "T1547.001"
      ],
      "name": "Registry RunOnceEx Key Modified",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-runonceex-write"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-048",
      "match_when": {
        "event_id": 13,
        "target_object_contains": "image file execution options",
        "value_name": "Debugger"
      },
      "mitre": [
        "T1546.012"
      ],
      "name": "Image File Execution Options Debugger Set",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-image-file-execution-options-debugger"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-049",
      "match_when": {
        "event_id": 13,
        "target_object_endswith": "\\appinit_dlls"
      },
      "mitre": [
        "T1546.010"
      ],
      "name": "AppInit_DLLs Registry Value Modified",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-appinit-dll-write"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-050",
      "match_when": {
        "event_id": 13,
        "target_object_endswith_any": [
          "\\userinit",
          "\\shell"
        ]
      },
      "mitre": [
        "T1547.004"
      ],
      "name": "Winlogon Userinit Registry Value Modified",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-winlogon-userinit-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-051",
      "match_when": {
        "event_id": 13,
        "target_object_endswith": "\\scrnsave.exe"
      },
      "mitre": [
        "T1546.002"
      ],
      "name": "ScreenSaver Registry Path Set To Custom Binary",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-screensaver-registry-binary"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-052",
      "match_when": {
        "event_id": 13,
        "target_object_endswith": "\\session manager\\bootexecute"
      },
      "mitre": [
        "T1547"
      ],
      "name": "HKLM BootExecute Registry Value Modified",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-bootexecute-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-053",
      "match_when": {
        "creator_process_not_endswith_any": [
          "msiexec.exe",
          "setup.exe"
        ],
        "event_id": 11,
        "target_filename_contains": "\\start menu\\programs\\startup\\"
      },
      "mitre": [
        "T1547.001"
      ],
      "name": "Startup Folder Written By Non-Installer Process",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-startup-folder-write"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-054",
      "match_when": {
        "event_id": 13,
        "target_object_endswith": "\\environment\\userinitmprlogonscript"
      },
      "mitre": [
        "T1037.001"
      ],
      "name": "Logon Script Registry Modified",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-logon-script-registry"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-055",
      "match_when": {
        "event_id": 13,
        "target_object_contains": "\\classes\\clsid\\",
        "target_object_endswith": "\\inprocserver32\\(default)"
      },
      "mitre": [
        "T1546.015"
      ],
      "name": "COM Hijack Via HKCR\\CLSID\\InprocServer32 Modification",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-com-hijack-classes-root"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-056",
      "match_when": {
        "event_id": 19
      },
      "mitre": [
        "T1546.003"
      ],
      "name": "Permanent WMI EventFilter Created",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-wmi-eventfilter-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-057",
      "match_when": {
        "event_id": 20
      },
      "mitre": [
        "T1546.003"
      ],
      "name": "Permanent WMI EventConsumer Created",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-wmi-eventconsumer-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-058",
      "match_when": {
        "event_id": 21
      },
      "mitre": [
        "T1546.003"
      ],
      "name": "WMI Filter-To-Consumer Binding Created",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-wmi-binding-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-059",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          ".sdb",
          "/install"
        ],
        "process_name_endswith": "sdbinst.exe"
      },
      "mitre": [
        "T1546.011"
      ],
      "name": "Application Compatibility Shim Database Installed",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-shim-database-installed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-060",
      "match_when": {
        "event_id": 13,
        "target_object_contains": "\\control\\print\\monitors\\"
      },
      "mitre": [
        "T1547.010"
      ],
      "name": "Print Monitor DLL Installed",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-print-monitor-installed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-061",
      "match_when": {
        "event_id": 13,
        "target_object_contains": "\\windows defender\\",
        "value_data": "1",
        "value_name": "DisableAntiSpyware"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Microsoft Defender Disabled Via Registry",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-defender-disabled-via-registry"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-062",
      "match_when": {
        "event_id": 5001
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Defender Real-Time Monitoring Disabled",
      "product": "windows",
      "service": "defender",
      "severity": "high",
      "slug": "win-defender-realtime-monitoring-off"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-063",
      "match_when": {
        "event_name": "AddPreference",
        "exclusion_path_contains_any": [
          "\\users\\",
          "\\temp\\",
          "\\appdata\\"
        ]
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Microsoft Defender Path Exclusion Added",
      "product": "windows",
      "service": "defender",
      "severity": "medium",
      "slug": "win-defender-exclusion-added"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-064",
      "match_when": {
        "event_id": 13,
        "target_object_endswith": "\\amsi\\providers",
        "value_data_contains_any": [
          "\\users\\",
          "\\temp\\"
        ]
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "AMSI Provider DLL Loaded From User Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-amsi-provider-loaded"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-065",
      "match_when": {
        "event_id": 13,
        "target_object_endswith": "\\autologger\\eventlog-application",
        "value_data": "0",
        "value_name": "Start"
      },
      "mitre": [
        "T1562.006"
      ],
      "name": "ETW Disabled Via Registry",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-etw-tampering-via-registry"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-066",
      "match_when": {
        "event_id": 7036,
        "service_name": "eventlog",
        "service_state": "stopped"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Windows Event Log Service Stopped",
      "product": "windows",
      "service": "services",
      "severity": "high",
      "slug": "win-eventlog-service-stopped"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-067",
      "match_when": {
        "event_id": 1102,
        "log_name": "Application"
      },
      "mitre": [
        "T1070.001"
      ],
      "name": "Windows Application Event Log Cleared",
      "product": "windows",
      "service": "security",
      "severity": "high",
      "slug": "win-application-log-cleared"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-068",
      "match_when": {
        "event_id": 104,
        "log_name": "System"
      },
      "mitre": [
        "T1070.001"
      ],
      "name": "Windows System Event Log Cleared",
      "product": "windows",
      "service": "security",
      "severity": "high",
      "slug": "win-system-log-cleared"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-069",
      "match_when": {
        "event_id": 16
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Sysmon Configuration Changed",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-sysmon-config-changed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-070",
      "match_when": {
        "event_id": 1,
        "parent_process_endswith_any": [
          "powershell.exe",
          "cmd.exe"
        ],
        "process_name_endswith": "fodhelper.exe"
      },
      "mitre": [
        "T1548.002"
      ],
      "name": "UAC Bypass Via fodhelper.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-uac-bypass-fodhelper"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-071",
      "match_when": {
        "child_process_endswith_any": [
          "cmd.exe",
          "powershell.exe",
          "wscript.exe"
        ],
        "event_id": 1,
        "process_name_endswith": "eventvwr.exe"
      },
      "mitre": [
        "T1548.002"
      ],
      "name": "UAC Bypass Via eventvwr.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-uac-bypass-eventvwr"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-072",
      "match_when": {
        "child_process_endswith_any": [
          "cmd.exe",
          "powershell.exe"
        ],
        "event_id": 1,
        "process_name_endswith": "sdclt.exe"
      },
      "mitre": [
        "T1548.002"
      ],
      "name": "UAC Bypass Via sdclt.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-uac-bypass-sdclt"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-073",
      "match_when": {
        "event_id": 13,
        "target_object_endswith": "\\installer\\alwaysinstallelevated",
        "value_data": "1"
      },
      "mitre": [
        "T1548.002"
      ],
      "name": "AlwaysInstallElevated Registry Enabled",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-always-install-elevated"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-074",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "recoveryenabled no",
          "bootstatuspolicy ignoreallfailures"
        ],
        "process_name_endswith": "bcdedit.exe"
      },
      "mitre": [
        "T1490"
      ],
      "name": "bcdedit Used To Disable Recovery",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-bcdedit-recovery-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-075",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "delete",
          "shadows"
        ],
        "process_name_endswith": "vssadmin.exe"
      },
      "mitre": [
        "T1490"
      ],
      "name": "vssadmin Used To Enumerate And Delete Shadow Copies",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-vssadmin-list-shadows-then-delete"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-076",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "iex",
          "downloadstring"
        ],
        "process_name_endswith": "powershell.exe"
      },
      "mitre": [
        "T1059.001"
      ],
      "name": "PowerShell Invoke-Expression On Web Download",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-powershell-iex-from-web"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-077",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "-executionpolicy bypass",
          "-ep bypass"
        ],
        "process_name_endswith": "powershell.exe"
      },
      "mitre": [
        "T1059.001"
      ],
      "name": "PowerShell Run With ExecutionPolicy Bypass",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-powershell-bypass-flag"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-078",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "amsiUtils",
          "amsiInitFailed",
          "amsiContext"
        ]
      },
      "mitre": [
        "T1562.001",
        "T1059.001"
      ],
      "name": "PowerShell Command Line Contains AMSI Bypass String",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-powershell-amsi-bypass-string"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-079",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "javascript:",
          "vbscript:",
          "http"
        ],
        "process_name_endswith": "mshta.exe"
      },
      "mitre": [
        "T1218.005"
      ],
      "name": "mshta.exe Executed Inline Script",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-mshta-running-script"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-080",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "\\temp\\",
          "\\appdata\\local\\temp"
        ],
        "process_name_endswith": "rundll32.exe"
      },
      "mitre": [
        "T1218.011"
      ],
      "name": "rundll32.exe Loaded DLL From Temp Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-rundll32-from-temp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-081",
      "match_when": {
        "event_id": 1,
        "process_command_line_endswith": "rundll32.exe",
        "process_name_endswith": "rundll32.exe"
      },
      "mitre": [
        "T1218.011"
      ],
      "name": "rundll32.exe Started Without Arguments",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-rundll32-no-args"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-082",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "scrobj.dll",
          "/i:"
        ],
        "process_name_endswith": "regsvr32.exe"
      },
      "mitre": [
        "T1218.010"
      ],
      "name": "regsvr32.exe Used With scrobj.dll (Squiblydoo)",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-regsvr32-scrobj"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-083",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "/node:",
          "process call create"
        ],
        "process_name_endswith": "wmic.exe"
      },
      "mitre": [
        "T1047"
      ],
      "name": "wmic process call create Used For Remote Execution",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-wmic-process-call-create-remote"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-084",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "\\temp\\",
          "\\downloads\\"
        ],
        "process_name_endswith": "cscript.exe"
      },
      "mitre": [
        "T1059.005"
      ],
      "name": "cscript.exe Executing Script From Temp",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-cscript-from-temp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-085",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "/transfer",
          "http"
        ],
        "process_name_endswith": "bitsadmin.exe"
      },
      "mitre": [
        "T1197"
      ],
      "name": "bitsadmin.exe Downloading File",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-bitsadmin-download"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-086",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "-decode",
          "-decodehex",
          "-urlcache -split -f"
        ],
        "process_name_endswith": "certutil.exe"
      },
      "mitre": [
        "T1140"
      ],
      "name": "certutil.exe Used To Decode Encoded File",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-certutil-decode"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-087",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains": "-urlcache",
        "process_name_endswith": "certutil.exe"
      },
      "mitre": [
        "T1105"
      ],
      "name": "certutil.exe Used To Download Remote File",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-certutil-download-url"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-088",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "\\appdata\\",
          "\\temp\\"
        ],
        "process_name_endswith": "cmstp.exe"
      },
      "mitre": [
        "T1218.003"
      ],
      "name": "cmstp.exe Loaded INF From Suspicious Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-cmstp-load-untrusted-inf"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-089",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "\\temp\\",
          "\\appdata\\"
        ],
        "process_name_endswith": "installutil.exe"
      },
      "mitre": [
        "T1218.004"
      ],
      "name": "InstallUtil.exe Run From Temp Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-installutil-from-temp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-090",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "\\users\\public\\",
          "\\appdata\\"
        ],
        "process_name_endswith": "msbuild.exe"
      },
      "mitre": [
        "T1127.001"
      ],
      "name": "MSBuild Running Inline Task XML From User Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-msbuild-running-inline-task"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-091",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "lsass",
          "-ma lsass"
        ],
        "process_name_endswith_any": [
          "procdump.exe",
          "procdump64.exe",
          "procdump64a.exe"
        ]
      },
      "mitre": [
        "T1003.001"
      ],
      "name": "ProcDump Used Against lsass.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-procdump-lsass"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-092",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "comsvcs.dll",
          "minidump"
        ],
        "process_name_endswith": "rundll32.exe"
      },
      "mitre": [
        "T1003.001"
      ],
      "name": "comsvcs.dll MiniDump Of lsass",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-comsvcs-minidump"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-093",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "sekurlsa::",
          "lsadump::",
          "kerberos::",
          "crypto::"
        ]
      },
      "mitre": [
        "T1003"
      ],
      "name": "Mimikatz Marker String In Process Command Line",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-mimikatz-strings-on-cli"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-094",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "ifm",
          "create full",
          "activate instance ntds"
        ],
        "process_name_endswith": "ntdsutil.exe"
      },
      "mitre": [
        "T1003.003"
      ],
      "name": "ntdsutil.exe Used To Extract NTDS",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-ntds-extract-ntdsutil"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-095",
      "match_when": {
        "creator_process_endswith_any": [
          "copy.exe",
          "robocopy.exe",
          "powershell.exe"
        ],
        "event_id": 11,
        "target_filename_endswith": "ntds.dit"
      },
      "mitre": [
        "T1003.003"
      ],
      "name": "VSS Shadow Created Then NTDS.dit Copied",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-vss-shadow-then-copy-ntds"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-096",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "secretsdump",
          "impacket",
          "sam.save",
          "system.save"
        ]
      },
      "mitre": [
        "T1003"
      ],
      "name": "Impacket secretsdump.py Pattern Detected",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-secretsdump-impacket"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-097",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "save",
          "hklm\\sam"
        ],
        "process_name_endswith": "reg.exe"
      },
      "mitre": [
        "T1003.002"
      ],
      "name": "reg save Used Against SAM/SECURITY/SYSTEM",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-reg-save-sam"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-098",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains": "/listcreds",
        "process_name_endswith": "vaultcmd.exe"
      },
      "mitre": [
        "T1555.004"
      ],
      "name": "vaultcmd.exe Listed All Stored Credentials",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-credential-manager-vault-dump"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-099",
      "match_when": {
        "creator_process_not_endswith_any": [
          "lsass.exe",
          "explorer.exe"
        ],
        "event_id": 11,
        "target_filename_contains": "\\protect\\"
      },
      "mitre": [
        "T1555.003"
      ],
      "name": "DPAPI Master Key File Read From Roaming Dir",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-dpapi-masterkey-access"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-100",
      "match_when": {
        "creator_process_not_endswith_any": [
          "chrome.exe",
          "msedge.exe",
          "brave.exe"
        ],
        "event_id": 11,
        "target_filename_endswith": "\\login data"
      },
      "mitre": [
        "T1555.003"
      ],
      "name": "Chromium Login Data SQLite File Read",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-browser-credential-file-read"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-102",
      "match_when": {
        "event_id": 4768,
        "preauth_required": false,
        "ticket_encryption_type": "0x17"
      },
      "mitre": [
        "T1558.004"
      ],
      "name": "Kerberos AS-REP Roasting Pattern",
      "product": "windows",
      "service": "security",
      "severity": "high",
      "slug": "win-kerberos-asrep-roast"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-103",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "net localgroup administrators",
          "net.exe localgroup administrators"
        ]
      },
      "mitre": [
        "T1087.001"
      ],
      "name": "net localgroup administrators Enumerated",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-net-localgroup-administrators"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-104",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "net",
          "group",
          "domain admins"
        ]
      },
      "mitre": [
        "T1087.002"
      ],
      "name": "net group \"Domain Admins\" Enumerated",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-net-group-domain-admins"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-105",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains": "/domain_trusts",
        "process_name_endswith": "nltest.exe"
      },
      "mitre": [
        "T1482"
      ],
      "name": "nltest /domain_trusts Enumerated",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-nltest-domain-trusts"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-106",
      "match_when": {
        "event_id": 1,
        "process_name_endswith": "adfind.exe"
      },
      "mitre": [
        "T1087.002"
      ],
      "name": "AdFind.exe Enumeration Detected",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-adfind-enumeration"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-107",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "sharphound",
          "invoke-bloodhound",
          "bloodhound.py"
        ]
      },
      "mitre": [
        "T1087.002"
      ],
      "name": "SharpHound Collection Run Detected",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-bloodhound-sharphound"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-108",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains": "-a",
        "process_name_endswith": "arp.exe"
      },
      "mitre": [
        "T1018"
      ],
      "name": "arp -a Enumeration By Workstation",
      "product": "windows",
      "service": "sysmon",
      "severity": "low",
      "slug": "win-arp-cache-enum"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-109",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains": "print",
        "process_name_endswith": "route.exe"
      },
      "mitre": [
        "T1018"
      ],
      "name": "route print Run From Workstation",
      "product": "windows",
      "service": "sysmon",
      "severity": "low",
      "slug": "win-route-print"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-110",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "net view \\\\",
          "net.exe share"
        ]
      },
      "mitre": [
        "T1135"
      ],
      "name": "net view Used To Enumerate File Shares",
      "product": "windows",
      "service": "sysmon",
      "severity": "low",
      "slug": "win-net-share-enum"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-111",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains": "\\\\",
        "process_name_endswith": "psexec.exe"
      },
      "mitre": [
        "T1021.002"
      ],
      "name": "PsExec.exe Service Created On Host",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-psexec-execution-host"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-112",
      "match_when": {
        "event_id": 7045,
        "service_image_path_contains": "psexec",
        "service_name_endswith": "psexesvc"
      },
      "mitre": [
        "T1021.002"
      ],
      "name": "PSEXESVC Service Created (Remote PsExec)",
      "product": "windows",
      "service": "services",
      "severity": "high",
      "slug": "win-psexesvc-service-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-113",
      "match_when": {
        "event_id": 7045,
        "service_name_contains": "paexec"
      },
      "mitre": [
        "T1021.002"
      ],
      "name": "PAExec Service Created",
      "product": "windows",
      "service": "services",
      "severity": "high",
      "slug": "win-paexec-service-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-114",
      "match_when": {
        "destination_role": "domain-controller",
        "event_id": 1,
        "process_command_line_contains": "enter-pssession"
      },
      "mitre": [
        "T1021.006"
      ],
      "name": "WinRM Shell From Workstation To DC",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-winrm-shell-from-workstation"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-115",
      "match_when": {
        "create_remote_thread_target_process_endswith_any": [
          "explorer.exe",
          "svchost.exe",
          "lsass.exe"
        ],
        "event_id": 8
      },
      "mitre": [
        "T1055.012"
      ],
      "name": "Process Hollowing Marker (CreateProcess Suspended + Unmapped)",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-process-hollowing-marker"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-116",
      "match_when": {
        "event_id": 8,
        "target_image_endswith": "lsass.exe"
      },
      "mitre": [
        "T1055.001"
      ],
      "name": "CreateRemoteThread Targeting lsass.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-create-remote-thread-lsass"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-117",
      "match_when": {
        "event_id": 8,
        "source_image_path_contains_any": [
          "\\temp\\",
          "\\appdata\\"
        ],
        "target_image_endswith": "explorer.exe"
      },
      "mitre": [
        "T1055"
      ],
      "name": "Suspicious CreateRemoteThread Into explorer.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-suspicious-thread-into-explorer"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-118",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains": "/w",
        "process_name_endswith": "cipher.exe"
      },
      "mitre": [
        "T1485"
      ],
      "name": "cipher.exe /w Used (Secure Delete)",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-cipher-w-secure-delete"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-119",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "/q",
          "/p:0"
        ],
        "process_name_endswith": "format.com"
      },
      "mitre": [
        "T1485"
      ],
      "name": "format Command Used Against Drive",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-format-com-quick"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-120",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "/deny",
          "everyone"
        ],
        "process_name_endswith": "icacls.exe"
      },
      "mitre": [
        "T1222.001"
      ],
      "name": "icacls Used To Deny Access On System Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-icacls-deny-readonly"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-121",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "c:\\windows\\",
          "system32"
        ],
        "process_name_endswith": "takeown.exe"
      },
      "mitre": [
        "T1222.001"
      ],
      "name": "takeown.exe Used Against System Path",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-takeown-system-path"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-122",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_any": [
          "shell32.dll,control_rundll",
          "shell32.dll, control_rundll"
        ],
        "process_name_endswith": "rundll32.exe"
      },
      "mitre": [
        "T1218.011"
      ],
      "name": "rundll32.exe shell32 Control_RunDLL Used Suspiciously",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-rundll32-shell32-controlrunDLL"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-123",
      "match_when": {
        "event_id": 11,
        "target_filename_endswith_any": [
          ".locked",
          ".enc",
          ".crypt",
          ".lockbit",
          ".conti",
          ".royal"
        ]
      },
      "mitre": [
        "T1486"
      ],
      "name": "Burst Of File Extension Renames To Common Ransom Markers",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-ransomware-ext-rename-burst"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-124",
      "match_when": {
        "event_id": 1,
        "process_command_line_contains_all": [
          "shadowcopy",
          "delete"
        ],
        "process_name_endswith": "wmic.exe"
      },
      "mitre": [
        "T1490"
      ],
      "name": "Mass Shadow Copy Deletion Via WMI",
      "product": "windows",
      "service": "sysmon",
      "severity": "critical",
      "slug": "win-shadow-copy-mass-delete"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-125",
      "match_when": {
        "event_id": 1,
        "parent_process_endswith_any": [
          "winword.exe",
          "excel.exe",
          "powerpnt.exe"
        ],
        "process_name_endswith": "mshta.exe"
      },
      "mitre": [
        "T1218.005"
      ],
      "name": "Office Application Spawned mshta.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-office-spawn-mshta"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-126",
      "match_when": {
        "event_id": 1,
        "parent_process_endswith_any": [
          "winword.exe",
          "excel.exe",
          "powerpnt.exe"
        ],
        "process_name_endswith": "rundll32.exe"
      },
      "mitre": [
        "T1218.011"
      ],
      "name": "Office Application Spawned rundll32.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-office-spawn-rundll32"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-127",
      "match_when": {
        "event_id": 1,
        "parent_process_endswith": "onenote.exe",
        "process_name_endswith_any": [
          "cmd.exe",
          "powershell.exe",
          "wscript.exe"
        ]
      },
      "mitre": [
        "T1204.002"
      ],
      "name": "OneNote Spawned cmd.exe",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-onenote-spawn-cmd"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-128",
      "match_when": {
        "event_id": 1,
        "parent_process_endswith_any": [
          "acrord32.exe",
          "acrobat.exe",
          "foxitreader.exe"
        ],
        "process_name_endswith_any": [
          "cmd.exe",
          "powershell.exe"
        ]
      },
      "mitre": [
        "T1204.002"
      ],
      "name": "PDF Reader Spawned Shell",
      "product": "windows",
      "service": "sysmon",
      "severity": "high",
      "slug": "win-pdfreader-spawn-shell"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-129",
      "match_when": {
        "event_id": 11,
        "target_filename_contains_any": [
          "\\temp\\",
          "\\downloads\\"
        ],
        "target_filename_endswith": ".iso"
      },
      "mitre": [
        "T1204.002"
      ],
      "name": "ISO File Mounted From User Temp",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-iso-mount-from-temp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-130",
      "match_when": {
        "event_id": 1,
        "parent_image_endswith": "explorer.exe",
        "process_command_line_contains_any": [
          "e:\\",
          "f:\\"
        ]
      },
      "mitre": [
        "T1204.002"
      ],
      "name": "LNK File Executed From Removable Media",
      "product": "windows",
      "service": "sysmon",
      "severity": "medium",
      "slug": "win-lnk-file-from-removable"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-131",
      "match_when": {
        "exe_not_endswith_any": [
          "/dpkg",
          "/rpm",
          "/yum",
          "/apt-get",
          "/zypper"
        ],
        "path_contains": "/etc/systemd/system/",
        "syscall": "openat"
      },
      "mitre": [
        "T1543.002"
      ],
      "name": "Systemd Unit File Written By Non-Package Process",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-systemd-service-create-untrusted"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-132",
      "match_when": {
        "path_contains": "/etc/systemd/system/",
        "path_endswith": ".timer",
        "syscall": "openat"
      },
      "mitre": [
        "T1053.006"
      ],
      "name": "Systemd Timer Unit Created",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-systemd-timer-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-133",
      "match_when": {
        "exe_not_endswith_any": [
          "/dpkg",
          "/rpm",
          "/apt-get",
          "/yum",
          "/dnf"
        ],
        "path_contains": "/etc/cron.d/",
        "syscall": "openat"
      },
      "mitre": [
        "T1053.003"
      ],
      "name": "File Written Into /etc/cron.d Outside Package Mgr",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-cron-d-write"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-134",
      "match_when": {
        "exe_not_endswith_any": [
          "/dpkg",
          "/rpm"
        ],
        "path_contains_any": [
          "/etc/anacrontab",
          "/etc/cron.daily/",
          "/etc/cron.weekly/"
        ],
        "syscall": "openat"
      },
      "mitre": [
        "T1053.003"
      ],
      "name": "Anacron Job File Added",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-anacron-job-add"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-135",
      "match_when": {
        "exe_endswith": "/at",
        "syscall": "execve"
      },
      "mitre": [
        "T1053.001"
      ],
      "name": "at Job Created",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-at-job-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-136",
      "match_when": {
        "path": "/etc/rc.local",
        "syscall": "openat"
      },
      "mitre": [
        "T1037.004"
      ],
      "name": "/etc/rc.local Modified",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-rclocal-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-137",
      "match_when": {
        "exe_not_endswith_any": [
          "/dpkg",
          "/rpm"
        ],
        "path_contains": "/etc/init.d/",
        "syscall": "openat"
      },
      "mitre": [
        "T1037.004"
      ],
      "name": "/etc/init.d/ Script Added By Non-Pkg Process",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-initd-script-add"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-140",
      "match_when": {
        "exe_not_endswith_any": [
          "/dpkg",
          "/rpm",
          "/yum"
        ],
        "path_contains": "/etc/pam.d/",
        "syscall": "openat"
      },
      "mitre": [
        "T1556.003"
      ],
      "name": "/etc/pam.d/ Configuration Modified",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-pam-d-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-141",
      "match_when": {
        "exe_not_endswith_any": [
          "/dpkg",
          "/rpm"
        ],
        "path_contains": "libnss_",
        "path_startswith": "/usr/lib",
        "syscall": "openat"
      },
      "mitre": [
        "T1556"
      ],
      "name": "NSS Module Installed In /usr/lib",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-nss-module-installed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-142",
      "match_when": {
        "exe_not_endswith_any": [
          "/visudo",
          "/dpkg",
          "/rpm"
        ],
        "path_contains": "/etc/sudoers.d/",
        "syscall": "openat"
      },
      "mitre": [
        "T1098"
      ],
      "name": "New File Added Under /etc/sudoers.d/",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-sudoers-d-add"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-143",
      "match_when": {
        "file_content_contains": "NOPASSWD",
        "path_contains_any": [
          "/etc/sudoers",
          "/etc/sudoers.d/"
        ],
        "syscall": "openat"
      },
      "mitre": [
        "T1548.003"
      ],
      "name": "Sudoers File Granted NOPASSWD Privilege",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-nopasswd-sudo-line"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-144",
      "match_when": {
        "append_count_5min_gt": 3,
        "path_endswith": "/.ssh/authorized_keys",
        "syscall": "openat"
      },
      "mitre": [
        "T1098.004"
      ],
      "name": "Multiple Authorized Keys Appended In Short Window",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-authorized-keys-bulk-append"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-145",
      "match_when": {
        "path": "/etc/ssh/sshd_config",
        "syscall": "openat",
        "value_contains": "PermitRootLogin yes"
      },
      "mitre": [
        "T1556.004"
      ],
      "name": "sshd_config PermitRootLogin Set To Yes",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-ssh-config-permitrootlogin-yes"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-146",
      "match_when": {
        "active_state": "inactive",
        "unit": "auditd"
      },
      "mitre": [
        "T1562.012"
      ],
      "name": "auditd Service Stopped",
      "product": "linux",
      "service": "syslog",
      "severity": "high",
      "slug": "linux-auditd-stopped"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-147",
      "match_when": {
        "argv_contains_any": [
          "-D",
          "-e 0"
        ],
        "exe_endswith": "/auditctl",
        "syscall": "execve"
      },
      "mitre": [
        "T1562.012"
      ],
      "name": "auditctl Used To Disable Audit Rules",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-auditctl-disable"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-148",
      "match_when": {
        "path_contains_any": [
          "/etc/rsyslog.d/",
          "/etc/rsyslog.conf"
        ],
        "syscall": "unlinkat"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "rsyslog Configuration File Removed",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-syslog-config-removed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-149",
      "match_when": {
        "exe_not_endswith_any": [
          "/login",
          "/sshd",
          "/init"
        ],
        "path_contains_any": [
          "/var/log/wtmp",
          "/var/log/btmp"
        ],
        "syscall": "openat"
      },
      "mitre": [
        "T1070.002"
      ],
      "name": "/var/log/wtmp Or /var/log/btmp Modified Suspiciously",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-utmp-tampering"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-150",
      "match_when": {
        "flags_contains": "O_TRUNC",
        "path_endswith": "/.bash_history",
        "syscall": "openat"
      },
      "mitre": [
        "T1070.003"
      ],
      "name": "Bash History File Truncated Or Removed",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-history-cleared"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-151",
      "match_when": {
        "argv_contains_any": [
          "histfile=/dev/null",
          "set +o history"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1070.003"
      ],
      "name": "HISTFILE Set To /dev/null",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-history-disabled-export"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-152",
      "match_when": {
        "argv_contains_any": [
          "0",
          "permissive"
        ],
        "exe_endswith": "/setenforce",
        "syscall": "execve"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "SELinux Set To Permissive",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-selinux-permissive"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-153",
      "match_when": {
        "argv_contains": "-R",
        "exe_endswith_any": [
          "/aa-disable",
          "/apparmor_parser"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "AppArmor Profile Disabled",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-apparmor-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-154",
      "match_when": {
        "argv_contains_any": [
          "-F",
          "--flush"
        ],
        "exe_endswith": "/iptables",
        "syscall": "execve"
      },
      "mitre": [
        "T1562.004"
      ],
      "name": "iptables -F Used To Flush Rules",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-iptables-flush"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-155",
      "match_when": {
        "argv_contains": "disable",
        "exe_endswith": "/ufw",
        "syscall": "execve"
      },
      "mitre": [
        "T1562.004"
      ],
      "name": "ufw Firewall Disabled",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-ufw-disable"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-156",
      "match_when": {
        "actor_uid_neq": 0,
        "path": "/etc/shadow",
        "syscall": "openat"
      },
      "mitre": [
        "T1003.008"
      ],
      "name": "/etc/shadow Read By Non-Root Process",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-shadow-read"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-157",
      "match_when": {
        "exe_not_endswith_any": [
          "/useradd",
          "/usermod",
          "/groupadd",
          "/userdel"
        ],
        "path": "/etc/passwd",
        "syscall": "openat"
      },
      "mitre": [
        "T1136.001"
      ],
      "name": "/etc/passwd Modified By Non-Pkg Process",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-passwd-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-158",
      "match_when": {
        "mode_octal_contains": "4",
        "path_not_startswith_any": [
          "/usr/bin",
          "/usr/sbin",
          "/bin",
          "/sbin"
        ],
        "syscall": "fchmod"
      },
      "mitre": [
        "T1548.001"
      ],
      "name": "SUID Bit Set On Newly Created Binary",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-suid-binary-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-159",
      "match_when": {
        "mode_octal_contains": "2",
        "path_not_startswith_any": [
          "/usr/bin",
          "/usr/sbin",
          "/bin",
          "/sbin"
        ],
        "syscall": "fchmod"
      },
      "mitre": [
        "T1548.001"
      ],
      "name": "SGID Bit Set On Newly Created Binary",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-guid-binary-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-160",
      "match_when": {
        "argv_contains": "cap_setuid",
        "exe_endswith": "/setcap",
        "syscall": "execve"
      },
      "mitre": [
        "T1548.001"
      ],
      "name": "setuid Capability Granted To New Binary",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-cap-setuid-binary"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-161",
      "match_when": {
        "distinct_pid_5min_gt": 50,
        "path": "/etc/passwd",
        "syscall": "openat"
      },
      "mitre": [
        "T1087.001"
      ],
      "name": "/etc/passwd Read By Many Processes In Short Window",
      "product": "linux",
      "service": "auditd",
      "severity": "low",
      "slug": "linux-mass-userlist-read"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-162",
      "match_when": {
        "argv_contains_any": [
          "-l",
          "-lvp",
          "--listen"
        ],
        "exe_endswith_any": [
          "/nc",
          "/ncat",
          "/netcat"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1059.004"
      ],
      "name": "netcat Listening Mode Detected",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-netcat-listen"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-163",
      "match_when": {
        "argv_contains_any": [
          "curl | bash",
          "curl | sh",
          "wget -O- | bash",
          "wget -qO- | sh"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1059.004"
      ],
      "name": "curl/wget Piped Directly To Shell",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-curl-piped-bash"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-164",
      "match_when": {
        "actor_uid_neq": 0,
        "path": "/var/run/docker.sock",
        "syscall": "connect"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Docker Socket Accessed By Non-Root User",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-docker-socket-read-non-root"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-165",
      "match_when": {
        "event_type": "container_create",
        "host_path": "/var/run/docker.sock"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Docker Socket Mounted Into Container",
      "product": "linux",
      "service": "docker",
      "severity": "critical",
      "slug": "linux-docker-socket-mounted-into-container"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-166",
      "match_when": {
        "event_type": "container_create",
        "pid_mode": "host"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Started With --pid=host",
      "product": "linux",
      "service": "docker",
      "severity": "high",
      "slug": "linux-host-pid-namespace"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-167",
      "match_when": {
        "event_type": "container_create",
        "network_mode": "host"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Started With --network=host",
      "product": "linux",
      "service": "docker",
      "severity": "medium",
      "slug": "linux-host-network-namespace"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-168",
      "match_when": {
        "added_caps_has_any": [
          "CAP_SYS_ADMIN",
          "ALL"
        ],
        "event_type": "container_create"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Granted CAP_SYS_ADMIN",
      "product": "linux",
      "service": "docker",
      "severity": "high",
      "slug": "linux-cap-sys-admin-add"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-169",
      "match_when": {
        "options_contains": "rw",
        "syscall": "mount",
        "target_startswith": "/proc"
      },
      "mitre": [
        "T1611"
      ],
      "name": "/proc Re-Mounted With Read-Write",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-mount-procfs-rw"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-170",
      "match_when": {
        "exe_endswith": "/insmod",
        "syscall": "execve"
      },
      "mitre": [
        "T1547.006"
      ],
      "name": "Kernel Module Loaded With insmod",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-kernel-module-load-insmod"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-171",
      "match_when": {
        "actor_uid_neq": 0,
        "cmd": "BPF_PROG_LOAD",
        "syscall": "bpf"
      },
      "mitre": [
        "T1547"
      ],
      "name": "eBPF Program Loaded By Non-Root",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-ebpf-prog-load-non-root"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-172",
      "match_when": {
        "syscall": "ptrace",
        "target_pid": 1
      },
      "mitre": [
        "T1611"
      ],
      "name": "ptrace Attached To PID 1",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-ptrace-pid1"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-173",
      "match_when": {
        "fd_path_startswith": "/memfd:",
        "syscall": "execveat"
      },
      "mitre": [
        "T1620"
      ],
      "name": "memfd_create Then Executed Anonymous Memory Region",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-memfd-create-then-execve"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-174",
      "match_when": {
        "argv_contains_all": [
          "tar",
          "curl"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1041"
      ],
      "name": "tar Output Piped To curl Upload",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-tar-pipe-curl"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-175",
      "match_when": {
        "exe_endswith": "/rclone",
        "syscall": "execve"
      },
      "mitre": [
        "T1041"
      ],
      "name": "rclone Binary Run On Non-Backup Host",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-rclone-process"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-176",
      "match_when": {
        "path_endswith_any": [
          ".tar",
          ".tar.gz",
          ".zip",
          ".7z"
        ],
        "path_startswith": "/tmp/",
        "size_bytes_gt": 524288000,
        "syscall": "openat"
      },
      "mitre": [
        "T1074.001"
      ],
      "name": "Large Archive Created In /tmp",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-large-stage-tmp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-177",
      "match_when": {
        "argv_contains_any": [
          "base64 -d | bash",
          "base64 -d | sh",
          "echo  | base64 -d | sh"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1027"
      ],
      "name": "base64 Decoded Then Executed In Shell",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-base64-decode-then-execve"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-178",
      "match_when": {
        "exe_endswith_any": [
          "/xmrig",
          "/minerd",
          "/cpuminer"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1496"
      ],
      "name": "Likely Cryptominer Process Detected",
      "product": "linux",
      "service": "auditd",
      "severity": "critical",
      "slug": "linux-cryptominer-process"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-179",
      "match_when": {
        "argv_contains_any": [
          "/var/lib",
          "/data",
          "/srv"
        ],
        "exe_endswith": "/shred",
        "syscall": "execve"
      },
      "mitre": [
        "T1485"
      ],
      "name": "shred Used Against Production Data Path",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-shred-on-prod-data"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-180",
      "match_when": {
        "argv_contains_all": [
          "if=/dev/zero",
          "of=/dev/"
        ],
        "exe_endswith": "/dd",
        "syscall": "execve"
      },
      "mitre": [
        "T1561.002"
      ],
      "name": "dd Writing /dev/zero To Block Device",
      "product": "linux",
      "service": "auditd",
      "severity": "critical",
      "slug": "linux-wipe-disk-dd"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-181",
      "match_when": {
        "argv_contains_any": [
          "stop",
          "disable"
        ],
        "exe_endswith": "/systemctl",
        "stops_5min_gt": 5,
        "syscall": "execve"
      },
      "mitre": [
        "T1489"
      ],
      "name": "Multiple Critical Services Stopped In Quick Burst",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-systemctl-mass-stop"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-182",
      "match_when": {
        "new_name_endswith_any": [
          ".locked",
          ".enc",
          ".ryuk",
          ".lockbit"
        ],
        "rename_count_60s_gt": 50,
        "syscall": "renameat2"
      },
      "mitre": [
        "T1486"
      ],
      "name": "Mass File Rename To Ransom Marker Extension",
      "product": "linux",
      "service": "auditd",
      "severity": "critical",
      "slug": "linux-mass-rename-suspicious-ext"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-183",
      "match_when": {
        "fd_path_startswith": "/proc/self/fd/",
        "syscall": "execveat"
      },
      "mitre": [
        "T1620"
      ],
      "name": "Process Executed From /proc/self/fd Anonymous Inode",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-fileless-via-procfd"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-184",
      "match_when": {
        "argv_contains_any": [
          ".xyz",
          ".top",
          ".click",
          ".support"
        ],
        "exe_endswith_any": [
          "/wget",
          "/curl"
        ],
        "syscall": "execve"
      },
      "mitre": [
        "T1105"
      ],
      "name": "wget Pulling From Newly Registered TLD",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-wget-suspicious-tld"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-185",
      "match_when": {
        "argv_contains_all": [
          "+x",
          "/tmp/"
        ],
        "exe_endswith": "/chmod",
        "syscall": "execve"
      },
      "mitre": [
        "T1222.002"
      ],
      "name": "chmod +x Applied To File In /tmp",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-chmod-plus-x-tmp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-186",
      "match_when": {
        "exe_startswith": "/dev/shm/",
        "syscall": "execve"
      },
      "mitre": [
        "T1059.004"
      ],
      "name": "execve From /dev/shm",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-execve-from-dev-shm"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-187",
      "match_when": {
        "argv_contains": "attach",
        "exe_endswith": "/portablectl",
        "syscall": "execve"
      },
      "mitre": [
        "T1543.002"
      ],
      "name": "systemd-portable Image Attached",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-systemd-portable-attach"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-188",
      "match_when": {
        "argv_contains_any": [
          "/tmp/",
          "/dev/shm/"
        ],
        "exe_endswith": "/modprobe",
        "syscall": "execve"
      },
      "mitre": [
        "T1547.006"
      ],
      "name": "modprobe Loaded Module From /tmp",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-modprobe-suspicious"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-189",
      "match_when": {
        "env_ld_preload_startswith": "/tmp/",
        "syscall": "execve"
      },
      "mitre": [
        "T1574.006"
      ],
      "name": "LD_PRELOAD Pointing To /tmp",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "linux-ld-preload-set-tmp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-190",
      "match_when": {
        "path_startswith": "/etc/yum.repos.d/",
        "syscall": "openat",
        "value_contains": "baseurl=http://"
      },
      "mitre": [
        "T1195.002"
      ],
      "name": "yum/dnf Added Repo From Untrusted Domain",
      "product": "linux",
      "service": "auditd",
      "severity": "medium",
      "slug": "linux-yum-add-untrusted-repo"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-191",
      "match_when": {
        "creator_signing_id_not_in": [
          "com.apple.installer",
          "com.apple.softwareupdated"
        ],
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_contains": "/Library/LaunchDaemons/"
      },
      "mitre": [
        "T1543.001"
      ],
      "name": "LaunchDaemon Plist Written To /Library/LaunchDaemons",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-launchdaemon-write-system"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-192",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_contains_any": [
          "/Users/",
          "/Library/LaunchAgents/"
        ],
        "path_endswith": ".plist"
      },
      "mitre": [
        "T1543.004"
      ],
      "name": "User LaunchAgent Plist Created",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-launchagent-write-user"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-193",
      "match_when": {
        "argv_contains": "login items",
        "event_type": "exec",
        "process_path_endswith": "/osascript"
      },
      "mitre": [
        "T1547.015"
      ],
      "name": "Login Item Added Via osascript",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-loginitem-add"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-194",
      "match_when": {
        "event_type": "exec",
        "process_path_endswith": "/PlistBuddy",
        "responsible_signing_id_not_startswith": "com.apple."
      },
      "mitre": [
        "T1547"
      ],
      "name": "PlistBuddy Used By Non-System Process",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-plistbuddy-from-non-system"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-195",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_contains": "/etc/emond.d/rules/"
      },
      "mitre": [
        "T1546.014"
      ],
      "name": "Apple emond Rule Installed",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-emond-installed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-196",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_contains": "/private/etc/periodic/"
      },
      "mitre": [
        "T1037"
      ],
      "name": "/private/etc/periodic Script Modified",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-periodic-script-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-197",
      "match_when": {
        "argv_contains": "-l",
        "event_type": "exec",
        "process_path_endswith": "/crontab"
      },
      "mitre": [
        "T1053.003"
      ],
      "name": "User crontab Created (Rare On macOS)",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-cron-tab-create"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-198",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_endswith": "/.ssh/authorized_keys"
      },
      "mitre": [
        "T1098.004"
      ],
      "name": "~/.ssh/authorized_keys Modified",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-ssh-authorized-keys-append"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-199",
      "match_when": {
        "argv_contains": "remove",
        "event_type": "exec",
        "process_path_endswith": "/profiles"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "MDM Enrollment Profile Removed",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-mdm-enrollment-removed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-200",
      "match_when": {
        "argv_contains": "install",
        "event_type": "exec",
        "process_path_endswith": "/profiles"
      },
      "mitre": [
        "T1078.003"
      ],
      "name": "Configuration Profile Installed",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-config-profile-installed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-201",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_endswith": "com.apple.backgroundtaskmanagement.plist"
      },
      "mitre": [
        "T1547.015"
      ],
      "name": "com.apple.loginitems Modified",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-com-apple-loginitems-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-202",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_endswith": ".app/Contents/MacOS/main",
        "path_startswith": "/Users/Shared/"
      },
      "mitre": [
        "T1574.002"
      ],
      "name": "Custom .app Bundle Written To /Users/Shared",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-app-bundle-shared"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-203",
      "match_when": {
        "argv_contains": "--master-disable",
        "event_type": "exec",
        "process_path_endswith": "/spctl"
      },
      "mitre": [
        "T1553.001"
      ],
      "name": "spctl --master-disable (Gatekeeper Off)",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-spctl-master-disable"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-204",
      "match_when": {
        "argv_contains": "disable",
        "event_type": "exec",
        "process_path_endswith": "/csrutil"
      },
      "mitre": [
        "T1553"
      ],
      "name": "csrutil disable (SIP Off)",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "critical",
      "slug": "macos-csrutil-disable"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-205",
      "match_when": {
        "argv_contains": "boot-args=",
        "event_type": "exec",
        "process_path_endswith": "/nvram"
      },
      "mitre": [
        "T1542.001"
      ],
      "name": "nvram boot-args Modified",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "critical",
      "slug": "macos-nvram-boot-args"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-206",
      "match_when": {
        "argv_contains_all": [
          "-d",
          "com.apple.quarantine"
        ],
        "event_type": "exec",
        "process_path_endswith": "/xattr"
      },
      "mitre": [
        "T1553.001"
      ],
      "name": "com.apple.quarantine xattr Stripped",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-quarantine-attribute-removed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-207",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_endswith": "/Library/Application Support/com.apple.TCC/TCC.db"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "TCC Database Modified Outside tccd",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-tcc-db-direct-write"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-208",
      "match_when": {
        "event_type": "exec",
        "kext_signed": false,
        "process_path_endswith": "/kextload"
      },
      "mitre": [
        "T1547.006"
      ],
      "name": "kextload Of Unsigned Kernel Extension",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "critical",
      "slug": "macos-kextload-unsigned"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-209",
      "match_when": {
        "argv_contains_all": [
          "com.apple.MRT",
          "DisableMRTShim"
        ],
        "event_type": "exec",
        "process_path_endswith": "/defaults"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "XProtect Updates Disabled",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-xprotect-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-210",
      "match_when": {
        "argv_contains_any": [
          "--setglobalstate off",
          "--setblockall off"
        ],
        "event_type": "exec",
        "process_path_endswith": "/socketfilterfw"
      },
      "mitre": [
        "T1562.004"
      ],
      "name": "Application Firewall Disabled",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-firewall-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-211",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_endswith": "_MASReceipt/receipt"
      },
      "mitre": [
        "T1562"
      ],
      "name": "App Store Receipt File Tampered",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-mas-receipt-tamper"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-212",
      "match_when": {
        "argv_contains_all": [
          "--force",
          "--deep"
        ],
        "event_type": "exec",
        "process_path_endswith": "/codesign"
      },
      "mitre": [
        "T1553.002"
      ],
      "name": "codesign --force --deep Used By User",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-codesign-force-bypass"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-213",
      "match_when": {
        "argv_contains": "export",
        "event_type": "exec",
        "process_path_endswith": "/security"
      },
      "mitre": [
        "T1555.001"
      ],
      "name": "security export Used Against Login Keychain",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-security-export-keychain"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-214",
      "match_when": {
        "argv_contains": "find-generic-password",
        "event_type": "exec",
        "process_path_endswith": "/security"
      },
      "mitre": [
        "T1555.001"
      ],
      "name": "security find-generic-password Used",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-security-find-generic-password"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-216",
      "match_when": {
        "event_type": "exec",
        "process_path_endswith": "/screencapture"
      },
      "mitre": [
        "T1113"
      ],
      "name": "screencapture Binary Used",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "low",
      "slug": "macos-screencapture-binary"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-217",
      "match_when": {
        "argv_contains_any": [
          "security 2>&1",
          "find-generic-password"
        ],
        "event_type": "exec",
        "process_path_endswith": "/osascript"
      },
      "mitre": [
        "T1555.001"
      ],
      "name": "osascript Used To Read Keychain",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-osascript-keychain-access"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-218",
      "match_when": {
        "argv_contains_all": [
          "write",
          "com.apple.loginwindow"
        ],
        "event_type": "exec",
        "process_path_endswith": "/defaults"
      },
      "mitre": [
        "T1547.005"
      ],
      "name": "defaults Wrote To com.apple.loginwindow",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-defaults-com-apple-loginwindow"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-219",
      "match_when": {
        "argv_contains_all": [
          "com.apple.security",
          "AccountSettings",
          "Keychain"
        ],
        "event_type": "exec",
        "process_path_endswith": "/defaults"
      },
      "mitre": [
        "T1562"
      ],
      "name": "iCloud Keychain Sync Toggled Off",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-icloud-keychain-toggle"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-220",
      "match_when": {
        "argv_contains": "install",
        "event_type": "exec",
        "process_path_endswith": "/systemextensionsctl"
      },
      "mitre": [
        "T1547.006"
      ],
      "name": "SystemExtension Loaded From Non-Apple Bundle",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-systemextension-load-non-apple"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-221",
      "match_when": {
        "argv_contains": "do shell script",
        "event_type": "exec",
        "process_path_endswith": "/osascript"
      },
      "mitre": [
        "T1059.002",
        "T1548.004"
      ],
      "name": "osascript do shell script with administrator privileges",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-osascript-do-shell-script"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-222",
      "match_when": {
        "argv_contains_any": [
          "/tmp/",
          "/private/tmp/"
        ],
        "event_type": "exec",
        "process_path_endswith": "/launchctl"
      },
      "mitre": [
        "T1543.001"
      ],
      "name": "launchctl Loading Plist From /tmp",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-launchctl-load-from-tmp"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-223",
      "match_when": {
        "argv_contains_any": [
          "curl | sh",
          "curl | bash"
        ],
        "event_type": "exec",
        "process_path_endswith": "/sh"
      },
      "mitre": [
        "T1105"
      ],
      "name": "curl Output Piped To Shell",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-curl-pipe-shell"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-224",
      "match_when": {
        "env_dyld_insert_libraries_startswith_any": [
          "/tmp/",
          "/Users/"
        ],
        "event_type": "exec"
      },
      "mitre": [
        "T1574.006"
      ],
      "name": "DYLD_INSERT_LIBRARIES Set To /tmp Or User Path",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "high",
      "slug": "macos-dyld-insert-libraries"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-225",
      "match_when": {
        "event_type": "ES_EVENT_TYPE_NOTIFY_WRITE",
        "path_endswith": "/Preferences/com.apple.dock.plist"
      },
      "mitre": [
        "T1547.005"
      ],
      "name": "com.apple.dock Modified By Non-System Process",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "low",
      "slug": "macos-dock-modified"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-226",
      "match_when": {
        "argv_contains_all": [
          "-setremotelogin",
          "on"
        ],
        "event_type": "exec",
        "process_path_endswith": "/systemsetup"
      },
      "mitre": [
        "T1021.004"
      ],
      "name": "systemsetup Enabled Remote Login (SSH)",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-systemsetup-remote-login"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-227",
      "match_when": {
        "event_type": "exec",
        "process_path_contains": "/hyperkit",
        "process_path_not_startswith_any": [
          "/Applications/",
          "/usr/local/bin/"
        ]
      },
      "mitre": [
        "T1610"
      ],
      "name": "hyperkit Launched From Non-Standard Path",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-hyperkit-launch-untrusted"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-228",
      "match_when": {
        "event_type": "exec",
        "process_path_startswith": "/Users/Shared/"
      },
      "mitre": [
        "T1059.004"
      ],
      "name": "Mach-O Binary Executed From /Users/Shared",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-binary-from-shared"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-229",
      "match_when": {
        "argv_contains_all": [
          "reset",
          "All"
        ],
        "event_type": "exec",
        "process_path_endswith": "/tccutil"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "tccutil reset All Subsystems",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-tccutil-reset-all"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-230",
      "match_when": {
        "argv_contains_all": [
          "com.apple.icloud",
          "FindMyMacEnabled",
          "0"
        ],
        "event_type": "exec",
        "process_path_endswith": "/defaults"
      },
      "mitre": [
        "T1562"
      ],
      "name": "Find My Mac Disabled",
      "product": "macos",
      "service": "endpointsecurity",
      "severity": "medium",
      "slug": "macos-find-iphone-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-231",
      "match_when": {
        "address_contains": "tcp://0.0.0.0",
        "event_type": "daemon_listening"
      },
      "mitre": [
        "T1610"
      ],
      "name": "Docker Daemon Listening On TCP Socket",
      "product": "docker",
      "service": "dockerd",
      "severity": "critical",
      "slug": "container-docker-tcp-listening"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-232",
      "match_when": {
        "environment": "prod",
        "event_type": "image_pull",
        "image_registry_in": [
          "docker.io",
          "ghcr.io"
        ]
      },
      "mitre": [
        "T1525"
      ],
      "name": "Production Container Pulled From Public Registry",
      "product": "docker",
      "service": "dockerd",
      "severity": "medium",
      "slug": "container-image-from-public-registry"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-233",
      "match_when": {
        "environment": "prod",
        "event_type": "image_pull",
        "image_tag": "latest"
      },
      "mitre": [
        "T1525"
      ],
      "name": "Container Pulled With :latest Tag In Production",
      "product": "docker",
      "service": "dockerd",
      "severity": "medium",
      "slug": "container-image-tag-latest-prod"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-234",
      "match_when": {
        "environment": "prod",
        "event_type": "container_start",
        "user_uid": 0
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Started As UID 0 In Production",
      "product": "docker",
      "service": "dockerd",
      "severity": "medium",
      "slug": "container-running-as-root-prod"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-235",
      "match_when": {
        "event_type": "container_create",
        "host_mount_path": "/"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Mounted Host Root Filesystem",
      "product": "docker",
      "service": "dockerd",
      "severity": "critical",
      "slug": "container-hostpath-mount-root"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-236",
      "match_when": {
        "event_type": "container_create",
        "host_mount_path_contains": "/etc"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Mounted /etc From Host",
      "product": "docker",
      "service": "dockerd",
      "severity": "high",
      "slug": "container-mount-etc"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-237",
      "match_when": {
        "environment": "prod",
        "event_type": "container_create",
        "readonly_root_fs": false
      },
      "mitre": [
        "T1611"
      ],
      "name": "Container Created With ReadOnlyRootFilesystem False",
      "product": "docker",
      "service": "dockerd",
      "severity": "low",
      "slug": "container-readonly-fs-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-238",
      "match_when": {
        "event_type": "image_build",
        "host_role": "production"
      },
      "mitre": [
        "T1612"
      ],
      "name": "docker build Run On Production Host",
      "product": "docker",
      "service": "dockerd",
      "severity": "medium",
      "slug": "container-build-on-host"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-239",
      "match_when": {
        "event_type": "container_create",
        "image_name_contains": "docker:dind"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Docker-In-Docker Pattern Detected",
      "product": "docker",
      "service": "dockerd",
      "severity": "medium",
      "slug": "container-dind-detected"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-240",
      "match_when": {
        "event_type": "create_pod",
        "host_network": true
      },
      "mitre": [
        "T1611"
      ],
      "name": "Pod Created With hostNetwork: true",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-pod-hostnetwork-true"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-241",
      "match_when": {
        "event_type": "create_pod",
        "host_pid": true
      },
      "mitre": [
        "T1611"
      ],
      "name": "Pod Created With hostPID: true",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-pod-hostpid-true"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-242",
      "match_when": {
        "event_type": "create_pod",
        "host_ipc": true
      },
      "mitre": [
        "T1611"
      ],
      "name": "Pod Created With hostIPC: true",
      "product": "kubernetes",
      "service": "audit",
      "severity": "medium",
      "slug": "k8s-pod-hostipc-true"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-243",
      "match_when": {
        "container_privileged": true,
        "event_type": "create_pod"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Pod Created With privileged Security Context",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "k8s-pod-privileged"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-244",
      "match_when": {
        "allow_privilege_escalation": true,
        "environment": "prod",
        "event_type": "create_pod"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Pod Allows Privilege Escalation",
      "product": "kubernetes",
      "service": "audit",
      "severity": "medium",
      "slug": "k8s-pod-allow-priv-esc"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-245",
      "match_when": {
        "event_type": "create_rolebinding",
        "role_ref_name": "cluster-admin"
      },
      "mitre": [
        "T1098.003"
      ],
      "name": "RoleBinding Created Bound To cluster-admin ClusterRole",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "k8s-rolebinding-cluster-admin"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-246",
      "match_when": {
        "event_type": "create_clusterrolebinding",
        "subject_group": "system:masters"
      },
      "mitre": [
        "T1098.003"
      ],
      "name": "ClusterRoleBinding To system:masters",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "k8s-clusterrolebinding-system-masters"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-247",
      "match_when": {
        "event_type": "audit",
        "verb": "impersonate"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Kubernetes Verb 'impersonate' Used",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-impersonate-verb"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-248",
      "match_when": {
        "event_type_in": [
          "create_mutatingwebhookconfiguration",
          "update_mutatingwebhookconfiguration"
        ]
      },
      "mitre": [
        "T1098"
      ],
      "name": "MutatingWebhookConfiguration Modified",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-mutating-webhook-changed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-249",
      "match_when": {
        "event_type_in": [
          "create_validatingwebhookconfiguration",
          "update_validatingwebhookconfiguration"
        ]
      },
      "mitre": [
        "T1098"
      ],
      "name": "ValidatingWebhookConfiguration Modified",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-validating-webhook-changed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-250",
      "match_when": {
        "event_type": "label_namespace",
        "label_key": "pod-security.kubernetes.io/enforce",
        "label_value": "privileged"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Pod Security Admission Mode Disabled For Namespace",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-pod-security-disabled-namespace"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-251",
      "match_when": {
        "event_type": "apiserver_start",
        "flag_anonymous_auth": true
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "kube-apiserver Started With --anonymous-auth=true",
      "product": "kubernetes",
      "service": "apiserver",
      "severity": "critical",
      "slug": "k8s-anonymous-auth-enabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-252",
      "match_when": {
        "event_type": "pod_exec",
        "namespace": "kube-system"
      },
      "mitre": [
        "T1611"
      ],
      "name": "Exec Into Pod In kube-system Namespace",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-exec-into-kube-system"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-253",
      "match_when": {
        "event_type": "audit",
        "events_5min_gt": 30,
        "resource": "secrets",
        "verb": "get"
      },
      "mitre": [
        "T1552.007"
      ],
      "name": "Many Secrets Read From Single Service Account",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-secret-mass-read"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-254",
      "match_when": {
        "event_type": "delete_networkpolicy",
        "namespace_in": [
          "prod",
          "production",
          "default"
        ]
      },
      "mitre": [
        "T1562.004"
      ],
      "name": "NetworkPolicy Deleted In Restricted Namespace",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "k8s-networkpolicy-deleted-restricted-ns"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-255",
      "match_when": {
        "event_type": "create_pod",
        "image_contains_any": [
          "xmrig",
          "monero",
          "minerd"
        ]
      },
      "mitre": [
        "T1496"
      ],
      "name": "Pod Created From Known Cryptominer Image Family",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "k8s-pod-runs-cryptominer-image"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-256",
      "match_when": {
        "event_type": "compliance",
        "jailbroken": true
      },
      "mitre": [
        "T1404"
      ],
      "name": "iOS Jailbreak Detected By MDM",
      "product": "ios",
      "service": "mdm",
      "severity": "critical",
      "slug": "mobile-ios-jailbreak-detected"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-257",
      "match_when": {
        "event_type": "compliance",
        "rooted": true
      },
      "mitre": [
        "T1404"
      ],
      "name": "Android Root Detected By MDM",
      "product": "android",
      "service": "mdm",
      "severity": "critical",
      "slug": "mobile-android-root-detected"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-258",
      "match_when": {
        "compliant": false,
        "event_type": "compliance"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Device Marked Out Of MDM Compliance",
      "product": "mdm",
      "service": "compliance",
      "severity": "medium",
      "slug": "mobile-mdm-out-of-compliance"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-259",
      "match_when": {
        "event_type": "app_install",
        "source_in": [
          "unknown",
          "sideload",
          "adb"
        ]
      },
      "mitre": [
        "T1659"
      ],
      "name": "App Sideloaded Outside Of Managed Store",
      "product": "mobile",
      "service": "mdm",
      "severity": "high",
      "slug": "mobile-app-sideloaded"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-260",
      "match_when": {
        "event_type": "profile_remove_attempt"
      },
      "mitre": [
        "T1562"
      ],
      "name": "MDM Profile Removal Attempted",
      "product": "mdm",
      "service": "compliance",
      "severity": "critical",
      "slug": "mobile-mdm-removal-attempt"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-261",
      "match_when": {
        "category": "vpn",
        "event_type": "app_install"
      },
      "mitre": [
        "T1572"
      ],
      "name": "VPN App Installed On Managed Device",
      "product": "mobile",
      "service": "mdm",
      "severity": "medium",
      "slug": "mobile-vpn-app-installed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-262",
      "match_when": {
        "event_type": "compliance",
        "find_device_enabled": false
      },
      "mitre": [
        "T1562"
      ],
      "name": "Find My Device Disabled",
      "product": "mobile",
      "service": "mdm",
      "severity": "high",
      "slug": "mobile-find-device-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-263",
      "match_when": {
        "event_type": "compliance",
        "screen_lock_enabled": false
      },
      "mitre": [
        "T1078"
      ],
      "name": "Screen Lock Disabled On Managed Device",
      "product": "mobile",
      "service": "mdm",
      "severity": "high",
      "slug": "mobile-screen-lock-disabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-264",
      "match_when": {
        "event_type": "account_change",
        "service": "icloud"
      },
      "mitre": [
        "T1078"
      ],
      "name": "iCloud Account Changed On Managed iOS Device",
      "product": "ios",
      "service": "mdm",
      "severity": "high",
      "slug": "mobile-icloud-account-swap"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-265",
      "match_when": {
        "event_type": "account_change",
        "service": "google"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Google Account Changed On Managed Android Device",
      "product": "android",
      "service": "mdm",
      "severity": "high",
      "slug": "mobile-google-account-swap"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-266",
      "match_when": {
        "app_signed_by_known_publisher": false,
        "event_type": "permission_grant",
        "permission": "ACCESSIBILITY"
      },
      "mitre": [
        "T1530"
      ],
      "name": "Accessibility Permission Granted To Untrusted App",
      "product": "android",
      "service": "mdm",
      "severity": "high",
      "slug": "mobile-accessibility-permission-granted"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-267",
      "match_when": {
        "event_type": "config_change",
        "key": "http_proxy"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Network Proxy Configured On Managed Device",
      "product": "mobile",
      "service": "mdm",
      "severity": "medium",
      "slug": "mobile-network-proxy-configured"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-268",
      "match_when": {
        "developer_mode": true,
        "event_type": "compliance"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Developer Mode Enabled On Managed Device",
      "product": "mobile",
      "service": "mdm",
      "severity": "medium",
      "slug": "mobile-developer-mode-enabled"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-269",
      "match_when": {
        "event_type": "cert_install",
        "trust_level": "user_trusted"
      },
      "mitre": [
        "T1553.004"
      ],
      "name": "Untrusted Root Certificate Installed On Device",
      "product": "mobile",
      "service": "mdm",
      "severity": "high",
      "slug": "mobile-mdm-cert-untrusted"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-270",
      "match_when": {
        "event_type": "compliance",
        "geofence_in_restricted_zone": true,
        "tethering_enabled": true
      },
      "mitre": [
        "T1011"
      ],
      "name": "Personal Hotspot Or Bluetooth Tethering Enabled In Restricted Site",
      "product": "mobile",
      "service": "mdm",
      "severity": "low",
      "slug": "mobile-bluetooth-tethering-public"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-271",
      "match_when": {
        "event_type": "firewall_state_change",
        "state": "disabled"
      },
      "mitre": [
        "T1562.004"
      ],
      "name": "Host Firewall Disabled On Managed Endpoint",
      "product": "endpoint",
      "service": "firewall",
      "severity": "high",
      "slug": "host-firewall-disabled-managed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-272",
      "match_when": {
        "event_type": "interface_state",
        "promiscuous": true
      },
      "mitre": [
        "T1040"
      ],
      "name": "Network Interface Set To Promiscuous Mode",
      "product": "endpoint",
      "service": "agent",
      "severity": "high",
      "slug": "host-promiscuous-interface"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-273",
      "match_when": {
        "duplicate_macs_for_gateway": true,
        "event_type": "arp_anomaly"
      },
      "mitre": [
        "T1557.002"
      ],
      "name": "ARP Cache Poisoning Indicators On Host",
      "product": "endpoint",
      "service": "agent",
      "severity": "high",
      "slug": "host-arp-poison-detected"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-274",
      "match_when": {
        "event_type": "llmnr",
        "self_response_for_external_query": true
      },
      "mitre": [
        "T1557.001"
      ],
      "name": "Suspicious LLMNR Reply Pattern (Responder-Like)",
      "product": "endpoint",
      "service": "agent",
      "severity": "high",
      "slug": "host-llmnr-replies-spoofed"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-275",
      "match_when": {
        "event_type": "dns_query",
        "external_resolver": true,
        "query": "wpad.local"
      },
      "mitre": [
        "T1557.002"
      ],
      "name": "WPAD Probe Reaching External Resolver",
      "product": "endpoint",
      "service": "dns",
      "severity": "medium",
      "slug": "host-wpad-probe"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-276",
      "match_when": {
        "event_type": "dhcp_offer_outbound"
      },
      "mitre": [
        "T1557"
      ],
      "name": "Host Advertising As DHCP Server",
      "product": "endpoint",
      "service": "agent",
      "severity": "critical",
      "slug": "host-rogue-dhcp-host"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-277",
      "match_when": {
        "event_type": "mdns_query",
        "query_endswith_any": [
          ".com",
          ".net",
          ".io"
        ]
      },
      "mitre": [
        "T1018"
      ],
      "name": "mDNS Query For Non-.local Suffix",
      "product": "endpoint",
      "service": "dns",
      "severity": "low",
      "slug": "host-mdns-suspicious-tld"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-278",
      "match_when": {
        "event_type": "ssdp_egress",
        "source_subnet_role": "server"
      },
      "mitre": [
        "T1018"
      ],
      "name": "UPnP/SSDP Beacons From Server Subnet",
      "product": "endpoint",
      "service": "agent",
      "severity": "medium",
      "slug": "host-upnp-from-server"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-279",
      "match_when": {
        "event_type": "rdp_cert_mismatch"
      },
      "mitre": [
        "T1557.002"
      ],
      "name": "RDP Client Saw Certificate Mismatch",
      "product": "endpoint",
      "service": "rdp",
      "severity": "high",
      "slug": "host-rdp-mitm-cert-mismatch"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-280",
      "match_when": {
        "agent": "sccm",
        "event_type": "agent_install",
        "source_signed_by_known_publisher": false
      },
      "mitre": [
        "T1195.002"
      ],
      "name": "SCCM Client Installed From Untrusted Source",
      "product": "endpoint",
      "service": "agent",
      "severity": "medium",
      "slug": "host-sccm-client-untrusted"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-281",
      "match_when": {
        "cmdline_contains_all": [
          "osascript",
          "system_profiler"
        ],
        "cmdline_contains_any": [
          "VMware",
          "QEMU",
          "VirtualBox"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1059.002"
      ],
      "name": "AMoS Stealer Virtual Machine Detection via osquery",
      "product": "osquery",
      "service": "processes",
      "severity": "high",
      "slug": "osquery-macos-amos-stealer-vm-check"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-282",
      "match_when": {
        "cmdline_contains_any": [
          "dd if=",
          "split -b"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1030"
      ],
      "name": "macOS Data Chunking via dd or split",
      "product": "osquery",
      "service": "processes",
      "severity": "high",
      "slug": "osquery-macos-data-chunking"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-283",
      "match_when": {
        "cmdline_contains_any": [
          "com.apple.quarantine",
          "spctl --master-disable"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1553.001"
      ],
      "name": "macOS Gatekeeper Bypass Attempt",
      "product": "osquery",
      "service": "processes",
      "severity": "high",
      "slug": "osquery-macos-gatekeeper-bypass"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-284",
      "match_when": {
        "cmdline_contains_all": [
          "PlistBuddy"
        ],
        "cmdline_contains_any": [
          "LaunchAgents",
          "RunAtLoad"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1543.001"
      ],
      "name": "Suspicious PlistBuddy LaunchAgent Modification",
      "product": "osquery",
      "service": "processes",
      "severity": "high",
      "slug": "osquery-macos-suspicious-plistbuddy"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-285",
      "match_when": {
        "cmdline_startswith": "sudoedit -s ",
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1068"
      ],
      "name": "Baron Samedit CVE-2021-3156 Exploit Attempt",
      "product": "osquery",
      "service": "processes",
      "severity": "medium",
      "slug": "osquery-linux-baron-samedit-cve-2021-3156"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-286",
      "match_when": {
        "cmdline_contains_any": [
          "service osqueryd stop",
          "systemctl stop osqueryd"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1489"
      ],
      "name": "Linux osqueryd Service Stop Detected via auditd",
      "product": "linux",
      "service": "auditd",
      "severity": "high",
      "slug": "osquery-linux-auditd-service-stop"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-287",
      "match_when": {
        "cmdline_contains_any": [
          "sysadminctl -addUser",
          "dscl . -create /Users/",
          "createhomedir -u "
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1136.001"
      ],
      "name": "macOS Local User Account Created",
      "product": "osquery",
      "service": "processes",
      "severity": "medium",
      "slug": "osquery-macos-account-created"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-288",
      "match_when": {
        "cmdline_contains_any": [
          "chflags hidden",
          "xattr -wx com.apple"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1564.001"
      ],
      "name": "macOS Hidden File or Directory Created",
      "product": "osquery",
      "service": "processes",
      "severity": "medium",
      "slug": "osquery-macos-hidden-file-directory"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-289",
      "match_when": {
        "event_type": "osquery_query_row",
        "name": "kextload"
      },
      "mitre": [
        "T1543"
      ],
      "name": "macOS Kernel Extension Loaded via kextload",
      "product": "osquery",
      "service": "processes",
      "severity": "high",
      "slug": "osquery-macos-kextload"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-290",
      "match_when": {
        "cmdline_contains_any": [
          "dump-keychain -d",
          "find-certificate -p",
          "keychaindump",
          "Library/Keychains/"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1555.001"
      ],
      "name": "macOS Keychain Dumping Attempt",
      "product": "osquery",
      "service": "processes",
      "severity": "high",
      "slug": "osquery-macos-keychain-dump"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-291",
      "match_when": {
        "cmdline_contains_all": [
          "system.log"
        ],
        "cmdline_contains_any": [
          "rm ",
          "truncate",
          "audit -n"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1070"
      ],
      "name": "macOS System Log Removed or Manually Rotated",
      "product": "osquery",
      "service": "processes",
      "severity": "medium",
      "slug": "osquery-macos-log-removal"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-292",
      "match_when": {
        "cmdline_contains_all": [
          "defaults",
          "write",
          "loginwindow",
          "LoginHook"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1037.002"
      ],
      "name": "macOS LoginHook Persistence via defaults write",
      "product": "osquery",
      "service": "processes",
      "severity": "high",
      "slug": "osquery-macos-loginhook-persistence"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-293",
      "match_when": {
        "cmdline_startswith_any": [
          "funzip ",
          "openssl s_client",
          "openssl base64",
          "python -c import"
        ],
        "event_type": "osquery_query_row"
      },
      "mitre": [
        "T1059.004"
      ],
      "name": "macOS Suspicious Living-Off-The-Land Binary Execution",
      "product": "osquery",
      "service": "processes",
      "severity": "low",
      "slug": "osquery-macos-lolbin-execution"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-294",
      "match_when": {
        "event_type": "osquery_query_row",
        "name_in": [
          "showmount",
          "smbutil"
        ]
      },
      "mitre": [
        "T1135"
      ],
      "name": "macOS Network Share Discovery via showmount or smbutil",
      "product": "osquery",
      "service": "processes",
      "severity": "low",
      "slug": "osquery-macos-network-share-discovery"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-295",
      "match_when": {
        "event_type": "osquery_query_row",
        "path": "/usr/bin/plutil"
      },
      "mitre": [
        "T1647"
      ],
      "name": "macOS Plist Modification via plutil",
      "product": "osquery",
      "service": "processes",
      "severity": "medium",
      "slug": "osquery-macos-plutil-plist-modification"
    },
    {
      "category": "endpoint",
      "id": "det-endpoint-296",
      "match_when": {
        "event_type": "osquery_query_row",
        "query_name_contains": "Keyboard_Event_Tap"
      },
      "mitre": [
        "T1056.001"
      ],
      "name": "Process Tapping macOS Keyboard Events",
      "product": "osquery",
      "service": "es_process_events",
      "severity": "high",
      "slug": "osquery-macos-keyboard-event-tap"
    },
    {
      "category": "identity",
      "id": "det-identity-002",
      "match_when": {
        "event_type": "user.session.start",
        "outcome": "SUCCESS",
        "time_delta_minutes_lt": 120,
        "travel_speed_kmh_gt": 800
      },
      "mitre": [
        "T1078"
      ],
      "name": "Impossible Travel Between Two Authentications",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "impossible-travel"
    },
    {
      "category": "identity",
      "id": "det-identity-004",
      "match_when": {
        "event_type": "user.session.start",
        "ip_anonymizer": true
      },
      "mitre": [
        "T1078"
      ],
      "name": "Login from Tor / Anonymous Proxy",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "login-anonymous-ip"
    },
    {
      "category": "identity",
      "id": "det-identity-005",
      "match_when": {
        "event_type": "user.session.start",
        "hour_of_day_local_not_in": [
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19
        ],
        "outcome": "SUCCESS",
        "user_role_in": [
          "admin",
          "privileged"
        ]
      },
      "mitre": [
        "T1078"
      ],
      "name": "Privileged Login Outside Business Hours",
      "product": "okta",
      "service": "system-log",
      "severity": "medium",
      "slug": "login-outside-business-hours"
    },
    {
      "category": "identity",
      "id": "det-identity-006",
      "match_when": {
        "event_type": "user.session.start",
        "outcome": "SUCCESS",
        "src_country_not_in_allowlist": true
      },
      "mitre": [
        "T1078"
      ],
      "name": "Login from Country Outside Allowed Geography",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "login-from-foreign-country"
    },
    {
      "category": "identity",
      "id": "det-identity-007",
      "match_when": {
        "event_type": "user.session.start",
        "user_state_in": [
          "DISABLED",
          "DEPROVISIONED"
        ]
      },
      "mitre": [
        "T1078"
      ],
      "name": "Authentication Attempt Against Disabled Account",
      "product": "okta",
      "service": "system-log",
      "severity": "medium",
      "slug": "disabled-account-login-attempt"
    },
    {
      "category": "identity",
      "id": "det-identity-009",
      "match_when": {
        "event_type": "policy.lifecycle.update",
        "policy_change_field": "mfa_required:false"
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "MFA Requirement Removed from User Policy",
      "product": "okta",
      "service": "system-log",
      "severity": "critical",
      "slug": "mfa-bypass-policy-change"
    },
    {
      "category": "identity",
      "id": "det-identity-010",
      "match_when": {
        "credential_state": "EXPIRED",
        "event_type": "user.session.start"
      },
      "mitre": [
        "T1110"
      ],
      "name": "Authentication with Expired Credential",
      "product": "okta",
      "service": "system-log",
      "severity": "medium",
      "slug": "expired-credential-reuse"
    },
    {
      "category": "identity",
      "id": "det-identity-011",
      "match_when": {
        "event_type": "user.session.start",
        "session_type": "interactive",
        "user_type": "service_account"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Service Account Used for Interactive Login",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "service-account-interactive-login"
    },
    {
      "category": "identity",
      "id": "det-identity-012",
      "match_when": {
        "event_type": "ssh-accept",
        "host_role": "production",
        "user": "root"
      },
      "mitre": [
        "T1078.001"
      ],
      "name": "Root SSH Login on Production Host",
      "product": "linux",
      "service": "auth",
      "severity": "high",
      "slug": "root-ssh-login"
    },
    {
      "category": "identity",
      "id": "det-identity-013",
      "match_when": {
        "event_type": "ssh-accept",
        "outcome": "SUCCESS",
        "user_in_default_list": true
      },
      "mitre": [
        "T1078.001"
      ],
      "name": "Login with Vendor Default Credentials",
      "product": "linux",
      "service": "auth",
      "severity": "high",
      "slug": "default-credential-login"
    },
    {
      "category": "identity",
      "id": "det-identity-015",
      "match_when": {
        "active_p0_or_p1_incident": true,
        "event_type": "user.session.start",
        "outcome": "SUCCESS",
        "user_role_not_in": [
          "incident_responder",
          "admin"
        ]
      },
      "mitre": [
        "T1078"
      ],
      "name": "Authentication During Active P0/P1 Incident Window",
      "product": "okta",
      "service": "system-log",
      "severity": "medium",
      "slug": "login-during-incident"
    },
    {
      "category": "identity",
      "id": "det-identity-016",
      "match_when": {
        "event_type": "user.role.add",
        "role_name_in": [
          "admin",
          "owner",
          "global_admin"
        ]
      },
      "mitre": [
        "T1098"
      ],
      "name": "Privileged Role Assignment",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "privileged-role-assignment"
    },
    {
      "category": "identity",
      "id": "det-identity-017",
      "match_when": {
        "elevation_duration_minutes_gt": 240,
        "event_type": "user.privilege.elevate"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Just-In-Time Elevation Held Beyond Window",
      "product": "okta",
      "service": "system-log",
      "severity": "medium",
      "slug": "jit-elevation-abuse"
    },
    {
      "category": "identity",
      "id": "det-identity-018",
      "match_when": {
        "event_type": "sudo-use",
        "mfa_verified": false
      },
      "mitre": [
        "T1548.003"
      ],
      "name": "Sudo Used Without MFA",
      "product": "linux",
      "service": "sudo",
      "severity": "high",
      "slug": "sudo-no-mfa"
    },
    {
      "category": "identity",
      "id": "det-identity-019",
      "match_when": {
        "event_id_in": [
          5136,
          5137,
          5138,
          5139
        ]
      },
      "mitre": [
        "T1484.001"
      ],
      "name": "Active Directory Group Policy Modified",
      "product": "windows",
      "service": "security",
      "severity": "high",
      "slug": "group-policy-modification"
    },
    {
      "category": "identity",
      "id": "det-identity-020",
      "match_when": {
        "object_resource": "clusterrolebindings",
        "role_ref": "cluster-admin",
        "verb": "create"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Kubernetes ClusterRoleBinding to cluster-admin",
      "product": "kubernetes",
      "service": "audit",
      "severity": "critical",
      "slug": "rbac-cluster-admin-binding"
    },
    {
      "category": "identity",
      "id": "det-identity-021",
      "match_when": {
        "event_name_in": [
          "DetachUserPolicy",
          "DetachRolePolicy"
        ],
        "policy_name_contains_any": [
          "DefaultDeny",
          "GuardrailDeny",
          "OrgDeny"
        ]
      },
      "mitre": [
        "T1562.008"
      ],
      "name": "Defensive IAM Policy Detached",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "critical",
      "slug": "iam-policy-detach-defense"
    },
    {
      "category": "identity",
      "id": "det-identity-022",
      "match_when": {
        "event_id_in": [
          4739,
          4738
        ],
        "policy_change_in": [
          "min-length-decreased",
          "complexity-disabled",
          "lockout-disabled"
        ]
      },
      "mitre": [
        "T1556"
      ],
      "name": "Domain Password Policy Weakened",
      "product": "windows",
      "service": "security",
      "severity": "high",
      "slug": "domain-password-policy-weakened"
    },
    {
      "category": "identity",
      "id": "det-identity-023",
      "match_when": {
        "event_type": "oauth.token.grant",
        "scope_set_contains_any": [
          "mail.readwrite",
          "drive.full",
          "admin.directory"
        ]
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "OAuth App Granted Broad Scopes by User",
      "product": "google-workspace",
      "service": "audit",
      "severity": "high",
      "slug": "oauth-broad-scope-grant"
    },
    {
      "category": "identity",
      "id": "det-identity-025",
      "match_when": {
        "device_fingerprint_seen_before": false,
        "event_type": "user.session.access_token",
        "session_age_hours_gt": 8
      },
      "mitre": [
        "T1550.004"
      ],
      "name": "Persistent Session Token Reused from New Device Fingerprint",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "token-reuse-new-device"
    },
    {
      "category": "identity",
      "id": "det-identity-026",
      "match_when": {
        "actor_role_not_in": [
          "admin",
          "user_admin"
        ],
        "event_type": "user.lifecycle.create"
      },
      "mitre": [
        "T1136.001"
      ],
      "name": "User Account Creation by Non-Admin Principal",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "account-creation-by-non-admin"
    },
    {
      "category": "identity",
      "id": "det-identity-027",
      "match_when": {
        "event_type": "user.lifecycle.deactivate",
        "target_user_role_in": [
          "admin",
          "owner"
        ]
      },
      "mitre": [
        "T1531"
      ],
      "name": "Privileged Account Deleted",
      "product": "okta",
      "service": "system-log",
      "severity": "critical",
      "slug": "admin-account-deletion"
    },
    {
      "category": "identity",
      "id": "det-identity-028",
      "match_when": {
        "event_type": "user.lifecycle.activate",
        "previous_state": "DISABLED"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Disabled Account Re-enabled",
      "product": "okta",
      "service": "system-log",
      "severity": "high",
      "slug": "account-enable-after-disable"
    },
    {
      "category": "identity",
      "id": "det-identity-029",
      "match_when": {
        "event_type": "user.account.reset_password",
        "reset_method": "self-service",
        "user_role": "admin"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Admin Password Reset Initiated by Self via Self-Service",
      "product": "okta",
      "service": "system-log",
      "severity": "medium",
      "slug": "self-password-reset-admin"
    },
    {
      "category": "identity",
      "id": "det-identity-030",
      "match_when": {
        "event_type": "user.account.reset_password",
        "hour_of_day_local_not_in": [
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19
        ],
        "user_role_in": [
          "admin",
          "privileged"
        ]
      },
      "mitre": [
        "T1098"
      ],
      "name": "Password Reset Out of Business Hours for Privileged Account",
      "product": "okta",
      "service": "system-log",
      "severity": "medium",
      "slug": "password-reset-out-of-hours"
    },
    {
      "category": "identity",
      "id": "det-identity-031",
      "match_when": {
        "event_id": 4662,
        "operation_type_contains": "DS-Replication-Get-Changes",
        "source_role_not_in": [
          "domain_controller"
        ]
      },
      "mitre": [
        "T1003.006"
      ],
      "name": "Active Directory Replication Request from Non-Domain-Controller",
      "product": "windows",
      "service": "security",
      "severity": "critical",
      "slug": "ad-replication-non-dc"
    },
    {
      "category": "identity",
      "id": "det-identity-033",
      "match_when": {
        "event_id": 4768,
        "preauth_required": false
      },
      "mitre": [
        "T1558.004"
      ],
      "name": "AS-REP Roasting (Account with Pre-Auth Disabled)",
      "product": "windows",
      "service": "security",
      "severity": "high",
      "slug": "asreproasting"
    },
    {
      "category": "identity",
      "id": "det-identity-034",
      "match_when": {
        "event_id": 4624,
        "logon_type": 3,
        "ticket_lifetime_hours_gt": 24
      },
      "mitre": [
        "T1558.001"
      ],
      "name": "Golden Ticket Indicator (Anomalous TGT Lifetime)",
      "product": "windows",
      "service": "security",
      "severity": "critical",
      "slug": "golden-ticket"
    },
    {
      "category": "identity",
      "id": "det-identity-035",
      "match_when": {
        "event_id": 4624,
        "logon_type": 3,
        "tgs_event_seen": false
      },
      "mitre": [
        "T1558.002"
      ],
      "name": "Silver Ticket Indicator (Service Ticket Without TGS Hit)",
      "product": "windows",
      "service": "security",
      "severity": "critical",
      "slug": "silver-ticket"
    },
    {
      "category": "identity",
      "id": "det-identity-036",
      "match_when": {
        "any_of": [
          {
            "issuer_valid": false
          },
          {
            "notbefore_in_future": true
          }
        ],
        "event_type": "user.authentication.sso"
      },
      "mitre": [
        "T1606.002"
      ],
      "name": "SAML Response with Mismatched Issuer or Future-Dated NotBefore",
      "product": "okta",
      "service": "system-log",
      "severity": "critical",
      "slug": "saml-response-anomaly"
    },
    {
      "category": "identity",
      "id": "det-identity-037",
      "match_when": {
        "operation_name_in": [
          "Set domain authentication",
          "Set federation settings on domain"
        ]
      },
      "mitre": [
        "T1556.007"
      ],
      "name": "Federation Trust Relationship Modified",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "critical",
      "slug": "federated-trust-modified"
    },
    {
      "category": "identity",
      "id": "det-identity-038",
      "match_when": {
        "event_type_in": [
          "app.idp.update_signing_certificate",
          "app.idp.update_metadata"
        ]
      },
      "mitre": [
        "T1556"
      ],
      "name": "IDP Metadata or Signing Cert Changed",
      "product": "okta",
      "service": "system-log",
      "severity": "critical",
      "slug": "idp-metadata-changed"
    },
    {
      "category": "identity",
      "id": "det-identity-039",
      "match_when": {
        "operation_name": "Update conditional access policy",
        "policy_change_in": [
          "scope-expanded",
          "exclusion-added"
        ]
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Conditional Access Policy Scope Broadened (Less Restrictive)",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "high",
      "slug": "ca-policy-scope-broadened"
    },
    {
      "category": "identity",
      "id": "det-identity-040",
      "match_when": {
        "operation_name": "Add cross-tenant access policy"
      },
      "mitre": [
        "T1199"
      ],
      "name": "Cross-Tenant Identity Access Granted",
      "product": "azure",
      "service": "azuread-audit",
      "severity": "high",
      "slug": "federation-cross-tenant-access"
    },
    {
      "category": "identity",
      "id": "det-identity-044",
      "match_when": {
        "event_type": "auth_success",
        "user_failures_last_15m_gt": 50
      },
      "mitre": [
        "T1110.001"
      ],
      "name": "Successful Login After 50+ Recent Failures",
      "product": "identity",
      "service": "auth",
      "severity": "high",
      "slug": "ident-bruteforce-success-after-failures"
    },
    {
      "category": "identity",
      "id": "det-identity-045",
      "match_when": {
        "event_type": "auth_success",
        "geo_distance_km_gt": 1000,
        "minutes_between_lt": 15
      },
      "mitre": [
        "T1078"
      ],
      "name": "Impossible Travel: Two Successful Logins <15m, >1000km",
      "product": "identity",
      "service": "auth",
      "severity": "high",
      "slug": "ident-impossible-travel-15m"
    },
    {
      "category": "identity",
      "id": "det-identity-046",
      "match_when": {
        "event_type": "auth_success",
        "src_ip_tor_exit": true
      },
      "mitre": [
        "T1090.003"
      ],
      "name": "Successful Login From Tor Exit Node",
      "product": "identity",
      "service": "auth",
      "severity": "high",
      "slug": "ident-tor-exit-login-success"
    },
    {
      "category": "identity",
      "id": "det-identity-047",
      "match_when": {
        "event_type": "auth_success",
        "src_ip_anonymous_vpn": true,
        "user_priv": true
      },
      "mitre": [
        "T1090.003"
      ],
      "name": "Privileged User Login From Anonymising VPN",
      "product": "identity",
      "service": "auth",
      "severity": "high",
      "slug": "ident-anon-vpn-login-priv-user"
    },
    {
      "category": "identity",
      "id": "det-identity-049",
      "match_when": {
        "current_state": "approve",
        "event_type": "mfa_state_change",
        "previous_state": "deny",
        "seconds_between_lt": 60
      },
      "mitre": [
        "T1621"
      ],
      "name": "User Denied Push Then Approved Within 60s",
      "product": "identity",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-mfa-deny-then-success"
    },
    {
      "category": "identity",
      "id": "det-identity-051",
      "match_when": {
        "event_type": "auth_failure",
        "result": "user_disabled"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Authentication Attempt Against Disabled User",
      "product": "identity",
      "service": "auth",
      "severity": "high",
      "slug": "ident-disabled-user-auth-attempt"
    },
    {
      "category": "identity",
      "id": "det-identity-052",
      "match_when": {
        "event_type": "auth_success",
        "user_state": "deleted"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Authentication Success For Recently Deleted User",
      "product": "identity",
      "service": "auth",
      "severity": "critical",
      "slug": "ident-deleted-user-auth-success"
    },
    {
      "category": "identity",
      "id": "det-identity-053",
      "match_when": {
        "event_type": "auth_success",
        "mfa_factor": "backup_code"
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "MFA Bypass Via Emergency / Backup Code",
      "product": "identity",
      "service": "auth",
      "severity": "high",
      "slug": "ident-mfa-bypassed-via-emergency-code"
    },
    {
      "category": "identity",
      "id": "det-identity-054",
      "match_when": {
        "event_type": "factor_remove",
        "factor_type": "fido2",
        "user_priv": true
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "FIDO2 Hardware Key Removed From Privileged User",
      "product": "identity",
      "service": "mfa",
      "severity": "high",
      "slug": "ident-fido2-key-removed-priv"
    },
    {
      "category": "identity",
      "id": "det-identity-056",
      "match_when": {
        "event_type": "factor_create",
        "factor_type": "totp",
        "old_factor_removed": false
      },
      "mitre": [
        "T1556"
      ],
      "name": "TOTP Secret QR-Code Re-Issued Without Old Factor Removal",
      "product": "identity",
      "service": "mfa",
      "severity": "medium",
      "slug": "ident-totp-secret-revealed"
    },
    {
      "category": "identity",
      "id": "det-identity-057",
      "match_when": {
        "event_type": "policy_update",
        "min_length_decreased": true
      },
      "mitre": [
        "T1556"
      ],
      "name": "Password Policy Min-Length / Complexity Loosened",
      "product": "identity",
      "service": "policy",
      "severity": "high",
      "slug": "ident-static-password-policy-loosened"
    },
    {
      "category": "identity",
      "id": "det-identity-058",
      "match_when": {
        "event_type": "policy_update",
        "history_length_decreased": true
      },
      "mitre": [
        "T1556"
      ],
      "name": "Password History Length Reduced",
      "product": "identity",
      "service": "policy",
      "severity": "medium",
      "slug": "ident-password-policy-history-reduced"
    },
    {
      "category": "identity",
      "id": "det-identity-060",
      "match_when": {
        "event_type": "auth_success",
        "user_agent_contains_any": [
          "python-requests",
          "curl/",
          "headless",
          "phantomjs",
          "selenium"
        ]
      },
      "mitre": [
        "T1078"
      ],
      "name": "Login With Headless / Bot User Agent",
      "product": "identity",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-suspicious-user-agent-login"
    },
    {
      "category": "identity",
      "id": "det-identity-061",
      "match_when": {
        "event_type": "auth_success",
        "src_asn_recent_credstuffing": true
      },
      "mitre": [
        "T1110.004"
      ],
      "name": "Login From ASN Recently Seen In Credential-Stuffing Activity",
      "product": "identity",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-login-from-known-asn-ddos"
    },
    {
      "category": "identity",
      "id": "det-identity-062",
      "match_when": {
        "country_first_seen_for_user": true,
        "event_type": "auth_success",
        "user_priv": true
      },
      "mitre": [
        "T1078"
      ],
      "name": "Privileged User Login From New Country",
      "product": "identity",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-new-country-priv-user"
    },
    {
      "category": "identity",
      "id": "det-identity-063",
      "match_when": {
        "event_type": "auth_success",
        "locale_changes_in_session_gt": 2
      },
      "mitre": [
        "T1078"
      ],
      "name": "User Login Locale Switched Rapidly",
      "product": "identity",
      "service": "auth",
      "severity": "low",
      "slug": "ident-rapid-language-change"
    },
    {
      "category": "identity",
      "id": "det-identity-064",
      "match_when": {
        "event_type": "auth_success",
        "user_agent": ""
      },
      "mitre": [
        "T1078"
      ],
      "name": "Login With Empty User-Agent",
      "product": "identity",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-empty-useragent-login"
    },
    {
      "category": "identity",
      "id": "det-identity-066",
      "match_when": {
        "event_type": "role_grant",
        "is_business_hours": false,
        "role_priv": true
      },
      "mitre": [
        "T1078"
      ],
      "name": "Privileged Role Granted Outside Business Hours",
      "product": "identity",
      "service": "audit",
      "severity": "high",
      "slug": "ident-priv-role-grant-out-of-hours"
    },
    {
      "category": "identity",
      "id": "det-identity-067",
      "match_when": {
        "actor_eq_target": true,
        "event_type": "role_grant",
        "role_priv": true
      },
      "mitre": [
        "T1098"
      ],
      "name": "User Granted Privileged Role To Themselves",
      "product": "identity",
      "service": "audit",
      "severity": "critical",
      "slug": "ident-self-grant-priv-role"
    },
    {
      "category": "identity",
      "id": "det-identity-068",
      "match_when": {
        "event_type": "role_grant",
        "role_priv": true,
        "target_user_type": "service_account"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Privileged Role Granted To Service Account",
      "product": "identity",
      "service": "audit",
      "severity": "high",
      "slug": "ident-priv-role-grant-to-svc-account"
    },
    {
      "category": "identity",
      "id": "det-identity-070",
      "match_when": {
        "event_type": "pim_activation",
        "hour_unusual_for_user": true
      },
      "mitre": [
        "T1078"
      ],
      "name": "JIT/PIM Activation At Unusual Hour For User",
      "product": "identity",
      "service": "pim",
      "severity": "medium",
      "slug": "ident-pim-activation-anomalous-time"
    },
    {
      "category": "identity",
      "id": "det-identity-073",
      "match_when": {
        "event_type": "auth_success",
        "mfa_used": false,
        "policy_requires_mfa": true,
        "user_type": "service_account"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Service Account Login Without MFA In Region That Requires It",
      "product": "identity",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-svc-account-mfa-skipped"
    },
    {
      "category": "identity",
      "id": "det-identity-074",
      "match_when": {
        "event_type": "role_grant",
        "role_priv": true,
        "user_age_minutes_lt": 1440
      },
      "mitre": [
        "T1098"
      ],
      "name": "New User Granted Privileged Role <24h After Creation",
      "product": "identity",
      "service": "audit",
      "severity": "high",
      "slug": "ident-onboard-priv-roles-immediate"
    },
    {
      "category": "identity",
      "id": "det-identity-078",
      "match_when": {
        "event_type": "auth_success",
        "src_in_pipeline_cidr": false,
        "user_type": "service_account"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Service Account Key Used From Non-Pipeline IP",
      "product": "identity",
      "service": "auth",
      "severity": "high",
      "slug": "ident-svc-account-key-from-non-pipeline"
    },
    {
      "category": "identity",
      "id": "det-identity-079",
      "match_when": {
        "event_id": 4728,
        "group_name_in": [
          "Domain Admins",
          "Enterprise Admins",
          "Schema Admins"
        ]
      },
      "mitre": [
        "T1098.007"
      ],
      "name": "Domain Admin Group Membership Added (AD)",
      "product": "active-directory",
      "service": "audit",
      "severity": "critical",
      "slug": "ident-domain-admin-added"
    },
    {
      "category": "identity",
      "id": "det-identity-080",
      "match_when": {
        "event_id": 4670,
        "object_class_in": [
          "domainDNS",
          "groupPolicyContainer"
        ]
      },
      "mitre": [
        "T1484.002"
      ],
      "name": "ACL On Sensitive AD Object Modified",
      "product": "active-directory",
      "service": "audit",
      "severity": "high",
      "slug": "ident-ad-acl-sensitive-changed"
    },
    {
      "category": "identity",
      "id": "det-identity-081",
      "match_when": {
        "event_id": 5136,
        "rights_added_contains_any": [
          "DS-Replication-Get-Changes",
          "DS-Replication-Get-Changes-All"
        ]
      },
      "mitre": [
        "T1003.006"
      ],
      "name": "DCSync Rights Granted Outside Domain Controllers",
      "product": "active-directory",
      "service": "audit",
      "severity": "critical",
      "slug": "ident-ad-dcsync-rights-granted"
    },
    {
      "category": "identity",
      "id": "det-identity-083",
      "match_when": {
        "event_id_in": [
          4716,
          4865,
          4867
        ]
      },
      "mitre": [
        "T1484.002"
      ],
      "name": "AD Domain Trust Modified",
      "product": "active-directory",
      "service": "audit",
      "severity": "critical",
      "slug": "ident-ad-trust-modified"
    },
    {
      "category": "identity",
      "id": "det-identity-084",
      "match_when": {
        "event_id": 4624,
        "logon_type": 3,
        "user_name": "ANONYMOUS LOGON"
      },
      "mitre": [
        "T1078.001"
      ],
      "name": "AD Anonymous Logon Allowed Via Null Session",
      "product": "active-directory",
      "service": "auth",
      "severity": "high",
      "slug": "ident-ad-userauth-anonymous-named-pipe"
    },
    {
      "category": "identity",
      "id": "det-identity-085",
      "match_when": {
        "event_id": 4738,
        "useraccountcontrol_flag_passwd_notreqd": true
      },
      "mitre": [
        "T1098"
      ],
      "name": "AD Account Set With PASSWD_NOTREQD",
      "product": "active-directory",
      "service": "audit",
      "severity": "high",
      "slug": "ident-ad-pwd-not-required"
    },
    {
      "category": "identity",
      "id": "det-identity-086",
      "match_when": {
        "event_id": 4738,
        "user_priv": true,
        "useraccountcontrol_flag_dont_expire": true
      },
      "mitre": [
        "T1098"
      ],
      "name": "Privileged AD Account Set With DONT_EXPIRE_PASSWORD",
      "product": "active-directory",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-ad-pwd-never-expires-priv"
    },
    {
      "category": "identity",
      "id": "det-identity-088",
      "match_when": {
        "event_id": 4729,
        "group_name": "Protected Users"
      },
      "mitre": [
        "T1556"
      ],
      "name": "User Removed From Protected Users Group",
      "product": "active-directory",
      "service": "audit",
      "severity": "high",
      "slug": "ident-ad-protected-users-removed"
    },
    {
      "category": "identity",
      "id": "det-identity-089",
      "match_when": {
        "attribute_modified": "sIDHistory",
        "event_id": 4738
      },
      "mitre": [
        "T1078.002"
      ],
      "name": "AD sIDHistory Attribute Modified",
      "product": "active-directory",
      "service": "audit",
      "severity": "high",
      "slug": "ident-ad-sidhistory-modified"
    },
    {
      "category": "identity",
      "id": "det-identity-090",
      "match_when": {
        "account_disabled": true,
        "event_id": 4624
      },
      "mitre": [
        "T1078.002"
      ],
      "name": "Disabled AD Account Authenticated Successfully",
      "product": "active-directory",
      "service": "auth",
      "severity": "high",
      "slug": "ident-ad-userlogon-disabled-account"
    },
    {
      "category": "identity",
      "id": "det-identity-091",
      "match_when": {
        "event_id": 4769,
        "ticket_encryption_type": "0x17"
      },
      "mitre": [
        "T1558.003"
      ],
      "name": "Kerberoasting: TGS Request With RC4_HMAC",
      "product": "active-directory",
      "service": "kerberos",
      "severity": "high",
      "slug": "ident-kerberoasting-tgs-rc4"
    },
    {
      "category": "identity",
      "id": "det-identity-092",
      "match_when": {
        "event_id": 4768,
        "preauth_required": false
      },
      "mitre": [
        "T1558.004"
      ],
      "name": "AS-REP Roasting: TGT Without Pre-Auth",
      "product": "active-directory",
      "service": "kerberos",
      "severity": "high",
      "slug": "ident-asreproast-no-preauth"
    },
    {
      "category": "identity",
      "id": "det-identity-093",
      "match_when": {
        "event_id": 4768,
        "ticket_lifetime_hours_gt": 10
      },
      "mitre": [
        "T1558.001"
      ],
      "name": "Golden Ticket Indicator: TGT Lifetime > 10h",
      "product": "active-directory",
      "service": "kerberos",
      "severity": "critical",
      "slug": "ident-golden-ticket-anomalous-tgt-lifetime"
    },
    {
      "category": "identity",
      "id": "det-identity-094",
      "match_when": {
        "event_id": 4769,
        "tgt_seen_for_user_in_window": false
      },
      "mitre": [
        "T1558.002"
      ],
      "name": "Silver Ticket Indicator: TGS Without Matching TGT",
      "product": "active-directory",
      "service": "kerberos",
      "severity": "high",
      "slug": "ident-silver-ticket-anomalous-spn"
    },
    {
      "category": "identity",
      "id": "det-identity-095",
      "match_when": {
        "domain_controller": true,
        "encryption_type_in": [
          "DES",
          "RC4"
        ],
        "event_id": 4624,
        "logon_type": 3
      },
      "mitre": [
        "T1556.001"
      ],
      "name": "Skeleton Key Indicator: Forced Downgrade To DES/RC4",
      "product": "active-directory",
      "service": "kerberos",
      "severity": "critical",
      "slug": "ident-skeleton-key-encryption-downgrade"
    },
    {
      "category": "identity",
      "id": "det-identity-098",
      "match_when": {
        "auth_type": "NTLMv2",
        "event_id": 4624,
        "src_host_trusted": false,
        "user_priv": true
      },
      "mitre": [
        "T1078.002"
      ],
      "name": "Privileged Account NTLM Logon From Untrusted Host",
      "product": "active-directory",
      "service": "ntlm",
      "severity": "high",
      "slug": "ident-ntlm-priv-account-from-untrusted"
    },
    {
      "category": "identity",
      "id": "det-identity-099",
      "match_when": {
        "auth_type": "NTLMv2",
        "event_id": 4624,
        "logon_type": 9
      },
      "mitre": [
        "T1550.002"
      ],
      "name": "Pass-The-Hash Indicator: NTLMv2 With NewCredentials",
      "product": "active-directory",
      "service": "auth",
      "severity": "high",
      "slug": "ident-pass-the-hash-anomalous-logon"
    },
    {
      "category": "identity",
      "id": "det-identity-101",
      "match_when": {
        "event_type": "session_continuation",
        "geo_changed": true,
        "minutes_between_lt": 60
      },
      "mitre": [
        "T1539"
      ],
      "name": "Session Cookie Replayed From New Geo Within 1h",
      "product": "identity",
      "service": "session",
      "severity": "critical",
      "slug": "ident-token-theft-cookie-replay"
    },
    {
      "category": "identity",
      "id": "det-identity-102",
      "match_when": {
        "event_type": "token_refresh",
        "geo_distance_km_gt": 500,
        "src_ip_changed": true
      },
      "mitre": [
        "T1550"
      ],
      "name": "OAuth Refresh Token Replayed From Different IP",
      "product": "identity",
      "service": "oauth",
      "severity": "high",
      "slug": "ident-oauth-refresh-token-replay"
    },
    {
      "category": "identity",
      "id": "det-identity-103",
      "match_when": {
        "event_type": "token_use",
        "ip_changed": true,
        "seconds_after_issue_lt": 1
      },
      "mitre": [
        "T1550"
      ],
      "name": "OAuth Access Token Used Before Issue +1s",
      "product": "identity",
      "service": "oauth",
      "severity": "high",
      "slug": "ident-oauth-token-theft-impossible-time"
    },
    {
      "category": "identity",
      "id": "det-identity-104",
      "match_when": {
        "assertion_id_seen_recently": true,
        "event_type": "saml_consume"
      },
      "mitre": [
        "T1550"
      ],
      "name": "SAML Assertion Replayed Within Window",
      "product": "identity",
      "service": "saml",
      "severity": "high",
      "slug": "ident-saml-assertion-replay"
    },
    {
      "category": "identity",
      "id": "det-identity-105",
      "match_when": {
        "event_type": "saml_consume",
        "issuer_in_trusted_list": false
      },
      "mitre": [
        "T1556"
      ],
      "name": "SAML Assertion Issuer Mismatched",
      "product": "identity",
      "service": "saml",
      "severity": "critical",
      "slug": "ident-saml-issuer-mismatch"
    },
    {
      "category": "identity",
      "id": "det-identity-107",
      "match_when": {
        "applies_to_everyone": true,
        "event_type_in": [
          "policy.lifecycle.activate",
          "policy.rule.update"
        ],
        "factor_required": false
      },
      "mitre": [
        "T1556"
      ],
      "name": "Okta Policy Allows 'Everyone' Without MFA",
      "product": "okta",
      "service": "audit",
      "severity": "high",
      "slug": "ident-okta-policy-everyone-bypass-mfa"
    },
    {
      "category": "identity",
      "id": "det-identity-108",
      "match_when": {
        "event_type": "zone.update",
        "trusted": true,
        "zone_type": "IP"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Okta Trusted Network Zone Modified",
      "product": "okta",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-okta-network-zone-modified-trusted"
    },
    {
      "category": "identity",
      "id": "det-identity-109",
      "match_when": {
        "event_type": "user.account.privilege.grant",
        "role": "SUPER_ADMIN"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Okta Super Administrator Role Granted",
      "product": "okta",
      "service": "audit",
      "severity": "critical",
      "slug": "ident-okta-superadmin-added"
    },
    {
      "category": "identity",
      "id": "det-identity-110",
      "match_when": {
        "behaviors_contains_any": [
          "new_device",
          "new_geolocation",
          "velocity"
        ],
        "event_type": "user.session.start"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Okta Login Marked Suspicious-Activity Behaviour",
      "product": "okta",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-okta-suspicious-login-bot"
    },
    {
      "category": "identity",
      "id": "det-identity-111",
      "match_when": {
        "actor_role_priv": false,
        "event_type": "application.lifecycle.update",
        "secret_rotated": true
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Okta App Sign-On Secret Rotated By Non-Admin",
      "product": "okta",
      "service": "audit",
      "severity": "high",
      "slug": "ident-okta-app-secret-rotated-priv"
    },
    {
      "category": "identity",
      "id": "det-identity-112",
      "match_when": {
        "event_type": "user.mfa.factor.reset_all",
        "target_user_priv": true
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "Okta MFA Factor Reset For Privileged User",
      "product": "okta",
      "service": "audit",
      "severity": "high",
      "slug": "ident-okta-mfa-factor-reset-priv"
    },
    {
      "category": "identity",
      "id": "det-identity-113",
      "match_when": {
        "event_type": "policy.lifecycle.deactivate"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Okta Sign-On Policy Deactivated",
      "product": "okta",
      "service": "audit",
      "severity": "high",
      "slug": "ident-okta-policy-deactivated"
    },
    {
      "category": "identity",
      "id": "det-identity-114",
      "match_when": {
        "event_type": "application.federated.user.assign",
        "external_domain": true
      },
      "mitre": [
        "T1199"
      ],
      "name": "Okta App Assigned With Federated External Domain",
      "product": "okta",
      "service": "audit",
      "severity": "high",
      "slug": "ident-okta-app-assigned-foreign-domain"
    },
    {
      "category": "identity",
      "id": "det-identity-115",
      "match_when": {
        "event_type": "system.api_token.create",
        "scope_contains": "admin"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Okta API Token Created With Admin Role",
      "product": "okta",
      "service": "audit",
      "severity": "high",
      "slug": "ident-okta-api-token-created-priv"
    },
    {
      "category": "identity",
      "id": "det-identity-116",
      "match_when": {
        "app_type": "radius",
        "event_type": "application.lifecycle.create"
      },
      "mitre": [
        "T1133"
      ],
      "name": "Okta RADIUS Application Added",
      "product": "okta",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-okta-radius-app-added"
    },
    {
      "category": "identity",
      "id": "det-identity-118",
      "match_when": {
        "event_type": "Successful API Operation",
        "operation": "rules.create"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Auth0 Rule Added (Custom Code In Login Pipeline)",
      "product": "auth0",
      "service": "audit",
      "severity": "high",
      "slug": "ident-auth0-rule-added"
    },
    {
      "category": "identity",
      "id": "det-identity-119",
      "match_when": {
        "event_type": "Successful API Operation",
        "operation": "actions.deploy"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Auth0 Action Deployed",
      "product": "auth0",
      "service": "audit",
      "severity": "high",
      "slug": "ident-auth0-action-deployed"
    },
    {
      "category": "identity",
      "id": "det-identity-120",
      "match_when": {
        "event_type": "Successful API Operation",
        "operation": "client_grants.create",
        "scope_contains": "manage"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Auth0 Management API Key Created",
      "product": "auth0",
      "service": "audit",
      "severity": "high",
      "slug": "ident-auth0-management-api-key-created"
    },
    {
      "category": "identity",
      "id": "det-identity-121",
      "match_when": {
        "event_type": "Successful API Operation",
        "operation": "connections.delete"
      },
      "mitre": [
        "T1485"
      ],
      "name": "Auth0 Connection Deleted",
      "product": "auth0",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-auth0-connection-deleted"
    },
    {
      "category": "identity",
      "id": "det-identity-122",
      "match_when": {
        "event_type": "Successful API Operation",
        "operation": "anomaly.disable"
      },
      "mitre": [
        "T1562.001"
      ],
      "name": "Auth0 Anomaly Detection Disabled",
      "product": "auth0",
      "service": "audit",
      "severity": "high",
      "slug": "ident-auth0-anomaly-detection-disabled"
    },
    {
      "category": "identity",
      "id": "det-identity-123",
      "match_when": {
        "event_type": "user_create_bypass_code"
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "Duo Bypass Code Generated",
      "product": "duo",
      "service": "admin",
      "severity": "high",
      "slug": "ident-duo-bypass-code-generated"
    },
    {
      "category": "identity",
      "id": "det-identity-124",
      "match_when": {
        "auth_required": false,
        "event_type": "policy_update"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Duo Policy Changed: MFA Requirement Removed",
      "product": "duo",
      "service": "admin",
      "severity": "high",
      "slug": "ident-duo-policy-changed-mfa-removed"
    },
    {
      "category": "identity",
      "id": "det-identity-125",
      "match_when": {
        "actor_eq_target": true,
        "event_type": "admin_create"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Duo Admin Created Via Self-Service Activation",
      "product": "duo",
      "service": "admin",
      "severity": "critical",
      "slug": "ident-duo-admin-added-from-self"
    },
    {
      "category": "identity",
      "id": "det-identity-126",
      "match_when": {
        "event_type": "auth",
        "result": "fraud"
      },
      "mitre": [
        "T1621"
      ],
      "name": "Duo Push Marked As Fraud By User",
      "product": "duo",
      "service": "auth",
      "severity": "medium",
      "slug": "ident-duo-fraud-reported"
    },
    {
      "category": "identity",
      "id": "det-identity-127",
      "match_when": {
        "event_type": "integration_update",
        "policy_assigned": "bypass"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Duo Application Set To Bypass Policy",
      "product": "duo",
      "service": "admin",
      "severity": "high",
      "slug": "ident-duo-application-bypass-policy"
    },
    {
      "category": "identity",
      "id": "det-identity-128",
      "match_when": {
        "event_type": "MFA_POLICY_DELETED"
      },
      "mitre": [
        "T1556"
      ],
      "name": "PingOne MFA Policy Removed",
      "product": "ping",
      "service": "audit",
      "severity": "high",
      "slug": "ident-ping-policy-mfa-removed"
    },
    {
      "category": "identity",
      "id": "det-identity-130",
      "match_when": {
        "event_type": "DEVICE_DELETED",
        "target_user_priv": true
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "PingID Device Removed From Privileged User",
      "product": "ping",
      "service": "audit",
      "severity": "high",
      "slug": "ident-ping-pingid-device-removed"
    },
    {
      "category": "identity",
      "id": "det-identity-131",
      "match_when": {
        "applies_to_everyone": true,
        "event_type": "POLICY_UPDATE",
        "factor_required": false
      },
      "mitre": [
        "T1556"
      ],
      "name": "PingOne Policy Bypass Applied To 'Everyone'",
      "product": "ping",
      "service": "audit",
      "severity": "high",
      "slug": "ident-ping-policy-bypass-everyone"
    },
    {
      "category": "identity",
      "id": "det-identity-132",
      "match_when": {
        "event_type": "TRUSTED_CERT_ADDED"
      },
      "mitre": [
        "T1553.004"
      ],
      "name": "Ping Trust Store Certificate Added",
      "product": "ping",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-ping-trust-store-modified"
    },
    {
      "category": "identity",
      "id": "det-identity-133",
      "match_when": {
        "event_type": "USER_CREATE",
        "realm": "master"
      },
      "mitre": [
        "T1136"
      ],
      "name": "Keycloak Master Realm User Created",
      "product": "keycloak",
      "service": "audit",
      "severity": "high",
      "slug": "ident-keycloak-master-realm-user-created"
    },
    {
      "category": "identity",
      "id": "det-identity-134",
      "match_when": {
        "event_type": "ROLE_ASSIGN",
        "role": "realm-admin"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Keycloak realm-admin Role Granted",
      "product": "keycloak",
      "service": "audit",
      "severity": "high",
      "slug": "ident-keycloak-admin-realm-role-grant"
    },
    {
      "category": "identity",
      "id": "det-identity-135",
      "match_when": {
        "event_type": "CLIENT_UPDATE",
        "secret_changed": true
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Keycloak Client Secret Regenerated",
      "product": "keycloak",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-keycloak-client-secret-regen"
    },
    {
      "category": "identity",
      "id": "det-identity-136",
      "match_when": {
        "event_type": "IMPERSONATE"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Keycloak User Impersonation Used",
      "product": "keycloak",
      "service": "audit",
      "severity": "high",
      "slug": "ident-keycloak-impersonation-used"
    },
    {
      "category": "identity",
      "id": "det-identity-137",
      "match_when": {
        "discovery_url_changed": true,
        "event_type": "issuer.update"
      },
      "mitre": [
        "T1556"
      ],
      "name": "Generic OIDC Issuer Trust Modified",
      "product": "identity",
      "service": "oidc",
      "severity": "high",
      "slug": "ident-oidc-issuer-trust-changed"
    },
    {
      "category": "identity",
      "id": "det-identity-139",
      "match_when": {
        "event_type": "log_emit",
        "field_contains_oidc_secret": true
      },
      "mitre": [
        "T1552.004"
      ],
      "name": "OIDC Client Secret Logged In Plaintext",
      "product": "identity",
      "service": "oidc",
      "severity": "medium",
      "slug": "ident-oidc-secret-leaked-pattern"
    },
    {
      "category": "identity",
      "id": "det-identity-140",
      "match_when": {
        "event_type": "client.update",
        "redirect_uri_contains": "*"
      },
      "mitre": [
        "T1539"
      ],
      "name": "OIDC Client Configured With Wildcard Redirect URI",
      "product": "identity",
      "service": "oidc",
      "severity": "high",
      "slug": "ident-oidc-redirect-uri-wildcard"
    },
    {
      "category": "identity",
      "id": "det-identity-141",
      "match_when": {
        "event_name": "ENFORCE_STRONG_AUTHENTICATION",
        "user_priv": true,
        "value": false
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "Google Workspace 2SV Disabled For Admin",
      "product": "google-workspace",
      "service": "admin",
      "severity": "critical",
      "slug": "ident-google-workspace-mfa-disabled-priv"
    },
    {
      "category": "identity",
      "id": "det-identity-142",
      "match_when": {
        "event_name": "GENERATE_APP_PASSWORD",
        "user_priv": true
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "Google Workspace App Password Issued To Priv User",
      "product": "google-workspace",
      "service": "admin",
      "severity": "high",
      "slug": "ident-google-workspace-app-pw-issued"
    },
    {
      "category": "identity",
      "id": "det-identity-143",
      "match_when": {
        "event_name": "AUTHORIZE",
        "scope_contains": "https://www.googleapis.com/auth/drive"
      },
      "mitre": [
        "T1528"
      ],
      "name": "Google Workspace 3rd-Party App Granted Drive Read",
      "product": "google-workspace",
      "service": "oauth_token",
      "severity": "high",
      "slug": "ident-google-workspace-3p-app-data-grant"
    },
    {
      "category": "identity",
      "id": "det-identity-144",
      "match_when": {
        "event_name": "login_failure",
        "type": "suspicious_login"
      },
      "mitre": [
        "T1078"
      ],
      "name": "Google Workspace Login Flagged 'Suspicious'",
      "product": "google-workspace",
      "service": "login",
      "severity": "medium",
      "slug": "ident-google-workspace-suspicious-login-flag"
    },
    {
      "category": "identity",
      "id": "det-identity-145",
      "match_when": {
        "forward_external": true,
        "operation": "New-InboxRule"
      },
      "mitre": [
        "T1114.003"
      ],
      "name": "M365 Inbox Rule Forwards To External Address",
      "product": "m365",
      "service": "exchange",
      "severity": "high",
      "slug": "ident-m365-mailbox-rule-forward-external"
    },
    {
      "category": "identity",
      "id": "det-identity-146",
      "match_when": {
        "operation": "Add-MailboxPermission",
        "trustee_external": true
      },
      "mitre": [
        "T1098"
      ],
      "name": "M365 Mailbox Permission Granted To External User",
      "product": "m365",
      "service": "exchange",
      "severity": "high",
      "slug": "ident-m365-mailbox-permission-add-foreign"
    },
    {
      "category": "identity",
      "id": "det-identity-147",
      "match_when": {
        "operation": "Consent to application",
        "permissions_contains_any": [
          "Mail.Read",
          "Mail.ReadWrite"
        ]
      },
      "mitre": [
        "T1528"
      ],
      "name": "M365 App Granted Mail.Read / Mail.ReadWrite",
      "product": "m365",
      "service": "azure-ad",
      "severity": "high",
      "slug": "ident-m365-app-consent-graph-mail"
    },
    {
      "category": "identity",
      "id": "det-identity-148",
      "match_when": {
        "operation": "TenantSettingsModified",
        "sharing_capability": "ExternalUserAndGuestSharing"
      },
      "mitre": [
        "T1530"
      ],
      "name": "M365 SharePoint Sharing Policy 'Anyone' Enabled",
      "product": "m365",
      "service": "sharepoint",
      "severity": "high",
      "slug": "ident-m365-sharing-policy-anyone"
    },
    {
      "category": "identity",
      "id": "det-identity-149",
      "match_when": {
        "operation": "Add temporary access pass",
        "target_user_priv": true
      },
      "mitre": [
        "T1556.006"
      ],
      "name": "M365 Temporary Access Pass Generated For Priv",
      "product": "m365",
      "service": "azure-ad",
      "severity": "high",
      "slug": "ident-m365-tap-removed-priv"
    },
    {
      "category": "identity",
      "id": "det-identity-150",
      "match_when": {
        "action_in": [
          "workspace_two_factor_required_disabled"
        ]
      },
      "mitre": [
        "T1556"
      ],
      "name": "Slack Workspace 2FA Disabled",
      "product": "slack",
      "service": "admin",
      "severity": "high",
      "slug": "ident-slack-workspace-2fa-disabled"
    },
    {
      "category": "identity",
      "id": "det-identity-151",
      "match_when": {
        "action": "app_installed",
        "scopes_contains": "chat:write.public"
      },
      "mitre": [
        "T1525"
      ],
      "name": "Slack App Installed With Bot Scope chat:write.public",
      "product": "slack",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-slack-app-installed-bot-token"
    },
    {
      "category": "identity",
      "id": "det-identity-152",
      "match_when": {
        "action_in": [
          "external_shared_channel_invite_accepted",
          "shared_channel_external_org_added"
        ]
      },
      "mitre": [
        "T1567"
      ],
      "name": "Slack Channel Shared Externally",
      "product": "slack",
      "service": "audit",
      "severity": "high",
      "slug": "ident-slack-channel-shared-external"
    },
    {
      "category": "identity",
      "id": "det-identity-153",
      "match_when": {
        "action": "org.disable_two_factor_requirement"
      },
      "mitre": [
        "T1556"
      ],
      "name": "GitHub Org 2FA Requirement Disabled",
      "product": "github",
      "service": "audit",
      "severity": "critical",
      "slug": "ident-github-org-2fa-disabled"
    },
    {
      "category": "identity",
      "id": "det-identity-157",
      "match_when": {
        "action_in": [
          "update_account_settings",
          "update_user_settings"
        ],
        "passcode_required": false
      },
      "mitre": [
        "T1556"
      ],
      "name": "Zoom Account Policy Disables Meeting Passcode",
      "product": "zoom",
      "service": "admin",
      "severity": "medium",
      "slug": "ident-zoom-passcode-disabled-meeting-policy"
    },
    {
      "category": "identity",
      "id": "det-identity-158",
      "match_when": {
        "action_in": [
          "org_security_policy_modified"
        ],
        "two_step_required": false
      },
      "mitre": [
        "T1556"
      ],
      "name": "Atlassian Org 2FA Requirement Removed",
      "product": "atlassian",
      "service": "audit",
      "severity": "high",
      "slug": "ident-atlassian-org-required-2fa-off"
    },
    {
      "category": "identity",
      "id": "det-identity-159",
      "match_when": {
        "action": "api_token_created"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "Atlassian Org API Token Created",
      "product": "atlassian",
      "service": "audit",
      "severity": "medium",
      "slug": "ident-atlassian-api-token-created"
    },
    {
      "category": "identity",
      "id": "det-identity-160",
      "match_when": {
        "action": "compliance_policy_disabled"
      },
      "mitre": [
        "T1556"
      ],
      "name": "MDM Policy Removed Requiring Device Compliance",
      "product": "mdm",
      "service": "audit",
      "severity": "high",
      "slug": "ident-jamf-mdm-policy-mfa-removed"
    },
    {
      "category": "network",
      "id": "det-network-006",
      "match_when": {
        "dst_ip_class": "internal",
        "dst_port": 3389,
        "src_ip_class": "internet"
      },
      "mitre": [
        "T1133"
      ],
      "name": "RDP From Internet to Internal Host",
      "product": "ndr",
      "service": "flow",
      "severity": "critical",
      "slug": "rdp-from-internet"
    },
    {
      "category": "network",
      "id": "det-network-007",
      "match_when": {
        "dst_ip_in_tor_list": true
      },
      "mitre": [
        "T1090.003"
      ],
      "name": "Outbound Connection to Known Tor Exit",
      "product": "ndr",
      "service": "flow",
      "severity": "high",
      "slug": "tor-traffic"
    },
    {
      "category": "network",
      "id": "det-network-010",
      "match_when": {
        "event_id": 5158,
        "smb_signing_enabled": false
      },
      "mitre": [
        "T1557.001"
      ],
      "name": "SMB Authentication Without Signing",
      "product": "windows",
      "service": "security",
      "severity": "medium",
      "slug": "smb-signing-disabled-auth"
    },
    {
      "category": "network",
      "id": "det-network-011",
      "match_when": {
        "event_type": "DHCP_OFFER",
        "src_mac_in_allowed_dhcp": false
      },
      "mitre": [
        "T1557"
      ],
      "name": "Rogue DHCP Server Detected on LAN",
      "product": "ndr",
      "service": "dhcp",
      "severity": "high",
      "slug": "dhcp-rogue-server"
    },
    {
      "category": "network",
      "id": "det-network-013",
      "match_when": {
        "dst_in_allowlist": false,
        "tls_cert_self_signed": true
      },
      "mitre": [
        "T1573.002"
      ],
      "name": "Outbound TLS to Server with Self-Signed Cert (Non-Allowed)",
      "product": "ndr",
      "service": "tls",
      "severity": "medium",
      "slug": "tls-self-signed-cert-conn"
    },
    {
      "category": "network",
      "id": "det-network-014",
      "match_when": {
        "ja3_hash_in_threat_intel": true
      },
      "mitre": [
        "T1071.001"
      ],
      "name": "TLS JA3 Hash in Threat-Intel Match",
      "product": "ndr",
      "service": "tls",
      "severity": "high",
      "slug": "tls-ja3-anomaly"
    },
    {
      "category": "network",
      "id": "det-network-016",
      "match_when": {
        "event_id": 4624,
        "logon_type": 3,
        "user": "ANONYMOUS LOGON"
      },
      "mitre": [
        "T1135"
      ],
      "name": "SMB Null Session Attempt",
      "product": "windows",
      "service": "security",
      "severity": "medium",
      "slug": "smb-null-session"
    },
    {
      "category": "network",
      "id": "det-network-018",
      "match_when": {
        "dst_port": 161,
        "protocol": "UDP",
        "snmp_community_in": [
          "public",
          "private"
        ],
        "src_ip_class": "internet"
      },
      "mitre": [
        "T1190"
      ],
      "name": "SNMP Public Community String Probe From Internet",
      "product": "ndr",
      "service": "flow",
      "severity": "medium",
      "slug": "snmp-public-community-internet"
    },
    {
      "category": "network",
      "id": "det-network-020",
      "match_when": {
        "dst_in_blocklist": true
      },
      "mitre": [
        "T1071.001"
      ],
      "name": "Outbound Connection to Threat-Intel-Blocked IP",
      "product": "ndr",
      "service": "flow",
      "severity": "high",
      "slug": "egress-to-blocklisted-ip"
    },
    {
      "category": "network",
      "id": "det-network-022",
      "match_when": {
        "concurrent_console_session": true,
        "event_id": 4624,
        "logon_type": 10
      },
      "mitre": [
        "T1021.001"
      ],
      "name": "RDP Logon Session With Concurrent Active Console Session",
      "product": "windows",
      "service": "security",
      "severity": "medium",
      "slug": "rdp-screen-takeover"
    },
    {
      "category": "network",
      "id": "det-network-023",
      "match_when": {
        "dst_port_in": [
          3544,
          41
        ],
        "protocol": "UDP"
      },
      "mitre": [
        "T1572"
      ],
      "name": "Outbound IPv6 Teredo / 6to4 Tunneling Traffic",
      "product": "ndr",
      "service": "flow",
      "severity": "medium",
      "slug": "ipv6-tunnel-outbound"
    },
    {
      "category": "network",
      "id": "det-network-024",
      "match_when": {
        "dst_in_doh_allowlist": false,
        "method_in": [
          "POST",
          "GET"
        ],
        "url_path_endswith": "/dns-query"
      },
      "mitre": [
        "T1071.004"
      ],
      "name": "DNS-over-HTTPS to Non-Approved Resolver",
      "product": "proxy",
      "service": "http",
      "severity": "medium",
      "slug": "dns-over-https-rare"
    },
    {
      "category": "network",
      "id": "det-network-025",
      "match_when": {
        "bytes_out_gt": 50000000,
        "dst_port_in": [
          21,
          990
        ],
        "protocol": "TCP",
        "src_in_allowlist": false
      },
      "mitre": [
        "T1048.003"
      ],
      "name": "Outbound FTP Bulk Transfer From Non-Allowlisted Host",
      "product": "ndr",
      "service": "flow",
      "severity": "medium",
      "slug": "ftp-outbound-anomaly"
    },
    {
      "category": "network",
      "id": "det-network-026",
      "match_when": {
        "dst_port_in": [
          23,
          21,
          110,
          143
        ],
        "protocol": "TCP"
      },
      "mitre": [
        "T1040"
      ],
      "name": "Outbound Clear-Text Protocol Carrying Credentials",
      "product": "ndr",
      "service": "flow",
      "severity": "medium",
      "slug": "outbound-clear-text-protocol"
    },
    {
      "category": "network",
      "id": "det-network-027",
      "match_when": {
        "dst_port": 123,
        "ntp_command": "monlist",
        "protocol": "UDP",
        "src_ip_class": "internet",
        "src_port": 123
      },
      "mitre": [
        "T1498.002"
      ],
      "name": "NTP Amplification Reflector Attack (Inbound monlist)",
      "product": "ndr",
      "service": "flow",
      "severity": "high",
      "slug": "ntp-amplification"
    },
    {
      "category": "network",
      "id": "det-network-028",
      "match_when": {
        "protocol_app_in": [
          "bittorrent",
          "edonkey",
          "gnutella"
        ]
      },
      "mitre": [
        "T1071"
      ],
      "name": "Peer-to-Peer Protocol on Corporate Network",
      "product": "ndr",
      "service": "flow",
      "severity": "low",
      "slug": "p2p-protocol-on-corp-net"
    },
    {
      "category": "network",
      "id": "det-network-029",
      "match_when": {
        "event_id": 4768,
        "ticket_encryption_in": [
          "RC4-HMAC",
          "0x17"
        ]
      },
      "mitre": [
        "T1558.003"
      ],
      "name": "Kerberos Encryption Downgrade to RC4",
      "product": "windows",
      "service": "security",
      "severity": "medium",
      "slug": "kerberos-encryption-downgrade"
    },
    {
      "category": "network",
      "id": "det-network-030",
      "match_when": {
        "event_id": 4688,
        "process_command_line_contains_any": [
          "wmic /node:",
          "Invoke-WmiMethod -ComputerName"
        ],
        "src_role": "workstation"
      },
      "mitre": [
        "T1047",
        "T1021.006"
      ],
      "name": "WMI Remote Process Creation From Workstation",
      "product": "windows",
      "service": "security",
      "severity": "high",
      "slug": "wmi-remote-execution"
    },
    {
      "category": "network",
      "id": "det-network-032",
      "match_when": {
        "event_type": "dns_query",
        "homoglyph_score_gt": 0.85
      },
      "mitre": [
        "T1583.001"
      ],
      "name": "DNS Query For Homoglyph Of Internal Brand",
      "product": "dns",
      "service": "resolver",
      "severity": "high",
      "slug": "net-dns-idn-homoglyph"
    },
    {
      "category": "network",
      "id": "det-network-035",
      "match_when": {
        "event_type": "dns_query",
        "subdomain_entropy_gt": 4.0,
        "subdomain_length_gt": 16
      },
      "mitre": [
        "T1568.002"
      ],
      "name": "DNS Query With High-Entropy Subdomain (DGA Indicator)",
      "product": "dns",
      "service": "resolver",
      "severity": "high",
      "slug": "net-dns-dga-shannon"
    },
    {
      "category": "network",
      "id": "det-network-036",
      "match_when": {
        "event_type": "dns_response",
        "qtype": "TXT",
        "response_size_bytes_gt": 512
      },
      "mitre": [
        "T1071.004"
      ],
      "name": "Large DNS TXT Response (Possible C2)",
      "product": "dns",
      "service": "resolver",
      "severity": "high",
      "slug": "net-dns-large-txt-response"
    },
    {
      "category": "network",
      "id": "det-network-037",
      "match_when": {
        "event_type": "dns_response",
        "qtype": "TXT",
        "response_size_bytes_gt": 250,
        "src_role_not_in": [
          "resolver"
        ]
      },
      "mitre": [
        "T1071.004",
        "T1048.003"
      ],
      "name": "DNS TXT Response Over 250 Bytes From Non-Resolver Host",
      "product": "dns",
      "service": "resolver",
      "severity": "medium",
      "slug": "dns-txt-record"
    },
    {
      "category": "network",
      "id": "det-network-039",
      "match_when": {
        "destination_port": 443,
        "event_type": "tls_session",
        "sanctioned_doh": false,
        "sni_endswith_any": [
          "dns.adguard.com",
          "cloudflare-dns.com",
          "dns.google"
        ]
      },
      "mitre": [
        "T1572"
      ],
      "name": "DNS-Over-HTTPS Egress To Non-Sanctioned Resolver",
      "product": "proxy",
      "service": "tls",
      "severity": "high",
      "slug": "net-dns-doh-non-resolver"
    },
    {
      "category": "network",
      "id": "det-network-040",
      "match_when": {
        "destination_is_internal": false,
        "destination_port": 853,
        "event_type": "tls_session"
      },
      "mitre": [
        "T1572"
      ],
      "name": "DNS-Over-TLS Egress To Public IP",
      "product": "proxy",
      "service": "tls",
      "severity": "medium",
      "slug": "net-dns-dot-non-resolver"
    },
    {
      "category": "network",
      "id": "det-network-041",
      "match_when": {
        "domain_endswith": ".onion",
        "event_type": "dns_query"
      },
      "mitre": [
        "T1090.003"
      ],
      "name": "DNS Query For .onion Address",
      "product": "dns",
      "service": "resolver",
      "severity": "critical",
      "slug": "net-dns-tor-onion"
    },
    {
      "category": "network",
      "id": "det-network-043",
      "match_when": {
        "event_type": "dns_response",
        "rebinding_detected": true
      },
      "mitre": [
        "T1090"
      ],
      "name": "DNS Rebinding Indicator (Public→RFC1918 In Same TTL Window)",
      "product": "dns",
      "service": "resolver",
      "severity": "high",
      "slug": "net-dns-rebinding"
    },
    {
      "category": "network",
      "id": "det-network-044",
      "match_when": {
        "destination_is_internal": false,
        "event_type": "http_request",
        "method": "CONNECT"
      },
      "mitre": [
        "T1090"
      ],
      "name": "HTTP CONNECT Method Toward Public IP",
      "product": "proxy",
      "service": "http",
      "severity": "high",
      "slug": "net-http-connect-public-ip"
    },
    {
      "category": "network",
      "id": "det-network-045",
      "match_when": {
        "event_type": "http_request",
        "user_agent_contains": "WindowsPowerShell"
      },
      "mitre": [
        "T1071.001"
      ],
      "name": "HTTP User-Agent Matches PowerShell Default",
      "product": "proxy",
      "service": "http",
      "severity": "high",
      "slug": "net-http-userag-powershell"
    },
    {
      "category": "network",
      "id": "det-network-046",
      "match_when": {
        "event_type": "http_request",
        "src_role": "workstation",
        "user_agent_startswith_any": [
          "curl/",
          "Wget/"
        ]
      },
      "mitre": [
        "T1071.001"
      ],
      "name": "curl/wget User-Agent From Workstation Subnet",
      "product": "proxy",
      "service": "http",
      "severity": "medium",
      "slug": "net-http-userag-curl-internal"
    },
    {
      "category": "network",
      "id": "det-network-047",
      "match_when": {
        "event_type": "http_request",
        "host_is_ip_literal": true
      },
      "mitre": [
        "T1071.001"
      ],
      "name": "HTTP Host Header Is IP Literal",
      "product": "proxy",
      "service": "http",
      "severity": "medium",
      "slug": "net-http-host-header-ip"
    },
    {
      "category": "network",
      "id": "det-network-048",
      "match_when": {
        "client_version_in": [
          "TLSv1.0",
          "TLSv1.1"
        ],
        "event_type": "tls_session"
      },
      "mitre": [
        "T1573.002"
      ],
      "name": "TLS Client Offered TLS 1.0 Or 1.1",
      "product": "proxy",
      "service": "tls",
      "severity": "medium",
      "slug": "net-tls-old-client-version"
    },
    {
      "category": "network",
      "id": "det-network-049",
      "match_when": {
        "destination_is_internal": false,
        "event_type": "tls_session",
        "sni_present": false
      },
      "mitre": [
        "T1573.002"
      ],
      "name": "HTTPS Connection To IP Without SNI",
      "product": "proxy",
      "service": "tls",
      "severity": "medium",
      "slug": "net-tls-no-sni"
    },
    {
      "category": "network",
      "id": "det-network-050",
      "match_when": {
        "cert_self_signed": true,
        "destination_is_internal": false,
        "event_type": "tls_session"
      },
      "mitre": [
        "T1573.002"
      ],
      "name": "Self-Signed Certificate Presented On Public IP",
      "product": "proxy",
      "service": "tls",
      "severity": "high",
      "slug": "net-tls-self-signed-egress"
    },
    {
      "category": "network",
      "id": "det-network-051",
      "match_when": {
        "event_type": "tls_session",
        "negotiated_cipher_contains_any": [
          "NULL",
          "EXPORT",
          "RC4",
          "DES"
        ]
      },
      "mitre": [
        "T1600.001"
      ],
      "name": "TLS Negotiated Weak Cipher Suite",
      "product": "proxy",
      "service": "tls",
      "severity": "medium",
      "slug": "net-tls-suspicious-cipher"
    },
    {
      "category": "network",
      "id": "det-network-052",
      "match_when": {
        "event_type": "tls_session",
        "jarm_in": [
          "07d14d16d21d21d07c42d41d00041d24a458a375eef0c576d23a7bab9a9fb1",
          "07d19d12d21d21d00042d43d00043d4f51b7c8b9af6b1c7c2a3d4e5f6a7b8c9"
        ]
      },
      "mitre": [
        "T1573.002"
      ],
      "name": "JARM Fingerprint Matches Known Cobalt Strike Profile",
      "product": "proxy",
      "service": "tls",
      "severity": "critical",
      "slug": "net-jarm-cobalt-strike"
    },
    {
      "category": "network",
      "id": "det-network-053",
      "match_when": {
        "event_type": "tls_session",
        "jarm_in": [
          "3fd3fd0003fd3fd03fd3fd3fd3fd3fd3a458a375eef0c576d23a7bab9a9fb1"
        ]
      },
      "mitre": [
        "T1573.002"
      ],
      "name": "JARM Fingerprint Matches Known Sliver Profile",
      "product": "proxy",
      "service": "tls",
      "severity": "critical",
      "slug": "net-jarm-sliver"
    },
    {
      "category": "network",
      "id": "det-network-054",
      "match_when": {
        "content_encoding": "gzip",
        "event_type": "http_response",
        "filename_endswith_any": [
          ".jpg",
          ".png",
          ".gif"
        ],
        "mime_type_in": [
          "application/octet-stream"
        ]
      },
      "mitre": [
        "T1027"
      ],
      "name": "HTTP Response MIME And Content-Encoding Mismatch",
      "product": "proxy",
      "service": "http",
      "severity": "medium",
      "slug": "net-http-gzip-mime-mismatch"
    },
    {
      "category": "network",
      "id": "det-network-055",
      "match_when": {
        "destination_is_internal": false,
        "event_type": "http_request",
        "method": "POST",
        "request_size_bytes_gt": 50000000,
        "src_role": "workstation"
      },
      "mitre": [
        "T1041"
      ],
      "name": "Large HTTP POST From Workstation To Public IP",
      "product": "proxy",
      "service": "http",
      "severity": "medium",
      "slug": "net-http-large-post-from-workstation"
    },
    {
      "category": "network",
      "id": "det-network-056",
      "match_when": {
        "argv_contains": "-R",
        "event_type": "ssh_command"
      },
      "mitre": [
        "T1572"
      ],
      "name": "Outbound SSH With -R Reverse-Tunnel Flag",
      "product": "proxy",
      "service": "ssh",
      "severity": "high",
      "slug": "net-ssh-reverse-tunnel"
    },
    {
      "category": "network",
      "id": "det-network-057",
      "match_when": {
        "destination_in_known_tor_relay": true,
        "event_type": "tls_session",
        "src_role": "workstation"
      },
      "mitre": [
        "T1090.003"
      ],
      "name": "Tor Connection From Corporate Workstation",
      "product": "proxy",
      "service": "tls",
      "severity": "high",
      "slug": "net-tor-egress-corp"
    },
    {
      "category": "network",
      "id": "det-network-058",
      "match_when": {
        "event_type": "icmp",
        "payload_size_bytes_gt": 1024
      },
      "mitre": [
        "T1095"
      ],
      "name": "ICMP Echo With Unusually Large Payload",
      "product": "proxy",
      "service": "icmp",
      "severity": "medium",
      "slug": "net-icmp-large-payload"
    },
    {
      "category": "network",
      "id": "det-network-059",
      "match_when": {
        "event_type": "flow",
        "protocol_number": 47,
        "src_role_in": [
          "workstation",
          "server"
        ]
      },
      "mitre": [
        "T1572"
      ],
      "name": "GRE Tunnel Initiated By Non-Network Host",
      "product": "proxy",
      "service": "netflow",
      "severity": "medium",
      "slug": "net-gre-from-non-network-device"
    },
    {
      "category": "network",
      "id": "det-network-060",
      "match_when": {
        "destination_port": 51820,
        "event_type": "flow",
        "src_role": "workstation"
      },
      "mitre": [
        "T1572"
      ],
      "name": "WireGuard Handshake From User Workstation",
      "product": "proxy",
      "service": "netflow",
      "severity": "medium",
      "slug": "net-wireguard-handshake-from-user"
    },
    {
      "category": "network",
      "id": "det-network-061",
      "match_when": {
        "event_type": "vpn_auth",
        "src_asn_type": "hosting"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "Corporate VPN Login Originating From Datacenter ASN",
      "product": "vpn",
      "service": "auth",
      "severity": "medium",
      "slug": "net-vpn-from-datacenter"
    },
    {
      "category": "network",
      "id": "det-network-062",
      "match_when": {
        "circuit_purpose": "HS_CLIENT_INTRO",
        "event_type": "tor_circuit_intro"
      },
      "mitre": [
        "T1090.003"
      ],
      "name": "Tor Introduction To Hidden Service From Corp Host",
      "product": "proxy",
      "service": "tls",
      "severity": "critical",
      "slug": "net-tor-introduction-onion"
    },
    {
      "category": "network",
      "id": "det-network-063",
      "match_when": {
        "event_type": "tls_session",
        "sni_endswith_any": [
          "argotunnel.com",
          "tcp.cfargotunnel.com"
        ],
        "src_role": "workstation"
      },
      "mitre": [
        "T1572"
      ],
      "name": "Cloudflared Tunnel Started From Workstation",
      "product": "proxy",
      "service": "netflow",
      "severity": "medium",
      "slug": "net-cloudflared-tunnel-egress"
    },
    {
      "category": "network",
      "id": "det-network-064",
      "match_when": {
        "dialect": "SMB 1.0",
        "event_type": "smb_negotiate"
      },
      "mitre": [
        "T1021.002"
      ],
      "name": "SMB Version 1 Negotiated In Network Flow",
      "product": "firewall",
      "service": "netflow",
      "severity": "high",
      "slug": "net-smbv1-egress"
    },
    {
      "category": "network",
      "id": "det-network-065",
      "match_when": {
        "event_type": "smb_write",
        "share_name": "NETLOGON"
      },
      "mitre": [
        "T1570"
      ],
      "name": "SMB Write To NETLOGON Share",
      "product": "firewall",
      "service": "netflow",
      "severity": "critical",
      "slug": "net-smb-write-netlogon"
    },
    {
      "category": "network",
      "id": "det-network-066",
      "match_when": {
        "event_type": "smb_write",
        "share_name": "SYSVOL",
        "src_role_neq": "domain-controller"
      },
      "mitre": [
        "T1570"
      ],
      "name": "SMB Write To SYSVOL Share From Non-DC",
      "product": "firewall",
      "service": "netflow",
      "severity": "high",
      "slug": "net-smb-write-sysvol"
    },
    {
      "category": "network",
      "id": "det-network-067",
      "match_when": {
        "challenge_reused_across_hosts": true,
        "event_type": "ntlm_auth"
      },
      "mitre": [
        "T1557.001"
      ],
      "name": "NTLM Relay Indicator (Same Challenge Reused Across Hosts)",
      "product": "firewall",
      "service": "netflow",
      "severity": "critical",
      "slug": "net-ntlm-relay-pattern"
    },
    {
      "category": "network",
      "id": "det-network-068",
      "match_when": {
        "event_type": "rpc_call",
        "interface": "winreg",
        "operation": "BaseRegSetValue",
        "src_role": "workstation"
      },
      "mitre": [
        "T1112"
      ],
      "name": "RPC Remote Registry Write From Workstation Subnet",
      "product": "firewall",
      "service": "rpc",
      "severity": "high",
      "slug": "net-rpc-remote-registry"
    },
    {
      "category": "network",
      "id": "det-network-069",
      "match_when": {
        "event_type": "rpc_call",
        "interface": "atsvc",
        "src_role": "workstation"
      },
      "mitre": [
        "T1053.005"
      ],
      "name": "RPC Task Scheduler Create From Workstation",
      "product": "firewall",
      "service": "rpc",
      "severity": "high",
      "slug": "net-rpc-task-scheduler-remote"
    },
    {
      "category": "network",
      "id": "det-network-070",
      "match_when": {
        "destination_port_in": [
          5985,
          5986
        ],
        "destination_role": "domain-controller",
        "event_type": "flow",
        "src_role": "workstation"
      },
      "mitre": [
        "T1021.006"
      ],
      "name": "WinRM HTTPS From Workstation To DC",
      "product": "firewall",
      "service": "netflow",
      "severity": "high",
      "slug": "net-winrm-ssl-from-workstation"
    },
    {
      "category": "network",
      "id": "det-network-071",
      "match_when": {
        "event_type": "smb_pipe",
        "pipe_name_in": [
          "msagent_",
          "MSSE-",
          "postex_",
          "status_"
        ]
      },
      "mitre": [
        "T1573.002"
      ],
      "name": "Cobalt Strike Default Named Pipe Pattern",
      "product": "firewall",
      "service": "netflow",
      "severity": "critical",
      "slug": "net-cobalt-strike-named-pipe"
    },
    {
      "category": "network",
      "id": "det-network-072",
      "match_when": {
        "event_type": "smb_pipe",
        "pipe_name_startswith": "sliver_"
      },
      "mitre": [
        "T1573"
      ],
      "name": "Sliver Default Named Pipe Pattern",
      "product": "firewall",
      "service": "netflow",
      "severity": "critical",
      "slug": "net-sliver-named-pipe"
    },
    {
      "category": "network",
      "id": "det-network-073",
      "match_when": {
        "event_type": "http_request",
        "uri_endswith_any": [
          "/admin/get.php",
          "/news.php",
          "/login/process.php"
        ]
      },
      "mitre": [
        "T1071.001"
      ],
      "name": "Empire C2 Default URI Pattern Observed",
      "product": "proxy",
      "service": "http",
      "severity": "critical",
      "slug": "net-empire-default-uri"
    },
    {
      "category": "network",
      "id": "det-network-074",
      "match_when": {
        "event_id": 4769,
        "ticket_encryption_type": "0x17"
      },
      "mitre": [
        "T1558.003"
      ],
      "name": "Kerberos Service Ticket Issued With RC4 Encryption",
      "product": "windows",
      "service": "kerberos",
      "severity": "high",
      "slug": "net-kerberos-rc4-ticket"
    },
    {
      "category": "network",
      "id": "det-network-075",
      "match_when": {
        "event_id": 4768,
        "preauth_required": false
      },
      "mitre": [
        "T1558.004"
      ],
      "name": "Kerberos Account With Pre-Auth Disabled Used",
      "product": "windows",
      "service": "kerberos",
      "severity": "high",
      "slug": "net-kerberos-pre-auth-disabled"
    },
    {
      "category": "network",
      "id": "det-network-076",
      "match_when": {
        "auth_method": "PAP",
        "event_type": "radius_auth"
      },
      "mitre": [
        "T1110"
      ],
      "name": "RADIUS Authentication Used PAP (Cleartext Password)",
      "product": "radius",
      "service": "auth",
      "severity": "high",
      "slug": "net-radius-pap-clear"
    },
    {
      "category": "network",
      "id": "det-network-077",
      "match_when": {
        "event_id": 2889,
        "ldap_signing_required": false
      },
      "mitre": [
        "T1557.001"
      ],
      "name": "LDAP Signing Disabled On Domain Controller",
      "product": "windows",
      "service": "ldap",
      "severity": "high",
      "slug": "net-ldap-signing-disabled"
    },
    {
      "category": "network",
      "id": "det-network-078",
      "match_when": {
        "event_type": "ldap_search",
        "filter_contains_any": [
          "objectCategory=group",
          "objectClass=user",
          "trustedDomain"
        ],
        "search_count_5min_gt": 100
      },
      "mitre": [
        "T1087.002"
      ],
      "name": "LDAP Search Pattern Matches BloodHound Collection",
      "product": "windows",
      "service": "ldap",
      "severity": "high",
      "slug": "net-ldap-bloodhound-pattern"
    },
    {
      "category": "network",
      "id": "det-network-079",
      "match_when": {
        "event_type": "icmp",
        "payload_entropy_gt": 7.5,
        "payload_size_bytes_gt": 64
      },
      "mitre": [
        "T1095"
      ],
      "name": "ICMP Echo With High-Entropy Payload",
      "product": "firewall",
      "service": "netflow",
      "severity": "high",
      "slug": "net-icmp-high-entropy-payload"
    },
    {
      "category": "network",
      "id": "det-network-081",
      "match_when": {
        "event_type": "stp_tcn",
        "ingress_port_role": "edge"
      },
      "mitre": [
        "T1498"
      ],
      "name": "STP Topology Change Advertised By Edge Port",
      "product": "switch",
      "service": "stp",
      "severity": "medium",
      "slug": "net-stp-topology-change-from-edge"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-001",
      "match_when": {
        "baseline_client_family_rarity_gte": 0.95,
        "eventName": "CreateAccessKey"
      },
      "mitre": [
        "T1098.001",
        "T1078.004"
      ],
      "name": "AWS Access Key Created From a Client This Principal Has Never Used",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "ta-aws-access-key-created-from-rare-client"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-002",
      "match_when": {
        "baseline_action_rarity_gte": 0.95,
        "eventName_in": [
          "AttachUserPolicy",
          "AttachRolePolicy",
          "AttachGroupPolicy"
        ]
      },
      "mitre": [
        "T1098.003"
      ],
      "name": "AWS Policy Attached by a Principal Who Does Not Normally Attach Policies",
      "product": "aws",
      "service": "iam",
      "severity": "high",
      "slug": "ta-aws-policy-attached-by-rare-actor-action"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-003",
      "match_when": {
        "baseline_location_rarity_gte": 0.95,
        "eventSource": "iam.amazonaws.com"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "AWS Control-Plane Call From a Country This Principal Has Never Used",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "medium",
      "slug": "ta-aws-api-call-from-rare-country"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-004",
      "match_when": {
        "baseline_principal_volume_z_gte": 3.0,
        "eventSource": "s3.amazonaws.com"
      },
      "mitre": [
        "T1530"
      ],
      "name": "AWS S3 Read Volume Far Above This Principal's Normal",
      "product": "aws",
      "service": "s3",
      "severity": "high",
      "slug": "ta-aws-volume-spike-on-s3-reads"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-005",
      "match_when": {
        "baseline_resource_rarity_gte": 0.95,
        "eventName_startswith_any": [
          "Delete",
          "Put",
          "Modify"
        ]
      },
      "mitre": [
        "T1580"
      ],
      "name": "AWS Resource This Principal Has Never Touched",
      "product": "aws",
      "service": "cloudtrail",
      "severity": "medium",
      "slug": "ta-aws-rare-resource-touched-by-principal"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-006",
      "match_when": {
        "baseline_peer_deviation_gte": 3.0,
        "eventSource": "iam.amazonaws.com"
      },
      "mitre": [
        "T1078.004"
      ],
      "name": "AWS Privileged Call Volume Far Above This Principal's Peer Group",
      "product": "aws",
      "service": "iam",
      "severity": "medium",
      "slug": "ta-aws-peer-deviation-on-privileged-call"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-007",
      "match_when": {
        "baseline_location_rarity_gte": 0.95,
        "event_type_in": [
          "user.mfa.factor.reset_all",
          "user.mfa.factor.deactivate"
        ]
      },
      "mitre": [
        "T1556.006",
        "T1098.005"
      ],
      "name": "MFA Factor Reset From a Country This Principal Has Never Used",
      "product": "okta",
      "service": "identity",
      "severity": "critical",
      "slug": "ta-okta-mfa-reset-from-rare-country"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-008",
      "match_when": {
        "baseline_action_rarity_gte": 0.95,
        "event_type_in": [
          "user.account.privilege.grant",
          "group.privilege.grant"
        ]
      },
      "mitre": [
        "T1098.003"
      ],
      "name": "Admin Role Granted by a Principal Who Does Not Normally Grant Roles",
      "product": "okta",
      "service": "identity",
      "severity": "critical",
      "slug": "ta-okta-admin-role-granted-rare-action"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-009",
      "match_when": {
        "baseline_client_family_rarity_gte": 0.95,
        "event_type": "user.session.start"
      },
      "mitre": [
        "T1078.004",
        "T1550"
      ],
      "name": "Sign-In From a Client Family This Principal Has Never Used",
      "product": "okta",
      "service": "identity",
      "severity": "medium",
      "slug": "ta-okta-login-from-rare-client-family"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-010",
      "match_when": {
        "baseline_action_rarity_gte": 0.95,
        "event_type_startswith": "system.idp"
      },
      "mitre": [
        "T1556.007"
      ],
      "name": "Identity-Provider Change by a Principal Who Does Not Normally Make Them",
      "product": "okta",
      "service": "identity",
      "severity": "critical",
      "slug": "ta-okta-rare-action-on-identity-provider"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-011",
      "match_when": {
        "baseline_action_rarity_gte": 0.95,
        "operation_contains": "conditional access policy"
      },
      "mitre": [
        "T1556.009",
        "T1484.002"
      ],
      "name": "Conditional Access Policy Changed by a Rare Actor",
      "product": "azure",
      "service": "entra",
      "severity": "critical",
      "slug": "ta-entra-conditional-access-change-rare-action"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-012",
      "match_when": {
        "baseline_principal_volume_z_gte": 3.0,
        "event_type": "signin"
      },
      "mitre": [
        "T1110.003"
      ],
      "name": "Entra Sign-In Volume Far Above This Principal's Normal",
      "product": "azure",
      "service": "entra",
      "severity": "high",
      "slug": "ta-entra-signin-volume-spike"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-013",
      "match_when": {
        "baseline_peer_deviation_gte": 3.0,
        "event_type_contains": "group.user_membership"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Group Membership Changes Far Above the Principal's Peer Group",
      "product": "identity",
      "service": "directory",
      "severity": "medium",
      "slug": "ta-identity-peer-deviation-on-group-change"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-014",
      "match_when": {
        "baseline_oauth_app_volume_z_gte": 3.0,
        "event_type": "oauth_token_event"
      },
      "mitre": [
        "T1550.001",
        "T1530"
      ],
      "name": "OAuth Application Activity Far Above Its Own Normal",
      "product": "google-workspace",
      "service": "oauth",
      "severity": "high",
      "slug": "ta-saas-oauth-app-volume-spike"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-015",
      "match_when": {
        "baseline_action_rarity_gte": 0.95,
        "event_type": "admin"
      },
      "mitre": [
        "T1098"
      ],
      "name": "Workspace Admin Action This Principal Has Never Performed",
      "product": "google-workspace",
      "service": "admin",
      "severity": "high",
      "slug": "ta-workspace-rare-admin-action"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-016",
      "match_when": {
        "baseline_principal_volume_z_gte": 3.0,
        "event_type": "drive"
      },
      "mitre": [
        "T1530"
      ],
      "name": "Drive Download Volume Far Above This Principal's Normal",
      "product": "google-workspace",
      "service": "drive",
      "severity": "high",
      "slug": "ta-workspace-drive-download-volume-spike"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-017",
      "match_when": {
        "baseline_client_family_rarity_gte": 0.95,
        "operation_in": [
          "New-InboxRule",
          "Set-InboxRule"
        ]
      },
      "mitre": [
        "T1114.003",
        "T1564.008"
      ],
      "name": "Mailbox Rule Created From a Client This Principal Has Never Used",
      "product": "m365",
      "service": "exchange",
      "severity": "high",
      "slug": "ta-m365-mailbox-rule-from-rare-client"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-018",
      "match_when": {
        "action_startswith_any": [
          "workspace_",
          "organization_",
          "app_"
        ],
        "baseline_action_rarity_gte": 0.95
      },
      "mitre": [
        "T1098"
      ],
      "name": "Slack Workspace Admin Action This Principal Has Never Performed",
      "product": "slack",
      "service": "audit",
      "severity": "medium",
      "slug": "ta-slack-rare-admin-action"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-019",
      "match_when": {
        "baseline_principal_volume_z_gte": 3.0,
        "event_type_in": [
          "ReportExport",
          "BulkApi"
        ]
      },
      "mitre": [
        "T1530"
      ],
      "name": "Salesforce Export Volume Far Above This Principal's Normal",
      "product": "salesforce",
      "service": "audit",
      "severity": "high",
      "slug": "ta-salesforce-report-export-volume-spike"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-020",
      "match_when": {
        "action_startswith": "org.",
        "baseline_action_rarity_gte": 0.95
      },
      "mitre": [
        "T1098",
        "T1195.001"
      ],
      "name": "GitHub Organisation Setting Changed by a Rare Actor",
      "product": "github",
      "service": "audit",
      "severity": "high",
      "slug": "ta-github-rare-action-on-org-settings"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-021",
      "match_when": {
        "action_in": [
          "git.clone",
          "repo.download_zip"
        ],
        "baseline_principal_volume_z_gte": 3.0
      },
      "mitre": [
        "T1213.003"
      ],
      "name": "Repository Clone Volume Far Above This Principal's Normal",
      "product": "github",
      "service": "audit",
      "severity": "high",
      "slug": "ta-github-clone-volume-spike"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-022",
      "match_when": {
        "baseline_location_rarity_gte": 0.95,
        "event_type_contains": "token"
      },
      "mitre": [
        "T1098.001"
      ],
      "name": "GitLab Token Action From a Country This Principal Has Never Used",
      "product": "gitlab",
      "service": "audit",
      "severity": "high",
      "slug": "ta-gitlab-token-action-from-rare-country"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-023",
      "match_when": {
        "action_in": [
          "create",
          "delete",
          "patch"
        ],
        "baseline_action_rarity_gte": 0.95,
        "resource_contains": "clusterrolebinding"
      },
      "mitre": [
        "T1609",
        "T1078.003"
      ],
      "name": "Kubernetes Verb This Service Account Has Never Used",
      "product": "kubernetes",
      "service": "audit",
      "severity": "high",
      "slug": "ta-k8s-rare-verb-by-service-account"
    },
    {
      "category": "threat-anomaly",
      "id": "det-threat-anomaly-024",
      "match_when": {
        "baseline_principal_volume_z_gte": 3.0,
        "resource_contains": "pods/exec"
      },
      "mitre": [
        "T1609"
      ],
      "name": "Pod Exec Volume Far Above This Principal's Normal",
      "product": "kubernetes",
      "service": "audit",
      "severity": "medium",
      "slug": "ta-k8s-exec-volume-spike"
    }
  ],
  "version": 1
}