Malware Analysis Report

2024-07-28 11:43

Sample ID 240614-2gbkgasenm
Target 7f2b1dcdb486730421552c9dd6bf09e9d386e2d59ca5fc542bbc66b0b2181c47.bin
SHA256 7f2b1dcdb486730421552c9dd6bf09e9d386e2d59ca5fc542bbc66b0b2181c47
Tags
hook collection credential_access discovery evasion execution impact infostealer persistence rat trojan ermac
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral3

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

7f2b1dcdb486730421552c9dd6bf09e9d386e2d59ca5fc542bbc66b0b2181c47

Threat Level: Known bad

The file 7f2b1dcdb486730421552c9dd6bf09e9d386e2d59ca5fc542bbc66b0b2181c47.bin was found to be: Known bad.

Malicious Activity Summary

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

Hook

Hook family

Ermac2 payload

Ermac family

Obtains sensitive information copied to the device clipboard

Queries information about running processes on the device

Makes use of the framework's Accessibility service

Queries the phone number (MSISDN for GSM devices)

Reads information about phone network operator.

Queries the mobile country code (MCC)

Declares services with permission to bind to the system

Makes use of the framework's foreground persistence service

Queries information about the current Wi-Fi connection

Requests dangerous framework permissions

Acquires the wake lock

Declares broadcast receivers with permission to handle system events

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

Uses Crypto APIs (Might try to encrypt user data)

Schedules tasks to execute at a specified time

Checks memory information

Checks CPU information

MITRE ATT&CK Matrix

N/A

Analysis: static1

Detonation Overview

Reported

2024-06-14 22:32

Signatures

Ermac family

ermac

Ermac2 payload

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

Hook family

hook

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: behavioral2

Detonation Overview

Submitted

2024-06-14 22:32

Reported

2024-06-14 22:35

Platform

android-x64-20240611.1-en

Max time kernel

176s

Max time network

187s

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 172.217.16.232:443 ssl.google-analytics.com tcp
BG 93.123.39.235:3434 tcp
GB 172.217.16.234:443 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.200.46:443 android.apis.google.com tcp
BG 93.123.39.235:3434 tcp
GB 172.217.16.226:443 tcp
GB 142.250.178.14:443 tcp
BG 93.123.39.235:3434 tcp
GB 172.217.169.46:443 tcp
GB 142.250.178.4:443 tcp
GB 142.250.178.4:443 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp

Files

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

MD5 c9d9cf83d74d316f2d2af69823de681d
SHA1 037616d336c3acd3fb213dd9e160dc1247c716dc
SHA256 35c0af4d092702f83a0294a2b539b8b760e13ef7eb0960b8a93ac7ee271f5dc6
SHA512 93fad38d46382f8b80c9a78147d562d68d69ac1e898c3645c5991e7277f3ebc8928c6e259b392c306a5d49316de172b7eb14a313d23c80f032b33f04ff70c7fc

/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 05817865f5152012a907c64096081110
SHA1 383421ae408e61ac28758d9bf006025b356b6bd3
SHA256 1daab943b4ed389435bb9c6afc3986258894abad1f8eda591a1bcc18304a204c
SHA512 cc318ff006a408e14cec02f0c06a933be5252b6d7a96648487203bff5c80b94ee7aff454a74c03dc2c190b0f9e9660ec195f53a62f790ba3d380bd6d6e6ae392

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

MD5 780c019ca27ee216f72730a62c8d13f6
SHA1 e266c662093140c5c4204da2ce02000bcbbb78aa
SHA256 80f514118dbf18322c5320da6c11d9e7637cd5d280d5b352838dbc4b0ce6acc7
SHA512 3a12983c3e20cd4897b3648a5d36f7a16c275a3859335e1dc7f9e7fc79dd9b29a65210ef1365a0b6b20c03fe9ee054ddd90f3586a15ecb73f3588a47d39d767e

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

MD5 15da404b50a979c0a371be5e81076a48
SHA1 d890d3fe4e13a19e8ccd6e5d869092b60227519e
SHA256 36b1bcee9ff8bb2441b2ed119865d24cc61cd02c3e77b9f14695fbb251eb4873
SHA512 a4b08372c02aadc1efcf2c291b7ec270ec41a03d27c934504f9f6c7be00fa8c180615faed98baf05600146ce03ec2155b58f0bb61beffc26194fd0c658021e8c

Analysis: behavioral3

Detonation Overview

Submitted

2024-06-14 22:32

Reported

2024-06-14 22:35

Platform

android-x64-arm64-20240611.1-en

Max time kernel

175s

Max time network

