Malicious
26
/65

Threat

com.metasploit.stage

MainActivity

Analyzed on 2022-10-03T07:30:05.827803

23

permissions

1

activities

1

services

1

receivers

0

domains

File sums

MD5 b815e269671f1ec3d9754e9337a9a0f7
SHA1 5d6c4971a1568be8dfd8688b3fec3b4250c9af50
SHA256 7fc1b8c4c452fef100898b7616df4bd7b5ab61b2bf3c0192b0a049e3d236214b
Size 0.01MB

APKiD

Information computed with APKiD.

/tmp/tmpo0ekd0b2!classes.dex
compiler
  • dx

SSdeep

Information computed with ssdeep.

APK file 192:1FgNjuJx6CsyspkxVpbJ5xC9F1OyPMQHAJWeSU7dqPKTPyCxh/m:bZJwCsyspkxnbJ5x6nODY8JqPKTtx8
Manifest 192:mgSnWybh3YboZtPJGe+vnv5FOfXyiIkChKFbrYM0tVY51p9w+Cv1jg/A:mgSWybh3…
classes.dex 96:eIJt31vyUhlCValycRiVpl2h8ea2ZUDNdVx74mBO2sLghWDqXYXX2I4o2oeht4m9:T…

Dexofuzzy

Information computed with Dexofuzzy.

APK file 6:LbSploX1AuIzwsUsj53zSehKIfpPXGkIrDvuqploXqutX4GPMdVgL4/zGZR6wI29:6p…
classes.dex 6:LbSploX1AuIzwsUsj53zSehKIfpPXGkIrDvuqploXqutX4GPMdVgL4/zGZR6wI29:6p…

APK details

Information computed with AndroGuard and Pithus.

Package com.metasploit.stage
App name MainActivity
Version name 1.0
Version code 1
SDK 10 - 17
UAID 6a8c3f4b5a82f7b809d027f34662127d347a4ca9
Signature Signature V1
Frosting Not frosted

Certificate details

Information computed with AndroGuard.

MD5 02910366ef4c95a3dc04932d44670e9d
SHA1 b77e297ab977aa2ae6c7554da41133c1a7237ef0
SHA256 69dcc0141c87de4972a1e56114816431bc90d3bf8cc54f322c37edaee2efba62
Issuer Common Name: velag, Organizational Unit: perm sace, Organization: knag, Locality: cera, State/Province: shatyx, Country: 86
Not before 2022-10-01T19:48:53+00:00
Not after 2050-02-16T19:48:53+00:00
MD5 bbf9c4a57b5f60ddf318eb6c87799861
SHA1 237620e4210f7115d14eaa8e068c221c3e20fd2a
SHA256 4b74d4bfec30c613de830b4116514020184ad37bb481f4fe44278bb8530f8445
Issuer Country: US/O=Android/CN=Android Debug
Not before 2020-11-27T16:42:16+00:00
Not after 2035-03-08T22:39:17+00:00

Manifest analysis

Information computed with MobSF.

Medium Application Data can be Backed up[android:allowBackup] flag is missing.
The flag [android:allowBackup] should be set to false. By default it is set to true and allows anyone to backup your application data via adb. It allows users who have enabled USB debugging to copy application data off of the device.
High Broadcast Receiver (.MainBroadcastReceiver) is not Protected.An intent-filter exists.
A Broadcast Receiver is found to be shared with other apps on the device therefore leaving it accessible to any other application on the device. The presence of intent-filter indicates that the Broadcast Receiver is explicitly exported.
High Service (.MainService) is not Protected. [android:exported=true]
A Service is found to be shared with other apps on the device therefore leaving it accessible to any other application on the device.

Browsable activities

Information computed with MobSF.

.MainActivity

Hosts: my_host

Schemes: metasploit://

Main Activity

Information computed with AndroGuard.

com.metasploit.stage.MainActivity

Activities

Information computed with AndroGuard.

com.metasploit.stage.MainActivity

Receivers

Information computed with AndroGuard.

com.metasploit.stage.MainBroadcastReceiver

Services

Information computed with AndroGuard.

com.metasploit.stage.MainService

Sample timeline

Certificate valid not before Oct. 1, 2022, 7:48 p.m.
Oldest file found in APK Oct. 1, 2022, 10:47 p.m.
Latest file found in APK Oct. 1, 2022, 10:49 p.m.
First submission on VT Oct. 2, 2022, 8:42 a.m.
Last submission on VT Oct. 2, 2022, 8:42 a.m.
Upload on Pithus Oct. 3, 2022, 7:30 a.m.
Certificate valid not after Feb. 16, 2050, 7:48 p.m.

