Malware Analysis Report

2024-08-06 11:32

Sample ID 240612-spc9lazcnd
Target a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118
SHA256 03f3b1a35bfc26571c14837ab95e0aed19ddd1096ea7be16f150be4d8da5d1e5
Tags
quasar persistence spyware trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

03f3b1a35bfc26571c14837ab95e0aed19ddd1096ea7be16f150be4d8da5d1e5

Threat Level: Known bad

The file a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

quasar persistence spyware trojan

Quasar RAT

Executes dropped EXE

Checks computer location settings

Adds Run key to start application

Looks up external IP address via web service

Enumerates physical storage devices

Unsigned PE

Suspicious use of WriteProcessMemory

Creates scheduled task(s)

Suspicious use of SetWindowsHookEx

Uses Task Scheduler COM API

Suspicious use of AdjustPrivilegeToken

Suspicious behavior: EnumeratesProcesses

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-06-12 15:17

Signatures

Unsigned PE

Description Indicator Process Target
N/A N/A N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-12 15:17

Reported

2024-06-12 15:20

Platform

win7-20240508-en

Max time kernel

149s

Max time network

150s

Command Line

"C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe"

Signatures

Quasar RAT

trojan spyware quasar

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A
N/A N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-3691908287-3775019229-3534252667-1000\Software\Microsoft\Windows\CurrentVersion\Run\Chrome = "\"C:\\Users\\Admin\\AppData\\Roaming\\SubDir\\Chrome.exe\"" C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A
N/A ip-api.com N/A N/A
N/A api.ipify.org N/A N/A
N/A ip-api.com N/A N/A
N/A api.ipify.org N/A N/A

Enumerates physical storage devices

Creates scheduled task(s)

persistence
Description Indicator Process Target
N/A N/A C:\Windows\system32\schtasks.exe N/A
N/A N/A C:\Windows\system32\schtasks.exe N/A
N/A N/A C:\Windows\System32\schtasks.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2368 wrote to memory of 2204 N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe C:\Windows\system32\schtasks.exe
PID 2368 wrote to memory of 2204 N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe C:\Windows\system32\schtasks.exe
PID 2368 wrote to memory of 2204 N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe C:\Windows\system32\schtasks.exe
PID 2368 wrote to memory of 1236 N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe
PID 2368 wrote to memory of 1236 N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe
PID 2368 wrote to memory of 1236 N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe
PID 1236 wrote to memory of 976 N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe C:\Windows\system32\schtasks.exe
PID 1236 wrote to memory of 976 N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe C:\Windows\system32\schtasks.exe
PID 1236 wrote to memory of 976 N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe C:\Windows\system32\schtasks.exe
PID 1236 wrote to memory of 3032 N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe C:\Windows\System32\schtasks.exe
PID 1236 wrote to memory of 3032 N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe C:\Windows\System32\schtasks.exe
PID 1236 wrote to memory of 3032 N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe C:\Windows\System32\schtasks.exe
PID 2152 wrote to memory of 1852 N/A C:\Windows\system32\taskeng.exe C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe
PID 2152 wrote to memory of 1852 N/A C:\Windows\system32\taskeng.exe C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe
PID 2152 wrote to memory of 1852 N/A C:\Windows\system32\taskeng.exe C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe"

C:\Windows\system32\schtasks.exe

"schtasks" /create /tn "Chrome" /sc ONLOGON /tr "C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe" /rl HIGHEST /f

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

"C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe"

C:\Windows\system32\schtasks.exe

"schtasks" /create /tn "Chrome" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe" /rl HIGHEST /f

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /tn "WINDOWSSYSTEMHOST" /tr "C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe" /sc MINUTE /MO 1

C:\Windows\system32\taskeng.exe

taskeng.exe {6D2156C5-24F6-4F37-9A02-1217BF73CB74} S-1-5-21-3691908287-3775019229-3534252667-1000:UOTHCPHQ\Admin:Interactive:[1]

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

Network

Country Destination Domain Proto
US 8.8.8.8:53 ip-api.com udp
US 8.8.8.8:53 freegeoip.net udp
US 8.8.8.8:53 api.ipify.org udp
US 8.8.8.8:53 ip-api.com udp
US 8.8.8.8:53 freegeoip.net udp
US 8.8.8.8:53 api.ipify.org udp
US 8.8.8.8:53 xcorpitx.duckdns.org udp
US 8.8.8.8:53 ip-api.com udp

Files

memory/2368-0-0x000007FEF5C43000-0x000007FEF5C44000-memory.dmp

memory/2368-1-0x0000000000190000-0x0000000000198000-memory.dmp

memory/2368-2-0x000000001A560000-0x000000001A5FE000-memory.dmp

memory/2368-3-0x000007FEF5C40000-0x000007FEF662C000-memory.dmp

memory/2368-4-0x000007FEF5C43000-0x000007FEF5C44000-memory.dmp

memory/2368-5-0x000007FEF5C40000-0x000007FEF662C000-memory.dmp

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

MD5 a11fb76d7e2f0d49bba40c6245e016d8
SHA1 74d6e00ea740f318c549c2ccee2354fb55a45467
SHA256 03f3b1a35bfc26571c14837ab95e0aed19ddd1096ea7be16f150be4d8da5d1e5
SHA512 1b835a460f5892b0401395dfe448f648c60aecc980221a2a32d060c1176e1b2aac0411175af0ed7daa5448eac165e7dd47d6ebf7c81752437788d568a0e1d5a3

