HollowsHunter
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
hh_params.h
Go to the documentation of this file.
1#pragma once
2
3#include <pe_sieve_api.h>
4#include <string>
5#include <set>
6
7#define TIME_UNDEFINED LONGLONG(-1)
8#define HH_DEFAULT_DIR "hollows_hunter.dumps"
9
10
17
18//HollowsHunter's parameters:
19typedef struct hh_params
20{
21public:
22 std::string out_dir;
28 bool quiet;
29 bool log;
31 LONGLONG ptimes;
33 std::set<std::wstring> names_list;
34 std::set<long> pids_list;
35 std::set<std::wstring> ignored_names_list;
36 pesieve::t_params pesieve_args; //PE-sieve parameters
37
38 void init();
39 hh_params& operator=(const hh_params& other);
40
42
struct hh_params t_hh_params
t_cache_mode
Definition hh_params.h:11
@ CACHE_AUTO
autodetect if cache should be enabled
Definition hh_params.h:13
@ CACHE_ENABLED
cache always enabled
Definition hh_params.h:14
@ CACHE_DISABLED
cache always disabled
Definition hh_params.h:12
@ CACHE_MODES_COUNT
Definition hh_params.h:15
hh_params & operator=(const hh_params &other)
Definition hh_params.cpp:27
void init()
Definition hh_params.cpp:3
std::set< long > pids_list
Definition hh_params.h:34
bool log
Definition hh_params.h:29
bool json_output
Definition hh_params.h:30
bool kill_suspicious
Definition hh_params.h:27
std::set< std::wstring > ignored_names_list
Definition hh_params.h:35
pesieve::t_params pesieve_args
Definition hh_params.h:36
std::string out_dir
Definition hh_params.h:22
bool etw_scan
Definition hh_params.h:25
bool quiet
Definition hh_params.h:28
std::set< std::wstring > names_list
Definition hh_params.h:33
t_cache_mode cache_mode
Definition hh_params.h:32
bool loop_scanning
Definition hh_params.h:24
bool suspend_suspicious
Definition hh_params.h:26
bool unique_dir
Definition hh_params.h:23
LONGLONG ptimes
Definition hh_params.h:31