VirusTotal

Score 26/65
Report https://www.virustotal.com/gui/file/7fc1b8c4c452fef100898b7616df4bd7b5ab61b2bf3c0192b0a049e3d236214b/detection

Most Popular AV Detections

Provided by VirusTotal

Threat name: metasploit Identified 5 times
Threat name: remotecode Identified 2 times
Threat name: mesploit Identified 2 times

NIAP analysis

Information computed with MobSF.

FCS_RBG_EXT.1.1 The application invoke platform-provided DRBG functionality for its cryptographic operations.
Random Bit Generation Services
FCS_STO_EXT.1.1 The application does not store any credentials to non-volatile memory.
Storage of Credentials
FCS_CKM_EXT.1.1 The application generate no asymmetric cryptographic keys.
Cryptographic Key Generation Services
FDP_DEC_EXT.1.1 The application has access to ['microphone', 'location', 'camera', 'network connectivity'].
Access to Platform Resources
FDP_DEC_EXT.1.2 The application has access to ['call lists', 'address book'].
Access to Platform Resources
FDP_NET_EXT.1.1 The application has user/application initiated network communications.
Network Communications
FDP_DAR_EXT.1.1 The application does not encrypt files in non-volatile memory.
Encryption Of Sensitive Application Data
FTP_DIT_EXT.1.1 The application does not encrypt any data in traffic or does not transmit any data between itself and another trusted IT product.
Protection of Data in Transit
FCS_RBG_EXT.2.1
FCS_RBG_EXT.2.2
The application perform all deterministic random bit generation (DRBG) services in accordance with NIST Special Publication 800-90A using Hash_DRBG. The deterministic RBG is seeded by an entropy source that accumulates entropy from a platform-based DRBG and a software-based noise source, with a minimum of 256 bits of entropy at least equal to the greatest security strength (according to NIST SP 800-57) of the keys and hashes that it will generate.
Random Bit Generation from Application
FCS_COP.1.1(2) The application perform cryptographic hashing services in accordance with a specified cryptographic algorithm SHA-1/SHA-256/SHA-384/SHA-512 and message digest sizes 160/256/384/512 bits.
Cryptographic Operation - Hashing
FCS_HTTPS_EXT.1.1 The application implement the HTTPS protocol that complies with RFC 2818.
HTTPS Protocol
FCS_HTTPS_EXT.1.2 The application implement HTTPS using TLS.
HTTPS Protocol
FCS_HTTPS_EXT.1.3 The application notify the user and not establish the connection or request application authorization to establish the connection if the peer certificate is deemed invalid.
HTTPS Protocol
FIA_X509_EXT.1.1 The application invoked platform-provided functionality to validate certificates in accordance with the following rules: ['The certificate path must terminate with a trusted CA certificate'].
X.509 Certificate Validation
FIA_X509_EXT.2.1 The application use X.509v3 certificates as defined by RFC 5280 to support authentication for HTTPS , TLS.
X.509 Certificate Authentication

Code analysis

Information computed with MobSF.

Info
CVSS:0
This App uses SSL certificate pinning to detect or prevent MITM attacks in secure communication channel.
MASVS: MSTG-NETWORK-4
Files:
 com/metasploit/stage/f.java
Medium
CVSS:5.9
SHA-1 is a weak hash known to have hash collisions.
MASVS: MSTG-CRYPTO-4
CWE-327 Use of a Broken or Risky Cryptographic Algorithm
M5: Insufficient Cryptography
Files:
 com/metasploit/stage/f.java
Medium
CVSS:7.5
The App uses an insecure Random Number Generator.
MASVS: MSTG-CRYPTO-6
CWE-330 Use of Insufficiently Random Values
M5: Insufficient Cryptography
Files:
 com/metasploit/stage/Payload.java

Permissions analysis

Information computed with MobSF.

