Analysis
-
max time kernel
146s -
max time network
156s -
platform
android_x64 -
resource
android-x64-arm64-20240624-en -
resource tags
androidarch:armarch:arm64arch:x64arch:x86image:android-x64-arm64-20240624-enlocale:en-usos:android-11-x64system -
submitted
09-12-2024 22:13
Static task
static1
Behavioral task
behavioral1
Sample
80f29e78847d2b9d5dca2667884694147253bb52e609155ae668ef153fa711eb.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
80f29e78847d2b9d5dca2667884694147253bb52e609155ae668ef153fa711eb.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
80f29e78847d2b9d5dca2667884694147253bb52e609155ae668ef153fa711eb.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
80f29e78847d2b9d5dca2667884694147253bb52e609155ae668ef153fa711eb.apk
-
Size
961KB
-
MD5
cdfddd96ec4dbecb6913422a3fca3e9d
-
SHA1
21d318fd2e242712135fe283bd5344c36fcdfa68
-
SHA256
80f29e78847d2b9d5dca2667884694147253bb52e609155ae668ef153fa711eb
-
SHA512
107079d339ca7f65f513746d36ba375ef9be93ffbe53a01dc0c896e36c43a66e437bcb378a58781c79cdc309d17502af9501f69765b92a318941ad6cd9b44d67
-
SSDEEP
24576:9gSLlUELdYh2YlGIeCrGTf4jN1yR5xiho3qtaJyL3:9gS4GTwjN1eVqtGyL3
Malware Config
Extracted
ermac
http://ahmet10.duckdns.org:3434
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 1 IoCs
resource yara_rule behavioral3/files/fstream-1.dat family_ermac2 -
pid Process 4459 Com.build.bekemal.apk -
Loads dropped Dex/Jar 1 TTPs 2 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/Com.build.bekemal.apk/app_apkprotector_dex/classes-v1.bin 4459 Com.build.bekemal.apk /data/user/0/Com.build.bekemal.apk/app_apkprotector_dex/classes-v1.bin 4459 Com.build.bekemal.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.build.bekemal.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId Com.build.bekemal.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText Com.build.bekemal.apk -
Obtains sensitive information copied to the device clipboard 2 TTPs 1 IoCs
Application may abuse the framework's APIs to obtain sensitive information copied to the device clipboard.
description ioc Process Framework service call android.content.IClipboard.addPrimaryClipChangedListener Com.build.bekemal.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 Com.build.bekemal.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.build.bekemal.apk -
Performs UI accessibility actions on behalf of the user 1 TTPs 11 IoCs
Application may abuse the accessibility service to prevent their removal.
ioc Process android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction Com.build.bekemal.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone Com.build.bekemal.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 Com.build.bekemal.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.build.bekemal.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo Com.build.bekemal.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo Com.build.bekemal.apk
Processes
-
Com.build.bekemal.apk1⤵
- Removes its main activity from the application launcher
- Loads dropped Dex/Jar
- Makes use of the framework's Accessibility service
- Obtains sensitive information copied to the device clipboard
- 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).
- Uses Crypto APIs (Might try to encrypt user data)
- Checks CPU information
- Checks memory information
PID:4459
Network
MITRE ATT&CK Mobile v15
Defense 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
2Credential Access
Clipboard Data
1Input Capture
2GUI Input Capture
1Keylogging
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
547KB
MD560b930a8b3a464c74ff5dfdb649d5cc0
SHA11cb9addef2b45ce773de05cd12912456c55603a9
SHA25680d458cbf1e6871d86853c47927b11ea241707aaaf9c14e29f73e6ec1071e129
SHA51275e2ac99d68439ed517f2c3437483bece1244c0f8c4bfa5d7265a1fdb788911d5d64ff453a5bd1369bd18a5ee0c32b24dbdeb735c562720f339ae2fa8a44295a