Analysis
- max time kernel
179s - max time network
191s - platform
android_x86 - resource
android-x86-arm-20240624-en - resource tags
androidarch:armarch:x86image:android-x86-arm-20240624-enlocale:en-usos:android-9-x86system - submitted
09/08/2024, 22:01
Static task
static1
Behavioral task
behavioral1
Sample
7fdd7875998963d09973fb9b830b5b1014d3420fc185a7c72ce996449a211938.apk
Resource
android-x86-arm-20240624-en
Behavioral task
behavioral2
Sample
7fdd7875998963d09973fb9b830b5b1014d3420fc185a7c72ce996449a211938.apk
Resource
android-x64-20240624-en
Behavioral task
behavioral3
Sample
7fdd7875998963d09973fb9b830b5b1014d3420fc185a7c72ce996449a211938.apk
Resource
android-x64-arm64-20240624-en
General
- Target 7fdd7875998963d09973fb9b830b5b1014d3420fc185a7c72ce996449a211938.apk
- Size 4.3MB
- Sample240809-1xasfavfjd
- SHA256 7fdd7875998963d09973fb9b830b5b1014d3420fc185a7c72ce996449a211938
- MD5 544a1a58824e110bd6f16ae8638cd4f7
- SHA1 b49b308fcb3471702c75a43b4a698dcb1775f293
- SHA512 9c981b23c105d13e354bc184dc7586d4bf3c1ed90c739c9dfd953231c7ea1a8c0d681d274039d89561c2db983635c2220bed83ef57fddcab0e830d1259993d28
- SSDEEP 98304:uKn+moctXVI/6oRQs3Z4gf5hTsMHnY/TEohfCU9ISjUy:uKnYctXmBQgxTiTksIGUy
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
hook
-
http://193.3.19.40
Signatures
- Hook
Hook is an Android malware that is based on Ermac with RAT capabilities.
- Loads dropped Dex/Jar 1 TTPs 3 IoCs
Runs executable file dropped to the device during analysis.
ioc pid Process /data/user/0/com.mgqntmxmm.dgmijoymg/app_dex/classes.dex 4275 com.mgqntmxmm.dgmijoymg /data/user/0/com.mgqntmxmm.dgmijoymg/app_dex/classes.dex 4304 /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.mgqntmxmm.dgmijoymg/app_dex/classes.dex --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.mgqntmxmm.dgmijoymg/app_dex/oat/x86/classes.odex --compiler-filter=quicken --class-loader-context=& /data/user/0/com.mgqntmxmm.dgmijoymg/app_dex/classes.dex 4275 com.mgqntmxmm.dgmijoymg - 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 com.mgqntmxmm.dgmijoymg Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId com.mgqntmxmm.dgmijoymg Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText com.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mgqntmxmm.dgmijoymg android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mgqntmxmm.dgmijoymg android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mgqntmxmm.dgmijoymg android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mgqntmxmm.dgmijoymg android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mgqntmxmm.dgmijoymg android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mgqntmxmm.dgmijoymg android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction com.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg - 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 com.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg - 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.mgqntmxmm.dgmijoymg - Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
description ioc Process Framework API call javax.crypto.Cipher.doFinal com.mgqntmxmm.dgmijoymg
Processes
-
com.mgqntmxmm.dgmijoymg1⤵
- 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
- Requests accessing notifications (often used to intercept notifications before users become aware).
- 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)
- Schedules tasks to execute at a specified time
- Uses Crypto APIs (Might try to encrypt user data)
PID:4275 -
/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.mgqntmxmm.dgmijoymg/app_dex/classes.dex --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.mgqntmxmm.dgmijoymg/app_dex/oat/x86/classes.odex --compiler-filter=quicken --class-loader-context=&2⤵
- Loads dropped Dex/Jar
PID:4304
-
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
1Hide Artifacts
1User Evasion
1Impair Defenses
1Prevent Application Removal
1Input Injection
1Credential Access
Access Notifications
1Input Capture
2GUI Input Capture
1Keylogging
1Discovery
Process Discovery
1Software Discovery
1Security Software Discovery
1System Network Configuration Discovery
2System Network Connections Discovery
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path /data/data/com.mgqntmxmm.dgmijoymg/app_dex/classes.dex
- Size 2.9MB
- SHA256 f60ac57f8a329ad5a83492e7325e59b3dd2cc98b14bb138d45c4938d0db72e96
- MD5 e38349733f9683698cb7365450020c77
- SHA1 31b7c2e1a8d5e5520ee8bd7d862a5af676e9e987
- SHA512 af53ed4d031da40d5bd4e65808c49ea5e22ebaa7c88440a78243cd49715f2b1c596b9bf84bb7a06042a4724e953c36fd2fcac02b989594934a6e434703f21d76
- SSDEEP 24576:1u9tFHVuqTbrHRTkdegumFP1CgAbXoWPjHAeXo6Y8KolINX+WIGdDc18f71R9U6:1gfuum0RXPllIVXi8f9U6
- MD5 SHA1 SHA512 SSDEEP
- Path /data/data/com.mgqntmxmm.dgmijoymg/cache/classes.dex
- Size 1.0MB
- SHA256 f1f5fd363097724d72ccd9b7407b750770187aca795aef7bb5d91c57106c1aab
- MD5 1bfa9394aaf9c73df3110c96307b9cc8
- SHA1 d51d0c1355a874c239670a4127a57ea943b269da
- SHA512 dde7b5a5b78d6cf9a9229a561fb672a653d2500ba84d3d3a1366b1772d85dd2a3571bd4cad9e81c1e8f8f56ced7e0dcc445cfcad258bf88b1c2d6c6bc5feb77d
- SSDEEP 24576:Y3a3GowpuenmfolB/8ZNuWtd2g+0eQNem8JG5dIJmuyiH8st:Ya3GoccolB/8ZNPqg+0eQNeA5dIsiHb
- MD5 SHA1 SHA512 SSDEEP
- Path /data/data/com.mgqntmxmm.dgmijoymg/cache/classes.zip
- Size 1.0MB
- SHA256 d2fa67b9f3d4bc1f4bb4778fd83b2e1da0610691dc52662ee923ac4ed466597f
- MD5 4d4b3105b1eb7d27d1356206270d650b
- SHA1 caef7da33124805c328db9f7bada44492dd27a58
- SHA512 c77923cb1e1be59484600a2dec519a049b22785c751c75aa34ae23ae6608e063ba6d8915cc4f0fab41b61b5b8745a98cb60c748183c04027b5357f63d3bb3a6d
- SSDEEP 24576:l3iteowd6e/g5WlxhC1/Ksh/2MIoiOpwQOjG5dCVguyiHYsA:titeoOiWlxhC1/rkMIoiOpwE5dCyiHS
- MD5 SHA1 SHA512 SSDEEP
- Path /data/data/com.mgqntmxmm.dgmijoymg/no_backup/androidx.work.workdb
- Size 4KB
- SHA256 0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
- MD5 f2b4b0190b9f384ca885f0c8c9b14700
- SHA1 934ff2646757b5b6e7f20f6a0aa76c7f995d9361
- SHA512 ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1
- MD5 SHA1 SHA512
- Path /data/data/com.mgqntmxmm.dgmijoymg/no_backup/androidx.work.workdb-journal
- Size 512B
- SHA256 359c543c268cdd1148615e4a0e571837c082834531542d7784582931bc248fcc
- MD5 377cffdea0d9b94fc8565b33c4751677
- SHA1 4249755fdf8fed25b07a64bfc115b04b1826889b
- SHA512 87d10061e685337c288791532d6507a08db3bed2a690f4ba070658f75c562905f47a5d340cb1c5cd3d81495ac6a68b2a3bc7fc2fd11a078d4cb2691cf09387ef
- MD5 SHA1 SHA512
- Path /data/data/com.mgqntmxmm.dgmijoymg/no_backup/androidx.work.workdb-shm
- Size 32KB
- SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
- MD5 bb7df04e1b0a2570657527a7e108ae23
- SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
- SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012
- SSDEEP 3::
- MD5 SHA1 SHA512 SSDEEP
- Path /data/data/com.mgqntmxmm.dgmijoymg/no_backup/androidx.work.workdb-wal
- Size 108KB
- SHA256 ea7947e43a8941fa2aa5545d958109f107c3568534c89384a9441ffbd08aca25
- MD5 e438b4e083db16e880f05bd5a659ea39
- SHA1 0941c5552dc65afc083fe9f188aabae261d8dd32
- SHA512 79725f5ae9ac3c8e39bd079e555910a79cd15ce073c2ddaff4cd63ebd77d3b860667381e0cb232ec5610af474e4e37c113a13ba5191dc55885758290b03681cf
- SSDEEP 96:KkZ6+hdjnHtDRMpf8UzS5+TD8q0ExPHKdfd:RVdjnHt9Mpf8UzS5+TD8q0E5HaV
- MD5 SHA1 SHA512 SSDEEP
- Path /data/data/com.mgqntmxmm.dgmijoymg/no_backup/androidx.work.workdb-wal
- Size 173KB
- SHA256 e450e5da5ed56789e76c4f2cf2811b927a92141762b8e3dcd07e558407097886
- MD5 e7fea44a5514b98b68ce7f6ce2592a45
- SHA1 6c26df369e85f6f445a130fb1acb346c0cddf37d
- SHA512 d75932812c337b8357499116b36b097becd0fed913f3863bb62224a76488cbeb1e3e54ce18dc8feb3b4b147cf087894d8ac6b888c3ac3f1ad1efa595f7111804
- SSDEEP 24:QDqMmf/meYfr6qMnrxf/mLqMAf/mLqML16qMIGWqMVXqM4ln6qM02qMmf/meYYbj:xTXYDZeZTPTQ1ZcMaZdZLTXY9AZh
- MD5 SHA1 SHA512 SSDEEP
- Path /data/data/com.mgqntmxmm.dgmijoymg/no_backup/androidx.work.workdb-wal
- Size 16KB
- SHA256 4fd09253bf7ef2b06c66a2aede410c77fc3cf5da05f939817842607a8e0aebeb
- MD5 cdcc93a89f5126e0f93282f5021be3c9
- SHA1 9758d6c1d4f80cf37a5912ebfe5e5c1ac857ae11
- SHA512 a57bf3e3e73e4b8d4ef0dbae63b185bfd56ac48004ffc2aaf2252ae312c205b4652712ef405d6d92c4fbbd0e479896e4e0c8ea8a334ff74e78c57edd663c133c
- SSDEEP 6:KUCm5lM+pQg9FZdrlOERX4PBX4ogLugMBX4suuK+/tZCgP9+CSKapqiOw2:KUCTlqzdTRmBEyPbP/tMgPL5aVOw2
- MD5 SHA1 SHA512 SSDEEP
- Path /data/user/0/com.mgqntmxmm.dgmijoymg/app_dex/classes.dex
- Size 2.9MB
- SHA256 e67fbd23523bd5c79a5d3e20db25456c4f6e75deb5b4bc94f10324a90372af95
- MD5 ba8b16cfe7d68c11f0da5b7131f8f55d
- SHA1 d8dadb49d614359a378d1d3e72b207e400107ac2
- SHA512 d0d4a87a0ce3869b72e56a92a46209bb0b6df856239cac23b2989c91982c8a48eb24dc52bccd354f5d83d01b5f2e9c68ba3e32eef0dd79681f9f6d3525094fc0
- SSDEEP 24576:1u9tFHVPF8qbV6E241mMYPVimtOGTayq7SEWALXwGSeHOa6qXWR9U6:1gd8qxP1mC6ID96qUU6
- MD5 SHA1 SHA512 SSDEEP