Malware Analysis Report

2024-09-09 19:11

Sample ID 240516-3r38xaeh8z
Target 4d9a7e425f8c8b02d598ef0a0a776a58_JaffaCakes118
SHA256 c65318aa58c9091b938948b62c4b5d6e47237697d8d2f96863f99ef177b6818d
Tags
xloader_apk banker collection discovery evasion impact infostealer persistence privilege_escalation stealth 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: behavioral3

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

c65318aa58c9091b938948b62c4b5d6e47237697d8d2f96863f99ef177b6818d

Threat Level: Known bad

The file 4d9a7e425f8c8b02d598ef0a0a776a58_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

xloader_apk banker collection discovery evasion impact infostealer persistence privilege_escalation stealth trojan

XLoader payload

XLoader, MoqHao

Removes its main activity from the application launcher

Checks if the Android device is rooted.

Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps)

Makes use of the framework's foreground persistence service

Queries the phone number (MSISDN for GSM devices)

Tries to add a device administrator.

Loads dropped Dex/Jar

Registers a broadcast receiver at runtime (usually for listening for system events)

Reads the content of the MMS message.

Acquires the wake lock

Reads information about phone network operator.

Declares broadcast receivers with permission to handle system events

Requests dangerous framework permissions

Requests disabling of battery optimizations (often used to enable hiding in the background).

Checks if the internet connection is available

MITRE ATT&CK Matrix

N/A

Analysis: static1

Detonation Overview

Reported

2024-05-16 23:45

Signatures

Declares broadcast receivers with permission to handle system events

Description Indicator Process Target
Required by device admin receivers to bind with the system. Allows apps to manage device administration features. android.permission.BIND_DEVICE_ADMIN N/A N/A

Requests dangerous framework permissions

Description Indicator Process Target
Allows an application to write to external storage. android.permission.WRITE_EXTERNAL_STORAGE N/A N/A
Allows an application to read from external storage. android.permission.READ_EXTERNAL_STORAGE N/A N/A
Allows read only access to phone state, including the current cellular network information, the status of any ongoing calls, and a list of any PhoneAccounts registered on the device. android.permission.READ_PHONE_STATE N/A N/A
Allows an application to receive SMS messages. android.permission.RECEIVE_SMS N/A N/A
Allows an application to monitor incoming MMS messages. android.permission.RECEIVE_MMS N/A N/A
Allows an application to read SMS messages. android.permission.READ_SMS N/A N/A
Allows an application to send SMS messages. android.permission.SEND_SMS N/A N/A
Allows an application to read or write the system settings. android.permission.WRITE_SETTINGS N/A N/A
Allows an application to read the user's contacts data. android.permission.READ_CONTACTS N/A N/A
Allows an app to create windows using the type LayoutParams.TYPE_APPLICATION_OVERLAY, shown on top of all other apps. android.permission.SYSTEM_ALERT_WINDOW N/A N/A
Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call. android.permission.CALL_PHONE N/A N/A
Allows access to the list of accounts in the Accounts Service. android.permission.GET_ACCOUNTS N/A N/A
Allows an application to collect component usage statistics. android.permission.PACKAGE_USAGE_STATS N/A N/A
Allows an application to record audio. android.permission.RECORD_AUDIO N/A N/A
Allows an application to see the number being dialed during an outgoing call with the option to redirect the call to a different number or abort the call altogether. android.permission.PROCESS_OUTGOING_CALLS N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-05-16 23:45

Reported

2024-05-16 23:50

Platform

android-x86-arm-20240514-en

Max time kernel

179s

Max time network

173s

Command Line

ghd.et.hds

Signatures

XLoader payload

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

XLoader, MoqHao

trojan infostealer banker xloader_apk

Checks if the Android device is rooted.

evasion
Description Indicator Process Target
N/A /system/bin/su N/A N/A
N/A /system/xbin/su N/A N/A
N/A /sbin/su N/A N/A

Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps)

banker discovery

Removes its main activity from the application launcher

stealth trojan evasion
Description Indicator Process Target
N/A N/A N/A N/A

Loads dropped Dex/Jar

evasion
Description Indicator Process Target
N/A /data/user/0/ghd.et.hds/files/test.dex N/A N/A
N/A /data/user/0/ghd.et.hds/files/test.dex N/A N/A
N/A /data/user/0/ghd.et.hds/files/test.dex N/A N/A

Makes use of the framework's foreground persistence service

evasion persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.setServiceForeground N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

Reads the content of the MMS message.

collection
Description Indicator Process Target
URI accessed for read content://mms/ N/A N/A

Registers a broadcast receiver at runtime (usually for listening for system events)

persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.registerReceiver N/A N/A

Tries to add a device administrator.

privilege_escalation impact
Description Indicator Process Target
Intent action android.app.action.ADD_DEVICE_ADMIN N/A N/A

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock N/A N/A

Checks if the internet connection is available

discovery
Description Indicator Process Target
Framework service call android.net.IConnectivityManager.getActiveNetworkInfo N/A N/A

Requests disabling of battery optimizations (often used to enable hiding in the background).

evasion
Description Indicator Process Target
Intent action android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS N/A N/A

Processes

ghd.et.hds

/system/bin/dex2oat --instruction-set=x86 --instruction-set-features=ssse3,-sse4.1,-sse4.2,-avx,-avx2,-popcnt --runtime-arg -Xhidden-api-checks --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=x86 --instruction-set-features=default --inline-max-code-units=0 --compact-dex-level=none --dex-file=/data/user/0/ghd.et.hds/files/test.dex --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/ghd.et.hds/files/oat/x86/test.odex --compiler-filter=quicken --class-loader-context=&

ping -c 4

Network

Country Destination Domain Proto
GB 142.250.200.14:443 tcp
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 passport.baidu.com udp
HK 103.235.46.9:443 passport.baidu.com tcp
HK 103.235.46.40:443 www.baidu.com tcp
HK 103.235.46.9:443 passport.baidu.com tcp
US 1.1.1.1:53 semanticlocation-pa.googleapis.com udp
GB 216.58.204.78:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.179.238:443 android.apis.google.com tcp
US 1.1.1.1:53 static.xx.fbcdn.net udp
US 1.1.1.1:53 m.youtube.com udp
US 1.1.1.1:53 images-na.ssl-images-amazon.com udp
US 1.1.1.1:53 en.m.wikipedia.org udp
US 1.1.1.1:53 a.espncdn.com udp
US 1.1.1.1:53 s.yimg.com udp
US 1.1.1.1:53 ir.ebaystatic.com udp
GB 142.250.200.14:443 m.youtube.com tcp
US 1.1.1.1:53 www.instagram.com udp
GB 163.70.147.23:443 static.xx.fbcdn.net tcp
NL 185.15.59.224:443 en.m.wikipedia.org tcp
GB 2.18.66.227:80 a.espncdn.com tcp
GB 87.248.114.12:443 s.yimg.com tcp
US 151.101.2.206:443 ir.ebaystatic.com tcp
GB 157.240.214.174:443 www.instagram.com tcp
US 1.1.1.1:53 www.google.com udp
GB 2.18.66.227:80 a.espncdn.com tcp
GB 216.58.212.196:443 www.google.com tcp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 images-na.ssl-images-amazon.com udp
US 151.101.129.16:443 images-na.ssl-images-amazon.com tcp
HK 103.235.46.9:443 passport.baidu.com tcp
GB 216.58.212.196:443 www.google.com tcp
US 1.1.1.1:53 www.google.co.uk udp
GB 142.250.200.35:443 www.google.co.uk tcp
US 1.1.1.1:53 update.googleapis.com udp
GB 216.58.204.67:443 update.googleapis.com tcp
US 1.1.1.1:53 ldtxlfppkmssewi udp
US 1.1.1.1:53 zbyywsyuw udp
US 1.1.1.1:53 pymkuykzn udp
HK 103.235.46.40:443 www.baidu.com tcp
HK 103.235.46.9:443 passport.baidu.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
HK 103.235.46.9:443 passport.baidu.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
HK 103.235.46.9:443 passport.baidu.com tcp
US 1.1.1.1:53 smtp-mail.outlook.com udp
GB 52.97.241.182:587 smtp-mail.outlook.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 passport.baidu.com udp
HK 103.235.46.9:443 passport.baidu.com tcp

Files

/data/data/ghd.et.hds/files/test.dex

MD5 6e1926d548ffac0f6cedfb4a4f49196e
SHA1 fd1d8b3cfd7002986e26aa47a7fb7b1b69c438cb
SHA256 9ef653326e0c5f7bbe84bf1d870d5c0ac7e6cc3ec857c5a76a3658c5599960cc
SHA512 3bcecb651f2f3d7261e123b36c489f77f6c228827112002cdf58866a171c5c9c1d2242997a10f40201d014833c1a8b98fc9477d62b85ee2a370da372a690e246

/data/user/0/ghd.et.hds/files/test.dex

MD5 47621c507f766da22b7fe069da838119
SHA1 e8106ed267506dcf4e6a42226c0fd16c05c5c75b
SHA256 fd475d22849b355a80417916b677a7b69d989e31bc94d0570a4b17b63bd8c108
SHA512 309cbb7c0be135a63e15159b56feb7438f53d1425e40fbe19bedb241e7e2042bee2913d903b30b2ed24cf95dfefe9b06de6e69c1d34907d4d2547d2367da8d6d

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-16 23:45

Reported

2024-05-16 23:49

Platform

android-x64-20240514-en

Max time kernel

179s

Max time network

182s

Command Line

ghd.et.hds

Signatures

XLoader payload

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

XLoader, MoqHao

trojan infostealer banker xloader_apk

Checks if the Android device is rooted.

evasion
Description Indicator Process Target
N/A /system/bin/su N/A N/A
N/A /system/xbin/su N/A N/A
N/A /sbin/su N/A N/A

Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps)

banker discovery

Removes its main activity from the application launcher

stealth trojan evasion
Description Indicator Process Target
N/A N/A N/A N/A

Loads dropped Dex/Jar

evasion
Description Indicator Process Target
N/A /data/user/0/ghd.et.hds/files/test.dex N/A N/A
N/A /data/user/0/ghd.et.hds/files/test.dex N/A N/A

Makes use of the framework's foreground persistence service

evasion persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.setServiceForeground N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

Reads the content of the MMS message.

collection
Description Indicator Process Target
URI accessed for read content://mms/ N/A N/A

Registers a broadcast receiver at runtime (usually for listening for system events)

persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.registerReceiver N/A N/A

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock N/A N/A

Checks if the internet connection is available

discovery
Description Indicator Process Target
Framework service call android.net.IConnectivityManager.getActiveNetworkInfo N/A N/A

Reads information about phone network operator.

discovery

Processes

ghd.et.hds

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 142.250.200.40:443 ssl.google-analytics.com tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.200.46:443 android.apis.google.com tcp
GB 172.217.169.14:443 tcp
US 1.1.1.1:53 semanticlocation-pa.googleapis.com udp
US 1.1.1.1:53 accounts.google.com udp
BE 74.125.133.84:443 accounts.google.com tcp
US 1.1.1.1:53 static.xx.fbcdn.net udp
US 1.1.1.1:53 m.youtube.com udp
US 1.1.1.1:53 images-na.ssl-images-amazon.com udp
US 1.1.1.1:53 en.m.wikipedia.org udp
US 1.1.1.1:53 a.espncdn.com udp
US 1.1.1.1:53 s.yimg.com udp
US 1.1.1.1:53 ir.ebaystatic.com udp
GB 163.70.147.23:443 static.xx.fbcdn.net tcp
US 1.1.1.1:53 www.instagram.com udp
GB 216.58.204.78:443 m.youtube.com tcp
US 151.101.65.16:443 images-na.ssl-images-amazon.com tcp
NL 185.15.59.224:443 en.m.wikipedia.org tcp
GB 2.18.66.227:80 a.espncdn.com tcp
GB 87.248.114.12:443 s.yimg.com tcp
US 151.101.130.206:443 ir.ebaystatic.com tcp
GB 157.240.214.174:443 www.instagram.com tcp
US 1.1.1.1:53 www.google.com udp
GB 172.217.16.228:443 www.google.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
GB 172.217.16.228:443 www.google.com tcp
US 1.1.1.1:53 www.google.co.uk udp
US 1.1.1.1:53 update.googleapis.com udp
GB 142.250.180.3:443 update.googleapis.com tcp
US 1.1.1.1:53 pxqcopw udp
US 1.1.1.1:53 rzutugdneijgwj udp
US 1.1.1.1:53 ilzkiweztbcs udp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
GB 216.58.204.68:443 tcp
GB 216.58.204.68:443 tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
GB 142.250.200.46:443 android.apis.google.com tcp
GB 172.217.16.226:443 tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 smtp-mail.outlook.com udp
GB 52.98.236.150:587 smtp-mail.outlook.com tcp

Files

/data/data/ghd.et.hds/files/test.dex

MD5 6e1926d548ffac0f6cedfb4a4f49196e
SHA1 fd1d8b3cfd7002986e26aa47a7fb7b1b69c438cb
SHA256 9ef653326e0c5f7bbe84bf1d870d5c0ac7e6cc3ec857c5a76a3658c5599960cc
SHA512 3bcecb651f2f3d7261e123b36c489f77f6c228827112002cdf58866a171c5c9c1d2242997a10f40201d014833c1a8b98fc9477d62b85ee2a370da372a690e246

