PE-sieve
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Loading...
Searching...
No Matches
utils
process_privilege.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <windows.h>
4
5
namespace
pesieve
{
6
namespace
util {
7
8
typedef
enum
{
9
INTEGRITY_UNKNOWN
= -1,
10
INTEGRITY_LOW
= 0,
11
INTEGRITY_MEDIUM
,
//1
12
INTEGRITY_HIGH
,
//2
13
INTEGRITY_SYSTEM
//3
14
}
process_integrity_t
;
15
16
bool
set_debug_privilege
();
17
18
process_integrity_t
get_integrity_level
(HANDLE hProcess);
19
20
bool
is_DEP_enabled
(HANDLE hProcess);
21
};
22
};
pesieve::util::get_integrity_level
process_integrity_t get_integrity_level(HANDLE hProcess)
Definition
process_privilege.cpp:159
pesieve::util::process_integrity_t
process_integrity_t
Definition
process_privilege.h:8
pesieve::util::INTEGRITY_MEDIUM
@ INTEGRITY_MEDIUM
Definition
process_privilege.h:11
pesieve::util::INTEGRITY_LOW
@ INTEGRITY_LOW
Definition
process_privilege.h:10
pesieve::util::INTEGRITY_HIGH
@ INTEGRITY_HIGH
Definition
process_privilege.h:12
pesieve::util::INTEGRITY_SYSTEM
@ INTEGRITY_SYSTEM
Definition
process_privilege.h:13
pesieve::util::INTEGRITY_UNKNOWN
@ INTEGRITY_UNKNOWN
Definition
process_privilege.h:9
pesieve::util::set_debug_privilege
bool set_debug_privilege()
Definition
process_privilege.cpp:107
pesieve::util::is_DEP_enabled
bool is_DEP_enabled(HANDLE hProcess)
Definition
process_privilege.cpp:210
pesieve
Definition
pesieve.py:1
Generated by
1.12.0