Malware Analysis Report

2024-09-09 15:31

Sample ID 240314-kxrsysfg21
Target a3b73640d3df40f8170d3dfb8457ec143aea6a3859daed3ba70b8ca416a98664
SHA256 a3b73640d3df40f8170d3dfb8457ec143aea6a3859daed3ba70b8ca416a98664
Tags
hook collection discovery evasion infostealer rat trojan ermac
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

a3b73640d3df40f8170d3dfb8457ec143aea6a3859daed3ba70b8ca416a98664

Threat Level: Known bad

The file a3b73640d3df40f8170d3dfb8457ec143aea6a3859daed3ba70b8ca416a98664 was found to be: Known bad.

Malicious Activity Summary

hook collection discovery evasion infostealer rat trojan ermac

Hook

Ermac family

Ermac2 payload

Makes use of the framework's Accessibility service

Declares broadcast receivers with permission to handle system events

Declares services with permission to bind to the system

Requests dangerous framework permissions

Acquires the wake lock

Reads information about phone network operator.

MITRE ATT&CK Matrix

N/A

Analysis: static1

Detonation Overview

Reported

2024-03-14 08:59

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-03-14 08:59

Reported

2024-03-14 09:04

Platform

android-x86-arm-20240221-en

Max time kernel

147s

Max time network

147s

Command Line

com.tencent.mm

Signatures

Hook

rat trojan infostealer hook

Makes use of the framework's Accessibility service

collection evasion
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

Acquires the wake lock

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

Reads information about phone network operator.

discovery

Processes

com.tencent.mm

Network

Country Destination Domain Proto
GB 216.58.212.202:443 tcp
N/A 224.0.0.251:5353 udp
US 1.1.1.1:53 semanticlocation-pa.googleapis.com udp
GB 172.217.16.234:443 semanticlocation-pa.googleapis.com tcp
GB 142.250.187.206:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.178.14:443 android.apis.google.com tcp
GB 216.58.212.202:443 semanticlocation-pa.googleapis.com tcp

Files

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

MD5 3be53984b3f9e9e31eb21badb9af4e53
SHA1 7e6367e3878ba9c335cf7f8c0b6247d466c6e84b
SHA256 598c0b1a817ff001c2eab86ffa0bc5ff78d4c9b701108afcc42064805187beab
SHA512 5781d85065afb4cd295057d89d2c3ce4026d9f56fa0c269c1902ad25a0821e794e5505cc10cebd03bf54561600e071c8b03e917e9f4a56cda4d1e7e2e962b7d5

/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 cf845a781c107ec1346e849c9dd1b7e8
SHA1 b44ccc7f7d519352422e59ee8b0bdbac881768a7
SHA256 18619b678a5c207a971a0aa931604f48162e307c57ecdec450d5f095fe9f32c7
SHA512 4802861ea06dc7fb85229a3c8f04e707a084f1ba516510c6f269821b33c8ee4ebf495258fe5bee4850668a5aac1a45f0edf51580da13b7ee160a29d067c67612

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

MD5 0b15bb9be47e8137f7751267f4de3832
SHA1 aa4cf988a2f368782db9ba4969924c70d4026578
SHA256 773078f6d56318bfc820c5e540534aabd8b3c50d5ad84606fd8eaf45d6c99716
SHA512 42160b4913b345018ea1f42442e13a59ed1cd93b81c5aeb72c7091285173370a9d1690c64a1874a744af687195ef4f84f797e99bd1c6875efd6c5692267e8c68

Analysis: behavioral2

Detonation Overview

Submitted

2024-03-14 08:59

Reported

2024-03-14 09:03

Platform

android-x64-20240221-en

Max time kernel

151s

Max time network

160s

Command Line

com.tencent.mm

Signatures

Hook

rat trojan infostealer hook

Makes use of the framework's Accessibility service

collection evasion
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

Acquires the wake lock

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

Reads information about phone network operator.

discovery

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.212.200:443 ssl.google-analytics.com tcp
GB 142.250.178.14:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
US 1.1.1.1:53 android.apis.google.com udp
GB 172.217.169.78:443 android.apis.google.com tcp
GB 216.58.213.4:443 tcp
GB 216.58.213.4:443 tcp
GB 142.250.178.14:443 tcp
GB 216.58.212.226:443 tcp

