Analysis
-
max time kernel
149s -
max time network
151s -
platform
android-9_x86 -
resource
android-x86-arm-20240910-en -
resource tags
arch:armarch:x86image:android-x86-arm-20240910-enlocale:en-usos:android-9-x86system -
submitted
05-12-2024 22:08
Static task
static1
Behavioral task
behavioral1
Sample
7286a2830d2214fac25d5f62c28b70897d842b1e5fad9214b02ba70bb35dc846.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
7286a2830d2214fac25d5f62c28b70897d842b1e5fad9214b02ba70bb35dc846.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
7286a2830d2214fac25d5f62c28b70897d842b1e5fad9214b02ba70bb35dc846.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
7286a2830d2214fac25d5f62c28b70897d842b1e5fad9214b02ba70bb35dc846.apk
-
Size
2.4MB
-
MD5
863ba7fec806154036e45f25241d1d43
-
SHA1
b5c4bcfa3bbfc8301ccdf9b709a812d5eb65556a
-
SHA256
7286a2830d2214fac25d5f62c28b70897d842b1e5fad9214b02ba70bb35dc846
-
SHA512
6096b2a54e44a523eca2860c7b41076bc443a7d1c45ddbd542aa5308063d38837765a77301310cad89a4bf64b7c6c2bfd3e718e967c89262236f0a1e161e8dea
-
SSDEEP
49152:nvVzIbdQ7/lPCWvGnpiSWp2T+KtKHXrgxGRlKNLYT7SxVny1T:nvG+ZCTJokPNLYTeVaT
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/4292-0.dex family_ermac2 behavioral1/memory/4266-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_type/OJnfXW.json 4292 /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_type/OJnfXW.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkap.mafuko/app_type/oat/x86/OJnfXW.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.kamatkap.mafuko/app_type/OJnfXW.json 4266 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.findAccessibilityNodeInfosByText com.kamatkap.mafuko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.kamatkap.mafuko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId 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 8 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 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 -
Reads information about phone network operator. 1 TTPs
-
Requests accessing notifications (often used to intercept notifications before users become aware). 1 TTPs 1 IoCs
description ioc Process Intent action android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS 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)
- Requests accessing notifications (often used to intercept notifications before users become aware).
- 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:4266 -
/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_type/OJnfXW.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkap.mafuko/app_type/oat/x86/OJnfXW.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4292
-
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
Access Notifications
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
736KB
MD580aca0a5925e60b7ae640a47322be0de
SHA1c0e493bba4684dde890cf0801bbf3c1544c1d34e
SHA256e679b180bb14f187c3a955a3a9626c6429515adfe6ff08a12930db14afa8a260
SHA51280fcf84986771cb5f69ed3f981013f290f21ea00150e711584c8c63824e5a6a15c7bbf5d93df3bace554a03b565dec3215c67292ae8b44b95622eed8b013bc3d
-
Filesize
736KB
MD5ceb7bd4672788438a60c0bbb0dff6bee
SHA12a37ada1329d76e0644583a8d396e284448ac2b0
SHA2561383bead73528af91c1887ec294411b4c6958ccde6f38fa98dec348a4dc0af91
SHA512714dc50a2c363fb17f2f8c799e7fd2f1d2b0647d91bf6d9f4893d7933558d7b79ca7bc2415f2a4a0b1302b9c7d2762a2c62ac37329bf7d06efcbc7736d1013c0
-
Filesize
3KB
MD5e7907cf3ed4d6a256b0879c5e95aa9f6
SHA12634faa89e5432fbe9df6a881455666fe86a8dbc
SHA25649eab3f46da100790718d0deed26f0940a20adb09b58740f27dfec46e2c33c7e
SHA512ce3f113d94682eb64ab1ce6cb3c4d7ae97dd360d502fc05349504e76b1c5f205b1698b975c507915b1fc0185b32be7424d0ba24bc52f288edcc514740077aaeb
-
Filesize
3KB
MD59607798951b469054bf874d398acf6ef
SHA150a94778b25480069cc16e4cfd3da5de37b53673
SHA25659c071c74278a42d857ab506549c7ccf3e572999cebc3b70c9e66435627f737e
SHA5128c63b073570d4a5e080b6fcf11becdad38e50346313dcbd7cf9c0ffbc9ae846408e37b7f855e94d30ee46aac0ef660e9f5ea4f1d4d6ae1466630600a10f9f36d
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD58f4caf06fe92a1bd44a26a5c7d3c5f1a
SHA18ff14b49c6b0f8da11d0b1e3aa9aa19286905d4d
SHA2566b7393360228eed53e158c7c95e6ab6e4705d839ef69307363c7f9ddc51bbc08
SHA5129f83f80dc1c837cedff44cf4a587ade2baae3cd4dc34e90a6c90d7f2a137906b426d5f41d4ed990ffd51aa888b9256f683f102269a7586149ad9929cd2e872fe
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD5ec82c58e2c2beb33e10e2d8e54b691ce
SHA16d06148ded5ab1d39e33a5cb8b1234251e383ee4
SHA2568ff3ca7f90deaadd2ccc3d28cbfa0ca9cb64dee5530a4724d0437efbb9409610
SHA5120933020b6cead719b1cc6c02b6df474298a57e36930e379bd16f5fdf7964ebac7ca05654a1a5e678289f78a047f4593e66047d25da76532c2f6735f7fc18cfb9
-
Filesize
173KB
MD5b02f53187f351c799d209caa697491c1
SHA18a2e0eddf4169e8d08e46bee07af94094c3b4042
SHA2566952b0cd08c60432dc3767fde308c52474861392945027eed61e040afb352e42
SHA512f4584a8ca03c3cac082d778ed32626bf784b2b8e713591d4521b23ddc987003a762f390f40e8b9653d5b97472ae8248c9128e287f70be87901657838a30880ad
-
Filesize
16KB
MD52a6f4935c6f65254b4b16cabff1bd8ec
SHA19851000857f85bfb14903a4a6f9efb1f75678075
SHA256852159de394c51f8300a60355f472172bfecdc18bee87cbec3aca4b4e5872aaf
SHA512be48080c59882d70d0a497308bd5bb3bc4d0900534868e5f03592a546d93aa25c188771d6c24f99f2675ffa586e74e59a7ce67e662f0863e53de04160639737b
-
Filesize
1.7MB
MD50bfaa396e8c659d5f2fccb6b1f19ee25
SHA1a95c7d640d7590eb75a312a844dc04f9644dab15
SHA25695f3355f94f6bb7f9c7d5930f28325b3795ff50737a4a7ce9147378aa4de5906
SHA512b2deb902627e6deaee4f71beaf451cc4692fd042e4f28a2fcec1f06d677adaf119f6abd3648ededf481e4fa21f02d26b207ed710408e8b31bc87850ea40c252e
-
Filesize
1.7MB
MD5332e75f1e51240a01d136055c2a31788
SHA16d577e35bb5162bd93c3280827915a81da441838
SHA2568429ac18967aa2f7aac10d6d3ee6354203b7d5104acc5ca7f62f33e5a81df17b
SHA5129f1037a551228f382aa5545f80a8c34e99f6b3c5b434a39474eff301c675885b1be9698a6b740ed9664b65ffe45b34d7d32a7ad06c39537fa2cdf292195d8d30