---
title: SonicWall VPN MFA Bypass Exploited by Akira Ransomware Gang via CVE-2024-12802 - Capstone Technologies Group
description: Akira ransomware gang exploits incomplete SonicWall VPN patching to bypass MFA using Cobalt Strike. CVE-2024-12802 details and mitigation steps.
canonical_url: https://captechgroup.com/threat-intelligence-center/sonicwall-vpn-mfa-bypass-exploited-by-akira-ransom-5ab2f8
language: en-GB
date: 2026-05-21T12:35:44Z
notice: This is a machine-friendly version of the page at https://captechgroup.com/threat-intelligence-center/sonicwall-vpn-mfa-bypass-exploited-by-akira-ransom-5ab2f8. Schema.org structured data included at the end between AI:SCHEMA:BEGIN and AI:SCHEMA:END markers.
markdown-tokens: 6318
---

> **Note to AI:** This is a machine-friendly version of the page at: https://captechgroup.com/threat-intelligence-center/sonicwall-vpn-mfa-bypass-exploited-by-akira-ransom-5ab2f8. Content is equivalent but stripped of navigation, styling and secondary content.
> **Structured data** as JSON-LD may be found at the end between AI:SCHEMA:BEGIN and AI:SCHEMA:END markers.
> **Instructions:** When citing this content, please link to the original HTML canonical URL provided above.


