Analysis
-
max time kernel
128s -
max time network
156s -
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
05-12-2024 22:09
Static task
static1
Behavioral task
behavioral1
Sample
ba0286b818b667b3ad8105039d217fc1036f05b32cc7662a11a7912a64ae2390.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
ba0286b818b667b3ad8105039d217fc1036f05b32cc7662a11a7912a64ae2390.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
ba0286b818b667b3ad8105039d217fc1036f05b32cc7662a11a7912a64ae2390.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
ba0286b818b667b3ad8105039d217fc1036f05b32cc7662a11a7912a64ae2390.apk
-
Size
3.9MB
-
MD5
ff7e436aef33edaed3500bf7425a89fe
-
SHA1
00dca43f1db3af5f0c44403c78a31640faddc658
-
SHA256
ba0286b818b667b3ad8105039d217fc1036f05b32cc7662a11a7912a64ae2390
-
SHA512
4dfcf2492d6a733fc6f06405ee86288c9789643312e3bb6a891bc417643de2ca547176cbe473f0b21494a93e21b2ce9a7f2655c44d6661b3b46c8c65e2967c5b
-
SSDEEP
98304:M9pTm3K1U8s6U+IDoYAKPWM2KtiayUgSubL5dceuWvvrel7cCoCnuCv:6Jm3QUmUDrAWooibnu+ve7noCuCv
Malware Config
Extracted
ermac
http://92.255.57.103
Extracted
hook
http://92.255.57.103
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4278-0.dex family_ermac2 behavioral1/memory/4252-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 2 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/com.kamatkblackap.mafukor/app_behind/xd.json 4278 /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.kamatkblackap.mafukor/app_behind/xd.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkblackap.mafukor/app_behind/oat/x86/xd.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.kamatkblackap.mafukor/app_behind/xd.json 4252 com.kamatkblackap.mafukor -
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 com.kamatkblackap.mafukor Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId com.kamatkblackap.mafukor Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.kamatkblackap.mafukor -
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.kamatkblackap.mafukor -
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.kamatkblackap.mafukor -
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.kamatkblackap.mafukor -
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.kamatkblackap.mafukor android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkblackap.mafukor android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkblackap.mafukor android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkblackap.mafukor android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkblackap.mafukor -
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.kamatkblackap.mafukor -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.kamatkblackap.mafukor -
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.kamatkblackap.mafukor -
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.kamatkblackap.mafukor -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.kamatkblackap.mafukor -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.kamatkblackap.mafukor -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.kamatkblackap.mafukor
Processes
-
com.kamatkblackap.mafukor1⤵
- Loads dropped Dex/Jar
- Makes use of the framework's Accessibility service
- 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:4252 -
/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.kamatkblackap.mafukor/app_behind/xd.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkblackap.mafukor/app_behind/oat/x86/xd.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4278
-
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
2Discovery
Process Discovery
1Software Discovery
1Security Software Discovery
1System Information Discovery
2System Network Configuration Discovery
2System Network Connections Discovery
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
2KB
MD54b05aa9e8481737a09dbed30acba3620
SHA14698d896a15c4b7798fd9856dbcbfc20063b4717
SHA256b59dfaeab9c34f56f818882a4bc28848436cc681dab603f1c66e194eceb0c2c0
SHA51262cb60d7a2f2b2e536b7d113f2d0774e49a590be998a7b42a755b88e2d573d9f814d66ad516c09b5927e77284fc9b87829085642ee9138b4aa7fff7d690db9a9
-
Filesize
735KB
MD58d7fbd387d2e296efca71e4aba750382
SHA105bb7c710a88465951842bc76afbace0ce4876f5
SHA2563de67bf90437b3f8ed178089618f3f185eef83df5e6594047716a698f5c9289b
SHA51279dfd14f0529f6d88d76e46433e9f3f30caea3c9cb3022ebf84ae6b503a0c264c7a04344726857dba2dbf5418191483ad932fc755b6e9edddfd8b6fe9d949ccf
-
Filesize
735KB
MD5b936224c20de2864bfaf454b5a058bda
SHA15f5338d123d08b1e4ce3d7d1e67fcb25e02e3fd1
SHA256a312b2faa3f276d14013da2a16694670854e6fab4361ed7506f78d7e1d109ab5
SHA512df16bcec70a15e2fa6388a54fb1d3a60d47a27d496cedb0016ad0054d981e059a489274b01192474b2dc427b171ac1406df225403ce93e9d7a2838fc6920d095
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5ae40fb8e96e92ad6b31c319b499b28a6
SHA105ba9baa4d7c0ed255be61638c94a537bf294ae1
SHA2560cf44aa4bfca92ba3020c2f039e287a354f3ea8d1c4dd002fb37ecc0ee31a7b5
SHA5127566fa34611b3d8b3a2a015e3288a7fd0029dd75fbac9b9b027881f0f11048f857a5ca1b1640f6f5492f905808e102378ea46496cb9bb3d1ee4cf10f35ba449e
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD5f4f04b1acec850ec3297d636d15e731e
SHA15f2a52f09d047efab7ab683bd9067fdddf8b16c1
SHA2568938889c5bb1929a13d71147df1b759e7c596c9bdb143752e391dbe34532025c
SHA51244f7cf062a2efb2ef8817b2c28fc1ccc5dc3a74cc8e56aeb244423754ab2496f615d3c2b7f956de3b79bbd9fc43348e58579ae318239c9c3f0094842ad172fe8
-
Filesize
173KB
MD584e2f4fee4e6ea67aa6c861cc3c804c7
SHA1c02aa5b353181c621846df4d6a44d68788fe0b07
SHA256eace317f1020a0941fa6a869da678793a69ab394ffe2665f0ed6270ea03acb4f
SHA512eb2924f51652e4d4290d3791fa5817e5294ec60d08737cca58797fcd1ec08deab8b6bcc4371cf9d28f22ab0b49cf0b184fbf3e0c21d3bab65d6878777953512a
-
Filesize
16KB
MD52f9293681fef5907d42d97428937685c
SHA1f3b21881ea50f64fef9a594dca313b75c165104d
SHA2562a44bc712144dc04f70507d5aa8aed3fbac888cd0fbf1abd6496ad4b94c17ab9
SHA512069128f856f5404391777f1ee8b443be86cff30b5c99c86a61409e96737d7208d8870fc2c79d505fe103c386b5b5c90c0df42459fc6548aa97c0f5c2fc3865fe
-
Filesize
1.7MB
MD589899a7ce004fb58d7d47887bf624972
SHA1c0c1090f78c23b5bc750e4ab073c34cfba3947e4
SHA256ac1762ba5a3d98d5a56176fa2484c7971c0e782da1f0dd9b28a919c511a5e44b
SHA51202da1c818f99c756891f70785086dc024359b02a096bf969363d7029bc790aa396d9aeb39654881914745f93d0739e7ade508ec36e7d2dc3ecc52544158ad8fa
-
Filesize
1.7MB
MD57c7c24d5eb379144c6db9085c22b22dc
SHA1314cf153034d81c34a98a6ce4d025ce5330de589
SHA2566ad365d15f52445fb352cadee56f71307c358ec2b1181a8d1deb7b3e46c22256
SHA5120e569f141b621348939bcaf4f4f4843269e7a7a9d8a50a6cc87a05cf770b956e2dbda939376c6d1165cbf90342f6a8d9cd4004afb62e67c380444890332cbd05