Malicious
7
/63

Threat

com.example.chat_app_securii3772021

E-To-E Chat Secure

Analyzed on 2021-08-02T16:39:53.349338

18

permissions

2

activities

2

services

2

receivers

5

domains

File sums

MD5 f2b54eda7c3e19c4e429d7adb1b7560c
SHA1 9725af7718f750ae4d6eebd80b126f9bdfd1d5ea
SHA256 d9aea4cc97508bd71a7fbd88ac72a4097811a7a9dda096bb7cc1d75f477fd6c0
Size 1.46MB

APKiD

Information computed with APKiD.

/tmp/tmp3ldwpusj!classes.dex
anti_vm
  • Build.MANUFACTURER check
  • network operator name check
compiler
  • dx

SSdeep

Information computed with ssdeep.

APK file 24576:nDpOKsC375KLOV/PugdCtlJ4rtixKAYTLdkESMrpKy70e7Ub3ekJ5J97mo:9Oc3QLOV/PVSarzAYThSM9Kk6ukLJ975
Manifest 192:dQgSw0Qy/B1xyOfX+Sdl3mOzGIwkCUrEa/080zTmGDouo2k/kqvY4Z0/D6050h0G:…
classes.dex 24576:BZlDQASOgbYsWUIAVlqBTO2a2HFEh1ng0cEWdttbDRvrXAXQXUXmt2EPn6TQSJ:…

Dexofuzzy

Information computed with Dexofuzzy.

APK file 1536:whmGTfl7chQCrxFFYUEerkAcUTtpyjlUhHiUp+5q9S7aDZZS:fGTflwhQSAcdBTt…
classes.dex 1536:whmGTfl7chQCrxFFYUEerkAcUTtpyjlUhHiUp+5q9S7aDZZS:fGTflwhQSAcdBTt…

APK details

Information computed with AndroGuard and Pithus.

Package com.example.chat_app_securii3772021
App name E-To-E Chat Secure
Version name 2-19
Version code 5
SDK 19 - 22
UAID feee26e5b9fd507d2b516c17bfb7af10ef0b7494
Signature Signature V1
Frosting Not frosted

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.

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 (com.example.chat_app_securii3772021.hzaSrvv9al521) 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 (com.example.chat_app_securii3772021.MyAccessibilityService) is Protected by a permission, but the protection level of the permission should be checked.
Permission: android.permission.BIND_ACCESSIBILITY_SERVICE [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. 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.

Main Activity

Information computed with AndroGuard.

['com.example.chat_app_securii3772021.MainActivity', 'com.example.chat_app_securii3772021.SettingVPActivity']

Activities

Information computed with AndroGuard.

com.example.chat_app_securii3772021.MainActivity
com.example.chat_app_securii3772021.SettingVPActivity

Receivers

Information computed with AndroGuard.

com.example.chat_app_securii3772021.Alarm5520221
com.example.chat_app_securii3772021.hzaSrvv9al521

Services

Information computed with AndroGuard.

com.example.chat_app_securii3772021.NtSrv9ice521
com.example.chat_app_securii3772021.MyAccessibilityService

Sample timeline

Certificate valid not before Feb. 29, 2008, 1:33 a.m.
Oldest file found in APK Feb. 29, 2008, 4:33 a.m.
Latest file found in APK Feb. 29, 2008, 4:33 a.m.
First submission on VT Aug. 1, 2021, 10:52 a.m.
Last submission on VT Aug. 1, 2021, 10:52 a.m.
Upload on Pithus Aug. 2, 2021, 4:39 p.m.
Certificate valid not after July 17, 2035, 1:33 a.m.

VirusTotal

Score 7/63
Report https://www.virustotal.com/gui/file/d9aea4cc97508bd71a7fbd88ac72a4097811a7a9dda096bb7cc1d75f477fd6c0/detection

Most Popular AV Detections

Provided by VirusTotal

Threat name: spyagent Identified 2 times
Threat name: fotp Identified 2 times

NIAP analysis

Information computed with MobSF.

FCS_RBG_EXT.1.1 The application use no 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 ['location', 'microphone', 'network connectivity'].
Access to Platform Resources
FDP_DEC_EXT.1.2 The application has access to ['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 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_COP.1.1(2) The application perform cryptographic hashing services not in accordance with FCS_COP.1.1(2) and uses the cryptographic algorithm RC2/RC4/MD4/MD5.
Cryptographic Operation - Hashing

Code analysis

Information computed with MobSF.

High
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/example/chat_app_securii3772021/MainActivity.java
Medium
CVSS:4.3
IP Address disclosure
MASVS: MSTG-CODE-2
CWE-200 Information Exposure
Files:
 com/example/chat_app_securii3772021/n.java
com/example/chat_app_securii3772021/SettingVPActivity.java
High
CVSS:5.5
App can read/write to External Storage. Any App can read data written to External Storage.
MASVS: MSTG-STORAGE-2
CWE-276 Incorrect Default Permissions
M2: Insecure Data Storage
Files:
 com/example/chat_app_securii3772021/n.java
com/example/chat_app_securii3772021/a/h.java
com/example/chat_app_securii3772021/MyAccessibilityService.java
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:
 com/thoughtworks/xstream/core/JVM.java
com/example/chat_app_securii3772021/MyAccessibilityService.java
com/example/chat_app_securii3772021/a/b.java
com/github/ybq/android/spinkit/animation/SpriteAnimatorBuilder.java
org/xmlpull/v1/XmlPullParserException.java
High
CVSS:5.9
App uses SQLite Database and execute raw SQL query. Untrusted user input in raw SQL queries can cause SQL Injection. Also sensitive information should be encrypted and written to the database.
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
M7: Client Code Quality
Files:
 com/example/chat_app_securii3772021/MyAccessibilityService.java
com/example/chat_app_securii3772021/a.java
Pygal United States: 400

Map computed by Pithus.

Domains analysis

Information computed with MobSF.

US xmlpull.org 74.50.62.60
com.thoughtworks.xstream
US xml.org 104.239.240.11
US raw.githubusercontent.com 185.199.110.133
US www.w3.org 128.30.52.100

URL analysis

Information computed with MobSF.

http://com.thoughtworks.xstream/XStreamSource/feature
Defined in com/thoughtworks/xstream/io/xml/TraxSource.java
http://com.thoughtworks.xstream/sax/property/configured-xstream
http://com.thoughtworks.xstream/sax/property/source-object-list
http://xml.org/sax/features/namespaces
http://xml.org/sax/features/namespace-prefixes
Defined in com/thoughtworks/xstream/io/xml/SaxWriter.java
https://raw.githubusercontent.com/jaredrummler/AndroidDeviceNames/master/json/devices/%s.json
Defined in com/jaredrummler/android/device/DeviceName.java
http://xmlpull.org/v1/doc/features.html#names-interned
http://xmlpull.org/v1/doc/features.html#xml-roundtrip
http://xmlpull.org/v1/doc/properties.html#location
http://xmlpull.org/v1/doc/properties.html#xmldecl-content
http://xmlpull.org/v1/doc/properties.html#xmldecl-standalone
http://xmlpull.org/v1/doc/properties.html#xmldecl-version
http://www.w3.org/2000/xmlns/
http://www.w3.org/XML/1998/namespace
Defined in org/xmlpull/mxp1/MXParser.java
http://xmlpull.org/v1/doc/features.html#process-docdecl
http://xmlpull.org/v1/doc/features.html#process-namespaces
http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes
http://xmlpull.org/v1/doc/features.html#validation
Defined in org/xmlpull/v1/XmlPullParser.java

Permissions analysis

Information computed with MobSF.

High android.permission.GET_ACCOUNTS list accounts
Allows access to the list of accounts in the Accounts Service.
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.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.WRITE_EXTERNAL_STORAGE read/modify/delete external storage contents
Allows an application to write to external storage.
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.READ_EXTERNAL_STORAGE read external storage contents
Allows an application to read from external storage.
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.GET_TASKS retrieve running applications
Allows application to retrieve information about currently and recently running tasks. May allow malicious applications to discover private information about other applications.
High android.permission.RECORD_AUDIO record audio
Allows application to access the audio record path.
Low android.permission.ACCESS_NETWORK_STATE view network status
Allows an application to view the status of all networks.
Low android.permission.INTERNET full Internet access
Allows an application to create network sockets.
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.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_LOCATION_EXTRA_COMMANDS access extra location provider commands
Access extra location provider commands. Malicious applications could use this to interfere with the operation of the GPS or other location sources.
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.
Medium android.permission.PACKAGE_USAGE_STATS update component usage statistics
Allows the modification of collected component usage statistics. Not for use by common applications.

Threat analysis

Information computed with Quark-Engine.

Confidence:
100%
Query the current data network type
Confidence:
100%
Run shell script programmably
Confidence:
100%
Query the list of the installed packages
Confidence:
100%
Find a method from given class name, usually for reflection
Confidence:
100%
Start a web server
Confidence:
100%
Connect to a URL and receive input stream from the server
Confidence:
100%
Method reflection
Confidence:
100%
Install other APKs from file
Confidence:
100%
Get the network operator name
Confidence:
100%
Load class from given class name
Confidence:
100%
Read sensitive data(SMS, CALLLOG, etc)
Confidence:
100%
Open a file from given absolute path of the file
Confidence:
100%
Connect to a URL and get the response code
Confidence:
100%
Monitor the broadcast action events (BOOT_COMPLETED)
Confidence:
100%
Get Location of the device and append this info to a string
Confidence:
100%
Get absolute path of the file and store in string
Confidence:
100%
Get last known location of the device
Confidence:
100%
Get calendar information
Confidence:
100%
Get the current WIFI information
Confidence:
100%
Get location of the device
Confidence:
100%
Query the IMEI number
Confidence:
100%
Method reflection
Confidence:
100%
Get the country code of the SIM card provider
Confidence:
100%
Connect to the remote server through the given URL
Confidence:
100%
Get the time of current location
Confidence:
100%
Initialize class object dynamically
Confidence:
100%
Check the list of currently running applications
Confidence:
100%
Connect to a URL and set request method
Confidence:
80%
Read data and put it into a buffer stream
Confidence:
80%
Save the response to JSON after connecting to the remote server
Confidence:
80%
Read file and put it into a stream
Confidence:
80%
Use absolute path of directory for the output media file path
Confidence:
80%
Executes the specified string Linux command
Confidence:
80%
Get resource file from res/raw directory

Behavior analysis

Information computed with MobSF.

Base64 decode
       com/example/chat_app_securii3772021/a/g.java
com/example/chat_app_securii3772021/a/h.java
Base64 encode
       com/example/chat_app_securii3772021/a/l.java
com/example/chat_app_securii3772021/a/h.java
com/example/chat_app_securii3772021/a/k.java
Execute os command
       com/example/chat_app_securii3772021/hzaSrvv9al521.java
com/example/chat_app_securii3772021/n.java
com/example/chat_app_securii3772021/MainActivity.java
com/example/chat_app_securii3772021/Alarm5520221.java
Gps location
       SAVED/Pckts521/SeShrp52021/GPSImplmnt.java
SAVED/Pckts521/SeShrp52021/GPSHandler.java
Get cell location
       com/example/chat_app_securii3772021/n.java
Get installed applications
       com/example/chat_app_securii3772021/a/l.java
Get system service
       com/example/chat_app_securii3772021/NtSrv9ice521.java
com/example/chat_app_securii3772021/n.java
com/example/chat_app_securii3772021/Alarm5520221.java
com/jaredrummler/android/device/DeviceName.java
SAVED/Pckts521/SeShrp52021/GPSHandler.java
Get wifi details
       com/example/chat_app_securii3772021/n.java
Http connection
       com/example/chat_app_securii3772021/n.java
com/jaredrummler/android/device/DeviceName.java
Inter process communication
       com/example/chat_app_securii3772021/hzaSrvv9al521.java
com/example/chat_app_securii3772021/NtSrv9ice521.java
com/example/chat_app_securii3772021/MainActivity.java
com/example/chat_app_securii3772021/Alarm5520221.java
com/example/chat_app_securii3772021/MyAccessibilityService.java
Java reflection
       com/thoughtworks/xstream/converters/extended/JavaFieldConverter.java
com/thoughtworks/xstream/converters/extended/ToAttributedValueConverter.java
com/thoughtworks/xstream/converters/enums/EnumSetConverter.java
com/thoughtworks/xstream/mapper/DefaultMapper.java
com/thoughtworks/xstream/core/util/Fields.java
com/thoughtworks/xstream/converters/extended/UseAttributeForEnumMapper.java
com/thoughtworks/xstream/converters/reflection/SunUnsafeReflectionProvider.java
com/thoughtworks/xstream/converters/collections/TreeMapConverter.java
com/thoughtworks/xstream/io/xml/SjsxpDriver.java
com/thoughtworks/xstream/converters/enums/EnumMapConverter.java
com/thoughtworks/xstream/converters/reflection/CGLIBEnhancedConverter.java
com/thoughtworks/xstream/core/util/CompositeClassLoader.java
com/thoughtworks/xstream/converters/reflection/ReflectionProvider.java
com/thoughtworks/xstream/io/xml/XppReader.java
com/thoughtworks/xstream/mapper/ImplicitCollectionMapper.java
com/thoughtworks/xstream/mapper/AttributeMapper.java
com/thoughtworks/xstream/XStream.java
com/thoughtworks/xstream/converters/reflection/SunLimitedUnsafeReflectionProvider.java
com/thoughtworks/xstream/converters/reflection/PureJavaReflectionProvider.java
com/thoughtworks/xstream/converters/javabean/BeanProperty.java
com/thoughtworks/xstream/converters/reflection/ReflectionProviderWrapper.java
com/thoughtworks/xstream/converters/extended/DynamicProxyConverter.java
com/thoughtworks/xstream/core/util/CustomObjectInputStream.java
com/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter.java
com/thoughtworks/xstream/converters/extended/StackTraceElementFactory.java
com/thoughtworks/xstream/converters/collections/PropertiesConverter.java
com/thoughtworks/xstream/converters/reflection/AbstractAttributedCharacterIteratorAttributeConverter.java
com/thoughtworks/xstream/core/JVM.java
com/thoughtworks/xstream/mapper/AnnotationMapper.java
com/thoughtworks/xstream/converters/reflection/SerializationMethodInvoker.java
com/thoughtworks/xstream/converters/reflection/FieldDictionary.java
com/thoughtworks/xstream/converters/extended/JavaMethodConverter.java
com/thoughtworks/xstream/converters/collections/TreeSetConverter.java
com/thoughtworks/xstream/converters/javabean/BeanProvider.java
com/thoughtworks/xstream/converters/reflection/SerializableConverter.java
com/thoughtworks/xstream/annotations/AnnotationReflectionConverter.java
com/thoughtworks/xstream/annotations/AnnotationProvider.java
Local file i/o operations
       com/example/chat_app_securii3772021/k.java
com/example/chat_app_securii3772021/n.java
com/example/chat_app_securii3772021/MainActivity.java
com/jaredrummler/android/device/DeviceName.java
Query database of sms, contacts etc
       com/example/chat_app_securii3772021/a/h.java
com/example/chat_app_securii3772021/a/e.java
Starting activity
       com/example/chat_app_securii3772021/MainActivity.java
com/example/chat_app_securii3772021/MyAccessibilityService.java
Starting service
       com/example/chat_app_securii3772021/NtSrv9ice521.java
Tcp socket
       com/example/chat_app_securii3772021/NtSrv9ice521.java
com/example/chat_app_securii3772021/n.java
com/example/chat_app_securii3772021/m.java

Control flow graphs analysis

Information computed by Pithus.

The application probably lists running applications

The application probably gets the IMEI of the phone

The application probably determines the location based on cell towers

The application probably gets the Wi-Fi connection information

The application probably plays sound

The application probably lists all installed applications

The application probably records media (audio and/or video

The application probably gets memory and CPU information

The application probably creates an accessibility service

The application probably listens accessibility events