Analysis
-
max time kernel
149s -
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
11-12-2024 22:08
Static task
static1
Behavioral task
behavioral1
Sample
bd38add6771861c00bb20466545445b1c16ae7a8ad6de8a2e7e275b5f2460262.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
bd38add6771861c00bb20466545445b1c16ae7a8ad6de8a2e7e275b5f2460262.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
bd38add6771861c00bb20466545445b1c16ae7a8ad6de8a2e7e275b5f2460262.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
bd38add6771861c00bb20466545445b1c16ae7a8ad6de8a2e7e275b5f2460262.apk
-
Size
3.0MB
-
MD5
83b746dd4e5e458f8a3af71f738b6739
-
SHA1
c71e8f4a27d434164d280aa5792937bb2013d7e6
-
SHA256
bd38add6771861c00bb20466545445b1c16ae7a8ad6de8a2e7e275b5f2460262
-
SHA512
f20c026be1b63c33851fbfdd4f94f1f77a41dd519d7241281011e28d89d0028c26cfabc834c3fba61d1e7dca5d24b52f35bbc844e26f61387eeba61a7b1d0051
-
SSDEEP
49152:dJE3wCeZRzTmXFpZdM4W12mg9jLUs1TUHD0VCvYPrgQrzoHUbbnstFbsxJNfSHHp:dJSwC2qpw12TjYs1TSwf60Y87VVFU
Malware Config
Extracted
ermac
http://154.216.19.93
Extracted
hook
http://154.216.19.93
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4292-0.dex family_ermac2 behavioral1/memory/4267-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.xskjlrfapapkaraglzakasd.staretxjk/app_hospital/CDoJ.json 4292 /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.xskjlrfapapkaraglzakasd.staretxjk/app_hospital/CDoJ.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.xskjlrfapapkaraglzakasd.staretxjk/app_hospital/oat/x86/CDoJ.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.xskjlrfapapkaraglzakasd.staretxjk/app_hospital/CDoJ.json 4267 com.xskjlrfapapkaraglzakasd.staretxjk -
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.xskjlrfapapkaraglzakasd.staretxjk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.xskjlrfapapkaraglzakasd.staretxjk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.xskjlrfapapkaraglzakasd.staretxjk -
Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps) 1 TTPs
-
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.xskjlrfapapkaraglzakasd.staretxjk -
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.xskjlrfapapkaraglzakasd.staretxjk -
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.xskjlrfapapkaraglzakasd.staretxjk -
Performs UI accessibility actions on behalf of the user 1 TTPs 8 IoCs
Application may abuse the accessibility service to prevent their removal.
ioc Process android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.xskjlrfapapkaraglzakasd.staretxjk -
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.xskjlrfapapkaraglzakasd.staretxjk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.xskjlrfapapkaraglzakasd.staretxjk -
Reads information about phone network operator. 1 TTPs
-
Requests accessing notifications (often used to intercept notifications before users become aware). 1 TTPs 1 IoCs
description ioc Process Intent action android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS com.xskjlrfapapkaraglzakasd.staretxjk -
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.xskjlrfapapkaraglzakasd.staretxjk -
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.xskjlrfapapkaraglzakasd.staretxjk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.xskjlrfapapkaraglzakasd.staretxjk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.xskjlrfapapkaraglzakasd.staretxjk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.xskjlrfapapkaraglzakasd.staretxjk
Processes
-
com.xskjlrfapapkaraglzakasd.staretxjk1⤵
- 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)
- Requests accessing notifications (often used to intercept notifications before users become aware).
- 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:4267 -
/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.xskjlrfapapkaraglzakasd.staretxjk/app_hospital/CDoJ.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.xskjlrfapapkaraglzakasd.staretxjk/app_hospital/oat/x86/CDoJ.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4292
-
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
2Credential Access
Access Notifications
1Input Capture
2GUI Input Capture
1Keylogging
1Discovery
Process Discovery
1Software Discovery
1Security Software Discovery
1System Information Discovery
2System Network Configuration Discovery
3System Network Connections Discovery
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
736KB
MD5fe8ef5bf9b779b1678c7f99ee9ef1b0b
SHA1fbce257123125c384e4796130f5a5c6fbee0cabf
SHA256b6ebcc97b5a365d7408dc82969bbc6c53a5deb0a24629145fce9110ff2149bc5
SHA5128d9f1b616e00b87edae8114c4c33c9ff82f1e99edef65ddf1d946174955fc6f50941d3a21be55ee4c33552241ab63c927a98c6ba77b6a6982cfd23fa4c1ee4f5
-
Filesize
736KB
MD579018d62665664ff1f37bc80edb74672
SHA18bb539c928cc56eb5baa0812048914588fac0576
SHA2565edd4f6ba92e780072480b4062ccb546f4185b5d68c3b79214296e5a9eb1370e
SHA5126c74cbc5c9a551ad23121fd81ff2bc0236bc64c9ab0f41a0302ac33c28468860272d4eeb28747765be9cb6dca9a26df1daabc52172f3c5166738c14364fa1a6f
-
Filesize
3KB
MD54d6b61653c1115556165d2a37f8d8233
SHA16dcd4d043ab07800d9e82705eb0ad1ec02897e84
SHA256a836c409e805d8056a34e724f5242928dd5f482cf1554029af2ec8103ae258ed
SHA512f7cb226a7761940cc0491a17c20b7f612e8b78b09af9a08ac8748c7017de9252c2a9998eaeac7f283a83ca4e8a4fb4cdb5e890f736efe39fbc1fa5c473a23fca
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD53de971e2f27d19a9364dfd46f75ceaf9
SHA105edcc70f467802a99164c5508d8e0b2705160c1
SHA2564b20db08d345e43ff6a2ff60b88e4a32cd461f2d09aca3e56c3ce6ac9cd4502e
SHA512b67c1978bd41af9a2b633fc50d18a81e323e7f34fea3c53818821bf3774466bb83c801581debbcb3277275faa5738c3baae524273ed2acbe256c0fe3cc885509
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD59d2a50470aad90f4446e2212ce1465be
SHA1b9bf0b5f5a582f31c25a54b86efa66d7dbebef1a
SHA2567a9459c705d7ab1a5b61d57c30805344fad37cc06d9a93cc642364de0c49e984
SHA5127c8664703e3acf5331cbfa9da4e40f45b303e99d48f1edac469d29a00f22d1a215f26e9da47c640d7c8a85e01a5c186cffcecfcdd0490bc7578382293c87c2d1
-
Filesize
173KB
MD5657df4a5e19b1c1cec64c01bae863951
SHA127b24ccfc3a0e67d3f12427938144b5a8925e8af
SHA256a4bf8f18bf7d4a2d66c34dcf551435fe2ff7c8c1f4fa268bdc81b5c70c48b9cb
SHA51225a92b8b99b228a9eb72e0f0b6b645fa5d3208600f1e3dc4d22e710c715d97349aa9e5f73105c5164b1a67466265221b57568d916961512e8f0dca3f22108ffa
-
Filesize
16KB
MD5e87f9c60da9527b4f6587a9faa27999e
SHA17a2408f6feb2afc187e5fbd8cf7b804b309ded18
SHA2561aa4e28652ef310842bbbfa18fbfb1d15084bd3f14cfc30bcbdf9146630e2461
SHA512c0686880266a476b88ab175bbaeb94ba290096496a645c57dcb0cf86b6915561f557770ec6910e31c9b80ee9a5eecb94ec2ba386e1b581a365385e547e1d65b6
-
Filesize
1.7MB
MD5d5af1f4c1e4fdc647f05ff82e81a0d63
SHA1e2b3d20613170c37ed33d09075b85a77d6ca94a3
SHA256dbf1787aecf19d4c08af8dd7fd631f1252fab194c25a4efd376a3dd6a715bd64
SHA512f1450c99d9a1a547571d15f4498fdf8dc0a537af823718f61b8dd5cc10f2919819f8c0684845da1b134f7a9f8a263cf4a78afe095066e9acaa19724f19e878e1
-
Filesize
1.7MB
MD5ffcaa9e688b50ccf1b005883919c9c74
SHA1185fad91d59541ab6f803f597a6211e175bdf954
SHA256d60b15bd863a547743f5862075f3bfc4faab3588775ccf345b40ac8f0f6ce767
SHA5129666de529f3fe843c252c489662bac2f54270dcbc10705abcfd68f808e124f7fa58fcd7509f574df56420f5227c2d132dacf41ba1b4e8efe05373c4f21ff2299