Analysis
-
max time kernel
149s -
max time network
152s -
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
06-12-2024 22:03
Static task
static1
Behavioral task
behavioral1
Sample
31ee863aed7dcda18cf0f88faa562433fd60693507d086f5a87b01b27c883ca0.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
31ee863aed7dcda18cf0f88faa562433fd60693507d086f5a87b01b27c883ca0.apk
Resource
android-x64-20240624-en
Behavioral task
behavioral3
Sample
31ee863aed7dcda18cf0f88faa562433fd60693507d086f5a87b01b27c883ca0.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
31ee863aed7dcda18cf0f88faa562433fd60693507d086f5a87b01b27c883ca0.apk
-
Size
961KB
-
MD5
4b8f84e42ca21b0edd5b23636e264852
-
SHA1
bda306ce2bf7986f5948ae570971c32d7ca4287a
-
SHA256
31ee863aed7dcda18cf0f88faa562433fd60693507d086f5a87b01b27c883ca0
-
SHA512
3d8d3b996ff41dc1110f55077f57bd3281564fe7eea839be8aade08eed6803939bcc77d954e235b78d0b45eda791e25532e921ac781b5a6298fd7b6c413a2491
-
SSDEEP
24576:UgmtKaQ+PbJAHx7ao0LzY0ky/UBC6B9d6PxYwqtaJyL5:Ugm00Lqy/UsmADqtGyL5
Malware Config
Extracted
ermac
http://91.202.233.10: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/4221-1.dex family_ermac2 -
pid Process 4221 com.Owhhejzhsk.apk -
Loads dropped Dex/Jar 1 TTPs 3 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/com.Owhhejzhsk.apk/app_apkprotector_dex/classes-v1.bin 4221 com.Owhhejzhsk.apk /data/user/0/com.Owhhejzhsk.apk/app_apkprotector_dex/classes-v1.bin 4247 /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.Owhhejzhsk.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.Owhhejzhsk.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.Owhhejzhsk.apk/app_apkprotector_dex/classes-v1.bin 4221 com.Owhhejzhsk.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 com.Owhhejzhsk.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.Owhhejzhsk.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.Owhhejzhsk.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 com.Owhhejzhsk.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 com.Owhhejzhsk.apk -
Performs UI accessibility actions on behalf of the user 1 TTPs 19 IoCs
Application may abuse the accessibility service to prevent their removal.
ioc Process android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.Owhhejzhsk.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.Owhhejzhsk.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 com.Owhhejzhsk.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 com.Owhhejzhsk.apk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.Owhhejzhsk.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.Owhhejzhsk.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.Owhhejzhsk.apk
Processes
-
com.Owhhejzhsk.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:4221 -
/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.Owhhejzhsk.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.Owhhejzhsk.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4247
-
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
547KB
MD5b1e00b79a8eef2bad76ce8c92f5d0bfd
SHA152ade098b14886f9c7b94b08f8c9b1d43a3e46a3
SHA2561649075d485d1b46259dce1640d31a7e5a50f0c06ba3e3765cfe265a01249d01
SHA512812112bf15222190a46e9a6807a91e19b8168c5b447607a9e9a5627db7ceb656f20e009616526f4326f36b83a247f4f1a998bd2fbd670c76b67df1bac47385c1
-
Filesize
547KB
MD5481c6e57e6223fba004dfbeae7f470f0
SHA10326d3e689cbb0099a78213babfc0b9d9eb40781
SHA256e71f3c8bfe30cbf34135202521be851b3824eedf34fbace6d67ec08444c8d6e0
SHA512b748f609937cd3eac171a29d66ba16dad209cf08125c26923e210a62ee3042e9a5f2aa09881cdcb0c9b892e056369b878c6d9539126aaef5d907b6623c7215bc