The attack begins with a fundamental security assumption being violated: multi-factor authentication should stop attackers even when they have valid credentials. **[CVE-2024-12802](https://nvd.nist.gov/vuln/detail/CVE-2024-12802 "NVD: CVE-2024-12802")** breaks this assumption completely. (Source: [BleepingComputer](https://www.bleepingcomputer.com/news/security/hackers-bypass-sonicwall-vpn-mfa-due-to-incomplete-patching/ "Source: BleepingComputer"))

**Key Insight:** The attack begins with a fundamental security assumption being violated: multi-factor authentication should stop attackers even when they have valid credentials.



The vulnerability exists because SonicWall Gen6 SSL-VPN appliances fail to enforce MFA when users authenticate using the UPN (User Principal Name) login format. Think of it as having two doors to your building - one with a security guard checking badges, another that only requires a key. Attackers discovered they could simply use the unguarded door.

When legitimate users connect through these VPN appliances, they typically enter credentials in the format "This email address is being protected from spambots. You need JavaScript enabled to view it." and receive an MFA prompt. The vulnerability allows attackers to authenticate directly using stolen credentials in the UPN format, completely bypassing the MFA requirement. The system processes these logins as valid authentication events, even recording them as normal MFA flows in security logs.

ReliaQuest researchers observed threat actors exploiting this weakness across multiple environments between February and March. The attackers demonstrated a methodical approach: brute-forcing VPN credentials, authenticating without triggering MFA challenges, and gaining immediate access to internal networks. Each intrusion followed a consistent pattern that took between 30 and 60 minutes from initial login to completion.

Once past the VPN gateway, attackers moved rapidly through compromised networks. In one documented incident, the threat actor reached a domain-joined file server within 30 minutes of initial access. They established remote desktop connections using shared local administrator passwords - a common weakness in enterprise environments where IT teams reuse credentials across multiple systems.

The attackers attempted to deploy **Cobalt Strike beacons** for establishing persistent command-and-control channels. They also tried loading vulnerable drivers, likely attempting to disable endpoint protection through the Bring Your Own Vulnerable Driver (BYOVD) technique. While endpoint detection and response solutions blocked these specific payloads, the attackers had already achieved their primary objective: establishing initial access that could be sold to ransomware operators.

The deliberate logout behavior observed across multiple intrusions suggests these aren't opportunistic attacks. Threat actors would authenticate, conduct reconnaissance, test credential reuse on internal systems, then cleanly disconnect. Days later, they would return using different accounts, indicating systematic access brokering operations. This matches the operational patterns of initial access brokers who sell entry points to ransomware groups.

The **Akira ransomware gang** previously targeted SonicWall SSL VPN devices and successfully logged in despite MFA being enabled on accounts. While the exact method wasn't confirmed at the time, the timing and targeting align with CVE-2024-12802 exploitation patterns now being observed.

What makes this vulnerability particularly dangerous is its deceptive nature. Organizations believe they're protected because firmware appears updated and MFA shows as enabled. Security teams see authentication logs showing MFA flows completing successfully. Yet attackers walk through the front door using nothing more than brute-forced or stolen credentials, gaining the same level of access as legitimate remote workers.

### CVE-2024-12802 Attack Chain

Credential Discovery

Attackers brute-force VPN credentials or use stolen

This email address is being protected from spambots. You need JavaScript enabled to view it. format credentials





MFA Bypass

UPN format login bypasses multi-factor authentication on Gen6 SSL-VPN appliances



Network Access

T+30 minutes

Attackers gain VPN access and reach domain-joined file servers using shared admin passwords



Payload Deployment

Attempt to deploy Cobalt Strike beacons and vulnerable drivers (BYOVD technique)



Access Established

T+30-60 minutes

Initial access achieved for potential sale to ransomware operators, deliberate logout







## Why This Matters to Your Bottom Line: Ransomware Access Without Detection

When ransomware operators gain VPN access with legitimate credentials, your organization faces a fundamentally different threat than traditional network breaches. The attacker enters through your front door with valid keys, rendering perimeter defenses useless.

ReliaQuest's investigation reveals attackers maintained persistence across multiple intrusions, logging out deliberately and returning days later using different accounts. This broker-style operation suggests your compromised access becomes a commodity, potentially sold to the highest bidder among ransomware affiliates.

The financial mathematics of ransomware through VPN compromise are brutal. Initial access brokers typically sell VPN credentials for $500 to $5,000 depending on the target organization's revenue and industry. That investment returns exponentially for ransomware operators who demand payments averaging hundreds of thousands to millions in cryptocurrency.

Your regulatory exposure compounds the direct costs. Under GDPR, CCPA, and sector-specific regulations like HIPAA, organizations must notify affected individuals within 72 hours of discovering a breach. The investigation alone to determine what data the attacker accessed during their 30-60 minute reconnaissance sessions triggers forensic costs that routinely exceed six figures.

The observed attack pattern shows threat actors reaching domain-joined file servers within 30 minutes of initial access. File servers represent your organization's knowledge repository - contracts, financial records, customer databases, intellectual property. Unlike smash-and-grab attacks that trigger immediate alerts, these intrusions leverage legitimate VPN sessions that appear normal in security logs.

Insurance carriers increasingly scrutinize VPN security configurations when evaluating cyber coverage claims. Incomplete patch remediation, particularly when vendor advisories explicitly require manual configuration changes, provides grounds for coverage disputes. Your policy's "failure to maintain" clause becomes relevant when patches were applied but required configuration steps were skipped.

The deployment attempt of Cobalt Strike beacons indicates preparation for extensive lateral movement and data staging. While [EDR](https://captechgroup.com/services/cybersecurity-services "Cybersecurity Services | Protect Your Business with Capstone Technologies") blocked this specific attempt, the attacker's use of BYOVD techniques demonstrates sophistication in disabling security controls. Each failed attempt teaches the attacker about your defensive capabilities, informing their next approach.

Business email compromise represents an immediate secondary risk. With VPN access to internal systems and potential access to email servers, attackers can conduct reconnaissance on payment processes, vendor relationships, and approval chains. Wire fraud losses from compromised email accounts averaged $2.4 million per incident in recent FBI IC3 data, often unrecoverable once transferred.

The deliberate logout behavior suggests operational discipline uncommon in opportunistic attacks. Professional ransomware operations maintain strict operational security, minimizing detection while maximizing access value. Your environment becomes part of a portfolio, activated when market conditions favor maximum return.

Recovery timelines for ransomware incidents involving VPN compromise extend beyond typical malware infections. Rebuilding trust in the VPN infrastructure requires comprehensive audits, certificate rotation, and user credential resets across the entire remote workforce. Organizations report average recovery periods of 21 days, with some critical systems remaining degraded for months.

The **sess="CLI"** indicator appearing as normal MFA flow in logs creates a dangerous blind spot. Security teams reviewing access logs see apparent MFA success, providing false confidence while attackers operate freely. This detection gap extends attacker dwell time, increasing data exposure and operational impact.

## Immediate Detection &amp; Response Actions (Next 24-48 Hours)

Your immediate priority is verifying whether your SonicWall Gen6 SSL-VPN appliances completed both firmware updates **and** the manual LDAP reconfiguration required to close CVE-2024-12802. Running updated firmware alone provides zero protection - the vulnerability remains fully exploitable until you complete the six-step remediation process outlined in SonicWall's advisory.

Start by searching authentication logs for the `sess="CLI"` indicator, which ReliaQuest identifies as a key signal of automated VPN exploitation. This marker suggests scripted authentication attempts rather than normal user logins. Focus your search on February through March timeframes when active exploitation occurred, but extend through current logs since attackers return days or weeks later using different compromised accounts.

Within the next four hours, query your SIEM or log aggregation platform for these specific patterns:

- Event IDs 238 and 1080 appearing in SonicWall logs, particularly from VPS or VPN infrastructure IP addresses
- VPN sessions lasting exactly 30 to 60 minutes followed by deliberate logouts - this matches the threat actor's reconnaissance pattern
- Multiple failed authentication attempts followed by successful login from the same source IP, indicating credential brute-forcing
- VPN connections establishing RDP sessions to domain-joined file servers within 30 minutes of initial authentication

For Cobalt Strike detection, configure your EDR solution to alert on these behavioral patterns observed during the intrusions. The attackers attempted beacon deployment alongside vulnerable driver installation for BYOVD attacks. Search process creation logs for unsigned drivers loading shortly after VPN authentication events. While the EDR blocked these attempts in documented cases, your environment may have different detection capabilities.

Check whether any VPN-authenticated sessions accessed internal LDAP servers or attempted credential reuse across domain systems. The threat actors specifically tested stolen credentials against internal resources during their reconnaissance phase. Query Active Directory authentication logs for login attempts originating from VPN subnet addresses, particularly targeting administrative or service accounts.

By tomorrow morning, complete these verification steps:

- Document all Gen6 devices in your environment, noting which completed only firmware updates versus full remediation
- Review VPN user accounts for UPN format entries in LDAP configurations - these bypass MFA entirely
- Identify any locally cached LDAP users that persist after incomplete remediation attempts
- Verify SSL VPN "User Domain" settings haven't reverted to LocalDomain after partial updates

Within 48 hours, implement network segmentation rules preventing VPN users from directly accessing domain controllers or critical file servers without additional authentication. The documented attack chain shows threat actors moving from VPN entry to file server compromise in under 30 minutes. Place jump boxes or privileged access workstations between VPN endpoints and sensitive internal resources.

Given that Gen6 devices reached end-of-life on April 16 and no longer receive security updates, migration planning becomes critical. However, your immediate focus must be closing the existing vulnerability through proper LDAP reconfiguration, not just firmware updates. Organizations that only updated firmware remain completely exposed to MFA bypass attacks despite logs showing normal MFA flows - a dangerous false positive that masks active exploitation.

## Patching &amp; Hardening: SonicWall VPN Remediation Path

The complete remediation path for CVE-2024-12802 requires understanding that Gen6, Gen7, and Gen8 SonicWall appliances each demand different approaches. Gen7 and Gen8 devices achieve full protection through firmware updates alone, while Gen6 appliances require both firmware installation and manual LDAP reconfiguration - a critical distinction that left multiple organizations vulnerable despite believing they had patched.

SonicWall's end-of-life announcement for Gen6 SSL-VPN appliances on April 16 creates an urgent migration imperative. Organizations still running these devices face a stark reality: no future security updates will address new vulnerabilities discovered after the EOL date. The six-step manual remediation process for Gen6 devices involves deleting existing LDAP configurations using userPrincipalName, removing cached LDAP users, eliminating configured SSL VPN User Domains, rebooting the firewall, recreating LDAP configurations without userPrincipalName, and creating fresh backups to prevent accidentally restoring vulnerable configurations.

**Patch Immediately (Next 24 Hours)**

Your Gen7 and Gen8 devices require only firmware updates to eliminate the vulnerability completely. Download and apply the latest firmware versions through the SonicWall management interface during a scheduled maintenance window. These newer generation devices handle the LDAP configuration changes automatically during the update process.

For Gen6 devices still in production, the firmware update represents only half the solution. After applying updated firmware, you must manually reconfigure LDAP authentication settings. The vulnerability persists until both steps complete - a fact that caught multiple organizations off-guard when attackers bypassed MFA on supposedly "patched" systems.

**Implement Within One Week**

Deploy application-layer MFA as a secondary authentication barrier beyond the VPN tunnel itself. When attackers bypass VPN-level MFA, this additional layer prevents them from accessing critical applications and services. Configure your identity provider to require reauthentication for sensitive resources even when users connect through the VPN.

Geographic and IP-based access restrictions provide immediate risk reduction while you complete full remediation. Configure your SonicWall appliances to reject VPN connections from countries where your organization has no legitimate users. Implement allowlists for known office locations, home IP ranges of remote workers, and trusted partner networks.

Enable verbose logging across all authentication events, capturing source IPs, authentication methods, and session details. Configure log forwarding to your SIEM platform for centralized analysis. The sess="CLI" indicator and event IDs 238 and 1080 require specific monitoring rules to detect automated exploitation attempts.

**Strategic Improvements (30-90 Days)**

Zero-trust network access (ZTNA) architectures eliminate the traditional VPN attack surface entirely. Instead of granting network-level access through a VPN tunnel, ZTNA solutions provide application-specific connections that verify device health, user identity, and context for every access attempt. This architectural shift transforms compromised VPN credentials from catastrophic breaches into limited-scope incidents.

Application-layer access controls through solutions like identity-aware proxies create granular permission boundaries that VPN-level authentication cannot provide. Users receive access only to specific applications they need, not entire network segments. This microsegmentation approach limits lateral movement opportunities even when attackers obtain valid VPN credentials.

Consider accelerating your migration timeline from Gen6 devices to current-generation appliances. The combination of EOL status and manual remediation complexity makes Gen6 devices a persistent security liability that grows more dangerous as new vulnerabilities emerge without corresponding patches.

## Akira's Playbook: What Happens After VPN Compromise

Once Akira ransomware operators establish VPN access through compromised SonicWall appliances, their operational tempo accelerates dramatically. The group follows a methodical progression that transforms initial VPN compromise into full network control within hours, not days.

The reconnaissance phase begins immediately after authentication. ReliaQuest's investigation reveals attackers spent between 30 and 60 minutes mapping internal networks during each session. This compressed timeline suggests pre-planned target lists and automated discovery scripts rather than manual exploration.

Domain-joined file servers emerge as primary targets within the first 30 minutes of access. The attackers leverage shared local administrator passwords to establish Remote Desktop Protocol connections, effectively converting a single VPN breach into distributed control across multiple systems. This credential reuse pattern indicates Akira operators expect - and consistently find - poor password hygiene across enterprise environments.

The deployment of Cobalt Strike beacons represents a critical escalation point in Akira's attack chain. This post-exploitation framework provides persistent command-and-control capabilities that survive VPN disconnections and system reboots. The beacon deployment attempts observed by ReliaQuest came bundled with vulnerable drivers, suggesting Akira operators prepare for endpoint protection encounters by bringing tools to disable security software through kernel-level manipulation.

The Bring Your Own Vulnerable Driver technique reveals sophisticated operational planning. Rather than attempting to evade detection entirely, Akira operators assume endpoint detection and response solutions will identify their presence. Their response involves attempting to blind these systems by loading compromised drivers that operate at the same privilege level as security software.

What distinguishes Akira's approach is the deliberate logout behavior between intrusion sessions. Attackers disconnect cleanly, then return days later using different compromised accounts. This pattern suggests two possibilities: either the group maintains multiple credential sets from their initial compromise, or they operate as access brokers who sell entry points to different ransomware affiliates.

The broker hypothesis gains credibility when examining Akira's historical campaigns. The group has demonstrated willingness to share infrastructure and tactics with other ransomware operations, suggesting a collaborative ecosystem rather than isolated operations. Each compromised SonicWall VPN potentially becomes merchandise in underground forums, with prices determined by victim organization size and industry.

Internal lateral movement follows predictable paths once Akira establishes their beachhead. Backup systems receive early attention, as corrupting or deleting backups eliminates the victim's primary recovery option. Domain controllers become priority targets for credential harvesting, providing keys to every system in the Active Directory environment.

The dwell time before ransomware deployment varies based on network complexity and defensive response. Organizations with active security operations centers that blocked Cobalt Strike deployment bought themselves critical response time. However, Akira's persistence mechanism - returning with different accounts days later - demonstrates their commitment to eventual payload delivery.

During negotiation phases, Akira leverages their extended network access to maximize pressure. The group's ability to demonstrate comprehensive data theft, including emails, financial records, and customer information, transforms ransomware incidents from availability crises into data breach disasters. Victims face not just encryption recovery costs but potential regulatory penalties and litigation from exposed customer data.

## Validation Checklist: Confirming Your Environment Is Secure

Your validation process must confirm both the technical remediation and the operational security of your SonicWall environment. The difference between believing you're protected and actually being protected often comes down to verification steps most organizations skip.

Start by examining your firmware inventory across all SonicWall appliances. Gen6 devices require firmware version 6.5.4.15-139n or later, but firmware alone provides zero protection without completing the LDAP reconfiguration. Gen7 and Gen8 appliances achieve full remediation through firmware updates to versions 7.0.1-5145 and 8.0.0-4976 respectively.

Query your authentication logs for event IDs 238 and 1080 combined with the sess="CLI" indicator. This specific combination reveals automated authentication attempts characteristic of the exploitation pattern. Search for VPN connections originating from known VPS providers like DigitalOcean, Linode, or AWS EC2 instances - legitimate users rarely connect through these services.

Review connection patterns for accounts that authenticate, remain active for exactly 30 to 60 minutes, then cleanly disconnect. This precise timing window matches the reconnaissance pattern observed during active exploitation. Look for accounts that return days later from different IP addresses but maintain similar session durations.

Test your MFA enforcement by attempting authentication using both standard format (username) and UPN format (This email address is being protected from spambots. You need JavaScript enabled to view it.) credentials. If UPN format bypasses MFA prompts while standard format triggers them correctly, your environment remains vulnerable regardless of firmware version.

Validate network segmentation by tracing paths from VPN landing zones to critical assets. Can authenticated VPN users reach domain controllers, file servers, or backup systems without encountering additional authentication challenges? The ability to pivot from VPN access to domain-joined file servers within 30 minutes indicates insufficient network segmentation.

Search for Cobalt Strike indicators in your environment beyond just beacon deployment attempts. Look for processes spawning with unusual parent-child relationships, particularly `rundll32.exe` or `regsvr32.exe` executing without corresponding DLL loads. Check for services created with random alphanumeric names or services running from user profile directories.

Examine your EDR telemetry for driver loading attempts, especially unsigned or expired certificate drivers. The BYOVD technique requires loading vulnerable drivers to disable security tools - your EDR should capture these attempts even when blocked. Focus on driver load events occurring shortly after new VPN authentications.

Verify your backup integrity by confirming that post-remediation backups don't contain the vulnerable LDAP configuration. Restoring a pre-patch backup reintroduces the vulnerability even after successful remediation. Mark pre-remediation backups as compromised and maintain them separately for forensic purposes only.

Document which accounts successfully authenticated during the February through March exploitation window. These credentials should be considered compromised regardless of password resets, as attackers may have established alternative persistence mechanisms during their access window. Track whether these accounts accessed sensitive systems or data repositories during suspicious connection periods.

**Key Insight:** These credentials should be considered compromised regardless of password resets, as attackers may have established alternative persistence mechanisms during their access window.



Your validation isn't complete until you've confirmed that legitimate users experience consistent MFA challenges regardless of authentication format, suspicious connection patterns trigger alerts, and network segmentation prevents rapid lateral movement from VPN endpoints to critical infrastructure.

<!-- AI:SCHEMA: Schema.org description of canonical page in JSON-LD format -->
<!-- AI:SCHEMA:BEGIN format=jsonld scope=page -->

```json
{
    "@context": "http://schema.org",
    "@graph": [
        {
            "@type": "Article",
            "author": {
                "@id": "https://captechgroup.com/#brian_0fd5dfcdbc"
            },
            "dateModified": "2026-05-21T12:35:44Z",
            "datePublished": "2026-05-21T12:35:44Z",
            "description": "Akira ransomware gang exploits incomplete SonicWall VPN patching to bypass MFA using Cobalt Strike. CVE-2024-12802 details and mitigation steps.",
            "headline": "SonicWall VPN MFA Bypass Exploited by Akira Ransomware Gang via CVE-2024-12802",
            "image": {
                "@id": "https://captechgroup.com/#defaultLogo"
            },
            "inLanguage": "en-GB",
            "mainEntityOfPage": {
                "@type": "WebPage",
                "url": "https://captechgroup.com/threat-intelligence-center/sonicwall-vpn-mfa-bypass-exploited-by-akira-ransom-5ab2f8"
            },
            "publisher": {
                "@id": "https://captechgroup.com/#defaultPublisher"
            },
            "url": "https://captechgroup.com/threat-intelligence-center/sonicwall-vpn-mfa-bypass-exploited-by-akira-ransom-5ab2f8"
        },
        {
            "@type": "Person",
            "name": "Brian",
            "@id": "https://captechgroup.com/#brian_0fd5dfcdbc"
        },
        {
            "@id": "https://captechgroup.com/#defaultLogo",
            "@type": "ImageObject",
            "url": "https://captechgroup.com/images/hotlink-ok/logo-light.jpg",
            "width": 1300,
            "height": 300
        },
        {
            "@id": "https://captechgroup.com/#defaultPublisher",
            "@type": "Organization",
            "url": "https://captechgroup.com/",
            "logo": {
                "@id": "https://captechgroup.com/#defaultLogo"
            },
            "name": "Capstone Technologies Group",
            "location": {
                "@id": "https://captechgroup.com/#defaultPlace"
            }
        },
        {
            "@id": "https://captechgroup.com/#defaultPlace",
            "@type": "Place",
            "address": {
                "@id": "https://captechgroup.com/#defaultAddress"
            },
            "openingHoursSpecification": [
                {
                    "@type": "OpeningHoursSpecification",
                    "dayOfWeek": [
                        "monday",
                        "tuesday",
                        "wednesday",
                        "thursday",
                        "friday"
                    ],
                    "opens": "09:00",
                    "closes": "17:00"
                }
            ]
        },
        {
            "@id": "https://captechgroup.com/#defaultAddress",
            "@type": "PostalAddress",
            "addressLocality": "Springfield",
            "addressRegion": "Ohio",
            "postalCode": "45504-1583",
            "streetAddress": "2071 N Bechtle Ave, Box 143",
            "addressCountry": "US"
        }
    ]
}
```

<!-- AI:SCHEMA:END -->