memory/1236-11-0x00000000011F0000-0x00000000011F8000-memory.dmp

memory/1236-13-0x000007FEF5C40000-0x000007FEF662C000-memory.dmp

memory/1236-12-0x000007FEF5C40000-0x000007FEF662C000-memory.dmp

memory/2368-14-0x000007FEF5C40000-0x000007FEF662C000-memory.dmp

memory/1236-15-0x000007FEF5C40000-0x000007FEF662C000-memory.dmp

memory/1236-17-0x000007FEF5C40000-0x000007FEF662C000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-12 15:17

Reported

2024-06-12 15:20

Platform

win10v2004-20240611-en

Max time kernel

149s

Max time network

150s

Command Line

"C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe"

Signatures

Quasar RAT

trojan spyware quasar

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-3169499791-3545231813-3156325206-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-3169499791-3545231813-3156325206-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Chrome = "\"C:\\Users\\Admin\\AppData\\Roaming\\SubDir\\Chrome.exe\"" C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A

Enumerates physical storage devices

Creates scheduled task(s)

persistence
Description Indicator Process Target
N/A N/A C:\Windows\System32\schtasks.exe N/A
N/A N/A C:\Windows\SYSTEM32\schtasks.exe N/A
N/A N/A C:\Windows\SYSTEM32\schtasks.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe N/A

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe"

C:\Windows\SYSTEM32\schtasks.exe

"schtasks" /create /tn "Chrome" /sc ONLOGON /tr "C:\Users\Admin\AppData\Local\Temp\a11fb76d7e2f0d49bba40c6245e016d8_JaffaCakes118.exe" /rl HIGHEST /f

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

"C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe"

C:\Windows\SYSTEM32\schtasks.exe

"schtasks" /create /tn "Chrome" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe" /rl HIGHEST /f

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /tn "WINDOWSSYSTEMHOST" /tr "C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe" /sc MINUTE /MO 1

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

Network

Country Destination Domain Proto
US 8.8.8.8:53 g.bing.com udp
US 204.79.197.237:443 g.bing.com tcp
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
BE 88.221.83.232:443 www.bing.com tcp
US 8.8.8.8:53 2.181.190.20.in-addr.arpa udp
US 8.8.8.8:53 1.112.95.208.in-addr.arpa udp
US 8.8.8.8:53 232.83.221.88.in-addr.arpa udp
US 8.8.8.8:53 88.156.103.20.in-addr.arpa udp
US 208.95.112.1:80 ip-api.com tcp
US 8.8.8.8:53 xcorpitx.duckdns.org udp
TR 176.43.118.49:1453 xcorpitx.duckdns.org tcp
TR 176.43.118.49:1453 xcorpitx.duckdns.org tcp
US 8.8.8.8:53 157.123.68.40.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
TR 176.43.118.49:1453 xcorpitx.duckdns.org tcp
US 8.8.8.8:53 17.24.18.2.in-addr.arpa udp
US 8.8.8.8:53 xcorpitx.duckdns.org udp
TR 176.43.118.49:1453 xcorpitx.duckdns.org tcp
TR 176.43.118.49:1453 xcorpitx.duckdns.org tcp
TR 176.43.118.49:1453 xcorpitx.duckdns.org tcp
US 8.8.8.8:53 15.173.189.20.in-addr.arpa udp

Files

memory/5008-1-0x00007FFC51413000-0x00007FFC51415000-memory.dmp

memory/5008-0-0x0000000000580000-0x0000000000588000-memory.dmp

memory/5008-2-0x000000001AFE0000-0x000000001B07E000-memory.dmp

memory/5008-3-0x00007FFC51410000-0x00007FFC51ED1000-memory.dmp

memory/5008-4-0x000000001B5F0000-0x000000001B602000-memory.dmp

memory/5008-5-0x000000001C380000-0x000000001C3BC000-memory.dmp

C:\Users\Admin\AppData\Roaming\SubDir\Chrome.exe

MD5 a11fb76d7e2f0d49bba40c6245e016d8
SHA1 74d6e00ea740f318c549c2ccee2354fb55a45467
SHA256 03f3b1a35bfc26571c14837ab95e0aed19ddd1096ea7be16f150be4d8da5d1e5
SHA512 1b835a460f5892b0401395dfe448f648c60aecc980221a2a32d060c1176e1b2aac0411175af0ed7daa5448eac165e7dd47d6ebf7c81752437788d568a0e1d5a3

memory/5008-12-0x00007FFC51410000-0x00007FFC51ED1000-memory.dmp

memory/3840-13-0x00007FFC51410000-0x00007FFC51ED1000-memory.dmp

memory/3840-14-0x00007FFC51410000-0x00007FFC51ED1000-memory.dmp

memory/3840-18-0x00007FFC51410000-0x00007FFC51ED1000-memory.dmp

memory/3840-19-0x00007FFC51410000-0x00007FFC51ED1000-memory.dmp

C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\Chrome.exe.log

MD5 2362dcc9d262d0969898b143fb7fc91a
SHA1 2240860a675c86425f5702b501eac121bfb744eb
SHA256 4f7cff601d97caf1e0040bc2d63ccadd27294b2e551ff4167e0b080c69a915b0
SHA512 59cb7e53dc9cc02f25216cc87115403ed67fb5d24947ef2e803cd54e9f118d5d65a71817b05642c238ca48eb7bfd228d008d92e42023f2c15755c64c88f5b0d6