Analysis
-
max time kernel
147s -
max time network
155s -
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
16-11-2024 22:11
Static task
static1
Behavioral task
behavioral1
Sample
0efe931a0d32a1fe52b11d258b09d189d3c0a3345966cac362f5d22b97efaabc.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
0efe931a0d32a1fe52b11d258b09d189d3c0a3345966cac362f5d22b97efaabc.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
0efe931a0d32a1fe52b11d258b09d189d3c0a3345966cac362f5d22b97efaabc.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
0efe931a0d32a1fe52b11d258b09d189d3c0a3345966cac362f5d22b97efaabc.apk
-
Size
845KB
-
MD5
ab5ad396b602bef20d75a41bfd4a455e
-
SHA1
e252ddf58f259fc735d38a94feb51c4ca9a6005e
-
SHA256
0efe931a0d32a1fe52b11d258b09d189d3c0a3345966cac362f5d22b97efaabc
-
SHA512
03b45a30c36273e8fac272e274369f8209e8c5c69ba105ae7ff497775cd9afb5c54c4a80ff744cc0b72e608a9ee424d31b849a6a9437b626a9c12853d08a2544
-
SSDEEP
24576:bgSLU5u/H1D6wgXvKo9opF/DfWqqtaJyLU:bgSBUvNOpF7/qtGyLU
Malware Config
Extracted
ermac
http://154.216.16.134: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/4249-1.dex family_ermac2 -
pid Process 4249 selcukpwjbe.apk -
Loads dropped Dex/Jar 1 TTPs 3 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/selcukpwjbe.apk/app_apkprotector_dex/classes-v1.bin 4249 selcukpwjbe.apk /data/user/0/selcukpwjbe.apk/app_apkprotector_dex/classes-v1.bin 4280 /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/selcukpwjbe.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/selcukpwjbe.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/selcukpwjbe.apk/app_apkprotector_dex/classes-v1.bin 4249 selcukpwjbe.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.findAccessibilityNodeInfosByViewId selcukpwjbe.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText selcukpwjbe.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId selcukpwjbe.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 selcukpwjbe.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 selcukpwjbe.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 selcukpwjbe.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcukpwjbe.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcukpwjbe.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcukpwjbe.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcukpwjbe.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcukpwjbe.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction selcukpwjbe.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone selcukpwjbe.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 selcukpwjbe.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 selcukpwjbe.apk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal selcukpwjbe.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo selcukpwjbe.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo selcukpwjbe.apk
Processes
-
selcukpwjbe.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:4249 -
/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/selcukpwjbe.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/selcukpwjbe.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4280
-
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
MD51c50815570683370a3b927df875f8ef7
SHA1f38c53416e0d992bc119f43e08193320fccff2c1
SHA256daf18b7ee9affb91231099aaa29d30a547cca7a761a3a3a6cb9676fe40969e11
SHA5122c7d72bb3cc27a4700a4926da616c92d04dbdcdc8b1a74d830bfa605cdbdb5bf91d8c4ca10f6ace93d7e7eebf8a74872da9ad70206c9579bfd6a42220b9f2984
-
Filesize
547KB
MD5740b6ddb481fb27cf774b8056f814b06
SHA1661da196387d944892f5e0a978c16b5c2986d222
SHA256840df6733716959a28c3bd231b2a067ce33c01b44f7f7579303b764054d5a430
SHA512105f33f74bbff2476381b1b78f0c80fbc617b91c3d429a7b592b9fc4783dc75b2c1b9083275e0644f1a621d67485a8bfecb0eb6dcc0152dd27408505fe49b444