![]() |
PE-sieve
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
|
A report from the thread scan, generated by ThreadScanner. More...
#include <thread_scanner.h>

Public Member Functions | |
| ThreadScanReport (DWORD _tid) | |
| ~ThreadScanReport () | |
| SuspAddrReport * | findAreaForAddress (const ULONGLONG &susp_addr) |
| virtual const void | callstackToJSON (std::stringstream &outs, size_t level, const pesieve::t_json_level &jdetails, const ctx_details &details) |
| const bool | threadInfoToJSON (std::stringstream &outs, size_t level, const pesieve::t_json_level &jdetails) |
| const bool | indicatorsToJSON (std::stringstream &outs, size_t level, const pesieve::t_json_level &jdetails) |
| virtual const void | fieldsToJSON (std::stringstream &outs, size_t level, const pesieve::t_json_level &jdetails) |
| virtual const bool | toJSON (std::stringstream &outs, size_t level, const pesieve::t_json_level &jdetails) |
| Public Member Functions inherited from pesieve::ModuleScanReport | |
| ModuleScanReport (HMODULE _module, size_t _moduleSize, t_scan_status _status=SCAN_NOT_SUSPICIOUS) | |
| virtual | ~ModuleScanReport () |
| virtual ULONGLONG | getRelocBase () |
| Public Member Functions inherited from pesieve::ElementScanReport | |
| ElementScanReport (t_scan_status _status=SCAN_NOT_SUSPICIOUS) | |
Static Public Member Functions | |
| static std::string | translate_thread_state (DWORD thread_state) |
| static std::string | translate_wait_reason (DWORD thread_wait_reason) |
| Static Public Member Functions inherited from pesieve::ElementScanReport | |
| static t_scan_status | get_scan_status (const ElementScanReport *report) |
Public Attributes | |
| DWORD | tid |
| ULONGLONG | stack_ptr |
| DWORD | thread_state |
| DWORD | thread_wait_reason |
| DWORD | thread_wait_time |
| std::string | lastSyscall |
| std::string | lastFunction |
| ctx_details | cDetails |
| bool | has_native_wow64_context |
| ctx_details | nativeWow64Details |
| std::map< ULONGLONG, std::string > | addrToSymbol |
| std::set< ULONGLONG > | shcCandidates |
| std::set< ThSusIndicator > | indicators |
| std::map< ULONGLONG, SuspAddrReport * > | suspAreaReports |
| Public Attributes inherited from pesieve::ModuleScanReport | |
| HMODULE | module |
| size_t | moduleSize |
| bool | isDotNetModule |
| std::string | moduleFile |
| ULONGLONG | origBase |
| ULONGLONG | relocBase |
| Public Attributes inherited from pesieve::ElementScanReport | |
| t_scan_status | status |
Static Public Attributes | |
| static const DWORD | THREAD_STATE_UNKNOWN = (-1) |
| static const DWORD | THREAD_STATE_WAITING = 5 |
| Static Public Attributes inherited from pesieve::ElementScanReport | |
| static const size_t | JSON_LEVEL = 1 |
Additional Inherited Members | |
| Protected Member Functions inherited from pesieve::ModuleScanReport | |
| virtual const bool | _toJSON (std::stringstream &outs, size_t level=JSON_LEVEL, const pesieve::t_json_level &jdetails=JSON_BASIC) |
A report from the thread scan, generated by ThreadScanner.
Definition at line 185 of file thread_scanner.h.
|
inline |
|
inline |
Definition at line 205 of file thread_scanner.h.
|
inlinevirtual |
Definition at line 230 of file thread_scanner.h.
|
inlinevirtual |
|
inline |
Definition at line 214 of file thread_scanner.h.
|
inline |
|
inline |
|
inlinevirtual |
Implements pesieve::ModuleScanReport.
Definition at line 367 of file thread_scanner.h.

|
static |
Definition at line 73 of file thread_scanner.cpp.
|
static |
Definition at line 56 of file thread_scanner.cpp.
| std::map<ULONGLONG, std::string> pesieve::ThreadScanReport::addrToSymbol |
Definition at line 394 of file thread_scanner.h.
| ctx_details pesieve::ThreadScanReport::cDetails |
Definition at line 387 of file thread_scanner.h.
| bool pesieve::ThreadScanReport::has_native_wow64_context |
Definition at line 391 of file thread_scanner.h.
| std::set<ThSusIndicator> pesieve::ThreadScanReport::indicators |
Definition at line 396 of file thread_scanner.h.
| std::string pesieve::ThreadScanReport::lastFunction |
Definition at line 383 of file thread_scanner.h.
| std::string pesieve::ThreadScanReport::lastSyscall |
Definition at line 382 of file thread_scanner.h.
| ctx_details pesieve::ThreadScanReport::nativeWow64Details |
Definition at line 392 of file thread_scanner.h.
| std::set<ULONGLONG> pesieve::ThreadScanReport::shcCandidates |
Definition at line 395 of file thread_scanner.h.
| ULONGLONG pesieve::ThreadScanReport::stack_ptr |
Definition at line 377 of file thread_scanner.h.
| std::map<ULONGLONG, SuspAddrReport*> pesieve::ThreadScanReport::suspAreaReports |
Definition at line 397 of file thread_scanner.h.
| DWORD pesieve::ThreadScanReport::thread_state |
Definition at line 378 of file thread_scanner.h.
|
static |
Definition at line 188 of file thread_scanner.h.
|
static |
Definition at line 189 of file thread_scanner.h.
| DWORD pesieve::ThreadScanReport::thread_wait_reason |
Definition at line 379 of file thread_scanner.h.
| DWORD pesieve::ThreadScanReport::thread_wait_time |
Definition at line 380 of file thread_scanner.h.
| DWORD pesieve::ThreadScanReport::tid |
Definition at line 376 of file thread_scanner.h.