Malware Analysis Report

2024-09-09 14:36

Sample ID 240501-1w5lesbc27
Target 1c2aa3d2a5447dcde6a048109dabd269ecc3aed19053fc6feacda31c69c1ed34.bin
SHA256 1c2aa3d2a5447dcde6a048109dabd269ecc3aed19053fc6feacda31c69c1ed34
Tags
ermac hook collection credential_access discovery evasion infostealer persistence rat trojan stealth
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

1c2aa3d2a5447dcde6a048109dabd269ecc3aed19053fc6feacda31c69c1ed34

Threat Level: Known bad

The file 1c2aa3d2a5447dcde6a048109dabd269ecc3aed19053fc6feacda31c69c1ed34.bin was found to be: Known bad.

Malicious Activity Summary

ermac hook collection credential_access discovery evasion infostealer persistence rat trojan stealth

Hook family

Ermac2 payload

Ermac family

Hook

Removes its main activity from the application launcher

Makes use of the framework's Accessibility service

Queries information about the current Wi-Fi connection

Queries information about running processes on the device

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

Makes use of the framework's foreground persistence service

Queries the phone number (MSISDN for GSM devices)

Requests enabling of the accessibility settings.

Declares services with permission to bind to the system

Requests dangerous framework permissions

Acquires the wake lock

Reads information about phone network operator.

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

Declares broadcast receivers with permission to handle system events

MITRE ATT&CK Matrix

N/A

Analysis: static1

Detonation Overview

Reported

2024-05-01 22:00

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

Detonation Overview

Submitted

2024-05-01 22:00

Reported

2024-05-01 22:11

Platform

android-x86-arm-20240221-en

Max time kernel

19s

Max time network

155s

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

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 running processes on the device

discovery
Description Indicator Process Target
Framework service call android.app.IActivityManager.getRunningAppProcesses 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

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

Requests enabling of the accessibility settings.

Description Indicator Process Target
Intent action android.settings.ACCESSIBILITY_SETTINGS 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

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

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
GB 172.217.169.10:443 semanticlocation-pa.googleapis.com tcp
DE 54.36.113.159:3434 tcp
GB 142.250.187.206:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.179.238:443 android.apis.google.com tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp

Files

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

MD5 d2e7e9eb74179897589f2cf386982174
SHA1 3fb02fc66a180820954f3f3141da69f7ef72f3d8
SHA256 f6d56e01a8f88ef6603e1adadb91d79ae0aa381ddc2cecef59799b077b64ae50
SHA512 98ff38fc010a7a6be6632da75c79a0a6bbb85b812ca08d76d4f53b6a82813e2b0140e0296d34c6091a0278ca9b5e5c6d9b420f58d00d6ed3f140291dac63423e

/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 aa660ab768043b5a766fbf68b2ce31b5
SHA1 c47fbcb5548aed150c8584006b15a66ecf610107
SHA256 2c6264b3ea49229adc08b1aae77d76e985c030ab6039035bdd14d539a0b1c63b
SHA512 fbc3f155c1af79a85e04f3833a123e39c6f1159a68e80600c1b950b9cc4a84799e82ecdd7a179c589628d85cf49f3ef5395b09729a94ccc592e6d2c822b7632c

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

MD5 23e67463c54f59d3e4ffa0cf53833879
SHA1 8af8882d135aef1a0ed69836be9e83aafeb1809a
SHA256 02dbba2f925f1d9ca02a1e6e39f2a45a7885c2ee3e00a929e877b59a9bafbe5b
SHA512 74f109b98c6bcdeccc1983cdeca39eb23eb713ec7bfbc4995ef0e7731805c477fd321fd2274b0d234d7a2120da48392a433010cd14f602d68821871ffbca2eae

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

