-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathProc.h
53 lines (49 loc) · 1007 Bytes
/
Proc.h
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
53
/*!
*
* ROGUE
*
* GuidePoint Security LLC
*
* Threat and Attack Simulation Team
*
!*/
#pragma once
/*!
*
* Purpose:
*
* Returns a pointer to a string representing the
* integrity of the target process if it is able
* to be pulled.
*
* if NULL is returned, it was unable to determine
* the process integrity.
*
!*/
D_SEC( B ) PCHAR ProcIntegrityStr( _In_ UINT32 ProcessId );
/*!
*
* Purpose:
*
* Returns a pointer to a string representing the
* architecture of the target process if it is
* able to be pulled.
*
* If NULL is returned, it was unable to determine
* the process architecture.
*
!*/
D_SEC( B ) PCHAR ProcArchStr( _In_ UINT32 ProcessId );
/*!
*
* Purpose:
*
* Returns a string representing the username for
* the current process. if NULL is returned, it
* means it could not pull the username from the
* token.
*
* Result must be freed from memory.
*
!*/
D_SEC( B ) BOOL ProcUserStr( _In_ UINT32 ProcessId, _Out_ PCHAR* Username, _Out_ PCHAR* WgDomain );