Analysis
-
max time kernel
41s -
max time network
158s -
platform
android_x64 -
resource
android-x64-20240624-en -
resource tags
androidarch:x64arch:x86image:android-x64-20240624-enlocale:en-usos:android-10-x64system -
submitted
06-12-2024 22:04
Static task
static1
Behavioral task
behavioral1
Sample
e846b946cbab21b079a1182755b839a9bc61b41f7bed952c97ae479f12b05794.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
e846b946cbab21b079a1182755b839a9bc61b41f7bed952c97ae479f12b05794.apk
Resource
android-x64-20240624-en
Behavioral task
behavioral3
Sample
e846b946cbab21b079a1182755b839a9bc61b41f7bed952c97ae479f12b05794.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
e846b946cbab21b079a1182755b839a9bc61b41f7bed952c97ae479f12b05794.apk
-
Size
3.3MB
-
MD5
bd93c2e47f79af38bfef2e711cc28efd
-
SHA1
fc428b58e7a9b453485b952c57e3d7be935f727b
-
SHA256
e846b946cbab21b079a1182755b839a9bc61b41f7bed952c97ae479f12b05794
-
SHA512
9068717abce4acef7891a73e5c8b60ac465bc6f0aff4e9c3dc7b7163b1d42a0a258d5cb5f15f6cb8ca28b9ead84e98c7cfb2279d08986660569075f80332f8db
-
SSDEEP
98304:4dyQqijKxNlw2+Loz9RCnoQAxgddnG1dE5:qyQdjKx3CUxsoQ5PnGvi
Malware Config
Extracted
ermac
http://154.216.20.102
Extracted
hook
http://154.216.20.102
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 1 IoCs
resource yara_rule behavioral2/memory/4956-0.dex family_ermac2 -
Hook
Hook is an Android malware that is based on Ermac with RAT capabilities.
-
Hook family
-
Loads dropped Dex/Jar 1 TTPs 1 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/com.mahabadlar.maruko/app_catalog/Qx.json 4956 com.mahabadlar.maruko -
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.mahabadlar.maruko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.mahabadlar.maruko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.mahabadlar.maruko -
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.mahabadlar.maruko -
Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps) 1 TTPs
-
Queries information about running processes on the device 1 TTPs 1 IoCs
Application may abuse the framework's APIs to collect information about running processes on the device.
description ioc Process Framework service call android.app.IActivityManager.getRunningAppProcesses com.mahabadlar.maruko -
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.mahabadlar.maruko -
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.mahabadlar.maruko -
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 com.mahabadlar.maruko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mahabadlar.maruko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mahabadlar.maruko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mahabadlar.maruko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mahabadlar.maruko -
Queries information about the current Wi-Fi connection 1 TTPs 1 IoCs
Application may abuse the framework's APIs to collect information about the current Wi-Fi connection.
description ioc Process Framework service call android.net.wifi.IWifiManager.getConnectionInfo com.mahabadlar.maruko -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.mahabadlar.maruko -
Reads information about phone network operator. 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 com.mahabadlar.maruko -
Schedules tasks to execute at a specified time 1 TTPs 1 IoCs
Application may abuse the framework's APIs to perform task scheduling for initial or recurring execution of malicious code.
description ioc Process Framework service call android.app.job.IJobScheduler.schedule com.mahabadlar.maruko -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.mahabadlar.maruko -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.mahabadlar.maruko -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.mahabadlar.maruko
Processes
-
com.mahabadlar.maruko1⤵
- Loads dropped Dex/Jar
- Makes use of the framework's Accessibility service
- Obtains sensitive information copied to the device clipboard
- Queries information about running processes on the device
- Acquires the wake lock
- Makes use of the framework's foreground persistence service
- Performs UI accessibility actions on behalf of the user
- Queries information about the current Wi-Fi connection
- Queries the mobile country code (MCC)
- Registers a broadcast receiver at runtime (usually for listening for system events)
- Schedules tasks to execute at a specified time
- Uses Crypto APIs (Might try to encrypt user data)
- Checks CPU information
- Checks memory information
PID:4956
Network
MITRE ATT&CK Mobile v15
Persistence
Event Triggered Execution
1Broadcast Receivers
1Foreground Persistence
1Scheduled Task/Job
1Defense Evasion
Download New Code at Runtime
1Foreground Persistence
1Impair Defenses
1Prevent Application Removal
1Input Injection
1Virtualization/Sandbox Evasion
2System Checks
2Credential Access
Clipboard Data
1Input Capture
2GUI Input Capture
1Keylogging
1Discovery
Process Discovery
1Software Discovery
1Security Software Discovery
1System Information Discovery
2System Network Configuration Discovery
3System Network Connections Discovery
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
735KB
MD5dc3aff9d4d4af2e82f2f95cb1ebcb638
SHA17c507a664fe7764f151f8dd847de0658ab0f0934
SHA25645498224c343fffca78b0372183ae6d2386494809c3a6653e823691010f4f90c
SHA51295612cef41570dd873224da933516b19b2e54aa2505542a51f562175fe084ff7fef75248f27fb168b5554b634dd3b7eb0acf0eb72fb48ef8191aa52ff3b967c2
-
Filesize
735KB
MD553571e1e60325874d1ce95b4ee7ead97
SHA12487d6b852e59753be4fff382cdcdfc8b7a154a4
SHA256eacdf955c6020e1be0910f9fce376b200bcf32c79be80f0b910baab67ce9c5c2
SHA512e2edeabe76fab43b53788d70a63616be2d7ba2c319ae8e498050438a2d1aa5f7649b7bbcf1a5bc8c5f2d3519a7de9d37020663a02bc31ed3acce623c88866900
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5d7dfe0f8c111391758099d465c3e43aa
SHA1bad19f03da33b5efa618b3b7aa9bb52331c7644f
SHA2564c7a01940a85a1b65fc67e035028c8eeaaf299ef9742844257d50b46181c2587
SHA512b600172da82011e9bed59b9211d166d803a387418c6a3aa964ccf1864cb1344b4a9a8ed114ceaa509ae031e647c0db20a6d242c893ecef3209d9993f72a9ba15
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
16KB
MD53abc829384e86032afdb7d6162724b95
SHA11c973d04e7d9ef0c51b04dc313c16b63727b0d69
SHA25691bce2e595118c626aee29d2dbdf3548835e891a35e24d6a5bd58a3ed88cb0e3
SHA5128b9b13d9929c9411aa1041e541e071567f41ad745f17ab4bba1114f7936cf63572bd709c99b04e39a9f56d1a36ce268642e4758a047f845e2e734b6395762872
-
Filesize
108KB
MD5caf6d8b9b6578dd68dba7114ae5a2901
SHA1cb83193faac348cd2645ecca53ea7d569b702a1a
SHA25628322f6fac51c6377e5c7310740b93d8e9fd4fdf13b500391a6921372ee245fa
SHA512712fd676f42f57301de8d81366dff375fda8c0f2ce24c8e5a34b086e91cec85b772b75837b8a7c72fa8a9e24440edaec80e7b98128d252253e5716d079f67ddf
-
Filesize
173KB
MD5cae9088734ff76f8e4e9c0ee281ef13a
SHA16e44708eb7a4c8bba6358fa242fe8bdfe626d6c1
SHA256597f95742599ed1a0ec30a154811e07b22bfe6b3e15854023c6085ca7e84d1d6
SHA5128497764ecbf097d615077fab750821e4b036d12c1e8727def09ddb906f4502b0a68793f6f905e070ca62c0efcfc61a0b7607e17f278643e3e8f9ba036ddbc7d1
-
Filesize
1.7MB
MD5dd139ea50df6f15f4fd6ef669b88fe93
SHA1014a8feb780e713bbdb83bf7d2b0ffaace444a89
SHA25606ce1d32cfb90bc763f69618a4d23759e5a61705599dedc2a64f6fcf4b8e7a4a
SHA512d073eff575460d171d75d0795516ce3addd46669a909903b0baf515e74b50a72c218d0bb952f4c47cb1c05c3b296f0e94e235660b8e61dd51444bf5ce6948603