Analysis
-
max time kernel
129s -
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
12-12-2024 22:01
Static task
static1
Behavioral task
behavioral1
Sample
b7672ab21441af12cd18cb07017ec204772639abcd190b6c0db129cdde6869a2.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
b7672ab21441af12cd18cb07017ec204772639abcd190b6c0db129cdde6869a2.apk
Resource
android-x64-20240624-en
Behavioral task
behavioral3
Sample
b7672ab21441af12cd18cb07017ec204772639abcd190b6c0db129cdde6869a2.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
b7672ab21441af12cd18cb07017ec204772639abcd190b6c0db129cdde6869a2.apk
-
Size
3.4MB
-
MD5
8597c427916067bd8c9e51b21d2358fb
-
SHA1
03e624759d2d7ee202a57f05b3a416adaad3af5d
-
SHA256
b7672ab21441af12cd18cb07017ec204772639abcd190b6c0db129cdde6869a2
-
SHA512
0fe969d4877f836cd7ba295635fac881dabca516b02fa3e2fed5d739076a5f4461a1242d16991b3b840f0dfe13ce18131730739fb40fb1a08accade66d74c946
-
SSDEEP
98304:C5Vv/hgeIs9LD9qy3T3Bv20YVqAlh8LgRvRhlCDQ:Es8n0eT3ozVqi4qvDlCDQ
Malware Config
Extracted
ermac
http://154.216.19.93
Extracted
hook
http://154.216.19.93
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4275-0.dex family_ermac2 behavioral1/memory/4250-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.kamatkap.mafuko/app_team/TwdabuH.json 4275 /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.kamatkap.mafuko/app_team/TwdabuH.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkap.mafuko/app_team/oat/x86/TwdabuH.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.kamatkap.mafuko/app_team/TwdabuH.json 4250 com.kamatkap.mafuko -
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.kamatkap.mafuko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.kamatkap.mafuko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.kamatkap.mafuko -
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.kamatkap.mafuko -
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.kamatkap.mafuko -
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.kamatkap.mafuko -
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.kamatkap.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkap.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkap.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkap.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.kamatkap.mafuko -
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.kamatkap.mafuko -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.kamatkap.mafuko -
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.kamatkap.mafuko -
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.kamatkap.mafuko -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.kamatkap.mafuko -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.kamatkap.mafuko -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.kamatkap.mafuko
Processes
-
com.kamatkap.mafuko1⤵
- 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:4250 -
/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.kamatkap.mafuko/app_team/TwdabuH.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkap.mafuko/app_team/oat/x86/TwdabuH.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4275
-
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
736KB
MD53eecc2e4a241bed02d54df56ac9e7c2b
SHA111ca54c267ebf6a8e1a07b70bb3d0aba60728062
SHA2565c96e2a6bd086692459ac7427a2990d4bff6b4ceb576f2a1e99f9452d4089c35
SHA51207bf838883df4c0c167736af481d1811d113b211e55d9c6bcd2e5e5cb169be9ee03b179ab59153fa905317d2db26ba2de65d5464b8393045a4a15e31c0e45534
-
Filesize
736KB
MD517a9b0eaa067c313b23188d78efdd3e5
SHA1b220cf0f634bf76378369ee0dbc09a536d0e18d8
SHA256ee72805e8047d1d22cce1818dbb216139c2f2e623ec2994e0a60309fcbeb630e
SHA512330d5d37ab6f6e68bd2284a790f063769d097bcb2d3f0b261fcc31a4de0b5b41eca577e0c63c79d517e2227024d673fb94e7a453f2597255de25f836e6bb9530
-
Filesize
2KB
MD53bebef2a753563bcedfb01c7e51316f4
SHA1c242d8a91e55c9cf1cbcef75800b96a83ca8936f
SHA256d9be03109e380ce41b033d5527a66fd1050a91e0bf931fda677fbb9b53db5269
SHA5123f96abd6cf5c52fec351906a4fbc61a9aa050fd036c94e4c0051c2697dde3c2d62438d554ea06400830909d57906c49f238f7ecb3f2e8e67f410610fb2fe70ba
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5b84509b28310e30baf18f40a050aa75f
SHA1088c1e7160082207be2362d9f0f2d351b0d350f8
SHA25672759fff0d7ae7b6d17aef5352bd475e051c8b1ab254fe6e00ac8d6fe12d568e
SHA5126f5b354bcde9553687ead74943b5d0428e4b3d706954610eb3baa700724e5600dbd6a272994d5143dd85575236e501b837a9dbf5185b4c7cfe73aeb2d5c8423f
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD5f3fff9756e196c94e6ae435356580fb2
SHA11f1b2b85677df294d1f5b7a187293448689769dd
SHA256f92c1a9a815c3ef04362227484d001df38bfa500d4253dc29ffca858896aa39a
SHA512020760a368fb54825040fd916e79415b610e02e8f3c9002c87a6cd99796a39b6c6faa22435fa4c3b0ddad646fb6d4b23489437642e646a028c1ed665be4efc56
-
Filesize
173KB
MD5222de99e36ca941069eb50358f08236a
SHA1559c5aeb6a889ad078b8ada23ed5b87ccf1f1eba
SHA25683e127c4578caa46e1c61aaca06fbf8c5d2073988b642de6a87b9d78bbc3d468
SHA51211f2a460600841eb189427d914c3ff078776431fbe7811b1981411393757d25466f2f92e720e31cf17a7771e2136775990b36b194391508b498140714225417c
-
Filesize
16KB
MD527b5ecdb440984f5df8f111cf2198fee
SHA133409f36c76c32167998823964b54a03fd577106
SHA256383771924f792d893e9b8e09cbfe81c5c4dc46c82b4917be140fbc208c3c50ec
SHA51234db9425cc5310e43aec5911a125d24052a1434263a501c040ac779a95fed7972d827a675cc9c1ad84ce5795558002ca967ae765af6f91ee72e987a243e492fa
-
Filesize
1.7MB
MD50bfaa396e8c659d5f2fccb6b1f19ee25
SHA1a95c7d640d7590eb75a312a844dc04f9644dab15
SHA25695f3355f94f6bb7f9c7d5930f28325b3795ff50737a4a7ce9147378aa4de5906
SHA512b2deb902627e6deaee4f71beaf451cc4692fd042e4f28a2fcec1f06d677adaf119f6abd3648ededf481e4fa21f02d26b207ed710408e8b31bc87850ea40c252e
-
Filesize
1.7MB
MD5332e75f1e51240a01d136055c2a31788
SHA16d577e35bb5162bd93c3280827915a81da441838
SHA2568429ac18967aa2f7aac10d6d3ee6354203b7d5104acc5ca7f62f33e5a81df17b
SHA5129f1037a551228f382aa5545f80a8c34e99f6b3c5b434a39474eff301c675885b1be9698a6b740ed9664b65ffe45b34d7d32a7ad06c39537fa2cdf292195d8d30