Analysis
-
max time kernel
179s -
max time network
177s -
platform
android_x86 -
resource
android-x86-arm-20240624-en -
resource tags
androidarch:armarch:x86image:android-x86-arm-20240624-enlocale:en-usos:android-9-x86system -
submitted
27-06-2024 17:29
Behavioral task
behavioral1
Sample
ERMAK.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
ERMAK.apk
Resource
android-x64-20240624-en
Behavioral task
behavioral3
Sample
ERMAK.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
ERMAK.apk
-
Size
1002KB
-
MD5
5526e85de73065e2580bbdb5ed4fc9cb
-
SHA1
5114d93500e55d3b4829423e0debfa4329d6f0f9
-
SHA256
7a4238fc6f5d3c7731c2eb33911298eaa36986040858af56e76628c5dc83e265
-
SHA512
c6aecaf46485ee6dacd80cd13857a4c38c56b3074b83ceb355b287ba5d947536e07445c3551276b734fe866dbd6bc4e1a54b3fb7800da5fe7709f820aa5ba255
-
SSDEEP
24576:/1GA92E9imQxV4ffopXIzJs/d8zd8ld8Cd8ed83d8Ad8Ld8Od87d85+p:/wA9c/4fSgp
Malware Config
Extracted
ermac
http://103.139.1.202:3434
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
pid Process 4251 nusku.ermacv2.apk -
Makes use of the framework's Accessibility service 4 TTPs 3 IoCs
Retrieves information displayed on the phone screen using AccessibilityService.
description ioc Process Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId nusku.ermacv2.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId nusku.ermacv2.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText nusku.ermacv2.apk -
Queries the phone number (MSISDN for GSM devices) 1 TTPs
-
Acquires the wake lock 1 IoCs
description ioc Process Framework service call android.os.IPowerManager.acquireWakeLock nusku.ermacv2.apk -
Makes use of the framework's foreground persistence service 1 TTPs 1 IoCs
Application may abuse the framework's foreground service to continue running in the foreground.
description ioc Process Framework service call android.app.IActivityManager.setServiceForeground nusku.ermacv2.apk -
Performs UI accessibility actions on behalf of the user 1 TTPs 7 IoCs
Application may abuse the accessibility service to prevent their removal.
ioc Process android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone nusku.ermacv2.apk -
Queries the unique device ID (IMEI, MEID, IMSI) 1 TTPs
-
Reads information about phone network operator. 1 TTPs
-
Requests disabling of battery optimizations (often used to enable hiding in the background). 1 TTPs 1 IoCs
description ioc Process Intent action android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS nusku.ermacv2.apk -
Registers a broadcast receiver at runtime (usually for listening for system events) 1 TTPs 1 IoCs
description ioc Process Framework service call android.app.IActivityManager.registerReceiver nusku.ermacv2.apk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal nusku.ermacv2.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo nusku.ermacv2.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo nusku.ermacv2.apk
Processes
-
nusku.ermacv2.apk1⤵
- Removes its main activity from the application launcher
- Makes use of the framework's Accessibility service
- Acquires the wake lock
- Makes use of the framework's foreground persistence service
- Performs UI accessibility actions on behalf of the user
- Queries the mobile country code (MCC)
- Requests disabling of battery optimizations (often used to enable hiding in the background).
- Registers a broadcast receiver at runtime (usually for listening for system events)
- Uses Crypto APIs (Might try to encrypt user data)
- Checks CPU information
- Checks memory information
PID:4251
Network
MITRE ATT&CK Mobile v15
Persistence
Event Triggered Execution
1Broadcast Receivers
1Foreground Persistence
1Defense Evasion
Foreground Persistence
1Hide Artifacts
2Suppress Application Icon
1User Evasion
1Impair Defenses
1Prevent Application Removal
1Input Injection
1Virtualization/Sandbox Evasion
2System Checks
2