MD5 2958892a5abb98a9b9c66a3675e5a5ca
SHA1 86f2a42f5552b3961de6629235c4345096578eb9
SHA256 4211fa426ed15bad0244c5a06edc367aa8ba47640c236afac4da3c785e1ef92d
SHA512 abd27a47986166ff550f098cd8b100e688e17f3d94959f75caf7911f40c22284d02ca18f9f80edfeb3750ef7c2514b30a2001ec28d0f1663db246258a1ca5e85

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-01 22:00

Reported

2024-05-01 22:12

Platform

android-x64-20240221-en

Max time network

180s

Command Line

N/A

Signatures

N/A

Processes

N/A

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.232:443 ssl.google-analytics.com tcp
GB 142.250.200.46:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 172.217.16.238:443 android.apis.google.com tcp
GB 216.58.212.195:443 tcp
GB 216.58.212.195:443 tcp
GB 172.217.169.66:443 tcp
GB 172.217.169.14:443 tcp
GB 216.58.212.228:443 tcp
BE 108.177.15.188:5228 tcp
US 1.1.1.1:53 www.google.com udp
GB 142.250.187.196:443 www.google.com tcp
US 1.1.1.1:53 g.tenor.com udp
GB 142.250.179.234:443 g.tenor.com tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 172.217.16.238:443 android.apis.google.com tcp
GB 172.217.16.238:443 android.apis.google.com tcp
US 1.1.1.1:53 semanticlocation-pa.googleapis.com udp
GB 142.250.179.234:443 semanticlocation-pa.googleapis.com tcp
US 1.1.1.1:53 accounts.google.com udp
BE 64.233.184.84:443 accounts.google.com tcp
US 1.1.1.1:53 www.youtube.com udp
GB 172.217.169.14:443 www.youtube.com udp
GB 172.217.169.14:443 www.youtube.com tcp
US 1.1.1.1:53 www.google.com udp
GB 142.250.200.36:443 www.google.com tcp
US 1.1.1.1:53 llvwtvvjrcsevr udp
US 1.1.1.1:53 osjzsemfrusty udp
US 1.1.1.1:53 urlgycslowqpxtw udp
US 1.1.1.1:53 www.google.com udp
GB 142.250.178.4:443 www.google.com udp
GB 142.250.178.4:443 www.google.com tcp
GB 142.250.178.4:443 www.google.com tcp
US 1.1.1.1:53 mdh-pa.googleapis.com udp
US 1.1.1.1:53 accounts.google.com udp
US 1.1.1.1:53 accounts.google.com udp
BE 64.233.184.84:443 accounts.google.com tcp
US 1.1.1.1:53 www.google.com udp
GB 216.58.204.68:443 www.google.com tcp
US 1.1.1.1:53 gpjwjrspkhve udp
US 1.1.1.1:53 figaefisooeq udp
US 1.1.1.1:53 galvwdwmhmbuw udp

Files

N/A

Analysis: behavioral3

Detonation Overview

Submitted

2024-05-01 22:00

Reported

2024-05-01 22:11

Platform

android-x64-arm64-20240221-en

Max time kernel

150s

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

Removes its main activity from the application launcher

stealth trojan evasion
Description Indicator Process Target
N/A N/A 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 running processes on the device

discovery
Description Indicator Process Target
Framework service call android.app.IActivityManager.getRunningAppProcesses 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 phone number (MSISDN for GSM devices)

discovery

Requests enabling of the accessibility settings.

Description Indicator Process Target
Intent action android.settings.ACCESSIBILITY_SETTINGS 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

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

Processes

com.tencent.mm

Network

