Malware Analysis Report

2025-01-19 05:38

Sample ID 241225-p491bstlfl
Target 0334eb6d20407d9903e19c104628b1aba4af3c5bb72e192cbe6424986cffd44c.apk
SHA256 0334eb6d20407d9903e19c104628b1aba4af3c5bb72e192cbe6424986cffd44c
Tags
ermac hook collection credential_access discovery evasion execution impact infostealer persistence rat trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Mobile Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral3

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

0334eb6d20407d9903e19c104628b1aba4af3c5bb72e192cbe6424986cffd44c

Threat Level: Known bad

The file 0334eb6d20407d9903e19c104628b1aba4af3c5bb72e192cbe6424986cffd44c.apk was found to be: Known bad.

Malicious Activity Summary

ermac hook collection credential_access discovery evasion execution impact infostealer persistence rat trojan

Hook family

Hook

Ermac2 payload

Ermac family

Makes use of the framework's Accessibility service

Queries the phone number (MSISDN for GSM devices)

Queries information about running processes on the device

Obtains sensitive information copied to the device clipboard

Requests disabling of battery optimizations (often used to enable hiding in the background).

Performs UI accessibility actions on behalf of the user

Queries the mobile country code (MCC)

Acquires the wake lock

Makes use of the framework's foreground persistence service

Queries information about the current Wi-Fi connection

Reads information about phone network operator.

Declares services with permission to bind to the system

Requests dangerous framework permissions

Declares broadcast receivers with permission to handle system events

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 memory information

Checks CPU information

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-12-25 12:54

Signatures

Ermac family

ermac

Ermac2 payload

Description Indicator Process Target
N/A N/A N/A N/A

Declares broadcast receivers with permission to handle system events

Description Indicator Process Target
Required by device admin receivers to bind with the system. Allows apps to manage device administration features. android.permission.BIND_DEVICE_ADMIN N/A N/A

Declares services with permission to bind to the system

Description Indicator Process Target
Required by notification listener services to bind with the system. Allows apps to listen to and interact with notifications on the device. android.permission.BIND_NOTIFICATION_LISTENER_SERVICE N/A N/A
Required by accessibility services to bind with the system. Allows apps to access accessibility features. android.permission.BIND_ACCESSIBILITY_SERVICE N/A N/A

Requests dangerous framework permissions

Description Indicator Process Target
Required to be able to access the camera device. android.permission.CAMERA N/A N/A
Allows an application to write to external storage. android.permission.WRITE_EXTERNAL_STORAGE N/A N/A
Allows an application to read from external storage. android.permission.READ_EXTERNAL_STORAGE N/A N/A
Allows an application to read SMS messages. android.permission.READ_SMS N/A N/A
Allows an application to send SMS messages. android.permission.SEND_SMS N/A N/A
Allows an application to receive SMS messages. android.permission.RECEIVE_SMS N/A N/A
Allows read only access to phone state, including the current cellular network information, the status of any ongoing calls, and a list of any PhoneAccounts registered on the device. android.permission.READ_PHONE_STATE N/A N/A
Allows read access to the device's phone number(s). android.permission.READ_PHONE_NUMBERS N/A N/A
Allows an application to read the user's call log. android.permission.READ_CALL_LOG N/A N/A
Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call. android.permission.CALL_PHONE N/A N/A
Allows an app to access approximate location. android.permission.ACCESS_COARSE_LOCATION N/A N/A
Allows an application to read the user's contacts data. android.permission.READ_CONTACTS N/A N/A
Allows an application to write the user's contacts data. android.permission.WRITE_CONTACTS N/A N/A
Allows access to the list of accounts in the Accounts Service. android.permission.GET_ACCOUNTS N/A N/A
Allows an app to create windows using the type LayoutParams.TYPE_APPLICATION_OVERLAY, shown on top of all other apps. android.permission.SYSTEM_ALERT_WINDOW N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-12-25 12:54

Reported

2024-12-25 12:55

Platform

android-x86-arm-20240624-en

Max time kernel

44s

Max time network

67s

Command Line

com.luwepocodibe.sama

Signatures

Hook

rat trojan infostealer hook

Hook family

hook

Makes use of the framework's Accessibility service

collection evasion credential_access
Description Indicator Process Target
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId N/A N/A

Queries information about running processes on the device

discovery
Description Indicator Process Target
Framework service call android.app.IActivityManager.getRunningAppProcesses N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock N/A N/A

