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
08/04/2025, 22:30
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/4437-0.dex family_ermac2 behavioral1/memory/4394-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/GCwu.json 4437 /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 4394 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:4394 -
/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:4437
-
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
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
703KB
MD548f060bb8032843adf14387ccfd28dd3
SHA1e209254102b6b380a1cddbd6f3818f9374882f72
SHA2563ebda64f76fcbc5b76009550e9119bb80b34bbdcf9b937a3d26c38843bc52f69
SHA512f9e579ba2a097f0ea6567c7a93cad18640f4c59ee79c7401c861994f4130f56048feb7899ccaab7f893f109a9ebf5d10f0ae4f5ac3838a42a57099b9784fcc00
-
Filesize
703KB
MD5b28a519a74a079bff0617f1ac5e9893a
SHA138f5ce5ea1b55a27b3fb561e2e64bba5df020085
SHA256993f18d9a821c513bd87c17c55ccbf8842cc3cc0615b760ebd8d6a02e9e3da42
SHA512b626e5561710b0bac0b774b6b68bdddf9635428672a67214eed42b40d1bc465d6b8342bc40a14c39f594f4dcff61361800c5d2bebcde03adb78aff38a59c6dbf
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD5599c8d705c2f84066c3e80885a8afffb
SHA18f3c0989b086bbe8f6133ad68c9008b72a2d829d
SHA256653794a78ace752f3652d40155c4637254e8493e8694a57fd8ef94bbbc43818a
SHA5122eab8bf609cbbf6c50004708d9caff8f36c8d5bec40ed6dc4725ad1b649e21a99c322fb46d6cdc14cb056900c5073c469a491c2782b72c977a44f60c0ff910d8
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD56a82613d77f341660d990086a09a0ea5
SHA1fa9972b5af704fa1e169830dbc54c7d33d339179
SHA256166be8f5d28adc19e418150225f233c077f69e2490474a1e76cce30490ca27bd
SHA512cfafa63a7041cbe925a6931ee5e8d2a20f597b9f74bb3598889ff2bc73443506828a46d4ae814d89558fb3bb469280cc23662f84404253531ccd9169325e77f5
-
Filesize
173KB
MD54fd5aaebfc3e5c4ee91bfa8bd96e2d7f
SHA131b682625efb8ff354f993fb27768e5abf552a45
SHA256b136b71fe74b5013507c1d49a736754098ff5c7e4ecd52e3203fbeee5fa437db
SHA512cb5626ce70b5bd111ca06788bb986faa5cf8c54b7f70c062cb3fa636d73e4bf1a6e691c4dd9dae39097e41d12ffebc27c872359b2b1edefa58a42e515fbbc53d
-
Filesize
16KB
MD55971f365247dbff0bb9d1949689122b9
SHA142c05400565904a9ae9e754fc0a52406e9e80454
SHA25604d37ed8e7696582d9d273d49e1fb2deef7606c3b6de3108190fa0b04f77fdbf
SHA512269f47681be4f61e48a3fa437e5b4497f0657134915647d71530dd27fff2e9d4834447a7f7d6a38b64686fb7f7712ce821b832d6a0d5a4caedc82dae2d3d6d86
-
Filesize
1.5MB
MD595767193b8b25dfc70f6812c3bd48b8f
SHA11cdffcfd09fda484b0212865b8feca7c5901e815
SHA2560ca210ac5d2ed3bc9d4f230e215352c11dc7a9437c3b158c7ffb39d770c02760
SHA512660807dda80475a4f477b13cbfb31127df88df7dba4d870ac44c5c307c01ebb294b424cf8a2eb0ffa51fd826079e7dba9f65485c4c344d2b282afcdbc7fc9f33
-
Filesize
1.5MB
MD52ed7fe2320b0bbc4d75b899f28c6c918
SHA1fda0b763ac36fc014568d3ee29e424343b75278b
SHA2560d448c1c4915a9ab1b94c1d8757ec4ee09a5973bf4e2e1661a9ec65e673b7b38
SHA51243a9c85e3f127caea4a448ab08342cb041e29e5087473dd733e59285a75bf518f7358c5ea1f4c910ce75d637df321968979c1c8e69a2417b1278191d38f2279b