Advertisement
RusNuker

Token privilege values for RtlAdjustPrivilege

Feb 13th, 2023 (edited)
855
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.43 KB | None | 0 0
  1. #ifndef SE_CREATE_TOKEN_PRIVILEGE // if not defined...
  2.  
  3. #define SE_CREATE_TOKEN_PRIVILEGE 1 // we define it.
  4. #define SE_ASSIGN_PRIMARY_TOKEN_PRIVILEGE 2
  5. #define SE_LOCK_MEMORY_PRIVILEGE 3
  6. #define SE_INCREASE_QUOTA_PRIVILEGE 4
  7. #define SE_UNSOLICITED_INPUT_PRIVILEGE 5
  8. #define SE_MACHINE_ACCOUNT_PRIVILEGE 6
  9. #define SE_TCB_PRIVILEGE 7
  10. #define SE_SECURITY_PRIVILEGE 8
  11. #define SE_TAKE_OWNERSHIP_PRIVILEGE 9
  12. #define SE_LOAD_DRIVER_PRIVILEGE 10
  13. #define SE_SYSTEM_PROFILE_PRIVILEGE 11
  14. #define SE_SYSTEM_TIME_PRIVILEGE 12
  15. #define SE_PROFILE_SINGLE_PROCESS_PRIVILEGE 13
  16. #define SE_INCREASE_BASE_PRIORITY_PRIVILEGE 14
  17. #define SE_CREATE_PAGEFILE_PRIVILEGE 15
  18. #define SE_CREATE_PERMANENT_PRIVILEGE 16
  19. #define SE_BACKUP_PRIVILEGE 17
  20. #define SE_RESTORE_PRIVILEGE 18
  21. #define SE_SHUTDOWN_PRIVILEGE 19
  22. #define SE_DEBUG_PRIVILEGE 20
  23. #define SE_AUDIT_PRIVILEGE 21
  24. #define SE_SYSTEM_ENVIRONMENT_PRIVILEGE 22
  25. #define SE_CHANGE_NOTIFY_PRIVILEGE 23
  26. #define SE_REMOTE_SHUTDOWN_PRIVILEGE 24
  27. #define SE_UNDOCK_PRIVILEGE 25
  28. #define SE_SYNC_AGENT_PRIVILEGE 26
  29. #define SE_ENABLE_DELEGATION_PRIVILEGE 27
  30. #define SE_MANAGE_VOLUME_PRIVILEGE 28
  31. #define SE_IMPERSONATE_PRIVILEGE 29
  32. #define SE_CREATE_GLOBAL_PRIVILEGE 30
  33. #define SE_TRUSTED_CREDMAN_ACCESS_PRIVILEGE 31
  34. #define SE_RELABEL_PRIVILEGE 32
  35. #define SE_INCREASE_WORKING_SET_PRIVILEGE 33
  36. #define SE_TIME_ZONE_PRIVILEGE 34
  37. #define SE_CREATE_SYMBOLIC_LINK_PRIVILEGE 35
  38.  
  39. #endif // SE_CREATE_TOKEN_PRIVILEGE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement