Analysis
-
max time kernel
147s -
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
17-01-2025 22:01
Static task
static1
Behavioral task
behavioral1
Sample
b8b2648f1d488de58654c15020ed43ae99f66e700872fbdadcf5c6ee11e301ec.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
b8b2648f1d488de58654c15020ed43ae99f66e700872fbdadcf5c6ee11e301ec.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
b8b2648f1d488de58654c15020ed43ae99f66e700872fbdadcf5c6ee11e301ec.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
b8b2648f1d488de58654c15020ed43ae99f66e700872fbdadcf5c6ee11e301ec.apk
-
Size
3.1MB
-
MD5
aa25816e1d26df76db196049b213db98
-
SHA1
1d1d95bd32113f695f250113f5cfc28a6427f5f4
-
SHA256
b8b2648f1d488de58654c15020ed43ae99f66e700872fbdadcf5c6ee11e301ec
-
SHA512
b949d718b98e75652dfff52967f9c1910b864770d96226b730a1478e98856107195def608e58aafcee4e245c9c1588c0a8c90b7de7ebe13826d0eb9604795856
-
SSDEEP
49152:ycpZD2eZBfQ7U9vuPQXrgkwjGzVI9r4z975lYWEhwGxOPmg1H:ykZqKBYIJuPi4qI14J7kWEhHOpH
Malware Config
Extracted
ermac
http://asoutlaverdadfasd.pro; http://asoutlaverdwwear.pro; http://asoutlaverdsadfaf.pro; http://asoutlaverdhhtrsd.pro; http://asoutlaverdcgahff.pro
http://asoutlaverdadfasd.pro
http://asoutlaverdwwear.pro
http://asoutlaverdsadfaf.pro
http://asoutlaverdhhtrsd.pro
http://asoutlaverdcgahff.pro
Extracted
hook
http://asoutlaverdadfasd.pro; http://asoutlaverdwwear.pro; http://asoutlaverdsadfaf.pro; http://asoutlaverdhhtrsd.pro; http://asoutlaverdcgahff.pro
http://asoutlaverdadfasd.pro
http://asoutlaverdwwear.pro
http://asoutlaverdsadfaf.pro
http://asoutlaverdhhtrsd.pro
http://asoutlaverdcgahff.pro
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4280-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.koyogohumanuda.xifami/app_inside/eghkBgk.json 4280 /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.koyogohumanuda.xifami/app_inside/eghkBgk.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.koyogohumanuda.xifami/app_inside/oat/x86/eghkBgk.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.koyogohumanuda.xifami/app_inside/eghkBgk.json 4252 com.koyogohumanuda.xifami -
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.koyogohumanuda.xifami Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.koyogohumanuda.xifami Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.koyogohumanuda.xifami -
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.koyogohumanuda.xifami -
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.koyogohumanuda.xifami -
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.koyogohumanuda.xifami -
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.koyogohumanuda.xifami android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.koyogohumanuda.xifami android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.koyogohumanuda.xifami android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.koyogohumanuda.xifami android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.koyogohumanuda.xifami -
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.koyogohumanuda.xifami -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.koyogohumanuda.xifami -
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.koyogohumanuda.xifami -
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.koyogohumanuda.xifami -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.koyogohumanuda.xifami -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.koyogohumanuda.xifami -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.koyogohumanuda.xifami
Processes
-
com.koyogohumanuda.xifami1⤵
- 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.koyogohumanuda.xifami/app_inside/eghkBgk.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.koyogohumanuda.xifami/app_inside/oat/x86/eghkBgk.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4280
-
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
1System Information Discovery
2System Network Configuration Discovery
3System Network Connections Discovery
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
691KB
MD583579a948b7387e5e11a0988ab84137a
SHA1c143c4c4084bd568cf1073718c874b216a138887
SHA256c9bd66a9b63e63024342db7d4c5039f3cde3d53b2ae5c27f93a8cea3f3551a7c
SHA512c724d6e4c8b14e4abac6921afaa8e7f7eaa4f36799d0c1d6d44a030375cccf2ae98b9dd921289c6898413140fc22c30d6adbfb1c68d15ab6de5a48b291e8098e
-
Filesize
691KB
MD5436fc951f37101350d119ba657115878
SHA15fefa78fea5fa5255f0e3a9a236246842230a610
SHA25698a5dd17de6e0073156c8a015f396db93b6eeef5d9998409d2c7007bc282e206
SHA512a2ec95374cbf2280a97f0c7dec9ea03e814bec7729e58ddd7da9a8f1b2b5b3533971bc4116b4197bed6c249890241264515d48f23ebeb1628fb26d6e67c40639
-
Filesize
2KB
MD5fa3dde2cb707b3e2f31386293d091b3f
SHA10379d37ce5fd8fc0f19266ae483cfe225c998742
SHA2566823d6cf10b843519bc961ec8d74a1a5404f35ef8125ce9aec04cdb6cf2f31f4
SHA512146296bedbdd9004fd5f5448ee90407f89829d53e88cc4606f3b1c460c174bcef692fffff0482e2472f8da394aff713d52304e01c0b265105a5ba7f0307909f8
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5fdeb01e302d1bb1b343d33cbcc65d1d7
SHA1d1a54fcd7ea0ac43726019409561364cbb010b9d
SHA2560a052d28a247fd8c4f1a970a9b5f3a79557e5591b5e21ab2453b8647cb5eacc8
SHA512209f4e160e65e588b4354a0ff648c5e59ca9c40a48538430e954909ba96c3abaa2b6fc3fe9fb17b0d72e10a10341922df4a8d03fddbbddf830a724b01bd10a53
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD55d1204ab71ed7abc5cbfa87fafd33aba
SHA1e13b4c7b94ba76ee629bcc557b5825f9c357d90c
SHA2561e22431137d4d12f932ee55706dae032aa703ce9a262c7f95120d084f991b5fc
SHA51223529830d52168c48e1d95c8f1d63b3185743f6ff7bc34286b682524333f810a30359640f441e0344db64be50c691c12a5c23df055c324f0f653b942857dd330
-
Filesize
173KB
MD56b5469dcd2d0bbb07a68aa7b13dbc5b3
SHA143bb55083328e5cd1d0491a96be88a3a7023f279
SHA2568499f2dca151452299494ecb048b9a5b17698a0f6779adf192e5f4333483aae3
SHA5125135f3091227ac7d4f535c6048d0e97757f8e2dace2d2256a54361fc90c8e33ab969bccba1bdf5c6c24618cdc297b4d1ce18a557cef5877f9b90f3864c5a10e3
-
Filesize
16KB
MD5cdfa42bc567ca86f3d4f918c1f2ef960
SHA13d56c40da0144930fafc16fc5d67979f316d26cb
SHA256fefc5d8291d8cec6043843314d8096d2df1e6873e12b4097e086659f7f8d5ebc
SHA512ea4a85cde38b026b3df3669244b6343b6dd907ea4892a7d562e820c4b06ce51ea704e0620229ba2eb634bb5b8af41055e2cb27bd973e9a5fdd47ec8858ae4edb
-
Filesize
1.5MB
MD5a2706006620d35e294d980cc42d0077f
SHA1b99f685030f32af718d14395d881fc7c3a536407
SHA256d63dc63f5cf6ff6ac010d8e01c6b61710dffaa67fea45d2cf49539bef47cad47
SHA51245e657fb3ba50c90cda99bc3f396d0cefceecb3eaa82d8e250e5e5507cdfc49303196729c7cb8b367561d100fa53d6bfabc5687c4d0010cc98ef3d9179f8ad66
-
Filesize
1.5MB
MD540555b26c66b2a59ab442b8515a8cd40
SHA11d0b53d505841c9039e10dc6983bb06943c43148
SHA25642bea2c7a4f0d1ba9bd2a9ec647d4976f7472b6767499cf954c7a7ce94b58fd7
SHA512a54655b02d1784251bc74cfa2e72c0557debb7db4a119c17b9a3fe52036071642618718207893902930f35582cb8308e215c226769fa06f680caaf1d3ae68a00