Malicious
26
/64

Threat

ir.a.testfirebase

Porn Game

Analyzed on 2022-08-27T12:42:16.352489

8

permissions

1

activities

6

services

3

receivers

2

domains

File sums

MD5 07c0db6e4fb42284690db1ca04be5f86
SHA1 08643abdf710fa8c0a4f58ff52df102426ae3ce7
SHA256 5f820542da69670246de2a1ac01132c06d47590fe5866180faf0b5db2fa7a24e
Size 4.99MB

APKiD

Information computed with APKiD.

/tmp/tmpzcmx7jn1!classes.dex
anti_vm
  • Build.FINGERPRINT check
  • Build.MODEL check
  • Build.MANUFACTURER check
  • Build.PRODUCT check
  • SIM operator check
compiler
  • dexlib 2.x
/tmp/tmpzcmx7jn1!classes2.dex
compiler
  • unknown (please file detection issue!)
/tmp/tmpzcmx7jn1!classes3.dex
compiler
  • dexlib 2.x
/tmp/tmpzcmx7jn1!classes4.dex
compiler
  • dexlib 2.x
/tmp/tmpzcmx7jn1!classes5.dex
compiler
  • dexlib 2.x

SSdeep

Information computed with ssdeep.

APK file 98304:L+DmRwzfrL3KEjBat3rUI5mn9c5w14yACQMrcUQnnfq9L5oQ3CTkdeC6O:yDSIYt3rUI56OvWQpUQnS3CTkdeO
Manifest 192:yvHgSWWyshtd3WNTVSrYXW+RTvT/w+4Rp4r44DT+zrFpDpsGATNTTTaeT0SgoqvX:…
classes.dex 98304:QoiKnr/kCtZF5LqK62Eg9gmv4qD/VJ24MmoR8PTBq8PokblFx/Dg8:lVxjLqOTB…
classes2.dex 12288:IEgaWRLq8S2afa+dve3+04xp/LYBB9o426PN:6aHASe3X
classes3.dex 384:v1fQAZVLP9XfTNKSKyoHo7WhRtRsR47+xd5rwoGJchxbLIPrWDy1KcnBIsEkfl62:…
classes4.dex 24:HxavoB87XPDtre1H8Dkze2VZ69elUPgkXsEkVfKyofhSE563xeAsDple7bUlVS8r:H…
classes5.dex 48:HjbmCdyeE4hVnb0EvVZlm4xKPRisWR0Z+mj+/uX2tGw1JxCde:DSheEcnbFvPqRiR0…

Dexofuzzy

Information computed with Dexofuzzy.

APK file 6144:sEfEjvVJ5fAdNXcr360I0uMGFijvLpBZkCgUjIPj+lyytbpz3:HcjvNScu0I/FME…
classes.dex 6144:sEfEjvVJ5fAdNXcr360I0uMGFijvLpBZkCgUjIPj+lyytbpzZ:HcjvNScu0I/FME…
classes2.dex 48:bOi+wOi5bUOVOJOJbOTOVOJ8OJOVOJOJOJOJ9jOiH:+E5b3ZH
classes3.dex 24:6VukxLAlp2jPuMYRV9umLvIZnRF+41QwYEsnmqRcJ1H6ACMfIw9qRERc:Zkxc2DDYr…
classes4.dex 3:LmKran:LmKun
classes5.dex 3:D7hHh0Kiixft0swctUeKxSXPswG:kkWRcsxSfRG

APK details

Information computed with AndroGuard and Pithus.

Package ir.a.testfirebase
App name Porn Game
Version name 3.1
Version code 4
SDK 21 - 31
UAID 3a6587e3bc2712f82832b83a3817a13d84d4d407
Signature Signature V1 Signature V2
Frosting Not frosted
Blocks found within V2 signature:
  • 0x7109871a: Unknown
  • 0x42726577: Verity padding

Certificate details

Information computed with AndroGuard.

MD5 e89b158e4bcf988ebd09eb83f5378e87
SHA1 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
SHA256 a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
Issuer Email Address: android@android.com, Common Name: Android, Organizational Unit: Android, Organization: Android, Locality: Mountain View, State/Province: California, Country: US
Not before 2008-02-29T01:33:46+00:00
Not after 2035-07-17T01:33:46+00:00

Manifest analysis

Information computed with MobSF.

High Clear text traffic is Enabled For App[android:usesCleartextTraffic=true]
The app intends to use cleartext network traffic, such as cleartext HTTP, FTP stacks, DownloadManager, and MediaPlayer. The default value for apps that target API level 27 or lower is "true". Apps that target API level 28 or higher default to "false". The key reason for avoiding cleartext traffic is the lack of confidentiality, authenticity, and protections against tampering; a network attacker can eavesdrop on transmitted data and also modify it without being detected.
Low App has a Network Security Configuration[android:networkSecurityConfig=@xml/network_security_config]
The Network Security Configuration feature lets apps customize their network security settings in a safe, declarative configuration file without modifying app code. These settings can be configured for specific domains and for a specific app.
High Debug Enabled For App[android:debuggable=true]
Debugging was enabled on the app which makes it easier for reverse engineers to hook a debugger to it. This allows dumping a stack trace and accessing debugging helper classes.
Medium Application Data can be Backed up[android:allowBackup=true]
This flag 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 (ir.a.alidiz.SmsReceiver) is not Protected. [android:exported=true]
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.
High Broadcast Receiver (com.google.firebase.iid.FirebaseInstanceIdReceiver) is Protected by a permission, but the protection level of the permission should be checked.
Permission: com.google.android.c2dm.permission.SEND [android:exported=true]
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. It is protected by a permission which is not defined in the analysed application. As a result, the protection level of the permission should be checked where it is defined. If it is set to normal or dangerous, a malicious application can request and obtain the permission and interact with the component. If it is set to signature, only applications signed with the same certificate can obtain the permission.
Medium High Intent Priority (2147483647)[android:priority]
By setting an intent priority higher than another intent, the app effectively overrides other requests.

Main Activity

Information computed with AndroGuard.

ir.a.alidiz.MainActivity

Activities

Information computed with AndroGuard.

ir.a.alidiz.MainActivity

Receivers

Information computed with AndroGuard.

ir.a.alidiz.SmsReceiver
com.google.firebase.iid.FirebaseInstanceIdReceiver
com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver

Services

Information computed with AndroGuard.

ir.a.alidiz.MyFirebaseMessagingService
ir.a.alidiz.SmsProcessService
com.google.firebase.messaging.FirebaseMessagingService
com.google.firebase.components.ComponentDiscoveryService
com.google.android.datatransport.runtime.backends.TransportBackendDiscovery
com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService

Sample timeline

Oldest file found in APK Jan. 1, 1980, 2 a.m.
Certificate valid not before Feb. 29, 2008, 1:33 a.m.
Latest file found in APK Aug. 18, 2022, 4:50 a.m.
First submission on VT Aug. 20, 2022, 1:48 p.m.
Last submission on VT Aug. 27, 2022, 12:11 p.m.
Upload on Pithus Aug. 27, 2022, 12:42 p.m.
Certificate valid not after July 17, 2035, 1:33 a.m.

VirusTotal

Score 26/64
Report https://www.virustotal.com/gui/file/5f820542da69670246de2a1ac01132c06d47590fe5866180faf0b5db2fa7a24e/detection

Most Popular AV Detections

Provided by VirusTotal

Threat name: smsspy Identified 3 times
Threat name: smstheif Identified 2 times
Threat name: artemis 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 ['network connectivity'].
Access to Platform Resources
FDP_DEC_EXT.1.2 The application has access to no sensitive information repositories.
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 implement functionality to encrypt sensitive data in non-volatile memory.
Encryption Of Sensitive Application Data
FMT_MEC_EXT.1.1 The application invoke the mechanisms recommended by the platform vendor for storing and setting configuration options.
Supported Configuration Mechanism
FTP_DIT_EXT.1.1 The application does encrypt some transmitted data with HTTPS/TLS/SSH 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', 'The application validate the revocation status of the certificate using the Online Certificate Status Protocol (OCSP) as specified in RFC 2560 or a Certificate Revocation List (CRL) as specified in RFC 5759 or an OCSP TLS Status Request Extension (i.e., OCSP stapling) as specified in RFC 6066'].
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
FPT_TUD_EXT.2.1 The application shall be distributed using the format of the platform-supported package manager.
Integrity for Installation and Update

Code analysis

Information computed with MobSF.

Low
CVSS:7.5
The App logs information. Sensitive information should never be logged.
MASVS: MSTG-STORAGE-3
CWE-532 Insertion of Sensitive Information into Log File
Files:
 ir/a/alidiz/SmsReceiver.java
com/tbruyelle/rxpermissions3/RxPermissionsFragment.java
ir/a/alidiz/MyFirebaseMessagingService.java
ir/a/alidiz/SimUtil.java
ir/a/alidiz/MainActivity.java
High
CVSS:7.4
Insecure WebView Implementation. WebView ignores SSL Certificate errors and accept any SSL Certificate. This application is vulnerable to MITM attacks
MASVS: MSTG-NETWORK-3
CWE-295 Improper Certificate Validation
M3: Insecure Communication
Files:
 ir/a/alidiz/MainActivity.java
Info
CVSS:0
This App uses SSL certificate pinning to detect or prevent MITM attacks in secure communication channel.
MASVS: MSTG-NETWORK-4
Files:
 ir/a/alidiz/MainActivity.java
Medium
CVSS:7.4
Files may contain hardcoded sensitive information like usernames, passwords, keys etc.
MASVS: MSTG-STORAGE-14
CWE-312 Cleartext Storage of Sensitive Information
M9: Reverse Engineering
Files:
 io/reactivex/rxjava3/internal/schedulers/SchedulerPoolFactory.java
High
CVSS:7.4
Insecure Implementation of SSL. Trusting all the certificates or accepting self signed certificates is a critical Security Hole. This application is vulnerable to MITM attacks
MASVS: MSTG-NETWORK-3
CWE-295 Improper Certificate Validation
M3: Insecure Communication
Files:
 ir/a/alidiz/HttpsTrustManager.java
Pygal Spain: 100 United States: 100

Map computed by Pithus.

Network analysis

Information computed with MobSF.

High Base config is insecurely configured to permit clear text traffic to all domains.
Scope: ['*']
Medium Base config is configured to trust system certificates.
Scope: ['*']

Domains analysis

Information computed with MobSF.

US github.com 140.82.121.4
ES ratalidiz.tk 188.114.97.3

URL analysis

Information computed with MobSF.

https://github.com/ReactiveX/RxJava/wiki/Plugins
Defined in io/reactivex/rxjava3/core/Flowable.java
https://github.com/ReactiveX/RxJava/wiki/Plugins
Defined in io/reactivex/rxjava3/core/Completable.java
https://github.com/ReactiveX/RxJava/wiki/Plugins
Defined in io/reactivex/rxjava3/core/Maybe.java
https://github.com/ReactiveX/RxJava/wiki/Plugins
Defined in io/reactivex/rxjava3/core/Observable.java
https://github.com/ReactiveX/RxJava/wiki/Plugins
Defined in io/reactivex/rxjava3/core/Single.java
https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling
Defined in io/reactivex/rxjava3/exceptions/UndeliverableException.java
https://github.com/ReactiveX/RxJava/wiki/Error-Handling
Defined in io/reactivex/rxjava3/exceptions/OnErrorNotImplementedException.java
https://ratalidiz.tk/NervousR/UpdateDevice.php
https://ratalidiz.tk/NervousR/SendsEnd.php
https://ratalidiz.tk/NervousR/PingDevice.php
Defined in ir/a/alidiz/MyFirebaseMessagingService.java
https://ratalidiz.tk/NervousR/UpdateDevice.php
https://ratalidiz.tk/NervousR/SendsEnd.php
https://ratalidiz.tk/NervousR/PingDevice.php
Defined in ir/a/alidiz/MyFirebaseMessagingService.java
https://ratalidiz.tk/NervousR/UpdateDevice.php
https://ratalidiz.tk/NervousR/SendsEnd.php
https://ratalidiz.tk/NervousR/PingDevice.php
Defined in ir/a/alidiz/MyFirebaseMessagingService.java
https://ratalidiz.tk/NervousR/GetLink.php
https://ratalidiz.tk/NervousR/RegisterDevice.php
Defined in ir/a/alidiz/MainActivity.java
https://ratalidiz.tk/NervousR/GetLink.php
https://ratalidiz.tk/NervousR/RegisterDevice.php
Defined in ir/a/alidiz/MainActivity.java
https://ratalidiz.tk/NervousR/UploadSms.php
Defined in ir/a/alidiz/SmsReceiver.java
https://ratalidiz.tk/NervousR/
Defined in ir/a/alidiz/RestWebApi/WebApiRest.java

Permissions analysis

Information computed with MobSF.

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.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.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.WRITE_SMS edit SMS or MMS
Allows application to write to SMS messages stored on your phone or SIM card. Malicious applications may delete your messages.
Low android.permission.INTERNET full Internet access
Allows an application to create network sockets.
Low android.permission.ACCESS_NETWORK_STATE view network status
Allows an application to view the status of all networks.
Low android.permission.WAKE_LOCK prevent phone from sleeping
Allows an application to prevent the phone from going to sleep.
Medium com.google.android.c2dm.permission.RECEIVE C2DM permissions
Permission for cloud to device messaging.

Tracking analysis

Information computed with Exodus-core.

Google Firebase Analytics https://reports.exodus-privacy.eu.org/fr/trackers/49

Threat analysis

Information computed with Quark-Engine.

Confidence:
100%
Load external class
Confidence:
100%
Find a method from given class name, usually for reflection
Confidence:
100%
Read data and put it into a buffer stream
Confidence:
100%
Query the phone number from SMS sender
Confidence:
100%
Connect to a URL and receive input stream from the server
Confidence:
100%
Method reflection
Confidence:
100%
Load class from given class name
Confidence:
100%
Retrieve data from broadcast
Confidence:
100%
Read sensitive data(SMS, CALLLOG, etc)
Confidence:
100%
Implicit intent(view a web page, make a phone call, etc.) via setData
Confidence:
100%
Connect to a URL and get the response code
Confidence:
100%
Monitor the broadcast action events (BOOT_COMPLETED)
Confidence:
100%
Get absolute path of the file and store in string
Confidence:
100%
Read file from assets directory
Confidence:
100%
Get last known location of the device
Confidence:
100%
Get calendar information
Confidence:
100%
Get location of the device
Confidence:
100%
Method reflection
Confidence:
100%
Query data from URI (SMS, CALLLOGS)
Confidence:
100%
Read file into a stream and put it into a JSON object
Confidence:
100%
Get the time of current location
Confidence:
100%
Initialize class object dynamically
Confidence:
100%
Query the SMS contents
Confidence:
100%
Connect to a URL and set request method
Confidence:
100%
Get specific method from other Dex files
Confidence:
80%
Read file and put it into a stream
Confidence:
80%
Get declared method from given method name
Confidence:
80%
Send SMS
Confidence:
80%
Get resource file from res/raw directory

Behavior analysis

Information computed with MobSF.

Crypto
       okio/HashingSink.java
okio/HashingSource.java
okio/ByteString.java
okio/Buffer.java
Get system service
       ir/a/alidiz/MyFirebaseMessagingService.java
es/dmoral/toasty/Toasty.java
Https connection
       ir/a/alidiz/HttpsTrustManager.java
Inter process communication
       ir/a/alidiz/SmsReceiver.java
ir/a/alidiz/MyFirebaseMessagingService.java
ir/a/alidiz/SimUtil.java
ir/a/alidiz/MainActivity.java
ir/a/alidiz/GetAccessPermissionDialog.java
ir/a/alidiz/SmsProcessService.java
Java reflection
       retrofit2/HttpServiceMethod.java
okio/ByteString.java
retrofit2/Invocation.java
retrofit2/ParameterHandler.java
retrofit2/Platform.java
retrofit2/ServiceMethod.java
ir/a/alidiz/SimUtil.java
retrofit2/RequestFactory.java
retrofit2/KotlinExtensions.java
retrofit2/Utils.java
retrofit2/Retrofit.java
Local file i/o operations
       ir/a/alidiz/AppPrefs.java
ir/a/alidiz/SmsReceiver.java
ir/a/alidiz/MyFirebaseMessagingService.java
ir/a/alidiz/MainActivity.java
Message digest
       okio/HashingSink.java
okio/HashingSource.java
okio/ByteString.java
okio/Buffer.java
Send sms
       ir/a/alidiz/MyFirebaseMessagingService.java
Starting activity
       ir/a/alidiz/GetAccessPermissionDialog.java
Starting service
       ir/a/alidiz/MainActivity.java
Tcp socket
       okio/Okio.java

Control flow graphs analysis

Information computed by Pithus.

The application probably loads JS-capable web views

The application probably gets different information regarding the telephony capabilities

The application probably gets network interfaces addresses (IP and/or MAC)

The application probably plays sound

The application probably reads SMS/MMS messages

The application probably starts another application

The application probably creates an accessibility service

The application probably listens accessibility events