Malware Analysis Report

2025-01-19 04:55

Sample ID 241207-1we1rs1nfj
Target d3cf74fcfef339f4e29ba3361e34422f_JaffaCakes118
SHA256 dc71dd28c88d47cd47d8fb85dced15340d0021c0704bc39f5b4582ba0faf1f51
Tags
pegasus collection discovery evasion impact persistence
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: behavioral4

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

dc71dd28c88d47cd47d8fb85dced15340d0021c0704bc39f5b4582ba0faf1f51

Threat Level: Known bad

The file d3cf74fcfef339f4e29ba3361e34422f_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

pegasus collection discovery evasion impact persistence

Pegasus payload

Pegasus family

Checks if the Android device is rooted.

Reads the contacts stored on the device.

Reads the content of the call log.

Queries the phone number (MSISDN for GSM devices)

Acquires the wake lock

Makes use of the framework's foreground persistence service

Reads information about phone network operator.

Queries information about active data network

Queries information about the current Wi-Fi connection

Requests dangerous framework permissions

Uses Crypto APIs (Might try to encrypt user data)

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

Checks CPU information

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-12-07 21:59

Signatures

Pegasus family

pegasus

Pegasus payload

Description Indicator Process Target
N/A N/A 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 read or write the system settings. android.permission.WRITE_SETTINGS N/A N/A
Allows an application to write the user's contacts data. android.permission.WRITE_CONTACTS N/A N/A
Allows an application to read the user's contacts data. android.permission.READ_CONTACTS 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 an application to see the number being dialed during an outgoing call with the option to redirect the call to a different number or abort the call altogether. android.permission.PROCESS_OUTGOING_CALLS N/A N/A
Allows an application to receive SMS messages. android.permission.RECEIVE_SMS N/A N/A
Allows an application to read SMS messages. android.permission.READ_SMS N/A N/A
Allows an application to monitor incoming MMS messages. android.permission.RECEIVE_MMS 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 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 application to send SMS messages. android.permission.SEND_SMS 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 application to record audio. android.permission.RECORD_AUDIO N/A N/A
Allows an application to see the number being dialed during an outgoing call with the option to redirect the call to a different number or abort the call altogether. android.permission.PROCESS_OUTGOING_CALLS N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-12-07 21:59

Reported

2024-12-07 22:02

Platform

android-x86-arm-20240624-en

Max time kernel

48s

Max time network

129s

Command Line

com.tencent.qqphonebook

Signatures

Checks if the Android device is rooted.

evasion
Description Indicator Process Target
N/A /system/bin/su N/A N/A
N/A /system/xbin/su N/A N/A
N/A /sbin/su N/A N/A

Queries the phone number (MSISDN for GSM devices)

discovery

Reads the contacts stored on the device.

collection
Description Indicator Process Target
URI accessed for read content://com.android.contacts/raw_contacts N/A N/A

Reads the content of the call log.

collection
Description Indicator Process Target
URI accessed for read content://call_log/calls N/A N/A
URI accessed for read content://call_log/calls N/A N/A

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 active data network

discovery
Description Indicator Process Target
Framework service call android.net.IConnectivityManager.getActiveNetworkInfo 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
Framework service call android.net.wifi.IWifiManager.getConnectionInfo 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
Framework service call android.app.IActivityManager.registerReceiver 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

Processes

com.tencent.qqphonebook

com.tencent.qqphonebook:push

Network

Country Destination Domain Proto
US 1.1.1.1:53 pmir.3g.qq.com udp
HK 43.135.106.117:80 pmir.3g.qq.com tcp
HK 43.135.106.117:80 pmir.3g.qq.com tcp
US 1.1.1.1:53 short.wecall.qq.com udp
US 1.1.1.1:53 short.wecall.qq.com udp
CN 112.64.200.240:80 tcp
CN 112.64.200.240:80 tcp
CN 180.153.82.27:80 tcp
CN 180.153.82.27:80 tcp
GB 216.58.201.110:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.179.238:443 android.apis.google.com tcp
CN 117.135.130.177:80 tcp
CN 117.135.130.177:80 tcp

Files

/data/data/com.tencent.qqphonebook/databases/common.db-journal

MD5 f8667192ee62277bfc748b1fc5e69410
SHA1 7db248c06e0c1e861d173faf8fa2775ad8e13b3d
SHA256 326337c78b4c6ce9ba0609b479fbe857d9f03466fc9970aa1179d87056fe76d3
SHA512 3543318af8011497188f2231f186c04e54255b374ccb924b5813a64fc82073fd7f522d64c4e6f600cb4b25ca5d4c8242b864d4d579c8bbc36f1a206f5d26ac4a

