SOC Prime Bias: High

18 Aug 2026 06:11 UTC

Akira Hits Safe Mode: Ransomware Rebooting Around EDR

Author Photo
SOC Prime Team linkedin icon Follow
Akira Hits Safe Mode: Ransomware Rebooting Around EDR
shield icon

Detection stack

  • AIDR
  • Alert
  • ETL
  • Query

Summary

An Akira ransomware affiliate bypassed EDR protections by rebooting a compromised system into Safe Mode with Networking. This technique disabled the Huntress agent and Microsoft Defender real-time protection, allowing the attacker to operate with significantly reduced visibility. Although the anti-EDR tactic successfully blinded security tools, Safe Mode’s constrained memory environment caused the ransomware execution to fail because of virtual memory exhaustion.

Investigation

The investigation traced initial access to a credential spray against a SonicWall SSL VPN that lacked MFA. The attacker used RDP to access a domain controller, conducted extensive Active Directory enumeration, and exfiltrated data with WinRAR and s5cmd. Analysts reconstructed the intrusion using VPN logs, registry modifications enabling AnyDesk persistence in Safe Mode, and system error logs showing memory failures during ransomware execution.

Mitigation

Organizations should enforce multi-factor authentication (MFA) across all VPN connections and monitor for credential spraying activity. Maintaining EDR coverage across endpoints and ingesting VPN and Windows Event Logs into a SIEM is essential for visibility. Security teams should also alert on boot configuration changes involving msconfig.exe or bcdedit and monitor for unexpected reboots into Safe Mode.

Response

If unauthorized VPN access or credential spraying is detected, organizations should immediately rotate affected Active Directory and VPN credentials. Any unexpected Safe Mode reboot should be treated as a potential compromise and the affected system isolated promptly. Responders should also investigate AnyDesk installation and registry modifications involving SafeBoot service configurations.

Attack Flow

We are still updating this part.

Detections

Suspicious Bcdedit Execution (via cmdline)

SOC Prime Team, Nate Guagenti
17 Aug 2026

Possible Data Compression for Infiltration or Exfiltration (via cmdline)

SOC Prime Team
17 Aug 2026

Possible Remote System Discovery or Connectivity Check (via cmdline)

SOC Prime Team
17 Aug 2026

Suspicious Domain Trusts Discovery (via cmdline)

SOC Prime Team
17 Aug 2026

Alternative Remote Access / Management Software (via process_creation)

SOC Prime Team
17 Aug 2026

IOCs (HashSha256) to detect: Akira Hits Safe Mode: Ransomware Rebooting Around EDR

SOC Prime AI Rules
17 Aug 2026

IOCs (SourceIP) to detect: Akira Hits Safe Mode: Ransomware Rebooting Around EDR

SOC Prime AI Rules
17 Aug 2026

IOCs (DestinationIP) to detect: Akira Hits Safe Mode: Ransomware Rebooting Around EDR

SOC Prime AI Rules
17 Aug 2026

SonicWall VPN and AnyDesk Compromise [Microsoft Windows Security Event Log]

SOC Prime AI Rules
17 Aug 2026

Detection of Potential Data Collection and Exfiltration Using WinRAR [Windows File Event]

SOC Prime AI Rules
17 Aug 2026

Detection of Akira Ransomware Rebooting Into Safe Mode [Windows Process Creation]

SOC Prime AI Rules
17 Aug 2026

Detection of Akira Ransomware Safe Mode Exploit [Windows Registry Event]

SOC Prime AI Rules
17 Aug 2026

Simulation Execution

Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.

Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.

  • Attack Narrative & Commands: The adversary, having gained initial access, seeks to harvest Active Directory user information to facilitate lateral movement. They execute a command to output user lists to a file named AdUsers.txt. To prepare this data for exfiltration to a cloud storage service, the adversary uses WinRAR.exe with specific arguments (a -ep1 -scul -r0 -iext -imon1) intended to automate the archiving process while minimizing metadata footprint. This activity is designed to trigger the rule’s specific file-name and command-line pattern detections.

  • Regression Test Script:

    # Simulation Script: Triggering WinRAR Exfiltration Detection
    
    # 1. Trigger 'selection_file_creation' (Event ID 11)
    Write-Output "User: Admin, Group: Domain Admins" | Out-File -FilePath "$env:TEMPAdUsers.txt"
    Write-Host "[+] Created AdUsers.txt in TEMP"
    
    # 2. Trigger 'selection_winrar_args' (Event ID 1)
    # Note: This requires WinRAR to be installed on the system.
    $winrarPath = "C:Program FilesWinRARWinRAR.exe"
    if (Test-Path $winrarPath) {
        $args = "a -ep1 -scul -r0 -iext -imon1 $env:TEMPexfil_package.rar $env:TEMPAdUsers.txt"
        Start-Process -FilePath $winrarPath -ArgumentList $args -Wait
        Write-Host "[+] Executed WinRAR with specific arguments"
    } else {
        Write-Error "[!] WinRAR not found at $winrarPath. Simulation incomplete."
    }
  • Cleanup Commands:

    # Cleanup Simulation Artifacts
    Remove-Item -Path "$env:TEMPAdUsers.txt" -Force -ErrorAction SilentlyContinue
    Remove-Item -Path "$env:TEMPexfil_package.rar" -Force -ErrorAction SilentlyContinue
    Remove-Item -Path "$env:TEMPbenign_test_file.txt" -Force -ErrorAction SilentlyContinue
    Write-Host "[+] Cleanup complete."