Analysis
-
max time kernel
40s -
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/03/2025, 22:05
Static task
static1
Behavioral task
behavioral1
Sample
7d31e6e4ebe8a39fe457e40286db9158e93d981da07aee2deca041309e6f43c5.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
7d31e6e4ebe8a39fe457e40286db9158e93d981da07aee2deca041309e6f43c5.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
7d31e6e4ebe8a39fe457e40286db9158e93d981da07aee2deca041309e6f43c5.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
7d31e6e4ebe8a39fe457e40286db9158e93d981da07aee2deca041309e6f43c5.apk
-
Size
2.9MB
-
MD5
9361ef2e226d4f9fbd9fdb93f0a8c4cf
-
SHA1
40482f000e317a84d4468fc348a8cd7424997acc
-
SHA256
7d31e6e4ebe8a39fe457e40286db9158e93d981da07aee2deca041309e6f43c5
-
SHA512
016ddfe60ba0296c35a37ffa8c0f3d66fb970042b3701068004c52d7bbe221c3446afe1ca380b3a2c2c316a5e716f7f4281f6c42fb006fd8aaf16d917ad9977f
-
SSDEEP
49152:Dm9/oDLptsvFf3nw/YSI2nWyjavqHC+6sdT0+XsAz70RGr6x+v3YIji7ywhYVAqX:Dmpstuf3nw/22+UdPsAi3IjYywLfDrhC
Malware Config
Extracted
ermac
http://91.107.127.201
Extracted
hook
http://91.107.127.201
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4248-0.dex family_ermac2 behavioral1/memory/4222-0.dex family_ermac2 -
Hook
Hook is an Android malware that is based on Ermac with RAT capabilities.
-
Hook family
-
pid Process 4222 com.tencent.mm -
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/Lwds.json 4248 /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/Lwds.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.tencent.mm/app_DynamicOptDex/oat/x86/Lwds.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.tencent.mm/app_DynamicOptDex/Lwds.json 4222 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⤵
- Removes its main activity from the application launcher
- 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:4222 -
/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/Lwds.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.tencent.mm/app_DynamicOptDex/oat/x86/Lwds.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4248
-
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
1Hide Artifacts
1Suppress Application Icon
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
702KB
MD5ed9c7aa4973092f7a19c112fbee1d0b1
SHA1763adf2e5310239e21c532e44abe3e90c7cae95b
SHA2565ae89702641a1fd25e4a9b5964fa10fe5582053c3e283d804283ecdfb242336a
SHA5123b94988d6ea2a2e105cd8cd267cdde6a48dc711948a41fdda8fa21ef9d62a5596dc8bfe5e47c5dc6d030d37d533de333adb9f809c7591917071e7117ff4766d3
-
Filesize
702KB
MD55c7070e86c9405def6ff8b458f0c7c71
SHA12d232932bdee30a7df9d837eeb62fcf27ef0be21
SHA256bba492c5bb82c610aa9a620e5dc7db51960e95eac6ddcd3c8e6240f8e4427aba
SHA5124e27678c2e552657e85b851903d3ec42a47465864bd3a83d733b4bdfbcc7cee96afa01f472d8714691dfff8feb877ad9adba0ad35c5df2857f906d1574ab8c4c
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5aa85a6726a81246b8252ca25bb64ed5b
SHA1ebe83ed412b8c9c1f2d80ffd0de45d023cc402b8
SHA2565bcd0d502a0a96ea6bf0b0cddf97ea0506ea8af581f39c8abfb675fea584e3fd
SHA5121a1d0f874c6f56f1e63db4388fb6993040af7bdf124bcbe6a582295b3e2b3f4eac2110650da0994a8546cc1cfedb67df992b94b862286f856c29e71ebf08c1b0
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD5541d57b83a9035ca154d168e2a728f14
SHA14751e976fa5ca2443143d74c9c2afe20fc7e845b
SHA2569a7b6c52bf7e2034e449deba39c4d6f43b35f3c50dcc9aef070b890b0ebc0e67
SHA5125a379bff0ec4ad6c0b98322c141acf7d28d1f394d8d79e429104d88ed1c2c975c652d26a770c9fb2a39fbe0ddbabe1e229e4ccf41652d10506cf3884498f98fe
-
Filesize
173KB
MD5b92682698f63a46771e384b7f04a0de3
SHA14eef3c174cd5b8d91141296ebbb30bf667e20094
SHA2561db1f7cfbf12ee5bd83719b52083779e10aa3d712b696f2bafea2e9d8c60e8ec
SHA5126bc5add7ccd6d7cdc8cdd07a38eea8886370d422c41edb9efcaa13f02f095c5a39a0ad20253485d6203d642ba1cc90b06529b4472cd3fbea48f1652899b51a90
-
Filesize
16KB
MD52f4fd9992f65d1643ebd0d3335248a6e
SHA13fc8628f56215abf4a001dd63a313fdfea54db3c
SHA256af97a2e5c987f2855530c0516c30603ac2971bb10aed61210abad4bad443d1c6
SHA5122537e46cebe53052fdf1179c1424ee07fb5b7a89a6d3856725dcf5b8c5d04d9489dade09c2d3a37e2a27747e469b64ce9338b6656b1cd848e3f80f32d4252c82
-
Filesize
1.5MB
MD5b2ec7bd35a3192d6f6d31c40553cfaaa
SHA141a179e828a900d3934525ffa6e31887b4ae138b
SHA256b9b4437984074db389e44371a9d994b931e0b48b81675be7626861b03a31d9ab
SHA5126622514102a16f5de44b043b4dacc9adffbe3d67abee6d7268cc9c1efc689288a05f5a3a147e9f11370056db00fe2119d14319d478a6b80f35fa84c53e167663
-
Filesize
1.5MB
MD589e0d7ab978e192a89d66d518e3ddbfd
SHA12c908a8b8f56479fdb3e5b1ab0a0e8fef5673e70
SHA256955de22dedd8eef99abf727b30cfa42836e4a9eb2d427ee5977c10e6d62d4005
SHA512be014d2788512c6747595dd0f912043e1197543e75bd622ca47a5b080783a7e59ac5341c68a87af8a92487d789ae40ce4aebf747ae4e12e5f1e2575cc4570dd1