mirror-ac/driver/thread.h

33 lines
580 B
C
Raw Normal View History

2023-08-29 19:36:58 +02:00
#ifndef THREAD_H
#define THREAD_H
#include <ntifs.h>
#include "common.h"
2023-08-30 13:15:57 +02:00
typedef struct _HIDDEN_SYSTEM_THREAD_REPORT
{
INT report_code;
INT found_in_kthreadlist;
INT found_in_pspcidtable;
UINT64 thread_address;
LONG thread_id;
CHAR thread[ 4096 ];
}HIDDEN_SYSTEM_THREAD_REPORT, *PHIDDEN_SYSTEM_THREAD_REPORT;
2023-09-02 10:54:04 +02:00
typedef struct _ATTACH_PROCESS_REPORT
{
INT report_code;
2023-09-02 15:47:15 +02:00
UINT32 thread_id;
UINT64 thread_address;
2023-09-02 10:54:04 +02:00
}ATTACH_PROCESS_REPORT, *PATTACH_PROCESS_REPORT;
2023-09-02 15:47:15 +02:00
VOID ValidateKPCRBThreads(
_In_ PIRP Irp
);
VOID DetectThreadsAttachedToProtectedProcess();
2023-08-29 19:36:58 +02:00
#endif