Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
75 views
Structs
Uploaded by
Aggadi Rakhman
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download now
Download
Save structs For Later
Download
Save
Save structs For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
75 views
Structs
Uploaded by
Aggadi Rakhman
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download now
Download
Save structs For Later
Carousel Previous
Carousel Next
Save
Save structs For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
/*
* Process Hacker's Structs file - contains
* common structures used in Windows
*
* wj32.
*/
include "base.txt";
typedef int handle;
typedef int NTSTATUS; /* no enum support *yet* */
typedef pvoid ppvoid;
/* A counted UTF-16 string. Same as LSA_UNICODE_STRING. */
struct UNICODE_STRING
{
ushort Length;
ushort MaximumLength;
wstr* Buffer[Length / 2]; /* Length is in bytes, and each wchar is 2 bytes *
/
}
/* A doubly-linked list. */
struct LIST_ENTRY
{
LIST_ENTRY* Flink;
LIST_ENTRY* Blink;
}
struct CLIENT_ID
{
pvoid UniqueProcess;
pvoid UniqueThread;
}
struct RTL_DRIVE_LETTER_CURDIR
{
ushort Flags;
ushort Length;
ulong TimeStamp;
UNICODE_STRING DosPath;
}
/* Lots of useful stuff like current directory and command line */
struct RTL_USER_PROCESS_PARAMETERS
{
ulong MaximumLength;
ulong Length;
ulong Flags;
ulong DebugFlags;
pvoid ConsoleHandle;
ulong ConsoleFlags;
handle StdInputHandle;
handle StdOutputHandle;
handle StdErrorHandle;
UNICODE_STRING CurrentDirectoryPath;
handle CurrentDirectoryHandle;
UNICODE_STRING DllPath;
UNICODE_STRING ImagePathName;
UNICODE_STRING CommandLine;
pvoid Environment;
ulong StartingPositionLeft;
ulong StartingPositionTop;
ulong Width;
ulong Height;
ulong CharWidth;
ulong CharHeight;
ulong ConsoleTextAttributes;
ulong WindowFlags;
ulong ShowWindowFlags;
UNICODE_STRING WindowTitle;
UNICODE_STRING DesktopName;
UNICODE_STRING ShellInfo;
UNICODE_STRING RuntimeData;
RTL_DRIVE_LETTER_CURDIR DLCurrentDirectory[0x20];
}
/* Contains the address of a fast-locking routine for the PEB */
struct PEBLOCKROUTINE
{
pvoid PebLock;
}
/* Process Environment Block */
struct PEB
{
boolean InheritedAddressSpace;
boolean ReadImageFileExecOptions;
boolean BeingDebugged;
boolean Spare;
handle Mutant;
pvoid ImageBaseAddress;
pvoid LoaderData; /* should be PEB_LDR_DATA* */
RTL_USER_PROCESS_PARAMETERS* ProcessParameters;
pvoid SubSystemData;
pvoid ProcessHeap;
pvoid FastPebLock;
PEBLOCKROUTINE* FastPebLockRoutine;
PEBLOCKROUTINE* FastPebUnlockRoutine;
ulong EnvironmentUpdateCount;
ppvoid KernelCallbackTable;
pvoid EventLogSection;
pvoid EventLog;
pvoid FreeList; /* should be PEB_FREE_BLOCK* */
ulong TlsExpansionCounter;
pvoid TlsBitmap;
ulong TlsBitmapBits[0x2];
pvoid ReadOnlySharedMemoryBase;
pvoid ReadOnlySharedMemoryHeap;
ppvoid ReadOnlyStaticServerData;
pvoid AnsiCodePageData;
pvoid OemCodePageData;
pvoid UnicodeCaseTableData;
ulong NumberOfProcessors;
ulong NtGlobalFlag;
byte Spare2[0x4];
large_integer CriticalSectionTimeout;
ulong HeapSegmentReserve;
ulong HeapSegmentCommit;
ulong HeapDeCommitTotalFreeThreshold;
ulong HeapDeCommitFreeBlockThreshold;
ulong NumberOfHeaps;
ulong MaximumNumberOfHeaps;
ppvoid ProcessHeaps;
pvoid GdiSharedHandleTable;
pvoid ProcessStarterHelper;
pvoid GdiDCAttributeList;
pvoid LoaderLock;
ulong OSMajorVersion;
ulong OSMinorVersion;
ulong OSBuildNumber;
ulong OSPlatformId;
ulong ImageSubSystem;
ulong ImageSubSystemMajorVersion;
ulong ImageSubSystemMinorVersion;
ulong GdiHandleBuffer[0x22];
ulong PostProcessInitRoutine;
ulong TlsExpansionBitmap;
byte TlsExpansionBitmapBits[0x80];
ulong SessionId;
}
struct NT_TIB
{
pvoid ExceptionList; /* EXCEPTION_REGISTRATION_RECORD* */
pvoid StackBase;
pvoid StackLimit;
pvoid SubSystemTib;
ulong FiberData_Version_Union;
pvoid ArbitraryUserPointer;
pvoid Self; /* NT_TIB* */
}
/* Thread Environment Block */
struct TEB
{
NT_TIB Tib;
pvoid EnvironmentPointer;
CLIENT_ID Cid;
pvoid ActiveRpcInfo;
pvoid ThreadLocalStoragePointer;
PEB* Peb;
ulong LastErrorValue;
ulong CountOfOwnedCriticalSections;
pvoid CsrClientThread;
pvoid Win32ThreadInfo;
ulong Win32ClientInfo[0x1f];
pvoid WOW32Reserved;
ulong CurrentLocale;
ulong FpSoftwareStatusRegister;
pvoid SystemReserved1[0x36];
pvoid Spare1;
ulong ExceptionCode;
ulong SpareBytes1[0x28];
pvoid SystemReserved2[0xa];
ulong GdiRgn;
ulong GdiPen;
ulong GdiBrush;
CLIENT_ID RealClientId;
pvoid GdiCachedProcessHandle;
ulong GdiClientPID;
ulong GdiClientTID;
pvoid GdiThreadLocaleInfo;
pvoid UserReserved[5];
pvoid GlDispatchTable[0x118];
ulong GlReserved1[0x1a];
pvoid GlReserved2;
pvoid GlSectionInfo;
pvoid GlSection;
pvoid GlTable;
pvoid GlCurrentRC;
pvoid GlContext;
NTSTATUS LastStatusValue;
UNICODE_STRING StaticUnicodeString;
wchar StaticUnicodeBuffer[0x105];
pvoid DeallocationStack;
pvoid TlsSlots[0x40];
LIST_ENTRY TlsLinks;
pvoid Vdm;
pvoid ReservedForNtRpc;
pvoid DbgSsReserved[0x2];
ulong HardErrorDisabled;
pvoid Instrumentation[0x10];
pvoid WinSockData;
ulong GdiBatchCount;
ulong Spare2;
ulong Spare3;
ulong Spare4;
pvoid ReservedForOle;
ulong WaitingOnLoaderLock;
pvoid StackCommit;
pvoid StackCommitMax;
pvoid StackReserved;
}
You might also like
Assignment - MU0012 Employee Relations Management
PDF
No ratings yet
Assignment - MU0012 Employee Relations Management
6 pages
CS103 Mathematical Foundations of Computing PDF
PDF
No ratings yet
CS103 Mathematical Foundations of Computing PDF
379 pages
Code 1
PDF
No ratings yet
Code 1
43 pages
Windows Memory Layout, User-Kernel Address Spaces
PDF
No ratings yet
Windows Memory Layout, User-Kernel Address Spaces
1 page
dump
PDF
No ratings yet
dump
5 pages
Winbase H
PDF
No ratings yet
Winbase H
41 pages
On Windows Syscall Mechanism and Syscall Numbers Extraction Methods
PDF
No ratings yet
On Windows Syscall Mechanism and Syscall Numbers Extraction Methods
26 pages
Ollydbg
PDF
No ratings yet
Ollydbg
13 pages
Design and Implementation of Token Stealing Kernel Shellcode For Windows 8
PDF
No ratings yet
Design and Implementation of Token Stealing Kernel Shellcode For Windows 8
12 pages
Tools_and_techniques_for_advanced_debugging_in_Unix
PDF
No ratings yet
Tools_and_techniques_for_advanced_debugging_in_Unix
20 pages
Introduction To Shellcode Development
PDF
No ratings yet
Introduction To Shellcode Development
33 pages
danglam
PDF
No ratings yet
danglam
4 pages
Most Complex
PDF
No ratings yet
Most Complex
4 pages
Syscallx 64
PDF
No ratings yet
Syscallx 64
15 pages
Windbg Quick Reference
PDF
No ratings yet
Windbg Quick Reference
2 pages
Main CPP
PDF
No ratings yet
Main CPP
52 pages
Part 3
PDF
No ratings yet
Part 3
19 pages
Memory Analysis Cheat Sheet.current
PDF
No ratings yet
Memory Analysis Cheat Sheet.current
5 pages
Solar Eclipse: Tiny PE
PDF
No ratings yet
Solar Eclipse: Tiny PE
10 pages
x86-stderr
PDF
No ratings yet
x86-stderr
1,704 pages
7 Z
PDF
No ratings yet
7 Z
5 pages
x86-stderr
PDF
No ratings yet
x86-stderr
739 pages
RTL
PDF
No ratings yet
RTL
1,757 pages
Driver
PDF
No ratings yet
Driver
3 pages
Wind BG Cheat Sheet
PDF
No ratings yet
Wind BG Cheat Sheet
6 pages
RTL PDF
PDF
No ratings yet
RTL PDF
1,838 pages
Functions
PDF
No ratings yet
Functions
46 pages
Bugreport 20210429181048 8936
PDF
No ratings yet
Bugreport 20210429181048 8936
12 pages
FreePascal RTL PDF
PDF
No ratings yet
FreePascal RTL PDF
2,022 pages
RTL PDF
PDF
No ratings yet
RTL PDF
1,780 pages
List by Kernel Source
PDF
No ratings yet
List by Kernel Source
8 pages
2006 Unpacking FSG
PDF
No ratings yet
2006 Unpacking FSG
4 pages
Code
PDF
No ratings yet
Code
5 pages
x86 Stderr
PDF
No ratings yet
x86 Stderr
2 pages
Keylogger Code
PDF
No ratings yet
Keylogger Code
9 pages
Native Debugging: / Don't Connect Twice
PDF
No ratings yet
Native Debugging: / Don't Connect Twice
12 pages
Part 1
PDF
No ratings yet
Part 1
14 pages
x86 Stderr
PDF
No ratings yet
x86 Stderr
129 pages
Win API
PDF
No ratings yet
Win API
481 pages
x86 Stderr
PDF
No ratings yet
x86 Stderr
51 pages
8 Portable Executable Format
PDF
No ratings yet
8 Portable Executable Format
2 pages
Main
PDF
No ratings yet
Main
8 pages
Injection C
PDF
No ratings yet
Injection C
4 pages
Tm - Wl Hwid & Basic Inline Patcher 1.0
PDF
No ratings yet
Tm - Wl Hwid & Basic Inline Patcher 1.0
18 pages
Dragons CTF
PDF
No ratings yet
Dragons CTF
126 pages
37 26 186 234-SNMP
PDF
No ratings yet
37 26 186 234-SNMP
20 pages
Bugreport 20210422230441 9576
PDF
No ratings yet
Bugreport 20210422230441 9576
20 pages
How To Check Export Functions of Windows 8 NT Kernel by Using Windbg
PDF
No ratings yet
How To Check Export Functions of Windows 8 NT Kernel by Using Windbg
7 pages
Report
PDF
No ratings yet
Report
47 pages
C Make Lists
PDF
No ratings yet
C Make Lists
19 pages
Units Reference Guide
PDF
No ratings yet
Units Reference Guide
2,191 pages
x86-stderfjr
PDF
No ratings yet
x86-stderfjr
212 pages
DEFCON25
PDF
No ratings yet
DEFCON25
251 pages
Cheatsheet
PDF
No ratings yet
Cheatsheet
6 pages
SLNK Ks K A
PDF
No ratings yet
SLNK Ks K A
4 pages
Bypassing UAC With User Pri
PDF
No ratings yet
Bypassing UAC With User Pri
4 pages
main
PDF
No ratings yet
main
8 pages
Hacking Wince
PDF
No ratings yet
Hacking Wince
30 pages
Tarea Analisis de Malware
PDF
No ratings yet
Tarea Analisis de Malware
16 pages
Themida - Winlicense 1.x - 2.x Imports Fixer Edition 1.0 by SnD
PDF
No ratings yet
Themida - Winlicense 1.x - 2.x Imports Fixer Edition 1.0 by SnD
48 pages
Learning Linux Binary Analysis: Learning Linux Binary Analysis
From Everand
Learning Linux Binary Analysis: Learning Linux Binary Analysis
Ryan "elfmaster" O'Neill
4/5 (1)
Basic Information About C language PDF
From Everand
Basic Information About C language PDF
Suraj Das
No ratings yet
Ashoka Fellow Welcome Packet
PDF
No ratings yet
Ashoka Fellow Welcome Packet
19 pages
05chuyende2 - Timtudongnghia Trainghia3
PDF
No ratings yet
05chuyende2 - Timtudongnghia Trainghia3
4 pages
How To Think Like A Genius
PDF
No ratings yet
How To Think Like A Genius
2 pages
List of Lab Exercises
PDF
No ratings yet
List of Lab Exercises
3 pages
Level of Preparedness Introduction
PDF
No ratings yet
Level of Preparedness Introduction
9 pages
Korean Sources
PDF
No ratings yet
Korean Sources
6 pages
Student Management System
PDF
No ratings yet
Student Management System
33 pages
MARKING SCHEME CLASS X SET -A 2024-25 PREBOARD-1
PDF
No ratings yet
MARKING SCHEME CLASS X SET -A 2024-25 PREBOARD-1
1 page
Grade 6 Sba Section A Teacher's
PDF
No ratings yet
Grade 6 Sba Section A Teacher's
4 pages
Wireless Charging Using Piezo Electric Material: University Project - Report On
PDF
No ratings yet
Wireless Charging Using Piezo Electric Material: University Project - Report On
16 pages
Programme Accreditation Requirements
PDF
No ratings yet
Programme Accreditation Requirements
30 pages
Transformation of Public Space, From Modernism To Consumerism
PDF
No ratings yet
Transformation of Public Space, From Modernism To Consumerism
4 pages
The Park Hotels: Designing Experience: Marketing Management II by Group V
PDF
No ratings yet
The Park Hotels: Designing Experience: Marketing Management II by Group V
9 pages
Recsa Cahaya Erlangga 13716039 Tugas Manrek
PDF
No ratings yet
Recsa Cahaya Erlangga 13716039 Tugas Manrek
4 pages
PML Help
PDF
No ratings yet
PML Help
19 pages
Eyewitness Memory Is Unreliable
PDF
No ratings yet
Eyewitness Memory Is Unreliable
6 pages
7 Month Strategy For CSE 2022 - IAS Yogesh Patil
PDF
No ratings yet
7 Month Strategy For CSE 2022 - IAS Yogesh Patil
5 pages
Simplex 2
PDF
No ratings yet
Simplex 2
6 pages
Errors in Measuring (Surveying-Elementary)
PDF
No ratings yet
Errors in Measuring (Surveying-Elementary)
25 pages
Report Group Project - HOPE
PDF
No ratings yet
Report Group Project - HOPE
29 pages
Maths Class Xii Chapter 07 Integrals Practice Paper 07
PDF
0% (1)
Maths Class Xii Chapter 07 Integrals Practice Paper 07
3 pages
Design of Culvert
PDF
No ratings yet
Design of Culvert
8 pages
EE 528 (PHY 537) - Semiconductor Device Fundamentals - Nauman Butt
PDF
No ratings yet
EE 528 (PHY 537) - Semiconductor Device Fundamentals - Nauman Butt
4 pages
Randy Riley's Really Big Hit by Chris Van Dusen - Teachers' Guide
PDF
No ratings yet
Randy Riley's Really Big Hit by Chris Van Dusen - Teachers' Guide
5 pages
Format For Submission of Proposal For Students Project
PDF
No ratings yet
Format For Submission of Proposal For Students Project
3 pages
Aqa Bl2hpGCSEQuestionPapers Jan13
PDF
No ratings yet
Aqa Bl2hpGCSEQuestionPapers Jan13
20 pages
Cold War Storyboard chc2p
PDF
No ratings yet
Cold War Storyboard chc2p
6 pages