/// <summary>
 /// Constructor
 /// </summary>
 public NtProcessCreateConfig()
 {
     DesktopInfo          = @"WinSta0\Default";
     ShellInfo            = "";
     RuntimeData          = "";
     WindowTitle          = "";
     AdditionalAttributes = new List <ProcessAttribute>();
     ProcessDesiredAccess = ProcessAccessRights.MaximumAllowed;
     ThreadDesiredAccess  = ThreadAccessRights.MaximumAllowed;
     InheritHandleList    = new List <NtObject>();
     TrustletConfig       = new NtProcessTrustletConfig();
 }
예제 #2
0
 public static ProcessAttribute SecureProcess(NtProcessTrustletConfig trustlet_config)
 {
     return(new ProcessAttribute(ProcessAttributeNum.SecureProcess, false, true, false,
                                 trustlet_config.ToArray().ToBuffer()));
 }