Analysis: behavioral3

Detonation Overview

Submitted

2024-05-16 23:45

Reported

2024-05-16 23:50

Platform

android-x64-arm64-20240514-en

Max time kernel

179s

Max time network

181s

Command Line

ghd.et.hds

Signatures

XLoader payload

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

XLoader, MoqHao

trojan infostealer banker xloader_apk

Checks if the Android device is rooted.

evasion
Description Indicator Process Target
N/A /system/bin/su N/A N/A

Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps)

banker discovery

Removes its main activity from the application launcher

stealth trojan evasion
Description Indicator Process Target
N/A N/A N/A N/A

Loads dropped Dex/Jar

evasion
Description Indicator Process Target
N/A /data/user/0/ghd.et.hds/files/test.dex N/A N/A
N/A /data/user/0/ghd.et.hds/files/test.dex N/A N/A

Makes use of the framework's foreground persistence service

evasion persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.setServiceForeground N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

Reads the content of the MMS message.

collection
Description Indicator Process Target
URI accessed for read content://mms/ N/A N/A

Tries to add a device administrator.

privilege_escalation impact
Description Indicator Process Target
Intent action android.app.action.ADD_DEVICE_ADMIN N/A N/A

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock N/A N/A

Checks if the internet connection is available

discovery
Description Indicator Process Target
Framework service call android.net.IConnectivityManager.getActiveNetworkInfo N/A N/A

Reads information about phone network operator.

discovery

Requests disabling of battery optimizations (often used to enable hiding in the background).

evasion
Description Indicator Process Target
Intent action android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS N/A N/A

Processes

ghd.et.hds

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 216.58.201.104:443 ssl.google-analytics.com tcp
GB 142.250.178.14:443 tcp
GB 142.250.178.14:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.200.46:443 android.apis.google.com tcp
US 1.1.1.1:53 accounts.google.com udp
US 1.1.1.1:53 accounts.google.com udp
BE 66.102.1.84:443 accounts.google.com tcp
US 1.1.1.1:53 static.xx.fbcdn.net udp
US 1.1.1.1:53 m.youtube.com udp
US 1.1.1.1:53 images-na.ssl-images-amazon.com udp
GB 163.70.147.23:443 static.xx.fbcdn.net tcp
GB 216.58.201.110:443 m.youtube.com tcp
US 1.1.1.1:53 en.m.wikipedia.org udp
US 1.1.1.1:53 a.espncdn.com udp
US 1.1.1.1:53 s.yimg.com udp
US 1.1.1.1:53 ir.ebaystatic.com udp
GB 13.249.245.24:443 images-na.ssl-images-amazon.com tcp
NL 185.15.59.224:443 en.m.wikipedia.org tcp
GB 2.18.66.227:80 a.espncdn.com tcp
GB 87.248.114.12:443 s.yimg.com tcp
GB 23.44.65.95:443 ir.ebaystatic.com tcp
US 1.1.1.1:53 www.instagram.com udp
GB 157.240.221.174:443 www.instagram.com tcp
US 1.1.1.1:53 www.google.com udp
GB 142.250.200.4:443 www.google.com tcp
US 1.1.1.1:53 update.googleapis.com udp
GB 142.250.179.227:443 update.googleapis.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 sfdwtbijqweww udp
US 1.1.1.1:53 fhdabnabzckcpfi udp
US 1.1.1.1:53 zqpexbkat udp
GB 142.250.187.196:443 tcp
GB 142.250.187.196:443 tcp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 update.googleapis.com udp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 www.baidu.com udp
HK 103.235.46.40:443 www.baidu.com tcp
US 1.1.1.1:53 smtp-mail.outlook.com udp
FR 40.101.137.54:587 smtp-mail.outlook.com tcp
US 1.1.1.1:53 smtp-mail.outlook.com udp

Files

/data/user/0/ghd.et.hds/files/test.dex

MD5 6e1926d548ffac0f6cedfb4a4f49196e
SHA1 fd1d8b3cfd7002986e26aa47a7fb7b1b69c438cb
SHA256 9ef653326e0c5f7bbe84bf1d870d5c0ac7e6cc3ec857c5a76a3658c5599960cc
SHA512 3bcecb651f2f3d7261e123b36c489f77f6c228827112002cdf58866a171c5c9c1d2242997a10f40201d014833c1a8b98fc9477d62b85ee2a370da372a690e246