Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for CVE-2025-68670.

Upgrade to Pro
CVE-2025-68670 Splunk · SPL

Detect xrdp Unauthenticated Stack Buffer Overflow via RDP Connection Sequence (CVE-2025-68670) in Splunk

CVE-2025-68670 is a critical unauthenticated stack buffer overflow (CWE-121) in xrdp versions prior to 0.10.5. During the RDP connection sequence, a remote unauthenticated attacker can send a specially crafted packet that overflows a stack buffer, potentially enabling remote code execution as the xrdp process user. CVSS 9.1. A public PoC exists. Patch to xrdp >= 0.10.5 immediately.

MITRE ATT&CK

Tactic
Initial Access Execution

SPL Detection Query

Splunk (SPL)
spl
index=linux_logs (sourcetype=syslog OR sourcetype=linux_secure OR sourcetype=linux_messages)
(
  (process=xrdp* ("error" OR "segfault" OR "stack" OR "overflow" OR "crash" OR "core dumped" OR "fatal" OR "abort" OR "SIGSEGV" OR "SIGABRT"))
  OR
  (sourcetype=linux_secure dest_port=3389 action=success)
)
| eval event_type=case(
    match(_raw, "(?i)(segfault|overflow|SIGSEGV|SIGABRT|core dumped)"), "xrdp_crash",
    match(_raw, "(?i)(error|fatal|abort)"), "xrdp_error",
    dest_port=="3389", "rdp_connection",
    true(), "other"
  )
| stats count by _time, host, src_ip, dest_ip, event_type, _raw
| where count > 0
| sort - _time
critical severity medium confidence

Detects xrdp crash/error events and inbound RDP connection events on Linux hosts. Correlates process errors with network activity to surface potential CVE-2025-68670 exploitation.

Data Sources

Linux SyslogLinux Secure LogNetwork logs

Required Sourcetypes

sysloglinux_securelinux_messages

False Positives & Tuning

  • Benign xrdp errors from misconfigured clients or resource exhaustion
  • Vulnerability scanners probing port 3389
  • Legitimate remote administration sessions coinciding with xrdp restarts
  • Kernel OOM kills affecting xrdp unrelated to network exploitation

Other platforms for CVE-2025-68670


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 1xrdp Version Enumeration via RDP Banner Grab

    Expected signal: Network connection event to port 3389 from scanning host; xrdp access log entry for the probe connection.

  2. Test 2Malformed RDP X.224 PDU Fuzzing (PoC Simulation)

    Expected signal: xrdp crash log entry (SIGSEGV/SIGABRT/stack smashing detected) in /var/log/xrdp.log; core dump if ulimit -c unlimited is set; network connection event from test host to port 3389.

  3. Test 3Post-Exploitation Persistence Check (Simulated RCE Artifact)

    Expected signal: Auditd events for crontab modification by xrdp user; file creation event in /tmp for .xrdp_persist; process execution telemetry showing crontab -r invoked by non-interactive xrdp session.

Unlock playbooks & atomic tests with Pro

Get the full detection package for CVE-2025-68670 — response playbook and atomic red team tests, plus investigation guidance and hunting queries.

df00tech Pro — £29/user/month

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections