-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathLSAPrivileges.cs
More file actions
52 lines (51 loc) · 3.34 KB
/
LSAPrivileges.cs
File metadata and controls
52 lines (51 loc) · 3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
namespace SharpHoundCommonLib.Enums
{
public class LSAPrivileges
{
public const string AssignPrimaryToken = "SeAssignPrimaryTokenPrivilege";
public const string Audit = "SeAuditPrivilege";
public const string Backup = "SeBackupPrivilege";
public const string BatchLogon = "SeBatchLogonRight";
public const string ChangeNotify = "SeChangeNotifyPrivilege";
public const string CreateGlobal = "SeCreateGlobalPrivilege";
public const string CreatePagefile = "SeCreatePagefilePrivilege";
public const string CreatePermanent = "SeCreatePermanentPrivilege";
public const string CreateSymbolicLink = "SeCreateSymbolicLinkPrivilege";
public const string CreateToken = "SeCreateTokenPrivilege";
public const string Debug = "SeDebugPrivilege";
public const string DenyBatchLogon = "SeDenyBatchLogonRight";
public const string DenyInteractiveLogon = "SeDenyInteractiveLogonRight";
public const string DenyNetworkLogon = "SeDenyNetworkLogonRight";
public const string DenyRemoteInteractiveLogon = "SeDenyRemoteInteractiveLogonRight";
public const string DenyServiceLogon = "SeDenyServiceLogonRight";
public const string EnableDelegation = "SeEnableDelegationPrivilege";
public const string Impersonate = "SeImpersonatePrivilege";
public const string IncreaseBasePriority = "SeIncreaseBasePriorityPrivilege";
public const string IncreaseQuota = "SeIncreaseQuotaPrivilege";
public const string IncreaseWorkingSet = "SeIncreaseWorkingSetPrivilege";
public const string InteractiveLogon = "SeInteractiveLogonRight";
public const string LoadDriver = "SeLoadDriverPrivilege";
public const string LockMemory = "SeLockMemoryPrivilege";
public const string MachineAccount = "SeMachineAccountPrivilege";
public const string ManageVolume = "SeManageVolumePrivilege";
public const string NetworkLogon = "SeNetworkLogonRight";
public const string ProfileSingleProcess = "SeProfileSingleProcessPrivilege";
public const string Relabel = "SeRelabelPrivilege";
public const string RemoteInteractiveLogon = "SeRemoteInteractiveLogonRight";
public const string RemoteShutdown = "SeRemoteShutdownPrivilege";
public const string Restore = "SeRestorePrivilege";
public const string Security = "SeSecurityPrivilege";
public const string ServiceLogon = "SeServiceLogonRight";
public const string Shutdown = "SeShutdownPrivilege";
public const string SyncAgent = "SeSyncAgentPrivilege";
public const string SystemEnvironment = "SeSystemEnvironmentPrivilege";
public const string SystemProfile = "SeSystemProfilePrivilege";
public const string SystemTime = "SeSystemtimePrivilege";
public const string TakeOwnership = "SeTakeOwnershipPrivilege";
public const string Tcb = "SeTcbPrivilege";
public const string TimeZone = "SeTimeZonePrivilege";
public const string TrustedCredManAccess = "SeTrustedCredManAccessPrivilege";
public const string Undock = "SeUndockPrivilege";
public static readonly string[] DesiredPrivileges = {InteractiveLogon, RemoteInteractiveLogon, AssignPrimaryToken, Backup, CreateToken, Debug, Impersonate, LoadDriver, ManageVolume, Restore, TakeOwnership, Tcb};
}
}