Concrete signature match: Trojan - Appears legitimate but performs malicious actions for PowerShell platform, family Boxter
Trojan:PowerShell/Boxter!rfn is a malicious PowerShell script that functions as a downloader and execution tool for further malware. It utilizes multiple living-off-the-land binaries (LOLBINs) like cmd.exe, rundll32, and mshta to evade detection, communicates with a command-and-control server via an ngrok.io URL, and attempts to establish persistence using scheduled tasks.
Relevant strings associated with this threat: - $.value.toString()+ (PEHSTR_EXT) - .value.toString());powershell (PEHSTR_EXT) - .value.toString() (PEHSTR_EXT) - "C:\WINDOWS\SYSTEM32\cmd" /c C:\TEMP\ (PEHSTR_EXT) - .bat (PEHSTR_EXT) - @shift /0 (PEHSTR_EXT) - 3\$0S (PEHSTR_EXT) - http://9ecc-23-243-99-186.ngrok.io (PEHSTR_EXT) - CALL mflink.bat (PEHSTR_EXT) - copy proyecto\mflink.bat wget\wget_32bit\ (PEHSTR_EXT) - %temp%\getadmin.vbs (PEHSTR_EXT) - !#HSTR:StringCodeForMshta.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.C!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.D!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.L!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.O!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRegsvr32.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRundll32.A!pli (PEHSTR_EXT) - rundll32 (PEHSTR_EXT) - !#HSTR:StringCodeForBITSJobs.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForPowerShell.G!pli (PEHSTR_EXT) - !#HSTR:StringCodeForScheduledTask.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForDataEncoding.D!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.J!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.K!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRemoteFileCopy.B!pli (PEHSTR_EXT) - !#HSTR:ExecutionGuardrails (PEHSTR_EXT) - !#HSTR:StringCodeForFileDeletion.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.M!pli (PEHSTR_EXT) - !#HSTR:StringCodeForNetshHelperDLL.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRemoteServices.A!pli (PEHSTR_EXT)
a9b5db00bc7f94c8f01fa7465585a1244c02085747bac9981be63e70ba8f46edIsolate the affected host from the network immediately. Block the malicious ngrok.io URL at the network perimeter. Use an EDR tool or antivirus to perform a full scan and remove all detected malicious files and artifacts. Investigate for and remove persistence mechanisms, such as scheduled tasks, and rotate all credentials associated with the compromised host.