Makes use of the framework's foreground persistence service

evasion persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.setServiceForeground N/A N/A

Performs UI accessibility actions on behalf of the user

evasion
Description Indicator Process Target
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A

Queries information about the current Wi-Fi connection

discovery
Description Indicator Process Target
Framework service call android.net.wifi.IWifiManager.getConnectionInfo N/A N/A

Queries the mobile country code (MCC)

discovery
Description Indicator Process Target
Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone N/A N/A

Reads information about phone network operator.

discovery

Requests disabling of battery optimizations (often used to enable hiding in the background).

evasion
Description Indicator Process Target
Intent action android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS N/A N/A

Registers a broadcast receiver at runtime (usually for listening for system events)

persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.registerReceiver N/A N/A

Schedules tasks to execute at a specified time

execution persistence
Description Indicator Process Target
Framework service call android.app.job.IJobScheduler.schedule N/A N/A

Uses Crypto APIs (Might try to encrypt user data)

impact
Description Indicator Process Target
Framework API call javax.crypto.Cipher.doFinal N/A N/A

Checks CPU information

Description Indicator Process Target
File opened for read /proc/cpuinfo N/A N/A

Checks memory information

Description Indicator Process Target
File opened for read /proc/meminfo N/A N/A

Processes

com.luwepocodibe.sama

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
GB 216.58.213.10:443 tcp
US 1.1.1.1:53 semanticlocation-pa.googleapis.com udp
US 1.1.1.1:53 null udp
GB 142.250.200.46:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 172.217.169.46:443 android.apis.google.com tcp

Files

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-journal

MD5 826d7ef8306cc6318873afafd8a3c187
SHA1 29c35cf0c848ba9bbd0711ee0b2ac9a90a605a51
SHA256 adbe4ab1b4cdafcb4b070f7eaf200f038fdc01099293c3bf124f233c593e7ef2
SHA512 4fee4e823aa418ebf9f44fdc60ea47ffb830f401df12ebcb52d4506f7436fc10e3b4e8b11cf55be7202a06a9658877dc8b75869b120b3c973c28b80b2e601c60

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb

MD5 f2b4b0190b9f384ca885f0c8c9b14700
SHA1 934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA256 0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512 ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-shm

MD5 bb7df04e1b0a2570657527a7e108ae23
SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 04c748ad1bfa83790a7b65fa741f04a5
SHA1 d7046438675dc2eda9b7cd4349ab2052fa2f39ed
SHA256 036d0ab51657c89168b44e414e0d1f717175655887d55a3ea568b8ca63441707
SHA512 9ab3952f1d1f75f2377e0eb68ff163c0ced46712932bacb806f9f4f6926cd9c91cc5c36afa83837c51ac03de2498d4e4195f033ee822c0e7e05d92753b431e85

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 e2b5e52b4a715fe11a32de189cbd06ea
SHA1 b1bf4341033238dfc92d09e34bc499ba13ef09a6
SHA256 e614a54579e664684fb79cbf6b709826bebb905952d853eb965c2d252d31dc72
SHA512 6beeaf92551aac9e377a8bd998d8b40b90e34578cad083a06b8ff4e412613910d35948bb0c056b75153f92e1d19f526d191d1a703e3b2dede511e3eecd67ba96

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 86bb2dbbb7c0b0878a652e63f3a23c7a
SHA1 745d245805257ea3657a2a738c7c5164130365db
SHA256 9f0d6fc2281da292127bc68a3b998dfd27d3048e39a4447b66c4794e8305b411
SHA512 2725914835cc8939206785be7b1a260cc4825621eafe3edb5a7a2f1f350c60463a170526640316a00ed4d3eb783865ca217fc35e17ee076bdd81e66f95123986

Analysis: behavioral2

Detonation Overview

Submitted

2024-12-25 12:54

Reported

2024-12-25 12:55

Platform

android-x64-20240624-en

Max time kernel

27s

Max time network

68s

Command Line

com.luwepocodibe.sama

Signatures

Obtains sensitive information copied to the device clipboard

collection credential_access impact
Description Indicator Process Target
Framework service call android.content.IClipboard.addPrimaryClipChangedListener N/A N/A

Queries information about running processes on the device

discovery
Description Indicator Process Target
Framework service call android.app.IActivityManager.getRunningAppProcesses N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock N/A N/A

Makes use of the framework's foreground persistence service

evasion persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.setServiceForeground N/A N/A