High android.permission.ACCESS_COARSE_LOCATION coarse (network-based) location
Access coarse location sources, such as the mobile network database, to determine an approximate phone location, where available. Malicious applications can use this to determine approximately where you are.
High android.permission.ACCESS_FINE_LOCATION fine (GPS) location
Access fine location sources, such as the Global Positioning System on the phone, where available. Malicious applications can use this to determine where you are and may consume additional battery power.
High android.permission.READ_PHONE_STATE read phone state and identity
Allows the application to access the phone features of the device. An application with this permission can determine the phone number and serial number of this phone, whether a call is active, the number that call is connected to and so on.
High android.permission.SEND_SMS send SMS messages
Allows application to send SMS messages. Malicious applications may cost you money by sending messages without your confirmation.
High android.permission.RECEIVE_SMS receive SMS
Allows application to receive and process SMS messages. Malicious applications may monitor your messages or delete them without showing them to you.
High android.permission.RECORD_AUDIO record audio
Allows application to access the audio record path.
High android.permission.CALL_PHONE directly call phone numbers
Allows the application to call phone numbers without your intervention. Malicious applications may cause unexpected calls on your phone bill. Note that this does not allow the application to call emergency numbers.
High android.permission.READ_CONTACTS read contact data
Allows an application to read all of the contact (address) data stored on your phone. Malicious applications can use this to send your data to other people.
High android.permission.WRITE_CONTACTS write contact data
Allows an application to modify the contact (address) data stored on your phone. Malicious applications can use this to erase or modify your contact data.
High android.permission.WRITE_SETTINGS modify global system settings
Allows an application to modify the system's settings data. Malicious applications can corrupt your system's configuration.
High android.permission.CAMERA take pictures and videos
Allows application to take pictures and videos with the camera. This allows the application to collect images that the camera is seeing at any time.
High android.permission.READ_SMS read SMS or MMS
Allows application to read SMS messages stored on your phone or SIM card. Malicious applications may read your confidential messages.
High android.permission.WRITE_EXTERNAL_STORAGE read/modify/delete external storage contents
Allows an application to write to external storage.
High android.permission.READ_CALL_LOG Allows an application to read the user's call log.
High android.permission.WRITE_CALL_LOG Allows an application to write (but not read) the user's call log data.
Low android.permission.INTERNET full Internet access
Allows an application to create network sockets.
Low android.permission.ACCESS_WIFI_STATE view Wi-Fi status
Allows an application to view the information about the status of Wi-Fi.
Low android.permission.CHANGE_WIFI_STATE change Wi-Fi status
Allows an application to connect to and disconnect from Wi-Fi access points and to make changes to configured Wi-Fi networks.
Low android.permission.ACCESS_NETWORK_STATE view network status
Allows an application to view the status of all networks.
Low android.permission.RECEIVE_BOOT_COMPLETED automatically start at boot
Allows an application to start itself as soon as the system has finished booting. This can make it take longer to start the phone and allow the application to slow down the overall phone by always running.
Low android.permission.SET_WALLPAPER set wallpaper
Allows the application to set the system wallpaper.
Low android.permission.WAKE_LOCK prevent phone from sleeping
Allows an application to prevent the phone from going to sleep.
Low android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS Permission an application must hold in order to use Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS.

Threat analysis

Information computed with Quark-Engine.

Confidence:
100%
Load external class
Confidence:
100%
Method reflection
Confidence:
100%
Monitor the broadcast action events (BOOT_COMPLETED)
Confidence:
100%
Get absolute path of the file and store in string
Confidence:
100%
Hide the current app's icon
Confidence:
80%
Load additional DEX files dynamically
Confidence:
80%
Get specific method from other Dex files

Behavior analysis

Information computed with MobSF.

Dynamic class and dexloading
       com/metasploit/stage/Payload.java
Get installed applications
       com/metasploit/stage/Payload.java
Get system service
       com/metasploit/stage/Payload.java
Https connection
       com/metasploit/stage/f.java
Inter process communication
       com/metasploit/stage/MainBroadcastReceiver.java
com/metasploit/stage/MainService.java
com/metasploit/stage/Payload.java
Java reflection
       com/metasploit/stage/MainService.java
com/metasploit/stage/d.java
com/metasploit/stage/Payload.java
com/metasploit/stage/c.java
Message digest
       com/metasploit/stage/f.java
Starting service
       com/metasploit/stage/MainBroadcastReceiver.java
com/metasploit/stage/MainService.java
com/metasploit/stage/MainActivity.java
com/metasploit/stage/c.java
Tcp server socket
       com/metasploit/stage/Payload.java
Tcp socket
       com/metasploit/stage/Payload.java
Url connection to file/http/https/ftp/jar
       com/metasploit/stage/Payload.java

Control flow graphs analysis

Information computed by Pithus.

The application probably opens socket

The application probably dynamically loads code