Malware Analysis Report

2024-10-19 12:59

Sample ID 241013-1xlvps1cnh
Target a4fdcaa0ae189a20b04b0adfc99a5c3810fb01201517569f078ec59449befa1e.bin
SHA256 a4fdcaa0ae189a20b04b0adfc99a5c3810fb01201517569f078ec59449befa1e
Tags
ermac banker collection credential_access discovery evasion impact infostealer persistence stealth trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Mobile Matrix V15

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

a4fdcaa0ae189a20b04b0adfc99a5c3810fb01201517569f078ec59449befa1e

Threat Level: Known bad

The file a4fdcaa0ae189a20b04b0adfc99a5c3810fb01201517569f078ec59449befa1e.bin was found to be: Known bad.

Malicious Activity Summary

ermac banker collection credential_access discovery evasion impact infostealer persistence stealth trojan

Ermac

Ermac2 payload

Removes its main activity from the application launcher

Makes use of the framework's Accessibility service

Queries the phone number (MSISDN for GSM devices)

Loads dropped Dex/Jar

Performs UI accessibility actions on behalf of the user

Makes use of the framework's foreground persistence service

Declares broadcast receivers with permission to handle system events

Attempts to obfuscate APK file format

Queries the mobile country code (MCC)

Requests dangerous framework permissions

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

Acquires the wake lock

Queries the unique device ID (IMEI, MEID, IMSI)

Declares services with permission to bind to the system

Uses Crypto APIs (Might try to encrypt user data)

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-10-13 22:01

Signatures

Attempts to obfuscate APK file format

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

Declares services with permission to bind to the system

Description Indicator Process Target
Required by accessibility services to bind with the system. Allows apps to access accessibility features. android.permission.BIND_ACCESSIBILITY_SERVICE N/A N/A

Requests dangerous framework permissions

Description Indicator Process Target
Allows an application to request installing packages. android.permission.REQUEST_INSTALL_PACKAGES 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 an application to receive SMS messages. android.permission.RECEIVE_SMS 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
Allows access to the list of accounts in the Accounts Service. android.permission.GET_ACCOUNTS 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 read access to the device's phone number(s). android.permission.READ_PHONE_NUMBERS 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

Analysis: behavioral1

Detonation Overview

Submitted

2024-10-13 22:01

Reported

2024-10-13 22:04

Platform

android-x86-arm-20240910-en

Max time kernel

149s

Max time network

154s

Command Line

com.makedubefomi.tudaki

Signatures

Ermac

banker trojan infostealer ermac

Ermac2 payload

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A 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.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin N/A N/A
N/A /data/user/0/com.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin N/A N/A
N/A /data/user/0/com.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin N/A N/A

Makes use of the framework's Accessibility service

collection evasion credential_access
Description Indicator Process Target
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

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

Performs UI accessibility actions on behalf of the user

evasion
Description Indicator Process Target
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A

Queries the mobile country code (MCC)

discovery
Description Indicator Process Target
Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone N/A N/A

Queries the unique device ID (IMEI, MEID, IMSI)

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

Uses Crypto APIs (Might try to encrypt user data)

impact
Description Indicator Process Target
Framework API call javax.crypto.Cipher.doFinal N/A N/A

Processes

com.makedubefomi.tudaki

/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/com.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.makedubefomi.tudaki/app_apkprotect_dex/oat/x86/apkprotect-v1.odex --compiler-filter=quicken --class-loader-context=&

rm -r /data/user/0/com.makedubefomi.tudaki/app_apkprotect_dex

rm -r /data/user/0/com.makedubefomi.tudaki/app_apkprotect_odex

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
GB 172.217.16.238:443 tcp
GB 172.217.16.238:443 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
GB 216.58.212.238:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 216.58.212.238:443 android.apis.google.com tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
GB 172.217.169.74:443 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp
US 154.216.18.158:3434 tcp

Files

/data/data/com.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin

MD5 020c2fe46313eba9352761a685aff345
SHA1 cc37a8d7021234d734fe35510cc4a939b72e3e88
SHA256 4c7df706fcf6a588090fe1478f0af193d9df12f8a2b26cedde656127bd33e5a6
SHA512 8498593deb09709b431ea06a3d52d3a2d1aa9c9173f0155d74dd536d64b7900411a026090b7d8d43baef07f26074c684277af9fcb4a62fc55bac73fcaa88a6f9

/data/user/0/com.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin

MD5 2a48fc0d360331ba99d112388b413f91
SHA1 ece0f9b0498eb2e069bfb9d6f65d7d5f3d01c488
SHA256 ce16b903b53d374ff258f817ee50d077f9581516407ebf9bdea3753448b3c73e
SHA512 73d74491295d640b83be5df7458d1be7ef698778ebfe8e43164b2dd0508125b3745e91ae2723310295656788700a5398a58672169a514bb0a5b1fc764e66b774

Analysis: behavioral2

Detonation Overview

Submitted

2024-10-13 22:01

Reported

2024-10-13 22:04

Platform

android-33-x64-arm64-20240624-en

Max time kernel

7s

Max time network

130s

Command Line

com.makedubefomi.tudaki

Signatures

Ermac

banker trojan infostealer ermac

Ermac2 payload

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.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin N/A N/A

Processes

com.makedubefomi.tudaki

Network

Country Destination Domain Proto
GB 142.250.187.228:443 udp
GB 142.250.187.228:443 tcp
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.180.14:443 android.apis.google.com tcp
US 1.1.1.1:53 rcs-acs-tmo-us.jibe.google.com udp
US 216.239.36.155:443 rcs-acs-tmo-us.jibe.google.com tcp
GB 216.58.204.67:443 tcp
GB 142.250.187.238:443 tcp
GB 142.250.187.238:443 tcp
US 1.1.1.1:53 remoteprovisioning.googleapis.com udp
GB 142.250.187.202:443 remoteprovisioning.googleapis.com tcp
GB 142.250.187.228:443 tcp
GB 142.250.178.4:443 tcp
GB 142.250.178.4:443 tcp
US 162.159.61.3:443 tcp
US 162.159.61.3:443 tcp
US 162.159.61.3:443 udp
GB 142.250.178.3:443 tcp
GB 142.250.178.3:443 udp
GB 142.250.187.228:443 udp

Files

/data/user/0/com.makedubefomi.tudaki/app_apkprotect_dex/apkprotect-v1.bin

MD5 020c2fe46313eba9352761a685aff345
SHA1 cc37a8d7021234d734fe35510cc4a939b72e3e88
SHA256 4c7df706fcf6a588090fe1478f0af193d9df12f8a2b26cedde656127bd33e5a6
SHA512 8498593deb09709b431ea06a3d52d3a2d1aa9c9173f0155d74dd536d64b7900411a026090b7d8d43baef07f26074c684277af9fcb4a62fc55bac73fcaa88a6f9