- 24 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
processNameCloak
- Mis à jour le 24 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
Determines how App Shielding cloaks the app's process name. When the application starts, App Shielding attempts to cloak the application ID in /proc/self/cmdline by selecting a random name. This makes it slightly harder for an attacker to automatically locate your application process ID.
By default, App Shielding will choose a process name from the following list:
"com.android.launcher"
"com.android.phone"
"com.google.process.location"
"com.google.android.deskclock"
"com.android.settings"
"android.process.media"
"com.google.android.inputmethod.latin"
"com.google.android.gms" •
"com.android.nfc"
"com.google.android.gm"
This option can be used to configure an alternative list of names to choose from, or to disable this functionality altogether.
Specify none to disable cloaking the application ID completely. This should only be used if some part of your application needs to inspect /proc/self/cmdline and expects the correct application ID. If this value is used, then any other configured value is ignored.
Alternatively a list of names by specifying multiple options for each application ID to add to the list. A valid application ID looks like a java package name with at least two segments (one or more dots).
If you choose to define your own list of application IDs, you should configure about 5-15 names.
Type: string
Default Value: N/A
Multiple allowed: Yes
Required: No
To completely disable process name cloaking use:
<processNameCloak v="none" />
To provide a custom list of process names:
<processNameCloak v="com.android.launcher" /> <processNameCloak v="com.android.phone" />