Analysis
-
max time kernel
149s -
max time network
156s -
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
07-01-2025 22:02
Static task
static1
Behavioral task
behavioral1
Sample
5973a5c20df5fc633502251eb7cd2e9af90f52d7659d5a58744fec047b65e76b.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
5973a5c20df5fc633502251eb7cd2e9af90f52d7659d5a58744fec047b65e76b.apk
Resource
android-x64-20240910-en
Behavioral task
behavioral3
Sample
5973a5c20df5fc633502251eb7cd2e9af90f52d7659d5a58744fec047b65e76b.apk
Resource
android-x64-arm64-20240624-en
General
-
Target
5973a5c20df5fc633502251eb7cd2e9af90f52d7659d5a58744fec047b65e76b.apk
-
Size
2.9MB
-
MD5
92dfc83dcd1d62366cd8283d4a5306fe
-
SHA1
0ce81e9ee22aa2e9e127434f2a8d6902728e8255
-
SHA256
5973a5c20df5fc633502251eb7cd2e9af90f52d7659d5a58744fec047b65e76b
-
SHA512
30e67470a2a9145c42c607bb352d3a130781faa2f3001132b80d8fb686da495f5ef6fa05fc3e2aa1fbbde6f4780c03919287faa1d046790b22bde210df5c5c32
-
SSDEEP
49152:aRdOOOOOOOu5qL453pQg5bqHvcR+fhYVAqaf8OpY7DyRouDi6yrmco8wNyvig/c/:arOOOOOOOuKc5QQIcmLfDJDermtwvigW
Malware Config
Extracted
ermac
http://85.209.176.197:3434
Extracted
hook
http://85.209.176.197:3434
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4357-0.dex family_ermac2 behavioral1/memory/4332-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.fovirohohaye.tubu/app_DynamicOptDex/GHG.json 4357 /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.fovirohohaye.tubu/app_DynamicOptDex/GHG.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.fovirohohaye.tubu/app_DynamicOptDex/oat/x86/GHG.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.fovirohohaye.tubu/app_DynamicOptDex/GHG.json 4332 com.fovirohohaye.tubu -
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.fovirohohaye.tubu Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.fovirohohaye.tubu Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId com.fovirohohaye.tubu -
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.fovirohohaye.tubu -
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.fovirohohaye.tubu -
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.fovirohohaye.tubu -
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.fovirohohaye.tubu -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone com.fovirohohaye.tubu -
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.fovirohohaye.tubu -
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.fovirohohaye.tubu -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.fovirohohaye.tubu -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo com.fovirohohaye.tubu -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo com.fovirohohaye.tubu
Processes
-
com.fovirohohaye.tubu1⤵
- 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:4332 -
/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.fovirohohaye.tubu/app_DynamicOptDex/GHG.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.fovirohohaye.tubu/app_DynamicOptDex/oat/x86/GHG.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4357
-
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
687KB
MD53f99f277a98b3ec1e1bf1fe718eb780f
SHA1926831b8effcd72759f7fc2de1e7292e740ab3a8
SHA2561addb142c7e02167878af0245b8eb06556c5cc3dc40b3bc74baae218d428b7f8
SHA51212b4645e16ac0fd70c6403f765e8c95bdf67ebd7995940cdb8ed071b91abd724fa67ea45110e6359219c128eebe3dfe78408beeb422ff170c3d6c303176b15a6
-
Filesize
687KB
MD590c7e27679445f6ab11637c51b88d260
SHA16dd395fa5f20d2cc419dd317ad525cbb7b565fd7
SHA256fd402f9590738fad41a59e839c41db6b13b9124381c38ccee97bf1de260974dd
SHA512c2e93b609147f2f9835d4d22cc6baf6ecf073086eb9dd75c8822e4bd67bd8b4e2fe5f482ea446617b096f246de152fb1e8de2333ee7a9d1996a3bacb55f0bf8c
-
Filesize
3KB
MD5b8f989213afc396d27a451542d6fcea2
SHA182a40ed798dbda4a79cd26dda1ea6aeca83700ec
SHA256c23a90eb67c592daef2afa7ffa7d2cac3e3e37b5eda77f2b8c940d9c5a713e88
SHA512eb425eed78434a906bd76a834632d08305de3ef9573491e0838de6618b2fd0a07b0c6418a585a25520b9f1715667837b45ff7ace369ca694aa34ab3319c60490
-
Filesize
4KB
MD5f2b4b0190b9f384ca885f0c8c9b14700
SHA1934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA2560a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
-
Filesize
512B
MD549b99c0f41e57a059b91775e8088ef6f
SHA183d6ed715b4b0a14c5c84ee31753c1127a6fb593
SHA256e15ae5427377926d2a35f18e49ea6cd02e4951c0959fa19ce29a3f50970a890d
SHA51281a1a3a6ca6541264a44418be3b301c0b1880002a4bf7ef0de4c4512fbbc9bf1b36eb096e896d7d591acce3921d6d5edbe69c9b78a1a743f44b94f59eb0a3386
-
Filesize
32KB
MD5bb7df04e1b0a2570657527a7e108ae23
SHA15188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
-
Filesize
108KB
MD562314f3ea3047f689486e4dcd5084fd3
SHA1d01c37432335ddd436a99eaef2d3d977cc7c8344
SHA256de742c3e14176c0ff25fae048d1c20b7169f11d86b1da77844e13ecf0ac5a0be
SHA512a90e55a0a0ddec683b86160ce0f06c00218ae26266077dc8f765fe6ff5a1051ada23424e868f1b2a63d60482e8d560cb19d52d2f4ee98c707c350d74924a6395
-
Filesize
173KB
MD53205450d4a7aefd4381a68bfb919d105
SHA19ed4b9eb3ec4b2fae5e62d51697b59576871e351
SHA256c14d661e11e1b0f3756d256dfe6e278a82b6e697c8f18880b84c89acf9e3829c
SHA512e96125e3ccfc8f98b7558852acb12151faae7e0a975a71cd72dae7cbdfd7330bd4063549288dcbc19acffc82440458d3bfd642b7c673da9993e8cc6926f14b76
-
Filesize
16KB
MD5a60b8be974a14b9e128406c1852d9812
SHA12937933ea8710768e15e4bd5cb9d26455f56cb57
SHA2567eca065d20874a7c5f9f096bdeafb3613f3f1f1dd4f0d7c9febb36eeaeb081f9
SHA5123f5edf73f13d1d9cd5cb946ce4edf223f0d690a8225aa9b2efe65984c03cc12f8c56f410549524840421edff965a173a1dcca69ceb5d33eae12a75103e9b0791
-
Filesize
1.5MB
MD5d2b746083e6d96ce2fddf41fda9b8406
SHA1f45b1064e698e6dcf1437fa5e2af24f2e51f9ff7
SHA256c42c3833fb2f75cc3a705247c669700f35d5f298ffa130ac7a08e80c948cb166
SHA5125726bd645394c11fa0477258d5df6a9d5a2cdb7b729841026f7c03842fc1c05a43db467912eacc19785096c82a4cf73b951545d471cbd3a7e7bb12b5203c93e6
-
Filesize
1.5MB
MD59bc01f7287924efd35b4232051357562
SHA1c0562053090f05434f00b89273d24eb2be8b762f
SHA256522e9ffcd6febe9c8a56821e9846072e2bd25933dd98dca11fc648e9c11f5a48
SHA512fed3773f132eef04ed41f940e999efd3a49c1dcd3523d9269fffc681025d381fdae20c6217c684c3399f7aeaeb313f150835072c2b2784c887033d5b453703c4