Analysis
-
max time kernel
66s -
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
08/04/2025, 22:19
Static task
static1
Behavioral task
behavioral1
Sample
725c2cb1c28c05dc82dc93927b936d3a835324367576b3cf18af467c5752301b.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
725c2cb1c28c05dc82dc93927b936d3a835324367576b3cf18af467c5752301b.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
725c2cb1c28c05dc82dc93927b936d3a835324367576b3cf18af467c5752301b.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
725c2cb1c28c05dc82dc93927b936d3a835324367576b3cf18af467c5752301b.apk
-
Size
2.9MB
-
MD5
75d6c41d247cbe0e9bfa784e07ff700f
-
SHA1
2dfaf4266166f177280a2ad2c462c0bae195ba8d
-
SHA256
725c2cb1c28c05dc82dc93927b936d3a835324367576b3cf18af467c5752301b
-
SHA512
f261756135693acec2383e4f7b8e36fa2524b2a70c007706a4c6a898f4fb8d8f7858987820ee5e00eacbab642c88ad38a802984f82e1e3ee9cdc2d94aa677939
-
SSDEEP
49152:IqHzAFvKkY3rT1Ky+5IWfYBoezOVY6ANw6aES6pFU2t7j3MGlo17+hZ0INvBYabV:5Uv3GhR+5eoCOrjWS6N7j8g3T5Yq1API
Malware Config
Extracted
ermac
http://176.123.169.239
Extracted
hook
http://176.123.169.239
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4364-0.dex family_ermac2 behavioral1/memory/4339-0.dex family_ermac2 -
Hook
Hook is an Android malware that is based on Ermac with RAT capabilities.
-
Hook family
-
pid Process 4339 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/GCwu.json 4364 /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/GCwu.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.tencent.mm/app_DynamicOptDex/oat/x86/GCwu.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.tencent.mm/app_DynamicOptDex/GCwu.json 4339 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 -
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:4339 -
/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/GCwu.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.tencent.mm/app_DynamicOptDex/oat/x86/GCwu.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4364
-
Network
MITRE ATT&CK Mobile v16
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
2System Network Connections Discovery
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
703KB
MD548f060bb8032843adf14387ccfd28dd3
SHA1e209254102b6b380a1cddbd6f3818f9374882f72
SHA2563ebda64f76fcbc5b76009550e9119bb80b34bbdcf9b937a3d26c38843bc52f69
SHA512f9e579ba2a097f0ea6567c7a93cad18640f4c59ee79c7401c861994f4130f56048feb7899ccaab7f893f109a9ebf5d10f0ae4f5ac3838a42a57099b9784fcc00
-
Filesize
703KB
MD5b28a519a74a079bff0617f1ac5e9893a
SHA138f5ce5ea1b55a27b3fb561e2e64bba5df020085
SHA256993f18d9a821c513bd87c17c55ccbf8842cc3cc0615b760ebd8d6a02e9e3da42
SHA512b626e5561710b0bac0b774b6b68bdddf9635428672a67214eed42b40d1bc465d6b8342bc40a14c39f594f4dcff61361800c5d2bebcde03adb78aff38a59c6dbf
-
Filesize
3KB
MD5603f72267035a2c8e6795e484898d69b
SHA135a628c50e6835b2c8fefaf96ee906fd9ad4619c
SHA25688ca75d2335ca75f87a1100000eadb77948645d9260c8c6e396e06f09af88c03
SHA5127468d660b2926cff890a1098202e0680a7be2d99d4ab28f8e2b94bb4a8013465f2d128fcd3691e62685b566c547c77f89f0bba866b6e3e34b6b1997ee868b713
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD51ef2244630ee7110b4fc53bcfac94a61
SHA1c9860f042eca0bb0cd0afb07bbdda92647aad30c
SHA256c3d7c2dcc12a2000279d715009c860287cc15390f3cb945ff53aa79f59ee097c
SHA5120067024b5396d9d5c81fd49d636731323b7f9ecf0503298cbc8b04e8c64cc4588f25eb45e97743e51f80e062d867d1207faee4f49b277092dcdc11d1338317f8
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD53d6a2df7271c3258f5848284bbbd8d35
SHA1d62dae2ed943df8d537d115afedb950e6ef5edc2
SHA256accbe1747ce1b41ef9f44cb9564f04867b9c06827a232df52284b234e5dd5a3a
SHA51211af15fb403ea1bb7fc43ab4714c9ccfcd31cb403a408207dd2d3a1bf9504243d82497331e90c45f3e72c399611954dd75f8aeefdc2203e1cfc468344af3406b
-
Filesize
173KB
MD5b4cce3d567619634a60c6620f37aaa3d
SHA13a58535f60dacc2e8d8561e94853a3eed070d264
SHA256fa661ad6a5bb9395e3d213661a4fd69f00f3d15858b895cbb7a8ca5a75fe3fd7
SHA512ca67e321c5bef37da765a816bfe940c7f3951853ed0e560acb3cacec30ee6db548541475b3ebe104a5a1dc7e29d72b978a37c44431b292e902341f2b19036dd6
-
Filesize
16KB
MD5eb059bafe18c6dedb0e61d90887585e4
SHA1c7c9c17c7a7e62a8681df2b0681221ca4a977b03
SHA256832ea4b01b59c86852ca4d151e22fe5efe9bfd1a2a374f43ee17c80b8d813df0
SHA512d74f9fa9df87e51ba87ec67993e75d6dd00af7db51c847ce0990231402d4a5a1533b26add1882fe150347c0f7643de76dd6691672897171a9b733db910115f6f
-
Filesize
1.5MB
MD595767193b8b25dfc70f6812c3bd48b8f
SHA11cdffcfd09fda484b0212865b8feca7c5901e815
SHA2560ca210ac5d2ed3bc9d4f230e215352c11dc7a9437c3b158c7ffb39d770c02760
SHA512660807dda80475a4f477b13cbfb31127df88df7dba4d870ac44c5c307c01ebb294b424cf8a2eb0ffa51fd826079e7dba9f65485c4c344d2b282afcdbc7fc9f33
-
Filesize
1.5MB
MD52ed7fe2320b0bbc4d75b899f28c6c918
SHA1fda0b763ac36fc014568d3ee29e424343b75278b
SHA2560d448c1c4915a9ab1b94c1d8757ec4ee09a5973bf4e2e1661a9ec65e673b7b38
SHA51243a9c85e3f127caea4a448ab08342cb041e29e5087473dd733e59285a75bf518f7358c5ea1f4c910ce75d637df321968979c1c8e69a2417b1278191d38f2279b