Analysis
-
max time kernel
149s -
max time network
154s -
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
02-10-2024 22:10
Static task
static1
Behavioral task
behavioral1
Sample
f867d1a028d71f0e9c74ff10ad8744a9d2b1e26db0f6f58eedb88adea49d24fc.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
f867d1a028d71f0e9c74ff10ad8744a9d2b1e26db0f6f58eedb88adea49d24fc.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
f867d1a028d71f0e9c74ff10ad8744a9d2b1e26db0f6f58eedb88adea49d24fc.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
f867d1a028d71f0e9c74ff10ad8744a9d2b1e26db0f6f58eedb88adea49d24fc.apk
-
Size
858KB
-
MD5
b50acc8b6d8370e6934dd145b48827f5
-
SHA1
a63f66a59158ea829925a0fa6dd9f2f88eed5256
-
SHA256
f867d1a028d71f0e9c74ff10ad8744a9d2b1e26db0f6f58eedb88adea49d24fc
-
SHA512
6ba27e964503ff03e518701400a299af0b9ea40406434bb7c8644cc613199dcb7dac10cfc04757ca23ce5f1d00a9665e72df6f202ce98d570e9da234a6b4fbb1
-
SSDEEP
12288:+AHJx4NmihtPZvnzzc2gOHDZ1V29Mvo+jaB9+rCWQtKOw45hnDxqbFbS:+AHUNrnZvnzDgOjZb2eFU4uWQtKOjnF/
Malware Config
Extracted
ermac
http://154.216.19.53:3434
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/files/fstream-1.dat family_ermac2 behavioral1/memory/4257-1.dex family_ermac2 -
pid Process 4257 Canlisexodasimemo.apk -
Loads dropped Dex/Jar 1 TTPs 3 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/Canlisexodasimemo.apk/app_apkprotector_dex/classes-v1.bin 4257 Canlisexodasimemo.apk /data/user/0/Canlisexodasimemo.apk/app_apkprotector_dex/classes-v1.bin 4283 /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/Canlisexodasimemo.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/Canlisexodasimemo.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/Canlisexodasimemo.apk/app_apkprotector_dex/classes-v1.bin 4257 Canlisexodasimemo.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 Canlisexodasimemo.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId Canlisexodasimemo.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText Canlisexodasimemo.apk -
Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps) 1 TTPs
-
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 Canlisexodasimemo.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 Canlisexodasimemo.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 Canlisexodasimemo.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Canlisexodasimemo.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Canlisexodasimemo.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Canlisexodasimemo.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Canlisexodasimemo.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Canlisexodasimemo.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Canlisexodasimemo.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone Canlisexodasimemo.apk -
Queries the unique device ID (IMEI, MEID, IMSI) 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 Canlisexodasimemo.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 Canlisexodasimemo.apk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal Canlisexodasimemo.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo Canlisexodasimemo.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo Canlisexodasimemo.apk
Processes
-
Canlisexodasimemo.apk1⤵
- Removes its main activity from the application launcher
- Loads dropped Dex/Jar
- 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:4257 -
/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/Canlisexodasimemo.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/Canlisexodasimemo.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4283
-
Network
MITRE ATT&CK Mobile v15
Persistence
Event Triggered Execution
1Broadcast Receivers
1Foreground Persistence
1Defense Evasion
Download New Code at Runtime
1Foreground Persistence
1Hide Artifacts
2Suppress Application Icon
1User Evasion
1Impair Defenses
1Prevent Application Removal
1Input Injection
1Virtualization/Sandbox Evasion
2System Checks
2Discovery
Software Discovery
1Security Software Discovery
1System Information Discovery
2System Network Configuration Discovery
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
686KB
MD5b30923105991b51212abf9d0daac4d78
SHA14f1878bba01102f9090c13fd49a1a5e39989424d
SHA25669bd3f4016819c10ea9ba854c59209a12c987caf782d6e6c2823092b269676db
SHA512fbd438e645636f383171ae827a6937fda39a5fcc4dc813f77c92ce7917987203294f9db4e3f586496acc5715aecb1ea06cc52492199fdf899cac28f3df222028
-
Filesize
686KB
MD54e34a12182a3b325ef0c8efd3c28c533
SHA1783f6be9701b05e429f036b95f21a212710fa803
SHA256ef62af00a6b028a7bc79d0afd329a2b9f9b2391d4f7640dff5ae4614cfa30265
SHA51285413c37a7a96a41ff85179e766181b2283fb8713ccaa4c0e7c68a7e85afcaef741e2b6fdc9127d4d8eca99245833f1d197a86ecbbe610c6a9fa28713160db4e