Skip to content

nyxxxie/amnesia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amnesia

A library for messing with memory in remote processes. Supports (or will support) a variety of methods.

Linux methods:

Method name Notes
ptrace Safe method, intended for debuggers to read memory.
process_vm_* syscalls Requires that the CONFIG_CROSS_MEMORY_ATTACH kernel configuration item be enabled during kernel compile. Shouldn't be detectable by remote processes unless they intercept the syscall.
page mapping Experimental method that maps the kernel page from one process onto that of another. No idea if this will work, but it's probably safer than implementing a kernel driver that does r/w. Also, this obviously requires root.
/proc/id/mem This reportedly works well for reads, but I've been unable to make signifigant progress in my experimentation. Regardless, I'll attempt to create a mode for this, since it apparantly works in usermode and is available on pretty much all modern machines.

About

A library for messing with memory on linux systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published