Analysis
- max time kernel
80s - max time network
145s - platform
windows10-2004_x64 - resource
win10v2004-20230220-en - resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system - submitted
03/03/2023, 22:19
Behavioral task
behavioral1
Sample
trojan.exe
Resource
win7-20230220-en
12 signatures
150 seconds
General
- Target trojan.exe
- Size 348KB
- Sample230303-18ntfabb3y
- SHA256 95ed1e3d4d4bc99f1166a9cbe29b34fa7504b8cc355849a0e649e894655eef18
- MD5 7eae621e4b6bb1fff2e18c6de66ba0bc
- SHA1 9546c3d4dbeb9c681595e63f51172bd7991b5f35
- SHA512 c8109701da373590ead2c37557ba50188eef3b6b82eb4616ca81e47b4e086f6c3b9e036ff757d45b3efd65106ea91a0884deca7f00da0d0b572aa56edfa45e00
- SSDEEP 6144:Sg6bPXhLApfpvAYWENkqQkbiX/O14fF1JgCI6:/mhApSYWs6E4fFXK6
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
quasar
Version
-
1.3.0.0
Botnet
-
Office04
C2
-
even-lat.at.ply.gg:21969
Mutex
-
QSR_MUTEX_n0f6at7YDD5llBKKrq
Attributes
-
encryption_key
H5bv6GlCoJoXcX9Q8h6S
-
install_name
Protect.exe
-
log_directory
Logs
-
reconnect_delay
30
-
startup_key
MS Protect
-
subdirectory
SubDir
Signatures
- Quasar payload 3 IoCs
resource yara_rule behavioral2/memory/1944-133-0x00000000009D0000-0x0000000000A2E000-memory.dmp family_quasar behavioral2/files/0x0007000000023141-143.dat family_quasar behavioral2/files/0x0007000000023141-144.dat family_quasar - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-1013461898-3711306144-4198452673-1000\Control Panel\International\Geo\Nation Protect.exe - Executes dropped EXE 1 IoCs
pid Process 4312 Protect.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 26 ip-api.com - Drops file in System32 directory 3 IoCs
description ioc Process File created C:\Windows\SysWOW64\SubDir\Protect.exe trojan.exe File opened for modification C:\Windows\SysWOW64\SubDir\Protect.exe trojan.exe File opened for modification C:\Windows\SysWOW64\SubDir\Protect.exe Protect.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Creates scheduled task(s) 1 TTPs 2 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 4716 schtasks.exe 652 schtasks.exe - Runs ping.exe 1 TTPs 1 IoCs
pid Process 3764 PING.EXE - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 1944 trojan.exe Token: SeDebugPrivilege 4312 Protect.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4312 Protect.exe - Suspicious use of WriteProcessMemory 21 IoCs
description pid Process procid_target PID 1944 wrote to memory of 4716 1944 trojan.exe 86 PID 1944 wrote to memory of 4716 1944 trojan.exe 86 PID 1944 wrote to memory of 4716 1944 trojan.exe 86 PID 1944 wrote to memory of 4312 1944 trojan.exe 88 PID 1944 wrote to memory of 4312 1944 trojan.exe 88 PID 1944 wrote to memory of 4312 1944 trojan.exe 88 PID 4312 wrote to memory of 652 4312 Protect.exe 89 PID 4312 wrote to memory of 652 4312 Protect.exe 89 PID 4312 wrote to memory of 652 4312 Protect.exe 89 PID 4312 wrote to memory of 972 4312 Protect.exe 97 PID 4312 wrote to memory of 972 4312 Protect.exe 97 PID 4312 wrote to memory of 972 4312 Protect.exe 97 PID 4312 wrote to memory of 4332 4312 Protect.exe 99 PID 4312 wrote to memory of 4332 4312 Protect.exe 99 PID 4312 wrote to memory of 4332 4312 Protect.exe 99 PID 4332 wrote to memory of 1556 4332 cmd.exe 101 PID 4332 wrote to memory of 1556 4332 cmd.exe 101 PID 4332 wrote to memory of 1556 4332 cmd.exe 101 PID 4332 wrote to memory of 3764 4332 cmd.exe 102 PID 4332 wrote to memory of 3764 4332 cmd.exe 102 PID 4332 wrote to memory of 3764 4332 cmd.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\trojan.exe"C:\Users\Admin\AppData\Local\Temp\trojan.exe"1⤵
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1944 -
C:\Windows\SysWOW64\schtasks.exe"schtasks" /create /tn "MS Protect" /sc ONLOGON /tr "C:\Users\Admin\AppData\Local\Temp\trojan.exe" /rl HIGHEST /f2⤵
- Creates scheduled task(s)
PID:4716
-
-
C:\Windows\SysWOW64\SubDir\Protect.exe"C:\Windows\SysWOW64\SubDir\Protect.exe"2⤵
- Checks computer location settings
- Executes dropped EXE
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4312 -
C:\Windows\SysWOW64\schtasks.exe"schtasks" /create /tn "MS Protect" /sc ONLOGON /tr "C:\Windows\SysWOW64\SubDir\Protect.exe" /rl HIGHEST /f3⤵
- Creates scheduled task(s)
PID:652
-
-
C:\Windows\SysWOW64\schtasks.exe"schtasks" /delete /tn "MS Protect" /f3⤵PID:972
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\EvjYeZ7TZdlF.bat" "3⤵
- Suspicious use of WriteProcessMemory
PID:4332 -
C:\Windows\SysWOW64\chcp.comchcp 650014⤵PID:1556
-
-
C:\Windows\SysWOW64\PING.EXEping -n 10 localhost4⤵
- Runs ping.exe
PID:3764
-
-
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\EvjYeZ7TZdlF.bat
- Size 252B
- SHA256 f6b591dd62ca03f44712285ac8fdab6487017721a62cc1beb38e5979c03d0a68
- MD5 1178e9fb643656a36c208e41a091a5ee
- SHA1 f219d25ebf62866ed499e5873396b14b55c3b459
- SHA512 9ce7e24a2b822ee0daddbb2bb438ee38a4c243dc595a0fd26c88f036d939e374e1a01e61df1f3239d23731e94caa45174a60207351c6769741ece2bcd574527e
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\Logs\03-03-~1
- Size 224B
- SHA256 a4fed7f96e7ec09d91f01d22e9495219cc6b7f27d0d6b8449e9793744df8776f
- MD5 244f2a01bf2d03b3520aea3ef9199cce
- SHA1 84c9ff2b1c53349c271254f710a454e3baa8d93c
- SHA512 320bce8917c726957ca34016f41ba21165d1a57654691b2b17f71d1ee9e0c1e7ca0aaa6738b0408d169ef2aa7c7414415bea9da52e1902c978e43bc6f3a0a1fc
- MD5 SHA1 SHA512
- Path C:\Windows\SysWOW64\SubDir\Protect.exe
- Size 348KB
- SHA256 95ed1e3d4d4bc99f1166a9cbe29b34fa7504b8cc355849a0e649e894655eef18
- MD5 7eae621e4b6bb1fff2e18c6de66ba0bc
- SHA1 9546c3d4dbeb9c681595e63f51172bd7991b5f35
- SHA512 c8109701da373590ead2c37557ba50188eef3b6b82eb4616ca81e47b4e086f6c3b9e036ff757d45b3efd65106ea91a0884deca7f00da0d0b572aa56edfa45e00
- SSDEEP 6144:Sg6bPXhLApfpvAYWENkqQkbiX/O14fF1JgCI6:/mhApSYWs6E4fFXK6
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\SysWOW64\SubDir\Protect.exe
- Size 348KB
- SHA256 95ed1e3d4d4bc99f1166a9cbe29b34fa7504b8cc355849a0e649e894655eef18
- MD5 7eae621e4b6bb1fff2e18c6de66ba0bc
- SHA1 9546c3d4dbeb9c681595e63f51172bd7991b5f35
- SHA512 c8109701da373590ead2c37557ba50188eef3b6b82eb4616ca81e47b4e086f6c3b9e036ff757d45b3efd65106ea91a0884deca7f00da0d0b572aa56edfa45e00
- SSDEEP 6144:Sg6bPXhLApfpvAYWENkqQkbiX/O14fF1JgCI6:/mhApSYWs6E4fFXK6
- MD5 SHA1 SHA512 SSDEEP