![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
Go to the source code of this file.
Functions | |
| NTSTATUS NTAPI | Hooked_NtWriteVirtualMemory (HANDLE ProcessHandle, PVOID BaseAddress, PVOID Buffer, SIZE_T NumberOfBytesToWrite, PSIZE_T NumberOfBytesWritten) |
| The Hooked_NtWriteVirtualMemory function is a function that hooks the NtWriteVirtualMemory function. | |
| NTSTATUS NTAPI | Hooked_NtModifyBootEntry (PBOOT_ENTRY BootEntry) |
| The Hooked_NtModifyBootEntry function is a function that hooks the NtModifyBootEntry function. | |
| NTSTATUS NTAPI | Hooked_NtMapViewOfSectionEx (HANDLE SectionHandle, HANDLE ProcessHandle, PVOID *BaseAddress, PLARGE_INTEGER SectionOffset, PSIZE_T ViewSize, ULONG AllocationType, ULONG PageProtection, PMEM_EXTENDED_PARAMETER ExtendedParameters, ULONG ExtendedParameterCount) |
| The Hooked_NtMapViewOfSectionEx function is a function that hooks the NtMapViewOfSectionEx function. | |
| VOID | PlaceHooks () |
| The PlaceHooks function places the hooks on the NTDLL functions. | |
| VOID | UnHook () |
| The UnHook function removes the hooks from the NTDLL functions. | |
| NTSTATUS NTAPI Hooked_NtMapViewOfSectionEx | ( | HANDLE | SectionHandle, |
| HANDLE | ProcessHandle, | ||
| PVOID * | BaseAddress, | ||
| PLARGE_INTEGER | SectionOffset, | ||
| PSIZE_T | ViewSize, | ||
| ULONG | AllocationType, | ||
| ULONG | PageProtection, | ||
| PMEM_EXTENDED_PARAMETER | ExtendedParameters, | ||
| ULONG | ExtendedParameterCount | ||
| ) |
The Hooked_NtMapViewOfSectionEx function is a function that hooks the NtMapViewOfSectionEx function.
| SectionHandle | The handle to the section. |
| ProcessHandle | The handle to the process. |
| BaseAddress | The base address of the memory to map. |
| SectionOffset | The offset of the section. |
| ViewSize | The size of the view. |
| AllocationType | The type of allocation. |
| PageProtection | The protection of the page. |
| ExtendedParameters | The extended parameters. |
| ExtendedParameterCount | The number of extended parameters. |
| NTSTATUS NTAPI Hooked_NtModifyBootEntry | ( | PBOOT_ENTRY | BootEntry | ) |
The Hooked_NtModifyBootEntry function is a function that hooks the NtModifyBootEntry function.
| BootEntry | The boot entry to modify. |
Definition at line 35 of file hook.cpp.
References pOriginal_NtModifyBootEntry.
Referenced by PlaceHooks(), and UnHook().
| NTSTATUS NTAPI Hooked_NtWriteVirtualMemory | ( | HANDLE | ProcessHandle, |
| PVOID | BaseAddress, | ||
| PVOID | Buffer, | ||
| SIZE_T | NumberOfBytesToWrite, | ||
| PSIZE_T | NumberOfBytesWritten | ||
| ) |
The Hooked_NtWriteVirtualMemory function is a function that hooks the NtWriteVirtualMemory function.
| ProcessHandle | The handle to the process. |
| BaseAddress | The base address of the memory to write to. |
| Buffer | The buffer to write to the memory. |
| NumberOfBytesToWrite | The number of bytes to write to the memory. |
| ProcessHandle | The handle to the process. |
| BaseAddress | The base address of the memory to write to. |
| Buffer | The buffer to write to the memory. |
| NumberOfBytesToWrite | The number of bytes to write to the memory. |
| NumberOfBytesWritten | The number of bytes written to the memory. |
Definition at line 18 of file hook.cpp.
References pOriginal_NtWriteVirtualMemory.
Referenced by PlaceHooks(), and UnHook().
| VOID PlaceHooks | ( | ) |
The PlaceHooks function places the hooks on the NTDLL functions.
The PlaceHooks function places the hooks on the NTDLL functions.
Definition at line 72 of file hook.cpp.
References Hooked_NtMapViewOfSectionEx(), Hooked_NtModifyBootEntry(), Hooked_NtWriteVirtualMemory(), pOriginal_NtMapViewOfSectionEx, pOriginal_NtModifyBootEntry, and pOriginal_NtWriteVirtualMemory.
Referenced by DllMain().
| VOID UnHook | ( | ) |
The UnHook function removes the hooks from the NTDLL functions.
The UnHook function removes the hooks from the NTDLL functions.
Definition at line 97 of file hook.cpp.
References Hooked_NtMapViewOfSectionEx(), Hooked_NtModifyBootEntry(), Hooked_NtWriteVirtualMemory(), pOriginal_NtMapViewOfSectionEx, pOriginal_NtModifyBootEntry, and pOriginal_NtWriteVirtualMemory.
Referenced by DllMain().