0/56

Threat

com.samsung.android.app.dofviewer

Live focus

Analyzed on 2022-04-27T19:46:25.574952

6

permissions

1

activities

1

services

0

receivers

1

domains

File sums

MD5 b8134c6303dc96fb69f5e0224d3579a5
SHA1 fbf954c21cc705799ebf445335c24bfde1e5f5be
SHA256 faf4f4210c21efa450d2b1e586d9e24adcea1c685ddc2c4ae172794502689313
Size 16.84MB

APKiD

Information computed with APKiD.

/tmp/tmpl3rrb4j5!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 393216:QPw/XPc+ql/kuLcs+KclE/ucrhiEp/WRGcZ3NlTCD:ow/X0Xl/kuYF7lgXrEs/w/Z9NA
Manifest 96:UyzBzJVaUd8TvUcXBYUGXyDmDkYmdww5ENteSqZ5DxsFLlnnvICMYekH+M7oC0BS:U…
classes.dex 24576:q/Ydg60oKhQLp17sd8JXAXQXUXEtnywzGcFa8x4ufVm/DM2:J8QX7sd8VK62Etn…

Dexofuzzy

Information computed with Dexofuzzy.

classes.dex None

APK details

Information computed with AndroGuard and Pithus.

Package com.samsung.android.app.dofviewer
App name Live focus
Version name 3.0.40
Version code 304000000
SDK 28 - 28
UAID bdfdc8c0778e990123cf98df0b0a2b7e8f45da24
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.

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 Service (com.samsung.android.app.dofviewer.FinishService) 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.
High Activity (com.samsung.android.app.dofviewer.SEFViewerActivity) is not Protected. [android:exported=true]
An Activity is found to be shared with other apps on the device therefore leaving it accessible to any other application on the device.

Activities

Information computed with AndroGuard.

com.samsung.android.app.dofviewer.SEFViewerActivity

Services

Information computed with AndroGuard.

com.samsung.android.app.dofviewer.FinishService

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 Dec. 4, 2021, 11:39 p.m.
Last submission on VT Dec. 4, 2021, 11:39 p.m.
Upload on Pithus April 27, 2022, 7:46 p.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
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
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.

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/context/sdk/samsunganalytics/a/i/a.java
com/samsung/android/app/dofviewer/Utils.java
com/samsung/android/app/dofviewer/SamsungAnalyticsLogUtil.java
com/samsung/app/focusshot/portraitlightingeditor/BeyondEnginePLighting.java
com/samsung/android/app/dofviewer/DvfsManager.java
com/samsung/android/app/dofviewer/ZoomImageView.java
com/samsung/android/app/dofviewer/EngineFactory.java
com/samsung/android/app/dofviewer/artbokeh/EffectsFragment.java
com/samsung/android/app/dofviewer/FocusShotMetaInfo.java
com/samsung/app/focusshot/BufferHandler.java
com/samsung/android/app/dofviewer/DOFEngine.java
com/samsung/android/app/dofviewer/FinishService.java
com/samsung/android/app/dofviewer/SEFViewerActivity.java
com/samsung/android/app/dofviewer/artbokeh/EffectsImageView.java
com/samsung/android/app/dofviewer/AFBaseAnimation.java
com/samsung/android/app/dofviewer/DataUtils.java
com/samsung/android/app/dofviewer/AFControlAnimation.java
com/samsung/app/focusshot/portraitlightingeditor/AsetEnginePLighting.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/samsung/android/app/dofviewer/Constants.java
com/samsung/android/app/dofviewer/Utils.java
com/samsung/android/app/dofviewer/CommonUtil.java
Medium
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/samsung/context/sdk/samsunganalytics/a/g/c/a/a.java
com/samsung/context/sdk/samsunganalytics/a/g/c/a/b.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:
 com/samsung/context/sdk/samsunganalytics/a/f/a.java
Pygal United States: 100

Map computed by Pithus.

Domains analysis

Information computed with MobSF.

US dc.di.atlas.samsung.com 34.120.24.208

URL analysis

Information computed with MobSF.

https://dc.di.atlas.samsung.com
Defined in com/samsung/context/sdk/samsunganalytics/a/a/c.java

Permissions analysis

Information computed with MobSF.

High android.permission.WRITE_EXTERNAL_STORAGE read/modify/delete external storage contents
Allows an application to write to external storage.
High android.permission.READ_EXTERNAL_STORAGE read external storage contents
Allows an application to read from external storage.
High android.permission.SYSTEM_ALERT_WINDOW display system-level alerts
Allows an application to show system-alert windows. Malicious applications can take over the entire screen of the phone.
android.permission.WRITE_MEDIA_STORAGE Unknown permission
Unknown permission from android reference
com.sec.spp.permission.TOKEN_b6298bcd3b70abb719bdaf29c7c2cb08249984dae1e23617cb9a175ab35f… Unknown permission
Unknown permission from android reference
android.permission.INTERACT_ACROSS_USERS_FULL Unknown permission
Unknown permission from android reference

Threat analysis

Information computed with Quark-Engine.

Confidence:
100%
Implicit intent(view a web page, make a phone call, etc.)
Confidence:
100%
Find a method from given class name, usually for reflection
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%
Monitor the broadcast action events (BOOT_COMPLETED)
Confidence:
100%
Method reflection
Confidence:
100%
Initialize class object dynamically
Confidence:
100%
Initialize bitmap object and compress data (e.g. JPEG) into bitmap object
Confidence:
80%
Read file and put it into a stream
Confidence:
80%
Get declared method from given method name
Confidence:
80%
Get absolute path of the file and store in string

Behavior analysis

Information computed with MobSF.

Get sim provider details
       com/samsung/context/sdk/samsunganalytics/a/b/a.java
Get system service
       com/samsung/android/app/dofviewer/Utils.java
com/samsung/android/app/dofviewer/FinishService.java
com/samsung/context/sdk/samsunganalytics/a/b/a.java
com/samsung/context/sdk/samsunganalytics/a/e/e.java
com/samsung/android/app/dofviewer/SEFViewerActivity.java
com/samsung/android/app/dofviewer/artbokeh/EffectsViewGroup.java
com/samsung/android/app/dofviewer/DvfsManager.java
com/samsung/android/app/dofviewer/artbokeh/EffectsImageView.java
com/samsung/context/sdk/samsunganalytics/a/g/b/b.java
com/samsung/android/app/dofviewer/CommonUtil.java
com/samsung/android/app/dofviewer/DataUtils.java
Https connection
       com/samsung/context/sdk/samsunganalytics/a/e/c.java
com/samsung/context/sdk/samsunganalytics/a/g/b/a.java
Inter process communication
       com/samsung/android/app/dofviewer/FinishService.java
com/samsung/context/sdk/samsunganalytics/a/e/e.java
com/samsung/android/app/dofviewer/SEFViewerActivity.java
com/sec/spp/push/dlc/api/IDlcService.java
com/samsung/android/app/dofviewer/IFinishService.java
com/samsung/context/sdk/samsunganalytics/a/g/a/a.java
com/samsung/context/sdk/samsunganalytics/a/b.java
Java reflection
       com/samsung/android/app/dofviewer/Utils.java
com/samsung/android/app/dofviewer/FinishService.java
com/samsung/context/sdk/samsunganalytics/a/e/e.java
com/samsung/android/app/dofviewer/SEFViewerActivity.java
com/samsung/android/app/dofviewer/DvfsManager.java
Loading native code (shared library)
       com/samsung/app/focusshot/Engine.java
com/samsung/app/focusshot/StarEngine.java
com/samsung/android/app/dofviewer/EngineFactory.java
com/samsung/app/focusshot/BufferHandler.java
Local file i/o operations
       com/samsung/android/app/dofviewer/Utils.java
com/samsung/context/sdk/samsunganalytics/a/i/c.java
com/samsung/context/sdk/samsunganalytics/a/e/d.java
com/samsung/android/app/dofviewer/DataUtils.java
com/samsung/context/sdk/samsunganalytics/a/h/c.java
com/samsung/context/sdk/samsunganalytics/a/b.java
com/samsung/context/sdk/samsunganalytics/a/e/c.java
Message digest
       com/samsung/context/sdk/samsunganalytics/a/e/e.java
Sending broadcast
       com/samsung/android/app/dofviewer/FinishService.java
com/samsung/context/sdk/samsunganalytics/a/g/a/a.java
com/samsung/context/sdk/samsunganalytics/a/b.java
Starting activity
       com/samsung/android/app/dofviewer/SEFViewerActivity.java
Starting service
       com/samsung/android/app/dofviewer/SEFViewerActivity.java
com/samsung/context/sdk/samsunganalytics/a/g/a/a.java

Control flow graphs analysis

Information computed by Pithus.

The application probably gets different information regarding the telephony capabilities

The application probably listens accessibility events