Analysis
-
max time kernel
145s -
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
21/03/2025, 22:25
Static task
static1
Behavioral task
behavioral1
Sample
cfd7495d787e33920fda854b8fd008e05e428fdcdaab76575ed932189b95e13e.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
cfd7495d787e33920fda854b8fd008e05e428fdcdaab76575ed932189b95e13e.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
cfd7495d787e33920fda854b8fd008e05e428fdcdaab76575ed932189b95e13e.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
cfd7495d787e33920fda854b8fd008e05e428fdcdaab76575ed932189b95e13e.apk
-
Size
4.8MB
-
MD5
97a74ac186fd3327a7a5c141430e756b
-
SHA1
4c50de2ad383c5d1530330221cc420c5b6485f17
-
SHA256
cfd7495d787e33920fda854b8fd008e05e428fdcdaab76575ed932189b95e13e
-
SHA512
2d362df7c37fc13ffcb40e21992629bdee80b55010f071819e4cc0e616deeb3f3945a4deb5d5f9c5e54aed9fab4eecff0e4c07e6c4613bf2e6a31a042e9ddea5
-
SSDEEP
98304:sqt56Zw/boLHyn0DmjFOOWLJGLIxbEBow9Jov62l8f/NvP6U9GBta:3t0qziyhj2nxGowPovr8flvP6Nta
Malware Config
Extracted
ermac
http://5.42.67.88
Extracted
hook
http://5.42.67.88
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4237-0.dex family_ermac2 behavioral1/memory/4211-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.tencent.mm/app_DynamicOptDex/eBayDMY.json 4237 /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.tencent.mm/app_DynamicOptDex/eBayDMY.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.tencent.mm/app_DynamicOptDex/oat/x86/eBayDMY.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.tencent.mm/app_DynamicOptDex/eBayDMY.json 4211 com.tencent.mm -
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.tencent.mm Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.tencent.mm Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.tencent.mm -
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.tencent.mm -
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.tencent.mm -
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.tencent.mm -
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.tencent.mm -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.tencent.mm -
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.tencent.mm -
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.tencent.mm -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.tencent.mm -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.tencent.mm -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.tencent.mm
Processes
-
com.tencent.mm1⤵
- 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
- 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:4211 -
/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.tencent.mm/app_DynamicOptDex/eBayDMY.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.tencent.mm/app_DynamicOptDex/oat/x86/eBayDMY.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4237
-
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
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
2.6MB
MD5f5793fe7eff01c737010b5629219b260
SHA16f7f34366d09673f8b218fb39a5a6749ca373b32
SHA2569ddb548ef6a77f0caa5ee3645c532f12e5308c73c0ef3a653b841c8fbf6f03ab
SHA51225d8a4b88ca10bb53c8e3ff09d254d70e66da267cf2fef24a7c9b9c8b3297fb3314e87b53bf64c6b928a4bbd3490565bd309925858416d697aace34cffee6ceb
-
Filesize
2.6MB
MD523b46ec4bda8739c78f7247989653662
SHA1396fa499110c77823022deb12c4f8ef4dda2df09
SHA2560ddc0d87b6901432d4a96beaf0d15e8c69a158b1ad57b14268c424f2d959a445
SHA512818a7636bd9beaca54c7a94fe49e200d2d9cf301ba187525285f29b4bbeeeb210c9dd98fb707d00f7a37e9315a3870cb86adc604a6c6f4baf3d460fb462729e9
-
Filesize
5KB
MD51315e4f1bd2270f3f35158495174d31e
SHA1282f88237e3d52a92726d31a69168713a3ebbc12
SHA256a7ef0b37013f79d68c4cf15351663c259ad0febbff7cde969961bad8b660663e
SHA512123ca8885d2a2d0238fd3c9faff95c58724fa3c66be47bf4893c9f83931073a21e73612fbc16f6552b99a7b19e2944a7bd3aa38a581ac6b643a3d020b27b73d5
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5a5cb504466dcb97f1a03ee19164893e2
SHA10af9c4e3a19f0cdce101c2ce050706db173ce793
SHA2562c82da1705ae1268d46820fefce36b3cc7c59c87f53848cc9acca779fe3528c4
SHA512fc9f13b56e2f676b748ebcb9b885df5f165168260c79f24f16f8ce17b2cfff6da66ea5eb797464a71e236b779f22c005c7b5899cc53c7816906b0e8279547ec8
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD5a74304090ddaced5d50d6b176078c37b
SHA131b3bea1576c734897e9a949ce5da0cfa51d3488
SHA256831875b370b9d8e292b95da467b317e2b6f0d87cd89447e2725d2ade930c0e2f
SHA512355d4e51f3b139a4ab239b7608932984b5c5ddc917fe584a74d0e5f2c90a7a1bcf0c964818385210daa5866205c179a5482c6027a82b742bca3d5b45956c7615
-
Filesize
173KB
MD5bdf9430c5ab802898d3c721d1c268d13
SHA1e6bead9cb2fd68697e93495d115ec7511f5db0cd
SHA2567b655b0235bed48181e11f6d49808f6765dc3dd1904fb67017ea8c569fb2fd8f
SHA51293813699631944fa638bad4a75b06a3b9ddd984eb9e6607ac117b73ac1d5105ad4b9399ee2fcd758659460f281bf008e9475840a95e1997af7e746185929ac63
-
Filesize
16KB
MD5c361b314d480b289125982dee2422a11
SHA15e8d97b034125ed6bb6c88ca03d6fe9a25b5b9bd
SHA2561111a6825eb49096a033c310e18c2ed3c0590e320d6e57f81bed805a7ae27e09
SHA512c41fe4a8a23bcdf1516a7dba4eb58f35e4d9e279ff456b1e07f86d5639be1267c37f3bd8fccd1adea026548126a06870429b9e398ef8b4d3678b855e8af21db4
-
Filesize
6.7MB
MD564b946b8b5b65aeefe3146912b41f208
SHA1c03ba7d82b04c1c71dab25d8a350a4c80f1b6c0a
SHA256c0208ffaed55648345f34f4e5fa72a0f0b40e1148ac75e17400d95966a896881
SHA5126dad8aa41700984a81557760abd3b03c103aff10a2a77f93a1b0ee0f889841e6b950dec6d296b7e9b343c286fc68ed0afadcfd5d92505cd25b74307f7a96e4d3
-
Filesize
6.7MB
MD579ba52989185b39a50e4d81244a7032b
SHA170c8a24bc94dea95799a8f516326cc0d2b577d55
SHA2566849c00c63eb73b1e1db8ddf0209bbce1bff3adbe640049d49afc0a256609df7
SHA512b0e83ff14f37f8b71941e05e4364e33e61f51b56d527f6c3871bafc978cefff966f2c67db16a765be1998cc76d6c51a6095bcd2eee676503144ae23421f50b4c