Analysis
- max time kernel
42s - max time network
157s - platform
android_x64 - resource
android-x64-20240624-en - resource tags
androidarch:x64arch:x86image:android-x64-20240624-enlocale:en-usos:android-10-x64system - 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
- Sample241220-11va9awkan
- SHA256 0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683
- MD5 22d3b8ecd206e0d454927660e485c7c1
- SHA1 12f83e5bfc939a331e87639ff932431b354b7a12
- SHA512 9caac7f490081a3186ccd032bd73a44c93adef6e7f0e03c7edd7bfb1b5490588253b98d1c8e3eb66a4017b3009691de0bbf914b2af9bea181ab8a27ae1224353
- SSDEEP 98304:kXJP4BVK4Fn/Wcz2YMk+4Rs/uUPPEWtG3vOVLIEmsBul5pu0:kXJPcFnOs2YD+b/PPcoLITsBulTd
- MD5 SHA1 SHA512 SSDEEP
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 1 IoCs
resource yara_rule behavioral2/memory/4966-0.dex family_ermac2 -
pid Process 4966 nusku.ermacv2.apk - Loads dropped Dex/Jar 1 TTPs 1 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json 4966 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.findAccessibilityNodeInfoByAccessibilityId nusku.ermacv2.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId nusku.ermacv2.apk Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText nusku.ermacv2.apk - Obtains sensitive information copied to the device clipboard 2 TTPs 1 IoCs
Application may abuse the framework's APIs to obtain sensitive information copied to the device clipboard.
description ioc Process Framework service call android.content.IClipboard.addPrimaryClipChangedListener 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 7 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 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
- 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 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
- Obtains sensitive information copied to the device clipboard
- 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)
- 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:4966
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
1Suppress Application Icon
1Impair Defenses
1Prevent Application Removal
1Input Injection
1Virtualization/Sandbox Evasion
2System Checks
2Credential Access
Clipboard Data
1Input Capture
2GUI Input Capture
1Keylogging
1Discovery
Software Discovery
1Security Software Discovery
1System Information Discovery
2System Network Configuration Discovery
4Replay Monitor
Loading Replay Monitor...
Downloads
- Path /data/data/nusku.ermacv2.apk/app_grief/Wf.json
- Size 309KB
- SHA256 cd7a09fe9c3540cb21093c327bf4fa03b95a18ec8c1cd18b3f83de836895565d
- MD5 88a0524f4a2f57ed0c1c25a550f9fc72
- SHA1 09a456eb98dbe86427bcab886d5de15afe526c74
- SHA512 43aa559876d75636b900f0cd023bf7c4082e5b66af8ea0185fa201483643cb9e523d43515b3877b298ceba8b17bcc40e5385e90c6f57425f0e17269a1abf8be8
- SSDEEP 6144:K8guWItV375BSlP9DzxinEYLYToAYBKOkklBGQFjNPvh4qXT0OV4:K8gm6fPIxLGoroMrvhPXT0q4
- MD5 SHA1 SHA512 SSDEEP
- Path /data/data/nusku.ermacv2.apk/app_grief/Wf.json
- Size 309KB
- SHA256 361beae1571acd73c66f2ca6173d85c644ec56ea27d9816adb756a6ae9efe056
- MD5 2adf8ab8c89629ba3fa6b68461370df1
- SHA1 c6e23af773ad1f11e19bc6b9d4a8028262cd21d6
- SHA512 0dbcf456c57d93a4501589166cf1815ae02f18fa850a50851dc1db5ff18835ed38a85fee109140583067369413df4ec84c1c561e5683e44293baa9d34c3e5462
- SSDEEP 6144:oETtLZ2ACSVSMubZxxkCQDc0wL84utr1+JRJvjNMjwrzG0zlm6:oM72Y4DloZTwL84ud1UDvRMUri0zs6
- MD5 SHA1 SHA512 SSDEEP
- Path /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json
- Size 682KB
- SHA256 d1dee0e2441e73cd55d7cda257fe4a98140d26bdc08f31e61f8b00a71ffb2648
- MD5 a964ac68c2b4714b22f487db4b6725a0
- SHA1 3389c49334225aaaa0adafaee81d71809bf16df4
- SHA512 099b452c2e421f19e904aab91dd549b9c0b1ed4d2b5665792b6fcdaa0084f766341af73d6bab2dac447516815e7e59408487b1174dfe4bd0266b2609fd82e2e9
- SSDEEP 12288:q6GedEMjA1rPf/k1CrdidmRMchxpOmydGH7Csn1SzOQ:q68yQk1Cr/nh6OH7COQ
- MD5 SHA1 SHA512 SSDEEP