Malware Analysis Report

2024-12-07 03:19

Sample ID 241113-12leqszgrd
Target 2fab9958a91d85945b39252ba631d68b03d4f227983aeedae25040046a3c2845.bin
SHA256 2fab9958a91d85945b39252ba631d68b03d4f227983aeedae25040046a3c2845
Tags
octo banker collection credential_access discovery evasion impact infostealer persistence rat trojan stealth
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Mobile Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

2fab9958a91d85945b39252ba631d68b03d4f227983aeedae25040046a3c2845

Threat Level: Known bad

The file 2fab9958a91d85945b39252ba631d68b03d4f227983aeedae25040046a3c2845.bin was found to be: Known bad.

Malicious Activity Summary

octo banker collection credential_access discovery evasion impact infostealer persistence rat trojan stealth

Octo payload

Octo

Octo family

Removes its main activity from the application launcher

Queries the phone number (MSISDN for GSM devices)

Makes use of the framework's Accessibility service

Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps)

Loads dropped Dex/Jar

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

Makes use of the framework's foreground persistence service

Requests modifying system settings.

Attempts to obfuscate APK file format

Declares services with permission to bind to the system

Declares broadcast receivers with permission to handle system events

Requests dangerous framework permissions

Queries the mobile country code (MCC)

Performs UI accessibility actions on behalf of the user

Queries the unique device ID (IMEI, MEID, IMSI)

Acquires the wake lock

Requests accessing notifications (often used to intercept notifications before users become aware).

Uses Crypto APIs (Might try to encrypt user data)

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

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-11-13 22:08

Signatures

Attempts to obfuscate APK file format

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 accessibility services to bind with the system. Allows apps to access accessibility features. android.permission.BIND_ACCESSIBILITY_SERVICE N/A N/A
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

Requests dangerous framework permissions

Description Indicator Process Target
Allows an application to read from external storage. android.permission.READ_EXTERNAL_STORAGE 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 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 send SMS messages. android.permission.SEND_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 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 read or write the system settings. android.permission.WRITE_SETTINGS N/A N/A

Analysis: behavioral2

Detonation Overview

Submitted

2024-11-13 22:08

Reported

2024-11-13 22:12

Platform

android-x64-arm64-20240910-en

Max time kernel

149s

Max time network

151s

Command Line

com.sgakagak.agakagabs

Signatures

Octo

banker trojan infostealer rat octo

Octo family

octo

Octo payload

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

Loads dropped Dex/Jar

evasion
Description Indicator Process Target
N/A /data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin N/A N/A
N/A /data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin N/A N/A

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.findAccessibilityNodeInfosByViewId N/A N/A

Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps)

banker discovery

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

Performs UI accessibility actions on behalf of the user

evasion
Description Indicator Process Target
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction 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

Requests accessing notifications (often used to intercept notifications before users become aware).

collection credential_access
Description Indicator Process Target
Intent action android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS N/A N/A

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

Requests modifying system settings.

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

Processes

com.sgakagak.agakagabs

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
GB 172.217.169.78: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 www.youtube.com udp
GB 142.250.179.238:443 www.youtube.com udp
GB 142.250.179.238:443 www.youtube.com tcp
GB 142.250.187.238:443 www.youtube.com tcp
US 216.239.36.223:443 tcp
US 1.1.1.1:53 eorldekorasyonbiz.top udp
US 1.1.1.1:53 www.ip-api.com udp
US 1.1.1.1:53 edutainmt.top udp
US 208.95.112.1:80 www.ip-api.com tcp
US 1.1.1.1:53 spaghettom.top udp
US 1.1.1.1:53 fleekyp.top udp
US 1.1.1.1:53 glampingaz.top udp
US 45.61.141.100:443 eorldekorasyonbiz.top tcp
US 45.61.159.139:443 glampingaz.top tcp
US 1.1.1.1:53 ssl.google-analytics.com udp
GB 142.250.200.40:443 ssl.google-analytics.com tcp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp
US 45.61.159.139:443 sporkly.top tcp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp
GB 142.250.187.206:443 www.youtube.com tcp
GB 142.250.179.225:443 tcp
GB 216.58.201.97:443 tcp
US 216.239.36.223:443 tcp