Country Destination Domain Proto
GB 142.250.200.46:443 tcp
GB 142.250.200.46:443 tcp
N/A 224.0.0.251:5353 udp
GB 172.217.169.46:443 udp
US 1.1.1.1:53 android.apis.google.com udp
GB 216.58.201.110:443 android.apis.google.com tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 172.217.16.232:443 ssl.google-analytics.com tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
US 1.1.1.1:53 accounts.google.com udp
BE 74.125.133.84:443 accounts.google.com tcp
US 1.1.1.1:53 static.xx.fbcdn.net udp
US 1.1.1.1:53 m.youtube.com udp
GB 163.70.147.23:443 static.xx.fbcdn.net tcp
GB 216.58.204.78:443 m.youtube.com tcp
US 1.1.1.1:53 images-na.ssl-images-amazon.com udp
US 1.1.1.1:53 en.m.wikipedia.org udp
US 1.1.1.1:53 a.espncdn.com udp
US 151.101.193.16:443 images-na.ssl-images-amazon.com tcp
NL 185.15.59.224:443 en.m.wikipedia.org tcp
US 1.1.1.1:53 s.yimg.com udp
US 1.1.1.1:53 ir.ebaystatic.com udp
US 1.1.1.1:53 www.instagram.com udp
GB 2.16.170.123:80 a.espncdn.com tcp
GB 87.248.114.12:443 s.yimg.com tcp
US 151.101.2.206:443 ir.ebaystatic.com tcp
GB 163.70.147.174:443 www.instagram.com tcp
US 1.1.1.1:53 www.google.com udp
GB 142.250.187.228:443 www.google.com tcp
GB 216.58.212.228:443 tcp
GB 216.58.212.228:443 tcp
US 1.1.1.1:53 update.googleapis.com udp
GB 142.250.187.227:443 update.googleapis.com tcp
US 1.1.1.1:53 fpgfdvpv udp
US 1.1.1.1:53 ftgqihtpl udp
US 1.1.1.1:53 fuwgkwdvot udp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
US 1.1.1.1:53 update.googleapis.com udp
GB 216.58.204.67:443 update.googleapis.com tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp
US 1.1.1.1:53 www.google.com udp
GB 172.217.169.4:443 www.google.com tcp
DE 54.36.113.159:3434 tcp
DE 54.36.113.159:3434 tcp

Files

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

MD5 09a1316a5b6f6fa0e0caa8d0d27a3a61
SHA1 19ce71c72cecb05c89a761419fe19dc0944ac0c3
SHA256 54e8ab156781a3eac9a9fe8f937ef2ad032fe36e59ce715818e70f6b554fa0d2
SHA512 7c80cd6cb627df5b2ac5d732c9e44adc92b6da5affb96b17c0b89e854e312d1191994607b299ed1565318d7379d2d48971ee95ec420436b2dbf56312c03e4729

/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 d4f26ea0eaf8b6ed755d94ee73be7ced
SHA1 67b08f3c685dc7910d9719148bbd49e2c1444e30
SHA256 1a3a3af42aa8ec93fb65a9db7c7a03ba05aa9d4b29dc265967b7d8c7b0a54ccf
SHA512 906695522eeb10f3ec83c8b4b8e81f8c2c466335555b631eef5ca01f00cc7f4b1c0d03ce4424da7367d7ef6ad0b1b324b4ed6f5dea7d26b7697c68ae50bd6150

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

MD5 13cbbd73f7d0effbef7fceed831dd3bd
SHA1 932004b92d2e3b78f00152cd13febe6df0677b32
SHA256 7dfad53b51c409121ae7e5e47405a0eaecc554e7c6a19393094b0e5aa8594b10
SHA512 88852db94b88d8dbbe8617e942d0f26245075e2161dcaa39264738fda6618b1612ca353a8d8f662de6b9ed068c4d3371916dd45a34f6bacaec03d8e198fee7d9

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

MD5 0e349ad17223ebfe083598e5a7027c38
SHA1 70408f6cbbc06c437369aa2acdcbeb384ce8b757
SHA256 2b83e2f38a8271a73725cc6a918a1d0cda3b77ebefcb49f20d3a7c599ab961a8
SHA512 5ac3c0f397a71997714f83a1a3c1bac6a70249c5eb3b6ee6417d1ec9de368b6f916706d71cad5c6c52389b61388516fd80a2652f87a335130014c333cdc0f3ea