Malware Analysis Report

2024-07-28 11:35

Sample ID 240616-b9k2havbme
Target b12fb0783e31c0b120635cd860bca308_JaffaCakes118
SHA256 33a1a29e1b89fe00f5e841625d98ac2f44cf6a0fe643e5f2f88d2291bac66846
Tags
xloader_apk banker collection discovery evasion impact infostealer persistence 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

33a1a29e1b89fe00f5e841625d98ac2f44cf6a0fe643e5f2f88d2291bac66846

Threat Level: Known bad

The file b12fb0783e31c0b120635cd860bca308_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

xloader_apk banker collection discovery evasion impact infostealer persistence stealth trojan

XLoader, MoqHao

XLoader payload

Checks if the Android device is rooted.

Removes its main activity from the application launcher

Reads the content of the MMS message.

Queries the phone number (MSISDN for GSM devices)

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

Loads dropped Dex/Jar

Requests changing the default SMS application.

Requests dangerous framework permissions

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

Makes use of the framework's foreground persistence service

Acquires the wake lock

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

MITRE ATT&CK Matrix

N/A

Analysis: static1

Detonation Overview

Reported

2024-06-16 01:50

Signatures

Requests dangerous framework permissions

Description Indicator Process Target
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 record audio. android.permission.RECORD_AUDIO N/A N/A
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 the user's contacts data. android.permission.READ_CONTACTS N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-16 01:50

Reported

2024-06-16 01:53

Platform

android-x86-arm-20240611.1-en

Max time kernel

179s

Max time network

140s

Command Line

com.xtdg.ymyx

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/xbin/su N/A N/A
N/A /sbin/su N/A N/A
N/A /system/bin/su N/A N/A

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/com.xtdg.ymyx/files/dex N/A N/A
N/A /data/user/0/com.xtdg.ymyx/files/dex 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

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

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock 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

Requests changing the default SMS application.

collection impact
Description Indicator Process Target
Intent action android.provider.Telephony.ACTION_CHANGE_DEFAULT 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

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

Processes

com.xtdg.ymyx

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 y4wgres.blogspot.com udp
GB 216.58.201.97:443 y4wgres.blogspot.com tcp
GB 216.58.201.97:443 y4wgres.blogspot.com tcp
GB 216.58.201.97:443 y4wgres.blogspot.com tcp
GB 142.250.187.206:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 216.58.204.78:443 android.apis.google.com tcp
GB 216.58.201.97:443 y4wgres.blogspot.com tcp
GB 216.58.201.97:443 y4wgres.blogspot.com tcp
GB 216.58.201.97:443 y4wgres.blogspot.com tcp
GB 216.58.201.97:443 y4wgres.blogspot.com tcp

Files

/data/data/com.xtdg.ymyx/files/dex

MD5 16d1819fae1ee17fe24b9d7a2968e681
SHA1 aac698868aabe4994ce10ca91d615ebbda6da064
SHA256 68f61cf717864679d3343bd58d6057eafd8d55fb7ccf4e39028d2c6576291e30
SHA512 565f969d57c5bb005fe41a11f4c95bf8885851aea333d971731fdfab3642eedabbcbca648f72913a825377a0d87c13de1612d43aba0964ce3dbd3c05c4e5ce67

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-16 01:50

Reported

2024-06-16 01:53

Platform

android-x64-20240611.1-en

Max time kernel

179s

Max time network

142s

Command Line

com.xtdg.ymyx

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/xbin/su N/A N/A
N/A /sbin/su N/A N/A
N/A /system/bin/su N/A N/A

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/com.xtdg.ymyx/files/dex N/A N/A
N/A /data/user/0/com.xtdg.ymyx/files/dex 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

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

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock 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

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

Processes

com.xtdg.ymyx

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 y4wgres.blogspot.com udp
GB 216.58.212.225:443 y4wgres.blogspot.com tcp
GB 216.58.212.225:443 y4wgres.blogspot.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.179.234:443 tcp
GB 216.58.212.225:443 y4wgres.blogspot.com tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.187.238:443 android.apis.google.com tcp
GB 216.58.212.225:443 y4wgres.blogspot.com tcp
GB 216.58.212.225:443 y4wgres.blogspot.com tcp
GB 142.250.200.14:443 tcp
GB 172.217.169.66:443 tcp
GB 216.58.201.100:443 tcp
GB 216.58.201.100:443 tcp
GB 216.58.204.78:443 tcp
GB 216.58.212.225:443 y4wgres.blogspot.com tcp
GB 216.58.212.225:443 y4wgres.blogspot.com tcp

Files

/data/data/com.xtdg.ymyx/files/dex

MD5 16d1819fae1ee17fe24b9d7a2968e681
SHA1 aac698868aabe4994ce10ca91d615ebbda6da064
SHA256 68f61cf717864679d3343bd58d6057eafd8d55fb7ccf4e39028d2c6576291e30
SHA512 565f969d57c5bb005fe41a11f4c95bf8885851aea333d971731fdfab3642eedabbcbca648f72913a825377a0d87c13de1612d43aba0964ce3dbd3c05c4e5ce67

/data/data/com.xtdg.ymyx/files/oat/dex.cur.prof

MD5 02042f3106c7cfa6730fad8ccffe1c64
SHA1 d06412cfbb8fbb0b5ecda856ab2ac9176406ddb1
SHA256 08ee993d75eba6350269c0293ec15850582f25409e166952d8a1ae5b70a7c54c
SHA512 d40dfd9de225eea80deaa9002a9c1cc2363fb0bf9561689b5a1c0453815da5714771e8e011512efe8445c590652fcc13a009a2958a9854ee9b342e17764a1e82

Analysis: behavioral3

Detonation Overview

Submitted

2024-06-16 01:50

Reported

2024-06-16 01:53

Platform

android-x64-arm64-20240611.1-en

Max time kernel

179s

Max time network

142s

Command Line

com.xtdg.ymyx

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

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/com.xtdg.ymyx/files/dex N/A N/A
N/A /data/user/0/com.xtdg.ymyx/files/dex 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

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

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock 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

Requests changing the default SMS application.

collection impact
Description Indicator Process Target
Intent action android.provider.Telephony.ACTION_CHANGE_DEFAULT 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

com.xtdg.ymyx

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 y4wgres.blogspot.com udp
GB 142.250.179.225:443 y4wgres.blogspot.com tcp
GB 142.250.179.225:443 y4wgres.blogspot.com tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 216.58.204.72:443 ssl.google-analytics.com tcp
GB 142.250.179.225:443 y4wgres.blogspot.com tcp
GB 142.250.187.238:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.200.14:443 android.apis.google.com tcp
GB 142.250.179.225:443 y4wgres.blogspot.com tcp
GB 142.250.179.225:443 y4wgres.blogspot.com tcp
GB 142.250.179.228:443 tcp
GB 142.250.179.228:443 tcp
GB 142.250.179.225:443 y4wgres.blogspot.com tcp
GB 142.250.179.225:443 y4wgres.blogspot.com tcp

Files

/data/user/0/com.xtdg.ymyx/files/dex

MD5 16d1819fae1ee17fe24b9d7a2968e681
SHA1 aac698868aabe4994ce10ca91d615ebbda6da064
SHA256 68f61cf717864679d3343bd58d6057eafd8d55fb7ccf4e39028d2c6576291e30
SHA512 565f969d57c5bb005fe41a11f4c95bf8885851aea333d971731fdfab3642eedabbcbca648f72913a825377a0d87c13de1612d43aba0964ce3dbd3c05c4e5ce67