Files

/data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin

MD5 9237f9a5f6b5b07cd668293cb5f612d1
SHA1 b673f5950c1f5c5cfa3bfe46484098610cb57b14
SHA256 bc91a52eb6367777b53562dec2eb1a8d46d275ffd29573b3e7d6d1305353f16c
SHA512 ed6c9b10dc26b75c0337068131c2a5c674ed389a3e3be194951de566cb3953026e4e6456d6e0e185e2c1d823448c97e4d32add6ce8b31b64e9057d3894c1cf1c

/data/user/0/com.sgakagak.agakagabs/.qcom.sgakagak.agakagabs

MD5 046a414913add6f5bb60072c7db819b6
SHA1 451ee4f6809260aec622d772fd329c7d0297a842
SHA256 b66c1320cb063a1d391c94273572ea6edae76c8c8b0a07f8d75c88686f0df72a
SHA512 4e6355f3051ed5e811ab030abde1f5be7f5e1cf33be99cd08477e9b6c015deb1d8bd75a09fb9c7176b8511c5ad0a67abc0902a3531e97564ccb6afc57496a47c

Analysis: behavioral1

Detonation Overview

Submitted

2024-11-13 22:08

Reported

2024-11-13 22:13

Platform

android-x86-arm-20240624-en

Max time kernel

144s

Max time network

140s

Command Line

com.sgakagak.agakagabs

Signatures

Octo

banker trojan infostealer rat octo

Octo family

octo

Octo payload

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A 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

Loads dropped Dex/Jar

evasion
Description Indicator Process Target
N/A /data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin N/A N/A
N/A /data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin N/A N/A
N/A /data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin N/A N/A

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.findAccessibilityNodeInfosByViewId N/A N/A

Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps)

banker discovery

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

Performs UI accessibility actions on behalf of the user

evasion
Description Indicator Process Target
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction N/A N/A
N/A android.accessibilityservice.IAccessibilityServiceConnection.performGlobalAction 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

Queries the unique device ID (IMEI, MEID, IMSI)

discovery

Requests accessing notifications (often used to intercept notifications before users become aware).

collection credential_access
Description Indicator Process Target
Intent action android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS N/A N/A

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

Requests modifying system settings.

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

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

Processes

com.sgakagak.agakagabs

/system/bin/dex2oat --instruction-set=x86 --instruction-set-features=ssse3,-sse4.1,-sse4.2,-avx,-avx2,-popcnt --runtime-arg -Xhidden-api-checks --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=x86 --instruction-set-features=default --inline-max-code-units=0 --compact-dex-level=none --dex-file=/data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=&

Network

Country Destination Domain Proto
N/A 224.0.0.251:5353 udp
GB 142.250.200.10:443 tcp
US 1.1.1.1:53 semanticlocation-pa.googleapis.com udp
US 1.1.1.1:53 fleekyp.top udp
US 1.1.1.1:53 www.ip-api.com udp
US 208.95.112.1:80 www.ip-api.com tcp
US 1.1.1.1:53 spaghettom.top udp
US 1.1.1.1:53 infoglo.top udp
US 1.1.1.1:53 workaholkc.top udp
US 1.1.1.1:53 gluttonyd.top udp
US 1.1.1.1:53 blogosphze.top udp
US 1.1.1.1:53 edutainmt.top udp
US 1.1.1.1:53 frenemyq.top udp
US 1.1.1.1:53 smoggyu.top udp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp
US 1.1.1.1:53 hangryv.top udp
US 1.1.1.1:53 ginormusj.top udp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp
GB 142.250.200.46:443 tcp
US 1.1.1.1:53 android.apis.google.com udp
GB 142.250.179.238:443 android.apis.google.com tcp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp
US 1.1.1.1:53 sporkly.top udp
US 45.61.159.139:443 sporkly.top tcp

Files

/data/data/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin

MD5 9237f9a5f6b5b07cd668293cb5f612d1
SHA1 b673f5950c1f5c5cfa3bfe46484098610cb57b14
SHA256 bc91a52eb6367777b53562dec2eb1a8d46d275ffd29573b3e7d6d1305353f16c
SHA512 ed6c9b10dc26b75c0337068131c2a5c674ed389a3e3be194951de566cb3953026e4e6456d6e0e185e2c1d823448c97e4d32add6ce8b31b64e9057d3894c1cf1c