Queries the mobile country code (MCC)

discovery
Description Indicator Process Target
Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone N/A N/A

Reads information about phone network operator.

discovery

Registers a broadcast receiver at runtime (usually for listening for system events)

persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.registerReceiver N/A N/A

Schedules tasks to execute at a specified time

execution persistence
Description Indicator Process Target
Framework service call android.app.job.IJobScheduler.schedule N/A N/A

Uses Crypto APIs (Might try to encrypt user data)

impact
Description Indicator Process Target
Framework API call javax.crypto.Cipher.doFinal N/A N/A

Checks CPU information

Description Indicator Process Target
File opened for read /proc/cpuinfo N/A N/A

Checks memory information

Description Indicator Process Target
File opened for read /proc/meminfo N/A N/A

Processes

com.luwepocodibe.sama

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 142.250.187.200:443 ssl.google-analytics.com tcp
US 1.1.1.1:53 null udp
GB 142.250.200.46:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.180.14:443 android.apis.google.com tcp
NL 45.154.98.56:3434 tcp
GB 142.250.187.228:443 tcp
GB 142.250.187.228:443 tcp
NL 45.154.98.56:3434 tcp
NL 45.154.98.56:3434 tcp

Files

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-journal

MD5 d93d7570b3dff4e8b4c2ff3f386b74b4
SHA1 79b5edbc90538f3a0bc4fe7ee0e3a23c6e8f6ed9
SHA256 9c558c243511d1f5d271f317aba49f23cc407acf094d931eb0abc5372c65171f
SHA512 958d9981008242487251783345ed9587a34cdfd2e04ce23d797aae1bc75c7db2eff5bf73c2ec9aa5f22730383c552b4823c0b831ff5832b0e388c5f880480932

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb

MD5 f2b4b0190b9f384ca885f0c8c9b14700
SHA1 934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA256 0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512 ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-shm

MD5 bb7df04e1b0a2570657527a7e108ae23
SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 c1ee634967ac357dbd7bb433323a5897
SHA1 775e5e9ba992ba7650826e6101c3e0df8897af97
SHA256 44684df4cceb4d0bf66cb8853dfb0af123f4f6a1e156a8f6f2228b0a60b2899e
SHA512 61b44b6154e5a1a656f89a25785a2a55d99eb702db19db40e0630202ab401a3087e1e23c9a999412368a05aef40b6439381952a036311c29be03766d7f6b63db

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 3d8fcdca850ffa252fbf4838f33dff03
SHA1 a7b2e915d2b54969c4fce0034b1060fb37189208
SHA256 0449a828fe07c5cf87fb46cdaee5d13008052711db4b16a5da37a4b1231fb1b5
SHA512 023f983b93a8587630768a187886ecbeca7862d79b2cc6d686464b6140a7825cebe3c81cd573eeab5a200ec07a35838bcea739fc9260426e21c37964713899ab

/data/data/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 82a3dacc8c87d8d163a3d32436f514a0
SHA1 ad3b06ba4d8c30fa28fbb026419e01b3dd74f733
SHA256 48fd4221657038e9097824525f7fb5f6428ebda7d1bf296c20d485263f10c797
SHA512 fcdccee2dedd1eeb93be48b508fc0c397dbd5af22f1bf05b54ee9e259ad0e1d8f32033bd402cd263e63f8207b1f8c4a66a61cd7d4276e228107c76c9cc93a5cb

Analysis: behavioral3

Detonation Overview

Submitted

2024-12-25 12:54

Reported

2024-12-25 12:55

Platform

android-x64-arm64-20240624-en

Max time kernel

69s

Max time network

77s

Command Line

com.luwepocodibe.sama

Signatures

Hook

rat trojan infostealer hook

Hook family

hook

Makes use of the framework's Accessibility service

collection evasion credential_access
Description Indicator Process Target
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId N/A N/A

Obtains sensitive information copied to the device clipboard

collection credential_access impact
Description Indicator Process Target
Framework service call android.content.IClipboard.addPrimaryClipChangedListener N/A N/A

Queries information about running processes on the device

discovery
Description Indicator Process Target
Framework service call android.app.IActivityManager.getRunningAppProcesses N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

Acquires the wake lock

Description Indicator Process Target
Framework service call android.os.IPowerManager.acquireWakeLock N/A N/A

Makes use of the framework's foreground persistence service

evasion persistence
Description Indicator Process Target
Framework service call android.app.IActivityManager.setServiceForeground N/A N/A

Queries information about the current Wi-Fi connection

discovery
Description Indicator Process Target
Framework service call android.net.wifi.IWifiManager.getConnectionInfo N/A N/A

Queries the mobile country code (MCC)

discovery
Description Indicator Process Target
Framework service call com.android.internal.telephony.ITelephony.getNetworkCountryIsoForPhone N/A N/A

Schedules tasks to execute at a specified time

execution persistence
Description Indicator Process Target
Framework service call android.app.job.IJobScheduler.schedule N/A N/A

Uses Crypto APIs (Might try to encrypt user data)

impact
Description Indicator Process Target
Framework API call javax.crypto.Cipher.doFinal N/A N/A

Checks CPU information

Description Indicator Process Target
File opened for read /proc/cpuinfo N/A N/A

Checks memory information

Description Indicator Process Target
File opened for read /proc/meminfo N/A N/A

Processes

com.luwepocodibe.sama

Network

Country Destination Domain Proto
GB 216.58.212.238:443 tcp
GB 216.58.212.238:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 172.217.169.46:443 android.apis.google.com tcp
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 android.apis.google.com udp
GB 172.217.169.46:443 android.apis.google.com tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 216.58.212.232:443 ssl.google-analytics.com tcp
US 1.1.1.1:53 null udp
GB 142.250.187.228:443 tcp
GB 142.250.187.228:443 tcp
GB 142.250.200.14:443 tcp
GB 142.250.178.2:443 tcp

Files

/data/user/0/com.luwepocodibe.sama/no_backup/androidx.work.workdb-journal

MD5 e132dcd156e22fa202065a133c3a39aa
SHA1 71b86b90ef47a246a89880debdf050fd552107cd
SHA256 1c6d18f50a16a48faa891a220e8df26051db07289e9a9ab9bc58bd02537e1072
SHA512 cb590186f6e129e55fa83e37fab6fd97c4233f6206b9a735976ca68a19be98f9465af11c566777a8bcd56787307c8a64020bd20d69922df39c2a39a5b25dc35b

/data/user/0/com.luwepocodibe.sama/no_backup/androidx.work.workdb

MD5 7e858c4054eb00fcddc653a04e5cd1c6
SHA1 2e056bf31a8d78df136f02a62afeeca77f4faccf
SHA256 9010186c5c083155a45673017d1e31c2a178e63cc15a57bbffde4d1956a23dad
SHA512 d0c7a120940c8e637d5566ef179d01eff88a2c2650afda69ad2a46aad76533eaace192028bba3d60407b4e34a950e7560f95d9f9b8eebe361ef62897d88b30cb

/data/user/0/com.luwepocodibe.sama/no_backup/androidx.work.workdb-shm

MD5 bb7df04e1b0a2570657527a7e108ae23
SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

/data/user/0/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 58c6a257bdf4feefa3ebf8dd5b47b8c1
SHA1 f6c75b8728671e2c5232fea37ac70ef9653e8a65
SHA256 2920af3dba81f196105a6c2d311eeb74ea1003396feefe1835d3ee412f575a89
SHA512 2200e1391e9416103d51745a8156ce803e64fc6f7f336eea245b7ee6e724d5371cd4baf5ffda3d4d316ef1503351a8348ae8db26310f6395826d8417fbd7db03

/data/user/0/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 5696a935b4a7cbbc182fc9e51ef3bdb3
SHA1 4a53f63f6fc41fa8e9a4aa0ffd690e5b938c27b0
SHA256 f7a48e5e13a887ea47e05c89688d023bf5715908082a461cedb81c135048fead
SHA512 724acb939246646560c092520f96a9f2b291f7b972b1a8df2bad6a21f0f0e72673189cb2fe3f0ea751bbd19124eff42f9e08ef4737c64df68f2b93501be6cff2

/data/user/0/com.luwepocodibe.sama/no_backup/androidx.work.workdb-wal

MD5 904683d70827ac679830705df12d7f76
SHA1 9bbcb0269c5fcf76d69ee36bccdc624b7e40e5ce
SHA256 8eb646c64f2341fc8a75511778a7ecc2cee7cf687a77eae3679671bf37b5b8ad
SHA512 46e646420649e0e276400f0ef162f3556c781c7b7ba32d643216c4e347dbd4e2295e484d261c87005d7a8e2cb488a9971544c08618eb07c231e9d1011e5f85eb