Analysis
-
max time kernel
149s -
max time network
152s -
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
13-11-2024 22:01
Static task
static1
Behavioral task
behavioral1
Sample
a9fb267708d1697cf173007da73e5b0a6cd700373f79b59c23e11941d02a976d.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
a9fb267708d1697cf173007da73e5b0a6cd700373f79b59c23e11941d02a976d.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
a9fb267708d1697cf173007da73e5b0a6cd700373f79b59c23e11941d02a976d.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
a9fb267708d1697cf173007da73e5b0a6cd700373f79b59c23e11941d02a976d.apk
-
Size
2.8MB
-
MD5
c0965cb34d45beefd0697d277d969e75
-
SHA1
28f22fd693fc162bfcfdef55b3ac84b3d3717a56
-
SHA256
a9fb267708d1697cf173007da73e5b0a6cd700373f79b59c23e11941d02a976d
-
SHA512
6af4c8235274f15a5bed0db5af239c8ee0d2b81c126017250da89c091f9fdd890323fdc94bdd886d6bfcff1066a029aaceddede653e0e7f2ff962a518219127d
-
SSDEEP
49152:7/5JcIk+vR+zJODFAvhG4+MnTrLarg9EC1f8PEzPKxrc7Y8SJjApV:7/n7k+vRe0FYTQC1f9bKxrc0NApV
Malware Config
Extracted
ermac
http://154.216.17.184
Extracted
hook
http://154.216.17.184
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4311-0.dex family_ermac2 behavioral1/memory/4286-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.dehodigipuhixoyi.mafuko/app_glance/tCqomT.json 4311 /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.dehodigipuhixoyi.mafuko/app_glance/tCqomT.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.dehodigipuhixoyi.mafuko/app_glance/oat/x86/tCqomT.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.dehodigipuhixoyi.mafuko/app_glance/tCqomT.json 4286 com.dehodigipuhixoyi.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.dehodigipuhixoyi.mafuko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.dehodigipuhixoyi.mafuko Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.dehodigipuhixoyi.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.dehodigipuhixoyi.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.dehodigipuhixoyi.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.dehodigipuhixoyi.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.dehodigipuhixoyi.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.dehodigipuhixoyi.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.dehodigipuhixoyi.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.dehodigipuhixoyi.mafuko android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.dehodigipuhixoyi.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.dehodigipuhixoyi.mafuko -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.dehodigipuhixoyi.mafuko -
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.dehodigipuhixoyi.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.dehodigipuhixoyi.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.dehodigipuhixoyi.mafuko -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.dehodigipuhixoyi.mafuko -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.dehodigipuhixoyi.mafuko
Processes
-
com.dehodigipuhixoyi.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:4286 -
/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.dehodigipuhixoyi.mafuko/app_glance/tCqomT.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.dehodigipuhixoyi.mafuko/app_glance/oat/x86/tCqomT.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4311
-
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
3System Network Connections Discovery
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
3KB
MD5950a1b8ea451150e1ef3aa0c4f9897e0
SHA139419ada8c8e9ec9ebc674cf417e192ba03d436c
SHA25643f1cc00e382068eef1090ceeef9dcf1bd0f40ad3aeb88fb93fce4db6268595a
SHA512d45f5d9be16ba80e73322be9c64875d8979932789b81be6b69417436df07f103a307fc9f09469a8c7d578fc6302102b9a13ff9a027b1aaeb5987896ae6509726
-
Filesize
736KB
MD5b01f8c04b347499090197f5527bd75ba
SHA1acdc8c370c56d8d3c311b57d41125d68f3bb02c2
SHA256f55e7b50cae39277908d1f544376d95532be24356b76bc92f429dd889c49f3b8
SHA512c8f7a4642d3398b6ca1eb90a0c8a4dde6cb91cbaf327ad81e9d01bc6cf0f4587b4ec3288e87e6b3a0d1ce1d686ff3fed67fb4fec05fffaca6368a0b66c0fc620
-
Filesize
736KB
MD5564e3436fdb454d998c284bb1e711cb1
SHA12fac18fa38ce0b3dc9d7e2619218138f37f108ca
SHA256b6d82f68d2a48e0b227f33bf338c0597087bd2646b0e5bc8dd0a225ba0c4f739
SHA512d502236d1b10ff150e305eb0467dee00468203791c8fc8ce9a4d64dacc6bd0f5d4831a59ff4261c5b47ad54ec4de6fe4ab1ad1031d83e6092063bcf151226635
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5b5c6401c99cd103094c0c307a877205a
SHA178bfd65d05f821472c1274e3ba5bf16201578ec5
SHA256c69dde72ece932312a2f6b97c69856cdbf4dc3e318ffab8e3bad97da1e7ce112
SHA5129145b06cbd47dbf3a0f11d3c37608a8c8cadcbffeeac2ae19153a7a06d5447edbc0a0495ed36445a8bc2f3d84ab03bd310fd07ea28aff73e61d1813cc6bd1264
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD50629c30fa26fbf7ade8c037b8311d0ea
SHA1e411fe66c2b4472580be421254dad239aa068e75
SHA256e1a583994ea6618716cfb372ef9a1458b243869c3a03899a9576398f94438131
SHA512eb12f7173ba926e847a1ac3db0b6bc1e1ad0b9cb1480c4736dc4f4696494f064965009d805195eac857f9c793dabd33f4d34c3d840f67d511e14ca6b3d9c3b7d
-
Filesize
173KB
MD5cc1c54eef5bb11a2c1e5e8bbb50ae810
SHA1f07b0fed989190ba12d2194d421f664247685d7b
SHA2561ba7037b5ddd9149d589dfb5657d0cddff822fd6e5bb6697d11cf8d290d504d4
SHA51281fed2ae7eddfa363ba5f7c71c84e5b9a3bc44dfea3ab725c318580fa8da93816394b18bcd45bb2ace3e95dc9e41c889142d7c23ebf94d33a72b3b8b39475770
-
Filesize
16KB
MD5776e9b00a02b34bbfcc97bafca5d099c
SHA1e537b19bdaff4af42b3d438fbb5e9f89f88fa04a
SHA25624868f9b52d43df1c75d0fb687ad5becbf760613b5d955f04a484527c03061f9
SHA51231b8bef75622c75849743bdb5769d60d09d002f032a81929b9668405ae0b46172789f7b892435565811e38ee91cd2bfec536edab60b7b1d9c9653721492a4885
-
Filesize
1.7MB
MD5c94c09ec6d419ee42e0bdb9691ee6c0e
SHA17e858d2bb3d7d5ee31d4dbce4d12bb1a16fdcbea
SHA2568d5bd769a5c4b780280102607fdfe8d582ad7995620a4d43c78c94776bc8f356
SHA512243aaee50f41af97c7149bdf7c0e74fa203ba5680fd7b92c53fca2fe0826d6868ec09e9f2f9887a0949e40e64e27b07dfe61cb2763722ec36a159a493a07a19b
-
Filesize
1.7MB
MD544c466c006b8d39fbf75772694d956d8
SHA10a053a8f619b42857a08fea7b5787fff78637882
SHA256cefe6bd4aa3720a0e73f694bee376d0ab03a613f047b88952e20aae5bfb48555
SHA512e0af7e958d0a8b936eefa64f8c83aab02e877191facda7b2d0b30410d46a6fb02d92121ed70d3ee9eb649d769bac06460da6a43a91dc52efe81a2a4c83e649e4