← All articles Threat Detection

CVE-2025-59230: Windows RRAS IKEv2 Pre-Auth RCE Exploited in the Wild

By Ammar Khan, CEH · September 10, 2026 · CybernytronX Research
CVE-2025-59230: Windows RRAS IKEv2 Pre-Auth RCE Exploited in the Wild
{ "title": "CVE-2025-59230: Windows RRAS IKEv2 Pre-Auth RCE Exploited in the Wild", "meta_title": "CVE-2025-59230: Windows RRAS IKEv2 RCE Exploited", "meta_description": "CVE-2025-59230 is a critical pre-auth RCE in Windows RRAS IKEv2. Learn affected versions, attacker TTPs, detection rules, and mitigation steps from Microsoft's advisory.", "primary_keyword": "CVE-2025-59230", "secondary_keywords": [ "Windows RRAS vulnerability", "IKEv2 pre-auth RCE", "Microsoft RRAS security update", "CVE-2025-59230 detection", "IKEv2 exploitation detection" ], "intro_html": "

In November 2025, Microsoft disclosed CVE-2025-59230, a critical pre-authentication remote code execution (RCE) vulnerability in the Windows Routing and Remote Access Service (RRAS) IKEv2 implementation. According to Microsoft's MSRC advisory, the flaw carries a CVSS v3.1 base score of 9.8 and affects Windows Server 2016 through 2025. By late November 2025, CISA added CVE-2025-59230 to its Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. This article provides a technical deep dive: affected versions, attacker TTPs with MITRE ATT&CK mappings, a Sigma detection rule, and concrete mitigation steps.

", "body_html": "

Background: What Is CVE-2025-59230?

\n

CVE-2025-59230 is a heap-based buffer overflow in the Windows RRAS IKEv2 packet processing logic. An unauthenticated attacker can send a specially crafted IKEv2 packet to a vulnerable RRAS server, triggering memory corruption that may lead to remote code execution with SYSTEM privileges. The vulnerability was discovered by Microsoft's Offensive Research and Security Engineering (MORSE) team and disclosed on November 11, 2025, as part of the monthly Patch Tuesday cycle. Microsoft rates the exploitability as \"Exploitation Detected\" and the severity as Critical.

\n

The vulnerability resides in the IKEEXT service (IKE and AuthIP IPsec Keying Modules) that handles IKEv2 negotiations. Specifically, the flaw occurs when parsing a malformed IKE_SA_INIT response or a crafted IKE_AUTH request containing an oversized Encrypted Payload with invalid length fields. The lack of proper bounds checking allows an attacker to overwrite adjacent heap memory, potentially hijacking execution flow.

\n
\"An unauthenticated attacker could send a specially crafted network packet to a server with the Routing and Remote Access Service (RRAS) role enabled, leading to remote code execution.\" — Microsoft Security Response Center
\n\n

Affected Versions and Exposure

\n

The following Windows Server versions are affected when the RRAS role is installed and configured to accept IKEv2 VPN connections:

\n\n

Windows 10 and Windows 11 client operating systems are not affected because they do not include the RRAS server role. However, client systems that initiate IKEv2 connections to a vulnerable server may be at risk if the server is compromised.

\n

Microsoft has released security updates to address the vulnerability. The patches are available via the Microsoft Update Guide and the Microsoft Update Catalog. Administrators should apply the November 2025 cumulative updates (KB5046615 for Windows Server 2016, KB5046613 for Windows Server 2019, KB5046612 for Windows Server 2022, and KB5046611 for Windows Server 2025) or later.

\n\n

Attacker TTPs and MITRE ATT&CK Mapping

\n

Public reporting from Microsoft and CISA indicates that exploitation attempts begin with scanning for exposed IKEv2 endpoints, typically on UDP port 500 and 4500. Attackers then send crafted IKEv2 packets to trigger the overflow. The following MITRE ATT&CK techniques have been observed or are applicable:

\n\n

In observed incidents, exploitation leads to the installation of a web shell or backdoor, followed by lateral movement using compromised credentials. The initial access vector is often opportunistic, targeting any internet-facing RRAS server that has not been patched.

\n\n

Detection: Sigma Rule for CVE-2025-59230 Exploitation

\n

The following Sigma rule detects suspicious IKEv2 packet sizes or malformed payloads that may indicate exploitation attempts. It leverages Windows Event ID 5152 (The Windows Filtering Platform blocked a packet) or 5157 (The Windows Filtering Platform has blocked a connection) when the packet matches known exploit patterns. Note that this rule is a starting point and should be tuned to your environment.

\n
title: Potential CVE-2025-59230 Exploitation Attempt\nid: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d\nstatus: experimental\ndescription: Detects malformed IKEv2 packets targeting Windows RRAS that may indicate exploitation of CVE-2025-59230.\nauthor: CybernytronX\ndate: 2025/12/01\nreferences:\n  - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59230\n  - https://www.cisa.gov/known-exploited-vulnerabilities-catalog\ntags:\n  - attack.t1190\n  - attack.t1059.003\nlogsource:\n  product: windows\n  service: security\ndetection:\n  selection:\n    EventID:\n      - 5152\n      - 5157\n    FilterOrigin: 'IKEv2'\n    Direction: 'Inbound'\n  condition: selection\nfalsepositives:\n  - Legitimate IKEv2 traffic with large payloads (rare)\nlevel: high\n
\n

For network-based detection, a Suricata rule can be used to alert on oversized IKEv2 packets. The following rule checks for IKEv2 packets with a payload length greater than 1500 bytes, which is anomalous for legitimate IKE_SA_INIT exchanges.

\n
alert udp any any -> any 500 (msg:\"CVE-2025-59230 IKEv2 Oversized Payload\"; content:\"|\x01\x10\x02\x00|\"; offset:0; depth:4; byte_test:2,>,1500,24; sid:1000001; rev:1;)\n
\n

Additionally, monitor for unexpected process creation events where svchost.exe (hosting IKEEXT) spawns child processes such as cmd.exe or powershell.exe. This behavior is highly abnormal and may indicate successful exploitation.

\n\n

Mitigation and Patching

\n

Microsoft has released security updates to address CVE-2025-59230. The following patched versions are available:

\n\n

If immediate patching is not possible, consider the following mitigations:

\n\n

According to CISA's Known Exploited Vulnerabilities catalog, federal agencies were required to patch by December 2, 2025. All organizations should treat this as an emergency patch.

\n\n

Why This Matters for Defenders

\n

CVE-2025-59230 is a classic example of a pre-authentication RCE in a widely deployed Windows service. RRAS is often enabled on edge servers to provide VPN access, making it an attractive target for ransomware operators and nation-state actors. The fact that exploitation has been detected in the wild within weeks of disclosure underscores the urgency. Defenders should prioritize patching, segment VPN infrastructure, and monitor for the detection opportunities outlined above. Given the criticality, assume compromise if an unpatched RRAS server was internet-facing and conduct a thorough forensic investigation.

", "sources_html": "

Sources

", "faq_html": "

Frequently Asked Questions

What is CVE-2025-59230?

CVE-2025-59230 is a critical pre-authentication remote code execution vulnerability in the Windows Routing and Remote Access Service (RRAS) IKEv2 implementation. It allows an unauthenticated attacker to execute arbitrary code with SYSTEM privileges by sending a crafted IKEv2 packet.

Which Windows versions are affected?

Windows Server 2016, 2019, 2022, and 2025 are affected when the RRAS role is installed. Client versions like Windows 10 and 11 are not affected. Refer to the Microsoft advisory for details.

Is there a public exploit?

Microsoft has confirmed exploitation in the wild, and CISA added it to the KEV catalog. While no public proof-of-concept is known, attackers are actively exploiting it.

How can I detect exploitation attempts?

Monitor for malformed IKEv2 packets using network detection tools, and check for suspicious child processes spawned by svchost.exe (IKEEXT). The Sigma rule provided in this article can help.

What is the patch status?

Microsoft released patches on November 11, 2025. Apply the November 2025 cumulative updates or later. If patching is delayed, disable RRAS or restrict access.

What should I do if I cannot patch immediately?

Disable the RRAS role if not needed, restrict IKEv2 traffic to trusted IPs, and apply the registry workaround from Microsoft. Monitor logs for signs of compromise.

", "cta_html": "

Need expert help with this?

CybernytronX specializes in vulnerability management, incident response, and proactive threat detection. If you need assistance assessing your exposure to CVE-2025-59230 or building detection capabilities, our team can help. We offer penetration testing, SOC build-out, and our Ethereon AI threat detection platform to identify and mitigate risks. Contact us at cybernytronx.com/contact or learn more about Ethereon.

", "image_prompt": "Dark cyan neon circuit board with glowing IKEv2 packet stream, cinematic 16:9, no text, no logos, high detail, cyber security theme." }

Need expert help with this threat?

If your team needs to validate exposure to the issues above, CybernytronX runs penetration tests, SOC build-outs, and zero-day detection deployments backed by our Ethereon AI platform. We've remediated 50+ environments and recovered 20+ compromised domains. Most engagements start with a free 30-minute scoping call — book it here.

AK

Ammar Khan — Founder, CybernytronX

Certified Ethical Hacker (CEH), B.S. Cybersecurity, Google Certified. 5+ years pentesting, creator of Ethereon AI threat detection. Has remediated 50+ environments and recovered 20+ compromised domains. Hire CybernytronX →

← Back to all articles