Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 1 : SharedPreferences are plain XML key-value files by default; encryption needs explicit opt-in via EncryptedSharedPreferences / SharedPreferences डिफ़ॉल्ट रूप से सादे XML कुंजी-मान फ़ाइलें हैं; एन्क्रिप्शन हेतु EncryptedSharedPreferences द्वारा स्पष्ट ऑप्ट-इन चाहिए

Advertisement

Detailed Solution

सही उत्तर SharedPreferences are plain XML key-value files by default; encryption needs explicit opt-in via EncryptedSharedPreferences / SharedPreferences डिफ़ॉल्ट रूप से सादे XML कुंजी-मान फ़ाइलें हैं; एन्क्रिप्शन हेतु EncryptedSharedPreferences द्वारा स्पष्ट ऑप्ट-इन चाहिए है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

A rooted Android image yields /data/data/com.example.bank/shared_prefs/auth.xml containing a plaintext session token. The defence claims Android encrypts all app data by default, so the token must be planted. What is the technically correct rebuttal? / रूटेड Android इमेज से /data/data/com.example.bank/shared_prefs/auth.xml मिलता है जिसमें सादा पाठ सत्र टोकन है। बचाव का दावा है कि Android सभी ऐप डेटा डिफ़ॉल्ट रूप से एन्क्रिप्ट करता है, इसलिए टोकन रोपा गया होगा। तकनीकी रूप से सही खंडन क्या है?

1.
SharedPreferences are plain XML key-value files by default; encryption needs explicit opt-in via EncryptedSharedPreferences / SharedPreferences डिफ़ॉल्ट रूप से सादे XML कुंजी-मान फ़ाइलें हैं; एन्क्रिप्शन हेतु EncryptedSharedPreferences द्वारा स्पष्ट ऑप्ट-इन चाहिए
2.
Full-disk encryption decrypts everything, proving the token is genuine / पूर्ण-डिस्क एन्क्रिप्शन सब कुछ डिक्रिप्ट करता है, जो टोकन के वास्तविक होने को सिद्ध करता है
3.
The token must have come from the SIM card, not the app / टोकन SIM कार्ड से आया होगा, ऐप से नहीं
4.
shared_prefs files are stored in the iOS keychain on Android / shared_prefs फ़ाइलें Android पर iOS keychain में संग्रहित होती हैं

Correct Answer: SharedPreferences are plain XML key-value files by default; encryption needs explicit opt-in via EncryptedSharedPreferences / SharedPreferences डिफ़ॉल्ट रूप से सादे XML कुंजी-मान फ़ाइलें हैं; एन्क्रिप्शन हेतु EncryptedSharedPreferences द्वारा स्पष्ट ऑप्ट-इन चाहिए

SharedPreferences persist as unencrypted XML under the app's private directory unless the developer explicitly uses EncryptedSharedPreferences; device-level encryption protects data at rest, not from a forensic image already decrypted. Option (b) confuses at-rest device encryption with per-file secrecy. / SharedPreferences ऐप की निजी निर्देशिका में अनएन्क्रिप्टेड XML के रूप में बने रहते हैं जब तक डेवलपर स्पष्ट रूप से EncryptedSharedPreferences उपयोग न करे; डिवाइस-स्तरीय एन्क्रिप्शन रेस्ट पर डेटा की रक्षा करता है, पहले से डिक्रिप्टेड फॉरेंसिक इमेज से नहीं। विकल्प (b) रेस्ट पर डिवाइस एन्क्रिप्शन को प्रति-फ़ाइल गोपनीयता से भ्रमित करता है।

Downloaded from PrepSnap (prepsnap.in)