Malware Analysis Report

2024-07-28 11:43

Sample ID 240614-11214a1hjj
Target 9073568a1855141fa0de08a35fb37216b8571bd92cc45a564af2d787e8924aca.bin
SHA256 9073568a1855141fa0de08a35fb37216b8571bd92cc45a564af2d787e8924aca
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 Matrix

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

9073568a1855141fa0de08a35fb37216b8571bd92cc45a564af2d787e8924aca

Threat Level: Known bad

The file 9073568a1855141fa0de08a35fb37216b8571bd92cc45a564af2d787e8924aca.bin was found to be: Known bad.

Malicious Activity Summary

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

Hook

Ermac family

Ermac2 payload

Queries information about running processes on the device

Makes use of the framework's Accessibility service

Obtains sensitive information copied to the device clipboard

Queries the phone number (MSISDN for GSM devices)

Requests dangerous framework permissions

Makes use of the framework's foreground persistence service

Queries information about the current Wi-Fi connection

Queries the mobile country code (MCC)

Declares services with permission to bind to the system

Acquires the wake lock

Reads information about phone network operator.

Declares broadcast receivers with permission to handle system events

Schedules tasks to execute at a specified time

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

MITRE ATT&CK Matrix

N/A

Analysis: static1

Detonation Overview

Reported

2024-06-14 22:07

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
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
Allows an application a broad access to external storage in scoped storage. android.permission.MANAGE_EXTERNAL_STORAGE N/A N/A
Allows an application to read or write the system settings. android.permission.WRITE_SETTINGS N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-14 22:07

Reported

2024-06-14 22:11

Platform

android-x86-arm-20240611.1-en

Max time kernel

42s

Max time network

137s

Command Line

com.tencent.mm

Signatures

Hook

rat trojan infostealer 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

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

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.tencent.mm

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 semanticlocation-pa.googleapis.com udp
US 1.1.1.1:53 ws.lookonstars.tech udp
GB 142.250.187.206:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.187.238:443 android.apis.google.com tcp
US 1.1.1.1:53 gist.githubusercontent.com udp
US 185.199.110.133:443 gist.githubusercontent.com tcp
US 185.199.110.133:443 gist.githubusercontent.com tcp
US 185.199.110.133:443 gist.githubusercontent.com tcp

Files

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-journal

MD5 d9d37263382c18e83d9a840d120dc2e8
SHA1 b588adb4c19190e33d83866435554c3542c61ef5
SHA256 6acaae6cb461f7b8bf8c3b471b30cde443ca6977460ec66d99aa90c74c2b8314
SHA512 bb2be51d07442ecbd42362593e80e9a7cea82b3aa957f833df31d74847a6ddea1b005ea7d2bd054a03834fb4a7e0650e8ec6d219d5f80f02b3437dd9695b83f7

/data/data/com.tencent.mm/no_backup/androidx.work.workdb

MD5 f2b4b0190b9f384ca885f0c8c9b14700
SHA1 934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA256 0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512 ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-shm

MD5 bb7df04e1b0a2570657527a7e108ae23
SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 3464247ae60feb9c9e55f7d11439f9ed
SHA1 784b98ea08a5aa3fb5bb8cd35594f03789b6e7f6
SHA256 2e4b1de58f0a037a17b8389d86bf86f8298a6a6c126b1e9c7dbf03cacaa8cbe5
SHA512 e073acffd73af05b8b5b3f9c5db940f9678446cff9d426166bdc6f0bc7bf1d0f95e68473accd941bfac586e7a423d420596413b18b6e80ce3777c9294dac04ca

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 3400f49c25f3b9399e2bcd50d8c8f883
SHA1 8ce699170d09b72b2602ca82bfbbf4890d5c894c
SHA256 d69ac975895b3a1f956d9dd4946be0fc102f61e1fab1a8018b2581a9a19b4c65
SHA512 0f5833c6b1e4628605a1ce9cc3891a54f0d9e2b9e9b9f7b897ef466b5144752d356ec43e0e3cdc28ae8ed871ec98dec02ccd87e4e4263ce6c4f3cccd16ad70e9

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 5c215069a8631d17362d3d44d38c8c4e
SHA1 4aad5a8389aae75cce1aec2b9d795e178c331bcb
SHA256 3e9f7136980b4c4d241d39fe3a850b9d9290cf40bc6c88abe8aa09e0c449fef3
SHA512 291dd238e9057134677facf57d35f9d01d10c3dea45f1679e568365f62fcefff93bccfb86b956403e0012a06753c4167a3dfc1624e5c0917fe14fc8b28079a5a

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-14 22:07