Files

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

MD5 46233ec1a3cab9ac7193f35a31bbfff3
SHA1 fa226fdf283130b90e79010289f85a46f8c662c1
SHA256 9b062f03b4a7dfd80e9af93cb758f461a2dc3689784610edf031d60a6846a776
SHA512 6e64b1946814b37746a8602f284a29a7d782e89ec422c99740dccddee0a5e51226bbf4727220f872863ce0b4503f9a2093e01943bdf7be5118483c1eb12d2d6d

/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 941b824f6f14276f1a3b4bb02e137417
SHA1 b5633aad590b2b86aa43e97a8631b87d6d1bebeb
SHA256 5cd5ded3086bfbd0433c839e096d430003a64b502557b41c341bc63e82d3dc1f
SHA512 17488c1ba38d00b34c58116d4093ea9c14f5d47754dd4f944062b09338054b38fa30c179011dd5395e6d4e41b1d2864a6862030246e8308e82509c6852cac5a2

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

MD5 6937c925535efcd887bb521724bcfce4
SHA1 15e420ae95439628723eb6ec657ec1efaabce185
SHA256 08a62645e8ce9ca7d07ccfe16fd3c0a6e57b7118b6aa6daa25e92cbb1a34128f
SHA512 07db0425082d66e3042a71d959e870458bcf780fb02c494705971e16a84eb54f044cbaad6a8d1ee0721c3a8194a628466a6c9f0b45589005da4954cabc1561a3

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

MD5 ec155f287d56deee529d6f31a7bf9758
SHA1 3ba7a7fc7747718125ff7874b0af8a9b40228024
SHA256 a5e0ecb66abc96a5ace6e2af0ba6e82d0b64d90d2a952fd9f21caf05e5a856e3
SHA512 6e6c8dd1de05fdfdeff81d7e53355f6509ee170b9509d585aafaf701461fa87d5d12a8770a0b160526d8a742dfd514892f9e7c63b89a3f9be47044b677b8653d

Analysis: behavioral3

Detonation Overview

Submitted

2024-03-14 08:59

Reported

2024-03-14 09:02

Platform

android-x64-arm64-20240221-en

Max time kernel

152s

Max time network

152s

Command Line

com.tencent.mm

Signatures

Hook

rat trojan infostealer hook

Makes use of the framework's Accessibility service

collection evasion
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

Acquires the wake lock

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

Reads information about phone network operator.

discovery

Processes

com.tencent.mm

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
GB 172.217.169.74:443 udp
GB 216.58.213.14:443 udp
GB 142.250.178.14:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.180.14:443 android.apis.google.com tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 142.250.187.232:443 ssl.google-analytics.com tcp
GB 172.217.169.4:443 tcp
GB 172.217.169.4:443 tcp

Files

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

MD5 0d1893714288f58f68f5aec9c42b617d
SHA1 0aea4075ea6bbcfe47555f60436f904ea984d6ce
SHA256 d7f02c707409c946f67df6376952c24decbdc544fce1c64da28d28538b1c9326
SHA512 245d05724584ee4d31a74a465d5e8f33fcba8deb3258f5199ebf9a5956347522fd0b3ed7c1ecd77b75f51ce127b80e9b0f1e8c56c4c9b71ee58e4d8e63f9bbdf

/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 dec4b9d7891e66909c9bba25023c7c23
SHA1 d296b9b30198b4b0556bad0b9f6a9bf652402615
SHA256 90570960ba08aac938adfcf17c346ac35ec95af8f73e6d8e78a242f40f59a941
SHA512 d2a5ebfae67ddadf22b4256d858958fb28992aefb163b9cc9f574c6c8c8cd349c4b120ad0e3e50117a928f6d79d8c1176a0100dd6985a889559ee2d5fe65460c

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

MD5 1869c8e3e894a036fa47edff7a7a7f9e
SHA1 f0d609b8d5651727611a0ba41a2b21a0ce1d4b6b
SHA256 ff934be059a2d7b2b4002352247f27ce0c193d50b0dd985e514fc0439ffe7574
SHA512 c1e5ee404a802fffd4e938204f7a7638712fa50f6e61c7af049a0569810ae9b1d1cfa0f586be8780cb125407d062747e625d6a364a49f9e142564ef6c530c10a