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
artefacts_util.h File Reference
#include <windows.h>
#include <sig_finder.h>
#include <vector>
#include "custom_mutex.h"

Go to the source code of this file.

Classes

class  pesieve::PatternMatcher
 

Namespaces

namespace  pesieve
 
namespace  pesieve::util
 

Macros

#define PATTERN_NOT_FOUND   (-1)
 

Functions

BYTE * pesieve::util::find_pattern (BYTE *buffer, size_t buf_size, BYTE *pattern_buf, size_t pattern_size, size_t max_iter=0)
 
size_t pesieve::util::is_32bit_code (BYTE *loadedData, size_t loadedSize)
 
size_t pesieve::util::is_64bit_code (BYTE *loadedData, size_t loadedSize)
 
bool pesieve::util::is_code (BYTE *loadedData, size_t loadedSize)
 
bool pesieve::util::is_executable (DWORD mapping_type, DWORD protection)
 
bool pesieve::util::is_readable (DWORD mapping_type, DWORD protection)
 
bool pesieve::util::is_normal_inaccessible (DWORD state, DWORD mapping_type, DWORD protection)
 

Macro Definition Documentation

◆ PATTERN_NOT_FOUND

#define PATTERN_NOT_FOUND   (-1)

Definition at line 6 of file artefacts_util.h.