Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Privilege Escalation Library
SECRET//NOFORN
Stash Repository: Privilege Escalation
Interface Description:
The interface for the Privilege Escalation Library specifies an elevatePrivs function be written. The prototype is as follows:
virtual PrivEscErr elevatePrivs(DWORD params);
params: The pid to elevate??
Library Conventions: Describe any and all conventions submissions should adhere to for this library. Applying a naming convention can help with the organization of the library. Any organizational requirements or notes go here as well.
Naming convention of projects in the Privilege Escalation Library:
- Prefix PEPrivilege Escalation (Privilege Escalation)
- Exploit name/crypt
- _ architecture supported. x86, x64, x86&64
Example:
PEVanguard_x86&64
PE = Privilege Escalation
Vanguard = Exploit name
_x86&64 = This library supports both x86 and x64 processors.
XXXXXX Member List: (ex: Execution Vector Member List where the library is execution vectors)
Technique/Class 1 with Link or Anchor to Technique - Class Name: xxxxxx
Example of technique/class in Survey Library: Get User Name(Link to Get User Name Windows APIApplication Programming Interface Module Page) - Class Name: GetUsersName_WinApi
Error Code Descriptions: List error codes with descriptions. Use either a bulleted list or the code block macro. Remember, error codes must be compatible with the SUCCEEDED() and FAILED() macros.
- Error Codes List
Code Sample Using The Library Interface:
SECRET//NOFORN