Analysis
-
max time kernel
147s -
max time network
155s -
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
20/12/2024, 22:07
Static task
static1
Behavioral task
behavioral1
Sample
0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683.apk
Resource
android-x86-arm-20240910-en
Behavioral task
behavioral2
Sample
0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683.apk
Resource
android-x64-20240624-en
Behavioral task
behavioral3
Sample
0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683.apk
Resource
android-x64-arm64-20240910-en
General
-
Target
0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683.apk
-
Size
3.6MB
-
MD5
22d3b8ecd206e0d454927660e485c7c1
-
SHA1
12f83e5bfc939a331e87639ff932431b354b7a12
-
SHA256
0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683
-
SHA512
9caac7f490081a3186ccd032bd73a44c93adef6e7f0e03c7edd7bfb1b5490588253b98d1c8e3eb66a4017b3009691de0bbf914b2af9bea181ab8a27ae1224353
-
SSDEEP
98304:kXJP4BVK4Fn/Wcz2YMk+4Rs/uUPPEWtG3vOVLIEmsBul5pu0:kXJPcFnOs2YD+b/PPcoLITsBulTd
Malware Config
Extracted
ermac
http://78.153.149.187:3434
Signatures
-
Ermac
An Android banking trojan first seen in July 2021.
-
Ermac family
-
Ermac2 payload 2 IoCs
resource yara_rule behavioral1/memory/4294-0.dex family_ermac2 behavioral1/memory/4268-0.dex family_ermac2 -
pid Process 4268 nusku.ermacv2.apk -
Loads dropped Dex/Jar 1 TTPs 2 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json 4294 /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/nusku.ermacv2.apk/app_grief/Wf.json --output-vdex-fd=42 --oat-fd=43 --oat-location=/data/user/0/nusku.ermacv2.apk/app_grief/oat/x86/Wf.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json 4268 nusku.ermacv2.apk -
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.findAccessibilityNodeInfosByViewId nusku.ermacv2.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText nusku.ermacv2.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId nusku.ermacv2.apk -
Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps) 1 TTPs
-
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 nusku.ermacv2.apk -
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 nusku.ermacv2.apk -
Performs UI accessibility actions on behalf of the user 1 TTPs 5 IoCs
Application may abuse the accessibility service to prevent their removal.
ioc Process android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction nusku.ermacv2.apk -
Queries the mobile country code (MCC) 1 TTPs 1 IoCs
description ioc Process Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone nusku.ermacv2.apk -
Queries the unique device ID (IMEI, MEID, IMSI) 1 TTPs
-
Requests disabling of battery optimizations (often used to enable hiding in the background). 1 TTPs 1 IoCs
description ioc Process Intent action android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS nusku.ermacv2.apk -
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 nusku.ermacv2.apk -
Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal nusku.ermacv2.apk -
Checks CPU information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/cpuinfo nusku.ermacv2.apk -
Checks memory information 2 TTPs 1 IoCs
description ioc Process File opened for read /proc/meminfo nusku.ermacv2.apk
Processes
-
nusku.ermacv2.apk1⤵
- Removes its main activity from the application launcher
- Loads dropped Dex/Jar
- Makes use of the framework's Accessibility service
- Acquires the wake lock
- Makes use of the framework's foreground persistence service
- Performs UI accessibility actions on behalf of the user
- Queries the mobile country code (MCC)
- Requests disabling of battery optimizations (often used to enable hiding in the background).
- Registers a broadcast receiver at runtime (usually for listening for system events)
- Uses Crypto APIs (Might try to encrypt user data)
- Checks CPU information
- Checks memory information
PID:4268 -
/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/nusku.ermacv2.apk/app_grief/Wf.json --output-vdex-fd=42 --oat-fd=43 --oat-location=/data/user/0/nusku.ermacv2.apk/app_grief/oat/x86/Wf.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4294
-
Network
MITRE ATT&CK Mobile v15
Persistence
Event Triggered Execution
1Broadcast Receivers
1Foreground Persistence
1Defense Evasion
Download New Code at Runtime
1Foreground Persistence
1Hide Artifacts
2Suppress Application Icon
1User Evasion
1Impair Defenses
1Prevent Application Removal
1Input Injection
1Virtualization/Sandbox Evasion
2System Checks
2Discovery
Software Discovery
1Security Software Discovery
1System Information Discovery
2System Network Configuration Discovery
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
309KB
MD588a0524f4a2f57ed0c1c25a550f9fc72
SHA109a456eb98dbe86427bcab886d5de15afe526c74
SHA256cd7a09fe9c3540cb21093c327bf4fa03b95a18ec8c1cd18b3f83de836895565d
SHA51243aa559876d75636b900f0cd023bf7c4082e5b66af8ea0185fa201483643cb9e523d43515b3877b298ceba8b17bcc40e5385e90c6f57425f0e17269a1abf8be8
-
Filesize
309KB
MD52adf8ab8c89629ba3fa6b68461370df1
SHA1c6e23af773ad1f11e19bc6b9d4a8028262cd21d6
SHA256361beae1571acd73c66f2ca6173d85c644ec56ea27d9816adb756a6ae9efe056
SHA5120dbcf456c57d93a4501589166cf1815ae02f18fa850a50851dc1db5ff18835ed38a85fee109140583067369413df4ec84c1c561e5683e44293baa9d34c3e5462
-
Filesize
1KB
MD53773f9bd8350cddc3b03d088aa28ab7e
SHA1d927af28085fe22394f793b217a7e684dc64db1f
SHA256fc79f7f55108bd1b2108f71b2c46992598af63bbac5b092804003f36e710abca
SHA512f3f01b2d1e2a3c6e16f4c2a0dd1e0c7444c0c7f6379e3f31d82d8a10db9d52cee0858891b5184868c193bbb31c8bebebdb8512d221b3216f5fb99d6a760bebb5
-
Filesize
682KB
MD57a5e7f6a1a943e38077c799065afeda6
SHA10612d094cd219eea6679f8fad554d2f8c0e3f2d4
SHA256e932ff224373c3f0c82b09895c62a7167442bf258c0d8c54d60c843b137a32f8
SHA512d67d20a2d23f0b7923079072e4490e9d8091aa7f81f2650c6e60a0b0db7ea2a0bbcd0fe20ba95a8e067b8deb580bd0886b4421beb15454dc8ce75436ee6eef12
-
Filesize
682KB
MD5a964ac68c2b4714b22f487db4b6725a0
SHA13389c49334225aaaa0adafaee81d71809bf16df4
SHA256d1dee0e2441e73cd55d7cda257fe4a98140d26bdc08f31e61f8b00a71ffb2648
SHA512099b452c2e421f19e904aab91dd549b9c0b1ed4d2b5665792b6fcdaa0084f766341af73d6bab2dac447516815e7e59408487b1174dfe4bd0266b2609fd82e2e9