interrupt, stop, suspend, resume, setDaemon, setPriority, setName
and setUncaughtExceptionHandler
methods This allows an attacker to modify the behaviour of any thread in the system. stopThread Stopping of threads via calls to the Thread stop
method This allows code to stop any thread in the system provided that it is already granted permission to access that thread. This poses as a threat, because that code may corrupt the system by killing existing threads. modifyThreadGroup modification of thread groups, e.g., via calls to ThreadGroup destroy
, getParent
, resume
, setDaemon
, setMaxPriority
, stop
, and suspend
methods This allows an attacker to create thread groups and set their run priority. getProtectionDomain Retrieval of the ProtectionDomain for a class This allows code to obtain policy information for a particular code source. While obtaining policy information does not compromise the security of the system, it does give attackers additional information, such as local file names for example, to better aim an attack. getFileSystemAttributes Retrieval of file system attributes This allows code to obtain file system information such as disk usage or disk space available to the caller. This is potentially dangerous because it discloses information about the system hardware configuration and some information about the caller's privilege to write files. readFileDescriptor Reading of file descriptors This would allow code to read the particular file associated with the file descriptor read. This is dangerous if the file contains confidential data. writeFileDescriptor Writing to file descriptors This allows code to write to a particular file associated with the descriptor. This is dangerous because it may allow malicious code to plant viruses or at the very least, fill up your entire disk. loadLibrary.{library name} Dynamic linking of the specified library It is dangerous to allow an applet permission to load native code libraries, because the Java security architecture is not designed to and does not prevent malicious behavior at the level of native code. accessClassInPackage.{package name} Access to the specified package via a class loader's loadClass
method when that class loader calls the SecurityManager checkPackageAccess
method This gives code access to classes in packages to which it normally does not have access. Malicious code may use these classes to help in its attempt to compromise security in the system. defineClassInPackage.{package name} Definition of classes in the specified package, via a class loader's defineClass
method when that class loader calls the SecurityManager checkPackageDefinition
method. This grants code permission to define a class in a particular package. This is dangerous because malicious code with this permission may define rogue classes in trusted packages like java.security
or java.lang
, for example. defineClass Define a class with Lookup.defineClass
. This grants code with a suitably privileged Lookup
object permission to define classes in the same package as the Lookup
's lookup class. accessDeclaredMembers Access to the declared members of a class This grants code permission to query a class for its public, protected, default (package) access, and private fields and/or methods. Although the code would have access to the private and protected field and method names, it would not have access to the private/protected field data and would not be able to invoke any private methods. Nevertheless, malicious code may use this information to better aim an attack. Additionally, it may invoke any public methods and/or access public fields in the class. This could be dangerous if the code would normally not be able to invoke those methods and/or access the fields because it can't cast the object to the class/interface with those methods and fields. queuePrintJob Initiation of a print job request This could print sensitive information to a printer, or simply waste paper. getStackTrace Retrieval of the stack trace information of another thread. This allows retrieval of the stack trace information of another thread. This might allow malicious code to monitor the execution of threads and discover vulnerabilities in applications. getStackWalkerWithClassReference Get a stack walker that can retrieve stack frames with class reference. This allows retrieval of Class objects from stack walking. This might allow malicious code to access Class objects on the stack outside its own context. setDefaultUncaughtExceptionHandler Setting the default handler to be used when a thread terminates abruptly due to an uncaught exception This allows an attacker to register a malicious uncaught exception handler that could interfere with termination of a thread preferences Represents the permission required to get access to the java.util.prefs.Preferences implementations user or system root which in turn allows retrieval or update operations within the Preferences persistent backing store.) This permission allows the user to read from or write to the preferences backing store if the user running the code has sufficient OS privileges to read/write to that backing store. The actual backing store may reside within a traditional filesystem directory or within a registry depending on the platform OS manageProcess Native process termination and information about processes ProcessHandle
. Allows code to identify and terminate processes that it did not create. localeServiceProvider This RuntimePermission
is required to be granted to classes which subclass and implement java.util.spi.LocaleServiceProvider
. The permission is checked during invocation of the abstract base class constructor. This permission ensures trust in classes which implement this security-sensitive provider mechanism. See java.util.spi.LocaleServiceProvider
for more information. loggerFinder This RuntimePermission
is required to be granted to classes which subclass or call methods on java.lang.System.LoggerFinder
. The permission is checked during invocation of the abstract base class constructor, as well as on the invocation of its public methods. This permission ensures trust in classes which provide loggers to system classes. See java.lang.System.LoggerFinder
for more information. accessSystemModules Access system modules in the runtime image. This grants the permission to access resources in the system modules in the runtime image.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4