Reported

2024-06-14 22:11

Platform

android-x64-20240611.1-en

Max time kernel

179s

Max time network

170s

Command Line

com.tencent.mm

Signatures

Hook

rat trojan infostealer hook

Makes use of the framework's Accessibility service

collection evasion credential_access
Description Indicator Process Target
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByText 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

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.tencent.mm

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 216.58.204.72:443 ssl.google-analytics.com tcp
GB 172.217.16.234:443 tcp
US 1.1.1.1:53 ws.lookonstars.tech udp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.200.46:443 android.apis.google.com tcp
US 1.1.1.1:53 gist.githubusercontent.com udp
US 185.199.110.133:443 gist.githubusercontent.com tcp
US 185.199.110.133:443 gist.githubusercontent.com tcp
GB 172.217.169.46:443 tcp
GB 172.217.16.226:443 tcp
GB 142.250.178.14:443 tcp
GB 142.250.178.4:443 tcp
GB 142.250.178.4:443 tcp

Files

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-journal

MD5 62be0b33a9c2d40e508aec4397c61057
SHA1 1044e2b8bd8b85a169b3f2a1abd1feb0b6b371f2
SHA256 c3a3bd7eb5eee5a7a048b3350e4b3713ce73b0b600d154a4934cb1054305dd64
SHA512 40e84f6438da62b5dd8ec962d6c0b71d338e191a04170a12d54b95239ccf736b376be3a60b6f34bf7a6e88232b6e1e540971bc9fb850ac86153a7c371e8e6ac6

/data/data/com.tencent.mm/no_backup/androidx.work.workdb

MD5 f2b4b0190b9f384ca885f0c8c9b14700
SHA1 934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA256 0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512 ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-shm

MD5 bb7df04e1b0a2570657527a7e108ae23
SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 6e5ef57fcd4c518c5d6d3cf41580f43f
SHA1 d2f132a4aeca0bb559cd8acd4377728f87e7e685
SHA256 0c3a7cfdf67c025f27faad3cd33b5670e81ad139c6f9b4a51552d3509d5e7c91
SHA512 8e8e8a2ea2f842e5287d5b8abbaca43b92391434356d3d5fdd2d48ac06fda9f60e6ea04b3364cba1a81a25c3ac034af11c4539d682cf4b67972be50f3db6db8c

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 2a2bf18060a5a07bc02eef28b644fb38
SHA1 81e79cf0306c106c61ba61abebfef21108decd63
SHA256 773885c86e925d309a901101da5023ccd252fc5aaee9253be53b7e4aebf4ede8
SHA512 e9df876e881c2d718b91a70d20e40a5b8bb38adf127e9fe8320b3c02d1ebb11e4dfe4521146e54deb8bf310a94567d19f365eb01a52f442480e43d3329a9b30f

/data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 e45928e80191aeded38c78124ce7dac2
SHA1 2820afc517b4258141d1640722c9069914233186
SHA256 fc290a453117812b0e88b63355e3fd3cea9d56fcd47c0314c39344221f21caf5
SHA512 58c4dc70e36853873cc57dc1f1496a941f7e4e5b5d6aaa7fc8aed62676b3d8ddacc4e439982a40c656db793b8f6c685f178a4fc2565598fc54555e28c8768a9f

