Skip to content

droogie/physmem_sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

physmem_sys

An unrestricted Windows driver to map physical memory to userland. It exposes an IOCTL for requesting a physical address and length, which will return a virtual address to leverage in userland.

Build

Included is the Visual Studio 2019 project with a solution containing both the physmem_sys driver and a simple client utility showcasing the IOCTL usage.

Loading/Unloading

You can trivially load/unload the driver leveraging the OSR Driver Loader utility.

Usage

The IOCTL for physical memory mapping expects that the physical address provided is page aligned. The included client project will perform a hexdump() of a page_aligned physical address and length.

There is also an IOCTL for IO Port access, for the reading and writing of byte, word and dword using the defined command structures, the client has an example of reading the current keyboard scancode from IO Port 0x60.

About

A Windows driver to expose physical memory to userland

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages