Skip to content
CVE-2024-27834 IBM QRadar · QRadar

Detect Apple Multiple Products Improper Authentication (CVE-2024-27834) in IBM QRadar

Detects potential exploitation of CVE-2024-27834, a KEV-listed improper authentication vulnerability (CWE-287) affecting multiple Apple products as addressed in Apple's May 2024 security updates. An attacker with arbitrary read and write capability may be able to bypass Pointer Authentication. Because the flaw is in Apple client/server components, host-based detection focuses on identifying Apple devices (macOS endpoints and WebKit/Safari processes) that have not been patched to a fixed build, as well as anomalous process behavior consistent with memory-corruption exploitation. Consistent with the available intelligence, this detection does not assert specific fixed version strings; it keys on vulnerable Apple product telemetry and unexpected privileged activity following browser/WebKit rendering.

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation

QRadar Detection Query

IBM QRadar (QRadar)
sql
-- df00tech DF00-9950d5996c · https://df00tech.com/detections/CVE-2024-27834 · licence: https://df00tech.com/detections/licence
SELECT QIDNAME(qid) AS event, "Process Name" AS process, "Parent Process Name" AS parent, "Machine Identifier" AS host, username, starttime FROM events WHERE LOWER("Parent Process Name") LIKE '%webkit.webcontent%' OR LOWER("Parent Process Name") LIKE '%safari%' AND (LOWER("Process Name") LIKE '%/bin/sh%' OR LOWER("Process Name") LIKE '%/bin/bash%' OR LOWER("Process Name") LIKE '%/bin/zsh%' OR LOWER("Process Name") LIKE '%osascript%' OR LOWER("Process Name") LIKE '%spctl%' OR LOWER("Process Name") LIKE '%csrutil%') ORDER BY starttime DESC LAST 7 DAYS
high severity medium confidence

QRadar AQL retrieving macOS process events where a WebKit/Safari parent spawns a shell, scripting, or security-tooling child process.

Data Sources

macOS endpoint process eventsQRadar DSM for EDR

Required Tables

events

False Positives & Tuning

  • Developer and automation workflows from browser tooling
  • Security/MDM agents running csrutil or spctl
  • Helper apps spawning child processes legitimately

Other platforms for CVE-2024-27834


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 further down this page.

  1. Test 1 WebKit content process spawns shell (simulated)

    Expected signal: Process-launch event with a parent named com.apple.WebKit.WebContent spawning /bin/sh

  2. Test 2 Browser-spawned security tooling inspection

    Expected signal: Process event where a Safari-named parent runs csrutil/spctl

  3. Test 3 WebKit content process spawns scripting interpreter

    Expected signal: Process-launch event with a WebKit parent spawning osascript


Response Playbook

Triage

  1. Confirm the affected endpoint is an Apple device and determine whether it has received Apple's May 2024 security updates that address CVE-2024-27834 (reference the Apple support advisories listed).
  2. Review the full process lineage: confirm that the parent is a genuine WebKit/Safari content process and inspect the spawned child process command line for signs of code execution or reconnaissance.
  3. Correlate the event with recent browsing activity or inbound content (email links, messages) delivered to the user immediately before the alert.
  4. Check whether the child process attempted privilege changes, SIP/Gatekeeper inspection (csrutil/spctl), or outbound network connections.

Containment

  1. Isolate the affected Apple endpoint from the network to prevent lateral movement or data exfiltration.
  2. Force-install the Apple security update that remediates CVE-2024-27834 on the affected and all peer Apple devices via MDM.
  3. Terminate suspicious child processes and revoke any credentials or sessions that may have been exposed on the host.

Evidence Collection

  1. Capture the unified log, EDR process tree, and any dropped files or scripts referenced in the child process command line.
  2. Preserve Safari/WebKit crash reports and diagnostic logs (~/Library/Logs/DiagnosticReports) that may indicate memory corruption attempts.

Escalation Criteria

  • !Escalate to incident response if the child process successfully executed code, established persistence, or made outbound C2-like connections.
  • !Escalate if multiple Apple endpoints show the same WebKit-spawned-child pattern, indicating a campaign rather than an isolated event.

Investigation Guide

Forensic Artifacts

  • >Safari/WebKit DiagnosticReports and crash logs under ~/Library/Logs/DiagnosticReports
  • >Unified log process-launch records for com.apple.WebKit.WebContent and its children
  • >Browser history and downloaded content preceding the alert

Tuning Guidance

Establish a baseline of legitimate child processes spawned by WebKit/Safari in your environment (e.g., approved helper apps, automation frameworks) and add them to the exclusion list. Prioritize alerts on Apple devices not yet patched against CVE-2024-27834. Lower confidence if your EDR does not reliably capture WebKit sandbox-process lineage.


Hunting Queries

Baseline the children of WebKit content processes across the fleet to identify anomalous spawns worth investigating.

Hunting — KQL
kql
// df00tech DF00-9950d5996c · https://df00tech.com/detections/CVE-2024-27834 · licence: https://df00tech.com/detections/licence
DeviceProcessEvents | where InitiatingProcessFileName has "WebKit" | summarize count() by FileName, DeviceName | order by count_ desc
Hunting — SPL
spl
``` df00tech DF00-9950d5996c · https://df00tech.com/detections/CVE-2024-27834 · licence: https://df00tech.com/detections/licence ```
index=macos_edr parent_process_name="com.apple.WebKit.WebContent" | stats count by process_name, host | sort - count

Atomic Red Team Tests

Test 1 WebKit content process spawns shell (simulated)
macos

Simulates a WebKit content process launching a shell child, approximating post-exploitation telemetry.

Command

bash
cp /bin/zsh /tmp/com.apple.WebKit.WebContent && /tmp/com.apple.WebKit.WebContent -c '/bin/sh -c "id"'

Cleanup

bash
rm -f /tmp/com.apple.WebKit.WebContent

Expected Telemetry

Process-launch event with a parent named com.apple.WebKit.WebContent spawning /bin/sh

Expected Detection

KQL/SPL/EDR rules fire on WebKit parent spawning a shell child

Test 2 Browser-spawned security tooling inspection
macos

Simulates a browser-derived process invoking SIP/Gatekeeper inspection tools.

Command

bash
cp /bin/sh /tmp/Safari && /tmp/Safari -c 'csrutil status; spctl --status'

Cleanup

bash
rm -f /tmp/Safari

Expected Telemetry

Process event where a Safari-named parent runs csrutil/spctl

Expected Detection

Detection matches on security-tooling children of a Safari/WebKit parent

Test 3 WebKit content process spawns scripting interpreter
macos

Simulates a WebKit content process executing osascript, consistent with scripted post-exploitation.

Command

bash
cp /usr/bin/osascript /tmp/osascript_test 2>/dev/null; cp /bin/zsh /tmp/com.apple.WebKit.WebContent && /tmp/com.apple.WebKit.WebContent -c 'osascript -e "return 1"'

Cleanup

bash
rm -f /tmp/com.apple.WebKit.WebContent /tmp/osascript_test

Expected Telemetry

Process-launch event with a WebKit parent spawning osascript

Expected Detection

Rules fire on scripting-interpreter children of WebKit/Safari

Related Detections