Detect CVE-2021-30952: Apple Multiple Products Integer Overflow Exploitation in IBM QRadar
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.
MITRE ATT&CK
QRadar Detection Query
SELECT
DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS event_time,
sourceip,
username,
"processname",
"parentprocessname",
"filename",
QIDNAME(qid) AS event_name,
logsourcename(logsourceid) AS log_source
FROM events
WHERE
LOGSOURCETYPENAME(devicetype) IN ('Apple macOS', 'CrowdStrike Falcon', 'Carbon Black')
AND (
"processname" ILIKE '%WebContent%'
OR "processname" ILIKE '%WebKit%'
OR "processname" ILIKE '%MobileSafari%'
OR "processname" ILIKE '%Safari%'
)
AND "parentprocessname" NOT ILIKE '%launchd%'
AND "parentprocessname" NOT ILIKE '%softwareupdated%'
AND "filename" NOT ILIKE '/Applications/%'
AND "filename" NOT ILIKE '/System/%'
AND LOGSOURCESTARTTIME(logsourceid) > NOW() - 7 DAYS
ORDER BY starttime DESC
LIMIT 1000 QRadar AQL query identifying WebKit and Safari processes exhibiting anomalous behavior on Apple endpoints, including processes running from non-standard paths or spawned by unexpected parent processes.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate Apple system processes performing background WebKit rendering tasks
- Enterprise endpoint management tools interacting with Safari configuration
- Security audit tools generating process telemetry on macOS endpoints
Other platforms for CVE-2021-30952
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.
- 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
- 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
- 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.