Power Outage Attack Reveals New Enterprise Infrastructure Intrusion Vector
Detection stack
- AIDR
- Alert
- ETL
- Query
Summary
Attackers are abusing CyberPower PowerPanel Business (PPB) software to execute arbitrary code on Windows domain controllers. By leveraging the product’s legitimate script execution functionality through its web-based file upload feature, attackers can run commands with SYSTEM privileges. This enables Active Directory database theft and the deployment of persistent implants.
Investigation
Symantec researchers analyzed an intrusion in which attackers used the PPB web console to upload and execute malicious .cmd scripts. The investigation traced the attack from the initial file upload through credential harvesting with ntdsutil and esentutl, ultimately leading to deployment of a DLL side-loading implant named upnpcont.exe.
Mitigation
Organizations should restrict TCP port 3052 to authorized administrator systems and ensure the management interface is not exposed to the internet. Change default administrator credentials, install all available software updates, and audit the extcmd and tempprofileextcmd directories for unauthorized scripts or files.
Response
When malicious activity is detected, assume Active Directory credentials may be compromised and initiate a krbtgt reset along with enterprise-wide credential rotation. Review all event-to-command assignments in the PPB configuration and inspect the process lineage of ppbed.exe for suspicious child processes such as cmd.exe or powershell.exe.
Attack Flow
Detections
Possible System Network Configuration Discovery (via cmdline)
Short File Name (via cmdline)
Using Certutil for Data Encoding and Cert Operations (via cmdline)
Suspicious File Download Direct IP (via proxy)
IOCs (HashSha256) to detect: Behind the Power Outage: Unmasking a New Intrusion Vector in Enterprise Infrastructure Tools
IOCs (SourceIP) to detect: Behind the Power Outage: Unmasking a New Intrusion Vector in Enterprise Infrastructure Tools
IOCs (DestinationIP) to detect: Behind the Power Outage: Unmasking a New Intrusion Vector in Enterprise Infrastructure Tools
Potential Malicious Use of PowerShell and Certutil Detected [Windows Powershell]
PPB Execution and Reflective Assembly Loading Detection [Windows Process Creation]
Simulation Execution
-
Attack Narrative & Commands: The adversary aims to execute a malicious payload while minimizing their footprint. First, they use
certutil.exeto decode a base64-encoded file namedpayload.txtinto a functional executable namedmalicious.exe. This is a common “Living off the Land” technique to hide malware within text files. Following this, the adversary attempts to use PowerShell to bypass the local execution policy to load a malicious .NET assembly into memory, facilitating reflective code loading and avoiding disk-based detection of the actual payload logic. -
Regression Test Script:
# 1. Create a dummy base64 encoded file to simulate a payload $base64Payload = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("This is a simulated malicious payload content.")) $base64Payload | Out-File -FilePath ".payload.txt" -Encoding ascii # 2. Simulate TTP: Certutil decoding (Triggers the 'selection_certutil' logic) Write-Host "[*] Simulating Certutil decoding..." Start-Process certutil.exe -ArgumentList "-decode payload.txt malicious.exe" -Wait # 3. Simulate TTP: PowerShell Execution Policy Bypass (Triggers 'selection_powershell' logic) Write-Host "[*] Simulating PowerShell bypass..." Start-Process powershell.exe -ArgumentList "-ExecutionPolicy Bypass -Command 'Write-Host Simulated Reflective Loading'" -Wait # 4. Simulate TTP: EntryPoint.Invoke (Triggers 'selection_powershell' logic) Write-Host "[*] Simulating EntryPoint.Invoke..." Start-Process powershell.exe -ArgumentList "-Command '[System.Reflection.Assembly]::Load(...).EntryPoint.Invoke(...)'" -Wait -
Cleanup Commands:
# Remove simulated malicious artifacts Remove-Item -Path ".payload.txt" -ErrorAction SilentlyContinue Remove-Item -Path ".malicious.exe" -ErrorAction SilentlyContinue Write-Host "[+] Cleanup complete."