/data/user/0/com.sgakagak.agakagabs/app_apkprotector_dex/classes-v1.bin

MD5 0f63fa66f97ddfab75a6fb22a0c849dc
SHA1 fd9d18cbbfe2a1be656291181ced1058e41bedc6
SHA256 7bf6dbad4597ea5dba33fe3f280329b8e258fa9e26caaf5258cd97da4ea4b5f6
SHA512 7953227b453283b8148923f136180b97db73a2ac5122534bbdae833be0acc8d5f0e9f0a0518a9aaf2625a0120aeb6bb1048856fab841846f6a418ae68ad96b06

/data/data/com.sgakagak.agakagabs/kl.txt

MD5 4a2bdafc84003893b9c52649b7269308
SHA1 3840ba8b2b41613109fb2366f20855b531ed0f64
SHA256 dbad12d88e4c8454fd79eeb08f608957f14ab98a59ef4e5d939445747b54388c
SHA512 499c6bc27c5ca3a65b6a1854d65c632231dd61986607f6454d227eabca570f64cb27743a8ba7c5b07853f92a16eececb93cdf20af80e4eb29f3127f064f27f73

/data/data/com.sgakagak.agakagabs/kl.txt

MD5 e3832e5e54a748b1f06d98750ae22350
SHA1 5a5e0fca6f92a0094071b4c6f0b42e62568b5b53
SHA256 98399a9b0206e22109d71f2250eff236aaf9bcc73444b86543dd2c53cf9fd9e5
SHA512 1992b4bedaca2ff183782407ade423bd87955c992bd082bc721a462da47f2b0415c6e4b8325a7a2c8212fb7dbcddd97eec3e88df1f6506fc9c6c5938381233d8

/data/data/com.sgakagak.agakagabs/kl.txt

MD5 7c5dc1b46ef1ce9758206b4fdce4bd04
SHA1 c4fedc776508329b847345c0fcc61823eb03c84c
SHA256 bb405e687c545e579f2f0a507c9f611ee006afd06521da3b70f8572375088832
SHA512 259528d4139ed919ca3fbe70e76fc6ddc9c0f17c3d120bb6ad01cb6189a2a4825c78cf7396772b6f4a094aaf22077f6f1ae0ede0997893d6a98fc997fed48f69

/data/data/com.sgakagak.agakagabs/kl.txt

MD5 da19910d5af2aad886088a7877279feb
SHA1 7c2eaa020a680d75acae6d355b8baf370125dc3d
SHA256 41d2037031d7b97a4b455c4153fcc34ff0d1d7393832b396f55d48df9d1a65dd
SHA512 654515c12b4e06f6e3beaceafdb38f2eb44e1ea5d4c84c26f57f98d1a17530296e6321189894124952c78741368cedfcbb0992ddf78c1edd8f709f9f220c476a

/data/data/com.sgakagak.agakagabs/kl.txt

MD5 c4a3ea55ef6311dcf058c55697bd224b
SHA1 270f4a81addec01bb8df1a41c5cc61cde25f39fc
SHA256 c5e177f5dd41012f9bc30e72769329beda663b66e79da4afd9571097d88dec36
SHA512 73bdf66121727a1ba02bb48f4962093cb19c4ffcc90d08f105b849fed1ff6cf2cebecf8e7fab0da4497ca2c3ce06f1bd0697d76af51890d336e2aafc06346b50

/data/data/com.sgakagak.agakagabs/.qcom.sgakagak.agakagabs

MD5 046a414913add6f5bb60072c7db819b6
SHA1 451ee4f6809260aec622d772fd329c7d0297a842
SHA256 b66c1320cb063a1d391c94273572ea6edae76c8c8b0a07f8d75c88686f0df72a
SHA512 4e6355f3051ed5e811ab030abde1f5be7f5e1cf33be99cd08477e9b6c015deb1d8bd75a09fb9c7176b8511c5ad0a67abc0902a3531e97564ccb6afc57496a47c