186s

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

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
N/A 224.0.0.251:5353 udp
BG 93.123.39.235:3434 tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 172.217.169.8:443 ssl.google-analytics.com tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
GB 142.250.187.238:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.179.238:443 android.apis.google.com tcp
BG 93.123.39.235:3434 tcp
GB 142.250.179.228:443 tcp
GB 142.250.179.228:443 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp

Files

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

MD5 c36dee1486b0cbf4cbc4a7bf9cc8dab1
SHA1 5353b21d883c9d1b528ac77e5880fb4a46597ecf
SHA256 fe29932c1ea369690fb6571ade28f6d203d32ba8d1d4a98474ff0bcdd940fe2f
SHA512 974c2cf7ae913e14df540c515cc0ff2a3fa0843f6bf098c22f938104f819a28d2cfda1bb78a0ded4d634291021ba2f8518c8d0705395ddfa6acef519aa9b7dcd

/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 f991088b336db316a4ba027e3726a276
SHA1 11469909414f989c6e376d1b8eac2c0d3759ca17
SHA256 879749738aa00de6f2609a0eb1c837d968e1292dfe6c6180b6fd768b667393bd
SHA512 ea7465909fc950ec3a0f17d4b4fb9566fae876555252f8bf769befde877a7b50f655230e59963cd105171b3275b4cc60b773187c94270cf3e58685435b9554e5

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

MD5 2fda6fa5f704d45fbb1dab7723d1752a
SHA1 4cd397de7a5177e25fb4295d7a448c37c86623cc
SHA256 fcef0f06008202219862e141482d365a50514fde41365c604d56d8d2b0e09d96
SHA512 915ed6cd4c5711ae66eb82cab057fc264b9fb7186895e04d5e58aa578d08193e236a1cbe5ee7d6689b96a9371fc6b4034b58b1148e3b9dfa5802925b48e1c3c7

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

MD5 7748822d0c0622b8d14f57fb547ebb4c
SHA1 8f7f17bb6b9877d80bb8dd7263b007c7ec3556a4
SHA256 e34f201490de1930ed215fdefe89cf499b11c3354c5914bc403ef4c4436a640d
SHA512 33a74c335a22a4defa90eaa82abfdc7d06ac809930ba1e03da72120eb5d41ac30122321c7d968f481ce177ff19b5eb016246ae99d98e8a0cd8ef2324caedaff7

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-14 22:32

Reported

2024-06-14 22:35

Platform

android-x86-arm-20240611.1-en

Max time kernel

179s

Max time network

186s

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.findAccessibilityNodeInfosByText N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfosByViewId N/A N/A
Framework service call android.accessibilityservice.IAccessibilityServiceConnection.findAccessibilityNodeInfoByAccessibilityId 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
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
GB 216.58.212.238:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.178.14:443 android.apis.google.com tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp
BG 93.123.39.235:3434 tcp

Files

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

MD5 8e87e7e68cc23310ed1a0c291a0a0075
SHA1 83a3006b1ce03aa5ac349d532223ae4045f595f4
SHA256 5cb373b652725c002e6e94e5181fd22756b084056218ac0d5d8300091d81c009
SHA512 6624172f17d4b37644277b1443f2c071b637f6881122a2ca9d3c4c43e48062eb81e44f7c90053f98ae51d49ea1ef1e7a9926969ca3916b059f1c1eeede638b7d

/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 8e758ca5f7042d2ca188db98b7fd17a3
SHA1 4d622c13696e7f4b675808e458588ba7dfae5748
SHA256 4732ad7ad607c89ab21050bce9f40d6214fd15c4fed8d5c68e0602721e2e7356
SHA512 4146ef8df9765d0a14ab0217c1528d42c34e4541af9e45fec605aa8c7387231dacb31ddfeba702334e43219c6953a072a957274bddcc5b71de46fb1fb80c7e56

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

MD5 48b73a1e1e880802fcff2d2cc0d6df88
SHA1 23dff38c91c0969b74bb7bde8d4acbfae545a17c
SHA256 c6317edd314822dcd297e33ab1d540630251d22d39cf3bf5578a4bdcb265a63f
SHA512 7d46d7ed2ad9249fe9686b3789dcde435d25f6099cfea9ebe330d1b4c3bb6ac79e115a38ec85085f1016351d9e6db3ec1677de2c6a70849d1865624c3bff939e

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

MD5 401982f3fe06a76aad8e613c90dd2e27
SHA1 e67379ef0f0d8075f461617764de8318339c9cbd
SHA256 e45c3b1c65427a3d19ecf2006c98b3b10465164f1cf9f133a6cb05107fe46410
SHA512 7bcc7e446bc81968ecb1f283a8a94b99b060583095c1a105f7175de1d8f8cac5b26516ec48bcc606f5acf79258237650c1604a5d2ea82a87cbbacc4f50b48562