0/60

Threat

com.samsung.android.brightnessbackupservice

BrightnessBNR

Analyzed on 2021-11-14T10:14:43.876847

4

permissions

0

activities

0

services

1

receivers

0

domains

File sums

MD5 1d5b6973b168d1965ad424551dfbbb3b
SHA1 7dc8e0923a755ffb40682c5b7cc580d5474657cb
SHA256 b7d8bf9e9a643d9cf181f910f2e4a15a1ce61e8877f9d7aaeaf35c25507dea38
Size 0.01MB

APKiD

Information computed with APKiD.

/tmp/tmpvmosmayj!classes.dex
yara_issue
  • yara issue - dex file recognized by apkid but not yara module
compiler
  • unknown (please file detection issue!)

SSdeep

Information computed with ssdeep.

APK file 192:jYkPCTip0jWtE8ALlWjs+DOLFPhBRNEc1By5sliGAQdX2THLJMvozTWCQCW0S8No:j1C+SjWtE8ALlWNolhfNliidGCAmD0No
Manifest 48:CfBwvT85vykpzxalyPlold8BvJrTlE2Al9DNVaCLsAlZc1lZpTlZbPTlEjLEF7TG:C…
classes.dex 384:EdA1EbFuBRr/l5okFxJL2J+WVG2xY14v2zzygEM+:xqartD3zoM+

Dexofuzzy

Information computed with Dexofuzzy.

classes.dex None

APK details

Information computed with AndroGuard and Pithus.

Package com.samsung.android.brightnessbackupservice
App name BrightnessBNR
Version name 9
Version code 28
SDK 28 - 28
UAID 64984ced16df06053d569b3a09891c9f51229b23
Signature Signature V1 Signature V2
Frosting Not frosted
Blocks found within V2 signature:
  • 0x7109871a: Unknown

Certificate details

Information computed with AndroGuard.

MD5 d087e72912fba064cafa78dc34aea839
SHA1 9ca5170f381919dfe0446fcdab18b19a143b3163
SHA256 34df0e7a9f1cf1892e45c056b4973cd81ccf148a4050d11aea4ac5a65f900a42
Issuer Email Address: android.os@samsung.com, Common Name: Samsung Cert, Organizational Unit: DMC, Organization: Samsung Corporation, Locality: Suwon City, State/Province: South Korea, Country: KR
Not before 2011-06-22T12:25:12+00:00
Not after 2038-11-07T12:25:12+00:00

File Analysis

Information computed with MobSF.

Findings Files
Certificate/Key files hardcoded inside the app. SEC-INF/buildConfirm.crt

Manifest analysis

Information computed with MobSF.

High Broadcast Receiver (com.samsung.android.brightnessbackupservice.smartswitch.BrightnessBackupRestoreReceiver) is Protected by a permission, but the protection level of the permission should be checked.
Permission: com.wssnps.permission.COM_WSSNPS [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.

Receivers

Information computed with AndroGuard.

com.samsung.android.brightnessbackupservice.smartswitch.BrightnessBackupRestoreReceiver

Sample timeline

Oldest file found in APK Jan. 1, 2009, midnight
Latest file found in APK Jan. 1, 2009, midnight
Certificate valid not before June 22, 2011, 12:25 p.m.
First submission on VT April 26, 2021, 7:30 p.m.
Last submission on VT April 26, 2021, 7:30 p.m.
Upload on Pithus Nov. 14, 2021, 10:14 a.m.
Certificate valid not after Nov. 7, 2038, 12:25 p.m.

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 no hardware resources.
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 no 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
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_CKM.1.1(3)
FCS_CKM.1.2(3)
A password/passphrase shall perform [Password-based Key Derivation Functions] in accordance with a specified cryptographic algorithm..
Password Conditioning
FCS_COP.1.1(1) The application perform encryption/decryption in accordance with a specified cryptographic algorithm AES-CBC (as defined in NIST SP 800-38A) mode or AES-GCM (as defined in NIST SP 800-38D) and cryptographic key sizes 256-bit/128-bit.
Cryptographic Operation - Encryption/Decryption
FCS_CKM.1.1(2) The application shall generate symmetric cryptographic keys using a Random Bit Generator as specified in FCS_RBG_EXT.1 and specified cryptographic key sizes 128 bit or 256 bit.
Cryptographic Symmetric Key Generation

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:
 com/samsung/android/brightnessbackupservice/smartswitch/BrightnessBackupRestoreReceiver.java
com/samsung/android/brightnessbackupservice/utils/FileCommon.java
com/samsung/android/brightnessbackupservice/common/BrightnessBackupRestoreManager.java
High
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/samsung/android/brightnessbackupservice/smartswitch/BrightnessBackupRestoreReceiver.java

Permissions analysis

Information computed with MobSF.

High android.permission.READ_EXTERNAL_STORAGE read external storage contents
Allows an application to read from external storage.
High android.permission.WRITE_EXTERNAL_STORAGE read/modify/delete external storage contents
Allows an application to write to external storage.
Medium android.permission.DEVICE_POWER turn phone on or off
Allows the application to turn the phone on or off.
com.wssnps.permission.COM_WSSNPS Unknown permission
Unknown permission from android reference

Threat analysis

Information computed with Quark-Engine.

Confidence:
100%
Monitor the broadcast action events (BOOT_COMPLETED)
Confidence:
80%
Read data and put it into a buffer stream
Confidence:
80%
Read file and put it into a stream

Behavior analysis

Information computed with MobSF.

Crypto
       com/samsung/android/brightnessbackupservice/smartswitch/BrightnessBackupRestoreReceiver.java
Inter process communication
       com/samsung/android/brightnessbackupservice/smartswitch/BrightnessBackupRestoreReceiver.java
Sending broadcast
       com/samsung/android/brightnessbackupservice/smartswitch/BrightnessBackupRestoreReceiver.java