Analysis: behavioral3

Detonation Overview

Submitted

2024-06-14 22:07

Reported

2024-06-14 22:11

Platform

android-x64-arm64-20240611.1-en

Max time kernel

177s

Max time network

133s

Command Line

com.tencent.mm

Signatures

Hook

rat trojan infostealer 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

Reads information about phone network operator.

discovery

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.tencent.mm

Network

Country Destination Domain Proto
GB 142.250.187.206:443 tcp
GB 142.250.187.206:443 tcp
N/A 224.0.0.251:5353 udp
GB 216.58.212.234:443 tcp
GB 216.58.212.234:443 tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 216.58.201.104:443 ssl.google-analytics.com tcp
US 1.1.1.1:53 ws.lookonstars.tech udp
US 1.1.1.1:53 gist.githubusercontent.com udp
US 185.199.108.133:443 gist.githubusercontent.com tcp
GB 216.58.212.196:443 tcp
GB 216.58.212.196:443 tcp

Files

/data/user/0/com.tencent.mm/no_backup/androidx.work.workdb-journal

MD5 71657568dc9c245aa9160c7775badc1e
SHA1 4c2ae6a57648b7fce1dd517243ac7da3182444ea
SHA256 948542c83e6ed3f37d68b33cb22898c93d52d90e86d38a3e38b25bc893f3635f
SHA512 90974c0fc44d9f7bf4c3cec6048d4c3ecebf484e6ae690fe8b5e59f328231648e445938a3fe375a457d82da0799d944bf60cebfd7db577ab38b3a604a9749747

/data/user/0/com.tencent.mm/no_backup/androidx.work.workdb

MD5 7e858c4054eb00fcddc653a04e5cd1c6
SHA1 2e056bf31a8d78df136f02a62afeeca77f4faccf
SHA256 9010186c5c083155a45673017d1e31c2a178e63cc15a57bbffde4d1956a23dad
SHA512 d0c7a120940c8e637d5566ef179d01eff88a2c2650afda69ad2a46aad76533eaace192028bba3d60407b4e34a950e7560f95d9f9b8eebe361ef62897d88b30cb

/data/user/0/com.tencent.mm/no_backup/androidx.work.workdb-shm

MD5 bb7df04e1b0a2570657527a7e108ae23
SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

/data/user/0/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 8879e99def506686e601f65a4dfac217
SHA1 5f08ec5cc2a4ac85d9445274e843f5c8b1336fbd
SHA256 bac34922661e8ad8442d96b9220c312a41ac2193d03ce92acedab5a8d943a370
SHA512 5f885f99792d5c7b9246316940b67462e827f55c55b88d577487185b724b7b470706115dea0f33aeab445d2bb47c2956d152d4e0dba107592634e0a1bfe54fb6

/data/user/0/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 bbd8cb4e1ccbdd600888f40ff4045d4e
SHA1 571d4e360ca47062f15f7a10cbe44748f47476b3
SHA256 95e64360f40972cb0eca85324d0d8b3877cd3cf467a496d02da049294baaa503
SHA512 131a7f1d2acff3ef6eb76d1ff1b5d979352f0e149cc059c4813ebe69116d784ab873e53c04331d6998444c97f08cca4977d66fa17774d31b08d7acbe9852466b

/data/user/0/com.tencent.mm/no_backup/androidx.work.workdb-wal

MD5 44c81aa81c15fe9b1ff939e30aa68968
SHA1 5b97377c52388a0594d95b6b115a3560c6f8c9b7
SHA256 6685119492194b07f6a71702a637e86928ce31f1d93871abb9e262082fbb3c6b
SHA512 9fdd2a6210701c9b48a84876fa9ff5185d98657a48fac0cbbfaf86e68891962f36aab2876046aea34a1a3674f5790fed7e92655d8009863c9074069189d2a0f5