/data/data/com.tencent.qqphonebook/databases/common.db

MD5 f2b4b0190b9f384ca885f0c8c9b14700
SHA1 934ff2646757b5b6e7f20f6a0aa76c7f995d9361
SHA256 0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514
SHA512 ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

/data/data/com.tencent.qqphonebook/databases/common.db-shm

MD5 bb7df04e1b0a2570657527a7e108ae23
SHA1 5188431849b4613152fd7bdba6a3ff0a4fd6424b
SHA256 c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479
SHA512 768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

/data/data/com.tencent.qqphonebook/databases/common.db-wal

MD5 9184f5fc5db6110db3aafd227abf0bd3
SHA1 7ddf82e1b7cdf740e3c98c9df757ba3969905131
SHA256 bdb1ba6eacd4e96d285c944a25b7ca5dfbcc2a039937c08e81d83e7f0139bda0
SHA512 0e644c9ed28b1563a5c4179b425e658fca0e702062a2d6e6428c8e2698098eeb9da960c9a848d1b65a7170b43915fbb34bd29d913a45ca3cc6bc691d6b166ddc

/data/data/com.tencent.qqphonebook/files/properties.txt

MD5 37cc73377e77294d226234a81a847dc5
SHA1 cf8b8d0dc19a7e98a1013eb9413aae600a637579
SHA256 bb3ec151aa6987bea722566eb19c4bc592fef395b4c40eb61482a0fdeeb4b662
SHA512 1d635d93ae16f2b5ab0403b337e246ff3f5159b612c9d49b208eeae12d44f4f395990025806ce6da839b77ca38cfa6a507316ec5368a0438a7f6a68508d39181

/data/data/com.tencent.qqphonebook/databases/quickdial.db-journal

MD5 20ba7f140c835b6f3fc2faf2c1b2087a
SHA1 4f711d78119532386aa6407b957baafb47a022bd
SHA256 ccce070c76778ec2e253f8ccad4b9550956c76eb9a6f30172cedfa8029e005f4
SHA512 ce57bd88474383672dd2cf5930830be804a865c8618b748dd21cdf93d0306508d365fd9b967a55590b2fd287d417a5d7d0bc1080897c5a319af434129ba9c4eb

/data/data/com.tencent.qqphonebook/databases/quickdial.db-wal

MD5 2315cae41abab75d47fcd198409ef673
SHA1 2bf32c018abe03f344c3e393331ca6c138794233
SHA256 3f8fc0cbdc2ff0a47ed1d1c7ef25decda152841da047440b42b23554ffabf3e6
SHA512 6648829134599cc3097be1986aa5191425bccbe70d7bd0c112c4256443168dcd202e5323d89846b664b9a31b11f3365aa584079a66390b1a9a071c8ee3b12ff5

/data/data/com.tencent.qqphonebook/files/nldb.sdb

MD5 a9c996272d30e7222761d4fda345d448
SHA1 28faa362eed1171dcc3e1e5f515817bb83018eb2
SHA256 db3c7ca9c9b14c6bc1d65ca83d737fe1dcf3eafb1855730d9ff297389fdf6567
SHA512 d696b16963be256358ccb292f6828320f4f6bafa0e54d005fcbe5346fb8917ed75dfa51158952efdf2a844e8560324b09deff1ade990244462d0de496680f74f

/data/data/com.tencent.qqphonebook/files/yd.sdb

MD5 22aeabf18c7aabd0751255c27629cd6b
SHA1 e73b12fecd0b0b6227d629817564db9ab7dac3de
SHA256 a76ca12c531747353899882a622c7fbbf86b9daa42cc49d49b55edb91d6d18a9
SHA512 af522281add1733c0126831610dbf4481ac7ac06e6ee5d7737e9fc8ea0b82178c44682b4be63cca5602d7020fa6d010e8ad4b014916fd169ef0694ebd0565b27

/data/data/com.tencent.qqphonebook/databases/privatemsg.db-journal

MD5 803a66897508ac01c5b7286f3030078c
SHA1 5a3dcaebe4ca9a697efa43b7bb69ecb3a109471c
SHA256 4db8cefdda51455798f5a0a71cc96ee0c6ee73c93ee326b862249a7b77abc987
SHA512 7382c954f139529b85063af81cfddd1f7f475d0fc700bc226effa8029282ab34852e20773766504e45d62ac0d26b4be246cbd7e012ec1263dc0733485cfdc662

