Analysis
-
max time kernel
30s -
max time network
153s -
platform
android_x64 -
resource
android-x64-20240624-en -
resource tags
androidarch:x64arch:x86image:android-x64-20240624-enlocale:en-usos:android-10-x64system -
submitted
04-11-2024 14:41
Static task
static1
Behavioral task
behavioral1
Sample
5c8b8b4c8891dc210cec633a1a57ed28ec654ebb186d9fc3da315c768b82744f.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
5c8b8b4c8891dc210cec633a1a57ed28ec654ebb186d9fc3da315c768b82744f.apk
Resource
android-x64-20240624-en
Behavioral task
behavioral3
Sample
5c8b8b4c8891dc210cec633a1a57ed28ec654ebb186d9fc3da315c768b82744f.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
5c8b8b4c8891dc210cec633a1a57ed28ec654ebb186d9fc3da315c768b82744f.apk
-
Size
958KB
-
MD5
46d6498acfb25f92b2f3324bd1a6b7f6
-
SHA1
3630a1e1e819afbeabf432c813c33a214bf6f260
-
SHA256
5c8b8b4c8891dc210cec633a1a57ed28ec654ebb186d9fc3da315c768b82744f
-
SHA512
54d88c69af759a9f3ca37c8ce879bb6dd02470a725a86264d5559071d3d91327f6d09885c7cf8372e460f82e1c385d7467d274d2efdce16874bc281971362271
-
SSDEEP
24576:2AHLNoRNZM8lAlQbcDeoPP8woZFfVyZVUQP+:2AHkovV833T
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 1 IoCs
resource yara_rule behavioral2/files/fstream-1.dat family_ermac2 -
pid Process 4966 chrome008822.apk -
Loads dropped Dex/Jar 1 TTPs 2 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/chrome008822.apk/app_apkprotector_dex/classes-v1.bin 4966 chrome008822.apk /data/user/0/chrome008822.apk/app_apkprotector_dex/classes-v1.bin 4966 chrome008822.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 chrome008822.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId chrome008822.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText chrome008822.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 chrome008822.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 chrome008822.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 chrome008822.apk -
Performs UI accessibility actions on behalf of the user 1 TTPs 13 IoCs
Application may abuse the accessibility service to prevent their removal.
ioc Process android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction chrome008822.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone chrome008822.apk -
Queries the unique device ID (IMEI, MEID, IMSI) 1 TTPs
-
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 chrome008822.apk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal chrome008822.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo chrome008822.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo chrome008822.apk
Processes
-
chrome008822.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)
- 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:4966
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
1Suppress Application Icon
1Impair Defenses
1Prevent Application Removal
1Input Injection
1Virtualization/Sandbox Evasion
2System Checks
2Credential Access
Clipboard Data
1Input Capture
2GUI Input Capture
1Keylogging
1Discovery
Software Discovery
1Security Software Discovery
1System Information Discovery
2System Network Configuration Discovery
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
686KB
MD55d03d0239963f0e37abdd80ec86c0998
SHA13cef61e3bbf27a28b7f02fab1e511c599748e339
SHA256af9fb6074ce4ed5ece18f65bef2dec6f5b4cdedd01eb6bb80e9ba5d7443f1993
SHA512e6727e166053950fb1ed1427d56ce72076fd171a2b3979e7459b17d8843dadfea0925f05f36e3924507895b99c00b18408c91f16207072b6fceddb1e0a5011d5