Analysis
-
max time kernel
148s -
max time network
144s -
platform
android-9_x86 -
resource
android-x86-arm-20240910-en -
resource tags
arch:armarch:x86image:android-x86-arm-20240910-enlocale:en-usos:android-9-x86system -
submitted
06-11-2024 22:00
Static task
static1
Behavioral task
behavioral1
Sample
b83b96cb3af5226d7472a3dbe78f40b0d04877f0a0a23c74931e3a117c911ed5.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
b83b96cb3af5226d7472a3dbe78f40b0d04877f0a0a23c74931e3a117c911ed5.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
b83b96cb3af5226d7472a3dbe78f40b0d04877f0a0a23c74931e3a117c911ed5.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
b83b96cb3af5226d7472a3dbe78f40b0d04877f0a0a23c74931e3a117c911ed5.apk
-
Size
898KB
-
MD5
b30d5136de687cf9b8ed47411cdd1820
-
SHA1
708c42e2835595ae3dd0b2fe4d53807d92a04e87
-
SHA256
b83b96cb3af5226d7472a3dbe78f40b0d04877f0a0a23c74931e3a117c911ed5
-
SHA512
d8492b800da1bb3a4e4c3d0ba1aa21a7102ac0b806975a96ece038096838bcaf9714faba8c877f3f2e6c3e7497a09d1ebd92bbf76360ebff8fdb0cc56bc55b27
-
SSDEEP
12288:2AHJxiNFQ6rZBzXxl7avpEpazcAFrQMOYG0jmmYmoxPZK/+IMgqrDs:2AHWNPZRBlGqa4orQMOGjmMoxPZYlqro
Malware Config
Extracted
ermac
http://154.216.18.138:3434
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/files/fstream-1.dat family_ermac2 behavioral1/memory/4382-1.dex family_ermac2 -
pid Process 4382 selcuksportss.apk -
Loads dropped Dex/Jar 1 TTPs 3 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/selcuksportss.apk/app_apkprotector_dex/classes-v1.bin 4382 selcuksportss.apk /data/user/0/selcuksportss.apk/app_apkprotector_dex/classes-v1.bin 4409 /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/selcuksportss.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/selcuksportss.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/selcuksportss.apk/app_apkprotector_dex/classes-v1.bin 4382 selcuksportss.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 selcuksportss.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId selcuksportss.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText selcuksportss.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 selcuksportss.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 selcuksportss.apk -
Performs UI accessibility actions on behalf of the user 1 TTPs 5 IoCs
Application may abuse the accessibility service to prevent their removal.
ioc Process android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcuksportss.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcuksportss.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcuksportss.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcuksportss.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcuksportss.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone selcuksportss.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 selcuksportss.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 selcuksportss.apk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal selcuksportss.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo selcuksportss.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo selcuksportss.apk
Processes
-
selcuksportss.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:4382 -
/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/selcuksportss.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/selcuksportss.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4409
-
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
MD5cedc0b596011df92f52cd5585677cb09
SHA17da5bd413422c11e2f0d3cf5e199362b5198b12f
SHA2563573afd89b3ef755d08fedfdc538eccc75f25800ac430e86794e2d74ff2a2c59
SHA512265704ef7e4fc07e7866040f4a2eec11cc43e9468504fe7a4d0b5481805964cd2678b1b6aeab1e0940290824d31cb5c13c43f61d92e7a32873d8a3158ea6691b
-
Filesize
686KB
MD5358986e442d82fd5bafed29723a1f0d1
SHA194ddd32515dbf517405c0b0e51fb856f644d5491
SHA2569ed959252bbe14aee7d5fb9c13a86f5511bf000a810ca27a5b1e251b574cb125
SHA51261e345bb8c2968dd5692a44cda7fb7ad6d026131f40823cd54ce08fc260462ebbc6018225076ddc30bfef3b33a5c636001b2a8324842dc9892dadc65d982ece3