/data/data/com.tencent.qqphonebook/databases/privatemsg.db-wal

MD5 1c996a4224919db5cd52ebe202a2ecfd
SHA1 b9adb70d1a2b1aebbf9ce719c1c96ab8e5216535
SHA256 1cad46bf8ebbbae53197c4f02e2ee84a54a5a56a1f335962a5389ded633465a6
SHA512 47a7bf27f2b2200957c60ad63bfe24bb75b89113877b7a4ade48ff5bdfdf89317a86e65e9d27dac079b708d528c97113dc02c54abfb1f14acffa6970aada5e1c

/data/data/com.tencent.qqphonebook/files/rule_store.sys

MD5 209e7fa08b84b63094d29b5c93b42652
SHA1 7e812df7d7fc44acb8ec2461276eb0c76a0ae810
SHA256 2684db22830267afd139515eea2a84c8c76401ad2cae2749fe467af36c6406a3
SHA512 47e32a145ddc53e5061732305135befcd6cbeea7532781bce6bebce60c1414ab9ae8e3790d8f40f57d9aae43f433bbd142652ea03d5fdd902064cfa33351c88d

/data/data/com.tencent.qqphonebook/files/imei.cache

MD5 748d9beeaa1899252a7365b780b95fb0
SHA1 2158cbe9044f2b138df0094615afe6616e526c9d
SHA256 59290d2d5a77605f8140feb82e44e8438115fb2f93dc56ed4c225b88c21baaa8
SHA512 cdeb0c4cebf1cc96ebda6940763a940df76120ee991bc7f003480caf055a970f16e4a19ef2ba2c56fa056d539b981e16542ec7239a7b91dd3828585bc2d1e440

/data/data/com.tencent.qqphonebook/databases/qqpimsecure.db-journal

MD5 848cedef6274e2ddf04ca96478c37b81
SHA1 c2476796b33b17ed709ee685b3b514fb0a27f127
SHA256 8b757052fc0139cb9e6588b97fe4be9139c2385df850adc8b01476e67cd664d8
SHA512 987f81187773b966c99c68121516e25076f03158a4a0e0878c4afb1cb985ad171cbbbcf4c3debeb1da8e2290ce42177cda5064843f8b556239f6331e9ed8383e

/data/data/com.tencent.qqphonebook/databases/qqpimsecure.db-wal

MD5 6efabcb1571740cdf89a81e07dfd7062
SHA1 cbabd5da56c8024285f29df956699fefe467546a
SHA256 df04e408f7cd2319b07e7557dfc4324adb4b9a008459b715ccc37ea52b19827b
SHA512 8e43c8c1411da0ee54555b4771d05467b4276bc2e03f0194616548619f4fd590056261b6934a80ff19f701b52b63c31555dfeb17617ce737212d149cd8d38d28

/data/data/com.tencent.qqphonebook/files/host/short.wecall.qq.com

MD5 960072d6a44dfc00da41461310454e29
SHA1 09bbbb96ce247efd655d38be441b2a39cf448e91
SHA256 6057e1db4182e6ef79670bd553943061adb41cbce9b8585b58f0f63c26298d0a
SHA512 39773aad4f552327da47a4fc4d770bc9ff2d5df11e905872ac19a648febd3b9f25a90dc5d177267a2a3f592ceb63283d5e163b1932d89f6a2c0665e8d44b3d77

Analysis: behavioral2

Detonation Overview

Submitted

2024-12-07 21:59

Reported

2024-12-07 22:02

Platform

android-x86-arm-20240624-en

Max time network

131s

Command Line

N/A

Signatures

N/A

Processes

N/A

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
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

Files

N/A

Analysis: behavioral3

Detonation Overview

Submitted

2024-12-07 21:59

Reported

2024-12-07 22:02

Platform

android-x64-20240624-en

Max time network

156s

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.179.232:443 ssl.google-analytics.com tcp
GB 142.250.179.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
GB 142.250.200.36:443 tcp
GB 142.250.200.36:443 tcp

Files

N/A

Analysis: behavioral4

Detonation Overview

Submitted

2024-12-07 21:59

Reported

2024-12-07 22:02

Platform

android-x64-arm64-20240624-en

Max time network

133s

Command Line

N/A

Signatures

N/A

Processes

N/A

Network

Country Destination Domain Proto
GB 142.250.180.14:443 tcp
GB 142.250.180.14:443 tcp
GB 142.250.180.14:443 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
GB 172.217.169.46:443 android.apis.google.com tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 142.250.200.36:443 tcp
GB 142.250.200.36:443 tcp

Files

N/A