CVE-2021-30952

CVE-2021-30952: Apple Multiple Products Integer Overflow Exploitation

Detects exploitation attempts of CVE-2021-30952, an integer overflow vulnerability in Apple Multiple Products. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild. Integer overflow conditions in Apple platform components can lead to memory corruption, arbitrary code execution, or privilege escalation.

Vulnerability Intelligence

KEV — Known Exploited

What is CVE-2021-30952 CVE-2021-30952: Apple Multiple Products Integer Overflow Exploitation?

CVE-2021-30952: Apple Multiple Products Integer Overflow Exploitation (CVE-2021-30952) maps to the Execution and Privilege Escalation and Initial Access tactics — the adversary is trying to run malicious code in MITRE ATT&CK.

This page provides production-ready detection logic for CVE-2021-30952: Apple Multiple Products Integer Overflow Exploitation, covering the data sources and telemetry it touches: Microsoft Defender for Endpoint, Microsoft Sentinel. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Execution Privilege Escalation Initial Access
Microsoft Sentinel / Defender
kusto
let lookback = 7d;
DeviceProcessEvents
| where Timestamp > ago(lookback)
| where DeviceType in ("MacOS", "iOS", "iPad")
| where (FileName in~ ("WebKit", "Safari", "MobileSafari", "com.apple.WebKit") or ProcessCommandLine has_any ("webkit", "JavaScriptCore", "WebCore"))
| where InitiatingProcessFileName !in~ ("softwareupdated", "mdmclient", "installd")
| extend RiskIndicator = case(
    ProcessCommandLine has_any ("overflow", "heap spray", "shellcode"), "SuspiciousCommandArgs",
    InitiatingProcessFileName has_any ("sh", "bash", "zsh") and FolderPath !startswith "/Applications", "ShellFromUnexpectedPath",
    FileName has "crash" or ProcessCommandLine has "crash", "CrashIndicator",
    "Unknown"
  )
| where RiskIndicator != "Unknown"
| project Timestamp, DeviceName, DeviceType, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, RiskIndicator
| order by Timestamp desc

Detects suspicious process behaviors on Apple devices consistent with CVE-2021-30952 integer overflow exploitation, focusing on WebKit and related Apple framework processes spawning unexpected child processes or exhibiting crash-like behavior.

high severity medium confidence

Data Sources

Microsoft Defender for Endpoint Microsoft Sentinel

Required Tables

DeviceProcessEvents DeviceNetworkEvents

False Positives

  • Legitimate Safari or WebKit updates being applied via software update mechanisms
  • Developer testing environments running WebKit debug builds
  • Security research tools performing WebKit fuzzing or vulnerability testing
  • Crash reporter processes legitimately collecting diagnostic information

Sigma rule & cross-platform mapping

The detection logic for CVE-2021-30952: Apple Multiple Products Integer Overflow Exploitation (CVE-2021-30952) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  category: process_creation
  product: windows

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Simulate WebKit Process Spawning Shell from Non-Standard Path

    Expected signal: Process creation event showing /tmp/webkit-sim/WebContent spawning with process name matching WebContent but executing from /tmp path

  2. Test 2Create Persistence via LaunchAgent After Simulated WebKit Compromise

    Expected signal: File creation event for plist in ~/Library/LaunchAgents/ followed by launchctl process execution loading the new agent

  3. Test 3Simulate Integer Overflow Memory Pressure via Safari Crash Report Generation

    Expected signal: File creation event for .crash file in /tmp with WebContent prefix; potential file integrity monitoring alert

Unlock Pro Content

Get the full detection package for CVE-2021-30952 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections