Skip to content

Commit 11f2730

Browse files
authored
Merge pull request #30 from talsec/new_sdk
Added systemVPN, screenshot and screenRecording
2 parents d31affb + fc33d8c commit 11f2730

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1405
-690
lines changed

FreeRASP/Resources/R.generated.swift

Lines changed: 229 additions & 1 deletion
Large diffs are not rendered by default.

FreeRASP/Resources/cs.lproj/Localizable.strings

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,15 @@
6262
"protectionStatus.type.unofficialStore.description" = "Aplikace, která není distribuována prostřednictvím oficiálního obchodu, může být zfalšovaná a nezabezpečená.";
6363
"protectionStatus.type.unofficialStore.ok" = "Aplikace byla nainstalována pomocí oficiálního zdroje.";
6464
"protectionStatus.type.unofficialStore.nok" = "Aplikace byla nainstalována pomocí neoficiálního zdroje.";
65+
"protectionStatus.type.systemVPN.title" = "Služba VPN";
66+
"protectionStatus.type.systemVPN.description" = "Běžící služba VPN na mobilních zařízeních je klíčová pro aplikace citlivé na bezpečnost, protože může signalizovat potenciální rizika související s ochranou soukromí a bezpečností.";
67+
"protectionStatus.type.systemVPN.ok" = "Služba VPN je neběží.";
68+
"protectionStatus.type.systemVPN.nok" = "Služba VPN je běží.";
69+
"protectionStatus.type.screenshot.title" = "Snímek obrazovky";
70+
"protectionStatus.type.screenshot.description" = "Snímky obrazovky mohou být zneužity škodlivými aktéry k zachycení citlivých informací zobrazených v aplikaci, jako jsou přihlašovací údaje nebo platební údaje.";
71+
"protectionStatus.type.screenshot.ok" = "Snímek obrazovky aplikace nebyl detekován.";
72+
"protectionStatus.type.screenshot.nok" = "Snímek obrazovky aplikace byl detekován.";
73+
"protectionStatus.type.screenRecording.title" = "Záznam obrazovky";
74+
"protectionStatus.type.screenRecording.description" = "Záznam obrazovky může být zneužit škodlivými aktéry k zachycení citlivých uživatelských interakcí nebo postupů v aplikaci.";
75+
"protectionStatus.type.screenRecording.ok" = "Záznam obrazovky aplikace nebyl detekován.";
76+
"protectionStatus.type.screenRecording.nok" = "Záznam obrazovky aplikace byl detekován.";

FreeRASP/Resources/en.lproj/Localizable.strings

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,15 @@
6262
"protectionStatus.type.unofficialStore.description" = "An application not distributed via official store might be tampered and insecure.";
6363
"protectionStatus.type.unofficialStore.ok" = "The app has been installed using an official store.";
6464
"protectionStatus.type.unofficialStore.nok" = "The app has been installed using an unofficial store.";
65+
"protectionStatus.type.systemVPN.title" = "System VPN";
66+
"protectionStatus.type.systemVPN.description" = "A running VPN service on mobile devices is critical for security-sensitive applications, as it can indicate potential privacy and security risks.";
67+
"protectionStatus.type.systemVPN.ok" = "The system VPN is disabled.";
68+
"protectionStatus.type.systemVPN.nok" = "The system VPN is enabled.";
69+
"protectionStatus.type.screenshot.title" = "Screenshot";
70+
"protectionStatus.type.screenshot.description" = "Screenshots can be used by malicious actors to capture sensitive information displayed in the app, such as login credentials or payment details.";
71+
"protectionStatus.type.screenshot.ok" = "A screenshot of the app has not been detected.";
72+
"protectionStatus.type.screenshot.nok" = "A screenshot of the app has been detected.";
73+
"protectionStatus.type.screenRecording.title" = "Screen Recording";
74+
"protectionStatus.type.screenRecording.description" = "Screen recording can be used by malicious actors to capture sensitive user interactions or application flows.";
75+
"protectionStatus.type.screenRecording.ok" = "A screen recording of the app has not been detected.";
76+
"protectionStatus.type.screenRecording.nok" = "A screen recording of the app has been detected.";

FreeRASP/Resources/sk.lproj/Localizable.strings

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,16 @@
6262
"protectionStatus.type.unofficialStore.description" = "Aplikácia, ktorá nie je distribuovaná prostredníctvom oficiálneho obchodu, môže byť poškodená a nezabezpečená.";
6363
"protectionStatus.type.unofficialStore.ok" = "Aplikácia bola nainštalovaná z oficiálneho zdroja.";
6464
"protectionStatus.type.unofficialStore.nok" = "Aplikácia bola nainštalovaná z neoficiálneho zdroja.";
65+
"protectionStatus.type.systemVPN.title" = "Služba VPN";
66+
"protectionStatus.type.systemVPN.description" = "Zapnutá služba VPN na mobilných zariadeniach je kritická pre aplikácie citlivé na bezpečnosť, pretože môže signalizovať potenciálne riziká súvisiace s ochranou súkromia a bezpečnosťou.";
67+
"protectionStatus.type.systemVPN.ok" = "Služba VPN je vypnutá.";
68+
"protectionStatus.type.systemVPN.nok" = "Služba VPN je zapnutá.";
69+
"protectionStatus.type.screenshot.title" = "Snímka obrazovky";
70+
"protectionStatus.type.screenshot.description" = "Snímky obrazovky môžu byť zneužité škodlivými aktérmi na zachytenie citlivých informácií zobrazených v aplikácii, ako sú prihlasovacie údaje alebo platobné údaje.";
71+
"protectionStatus.type.screenshot.ok" = "Snímka obrazovky aplikácie nebola detekovaná.";
72+
"protectionStatus.type.screenshot.nok" = "Snímka obrazovky aplikácie bola detekovaná.";
73+
74+
"protectionStatus.type.screenRecording.title" = "Nahrávanie obrazovky";
75+
"protectionStatus.type.screenRecording.description" = "Nahrávanie obrazovky môže byť zneužité škodlivými aktérmi na zachytenie citlivých užívateľských interakcií alebo postupov v aplikácii.";
76+
"protectionStatus.type.screenRecording.ok" = "Nahrávanie obrazovky aplikácie nebolo detekované.";
77+
"protectionStatus.type.screenRecording.nok" = "Nahrávanie obrazovky aplikácie bolo detekované.";

FreeRASP/Sources/Common/Model/ProtectionCategory.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ enum ProtectionCategory: CaseIterable {
2525
.passcode,
2626
.passcodeChange,
2727
.secureEnclave,
28-
.jailbreak
28+
.jailbreak,
29+
.systemVPN
2930
]
3031
case .inDepthAnalysis:
3132
return [
3233
.signature,
3334
.debugger,
3435
.simulator,
3536
.runtimeManipulation,
36-
.unofficialStore
37+
.unofficialStore,
38+
.screenshot,
39+
.screenRecording
3740
]
3841
}
3942
}

FreeRASP/Sources/Common/Model/ProtectionType.swift

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ enum ProtectionType {
1818
case runtimeManipulation
1919
case deviceBinding
2020
case unofficialStore
21+
case systemVPN
22+
case screenshot
23+
case screenRecording
2124

2225
var scoreDownValue: Int {
2326
switch self {
@@ -31,6 +34,9 @@ enum ProtectionType {
3134
case .runtimeManipulation: return 53
3235
case .deviceBinding: return 0
3336
case .unofficialStore: return 21
37+
case .systemVPN: return 31
38+
case .screenshot: return 31
39+
case .screenRecording: return 31
3440
}
3541
}
3642

@@ -46,6 +52,9 @@ enum ProtectionType {
4652
case .runtimeManipulation: return L.protectionStatusTypeRuntimeManipulationTitle()
4753
case .deviceBinding: return L.protectionStatusTypeDeviceBindingTitle()
4854
case .unofficialStore: return L.protectionStatusTypeUnofficialStoreTitle()
55+
case .systemVPN: return L.protectionStatusTypeSystemVPNTitle()
56+
case .screenshot: return L.protectionStatusTypeScreenshotTitle()
57+
case .screenRecording: return L.protectionStatusTypeScreenRecordingTitle()
4958
}
5059
}
5160

@@ -61,6 +70,9 @@ enum ProtectionType {
6170
case .runtimeManipulation: return L.protectionStatusTypeRuntimeManipulationDescription()
6271
case .deviceBinding: return L.protectionStatusTypeDeviceBindingDescription()
6372
case .unofficialStore: return L.protectionStatusTypeUnofficialStoreDescription()
73+
case .systemVPN: return L.protectionStatusTypeSystemVPNDescription()
74+
case .screenshot: return L.protectionStatusTypeScreenshotDescription()
75+
case .screenRecording: return L.protectionStatusTypeScreenRecordingDescription()
6476
}
6577
}
6678

@@ -76,6 +88,9 @@ enum ProtectionType {
7688
case .runtimeManipulation: return L.protectionStatusTypeRuntimeManipulationOk()
7789
case .deviceBinding: return L.protectionStatusTypeDeviceBindingOk()
7890
case .unofficialStore: return L.protectionStatusTypeUnofficialStoreOk()
91+
case .systemVPN: return L.protectionStatusTypeSystemVPNOk()
92+
case .screenshot: return L.protectionStatusTypeScreenshotOk()
93+
case .screenRecording: return L.protectionStatusTypeScreenRecordingOk()
7994
}
8095
}
8196

@@ -91,6 +106,9 @@ enum ProtectionType {
91106
case .runtimeManipulation: return L.protectionStatusTypeRuntimeManipulationNok()
92107
case .deviceBinding: return L.protectionStatusTypeDeviceBindingNok()
93108
case .unofficialStore: return L.protectionStatusTypeUnofficialStoreNok()
109+
case .systemVPN: return L.protectionStatusTypeSystemVPNNok()
110+
case .screenshot: return L.protectionStatusTypeScreenshotNok()
111+
case .screenRecording: return L.protectionStatusTypeScreenRecordingNok()
94112
}
95113
}
96114
}

FreeRASP/Sources/Common/Service/SecurityService.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class SecurityService {
2424
case .missingSecureEnclave: securityRisks.insert(.secureEnclave)
2525
case .deviceChange: securityRisks.insert(.deviceBinding)
2626
case .unofficialStore: securityRisks.insert(.unofficialStore)
27+
case .systemVPN: securityRisks.insert(.systemVPN)
28+
case .screenshot: securityRisks.insert(.screenshot)
29+
case .screenRecording: securityRisks.insert(.screenRecording)
2730
case .deviceID: break
2831
@unknown default: break
2932
}

FreeRASPDemo.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@
845845
CODE_SIGN_STYLE = Automatic;
846846
CURRENT_PROJECT_VERSION = 28;
847847
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
848-
DEVELOPMENT_TEAM = ASQC376HCN;
848+
DEVELOPMENT_TEAM = PBDDS45LQS;
849849
ENABLE_BITCODE = NO;
850850
INFOPLIST_FILE = FreeRASP/Resources/Info.plist;
851851
INFOPLIST_KEY_UIUserInterfaceStyle = Light;
@@ -870,7 +870,7 @@
870870
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
871871
CODE_SIGN_STYLE = Automatic;
872872
CURRENT_PROJECT_VERSION = 28;
873-
DEVELOPMENT_TEAM = ASQC376HCN;
873+
DEVELOPMENT_TEAM = PBDDS45LQS;
874874
ENABLE_BITCODE = NO;
875875
INFOPLIST_FILE = FreeRASP/Resources/Info.plist;
876876
INFOPLIST_KEY_UIUserInterfaceStyle = Light;
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)