ZwQuerySystemInformation 用来枚举内核模块
来源:互联网 发布:算法导论英文第四版pdf 编辑:程序博客网 时间:2024/06/08 06:52
ZwQuerySystemInformation 函数可以用来枚举内核模块,使用ms 的隐藏功能即可
typedef NTSTATUS (WINAPI* PFN_ZwQuerySystemInformation)(_In_ SYSTEM_INFORMATION_CLASS SystemInformationClass,_Inout_ PVOID SystemInformation,_In_ ULONG SystemInformationLength,_Out_opt_ PULONG ReturnLength);
SystemInformationClass =11 的时候就是枚举内核模块此时的数据结构定义如下
#pragma pack(push ,1)struct SYSTEM_MODULE_INFO_ENTRY{ULONG unk2;ULONG unk3;ULONG unk4;ULONG unk5;ULONGLONG base;ULONG mSize; ULONG Flags;USHORT Index;USHORT NameLen;USHORT LoadCnt;USHORT ModuleNameOffset;char ImageName[256];};typedef struct _SYSTEM_MODULE_INFO{ULONG count;ULONG unk1;SYSTEM_MODULE_INFO_ENTRY mods[1];} SYSTEM_MODULE_INFO,*PSYSTEM_MODULE_INFO;#pragma pack(pop)
返回
SYSTEM_MODULE_INFO 结构 如果接收缓冲区不足返回C0000004 需要调整缓冲区再使用
注意: 32位的和64位的结构体不一样
这里给的是64位的,而且程序也必须是64位的才行,否则地址会被截断
0 0
- ZwQuerySystemInformation 用来枚举内核模块
- ZwQuerySystemInformation枚举内核模块及简单应用
- (转)ZwQuerySystemInformation枚举内核模块及简单应用
- ZwQuerySystemInformation枚举进程
- ZwQuerySystemInformation枚举进程
- 枚举内核模块
- 用来构建内核模块的 Makefile
- ZwQuerySystemInformation
- ZwQuerySystemInformation
- ZwQuerySystemInformation
- 利用ZwQuerySystemInformation和paspi枚举进程
- 列举进程的内核函数ZwQuerySystemInformation _asm
- 列举进程的内核函数ZwQuerySystemInformation _asm
- Win64 驱动内核编程-25.X64枚举和隐藏内核模块
- 枚举类型Enum用来存放系统常量
- 关于ZwQuerySystemInformation
- 内核模块
- 内核模块
- hdu 1019Least Common Multiple(最大公约数)
- Codeforces Round #401 (Div. 2), problem: (B) Game of Credit Cards
- QTableWidget数据表格
- poj1741 树分治
- JS高级程序
- ZwQuerySystemInformation 用来枚举内核模块
- Chrome on Ubuntu通过代理上网经常打不开github.com的问题
- Java LinkedList源码剖析
- 1
- 2
- 帅到没朋友 (20分)
- BOSCH协议
- dtGrid基于bootstrap的表格
- 学习pandas下的dataframe画图参数