Coder Social home page Coder Social logo

readwrite-kernel-stable's People

Contributors

juniorjacob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

readwrite-kernel-stable's Issues

E

E

BSOD on SPM function (SearchProcessModules)

WinDBG on MEMORYDUMP.TMP
shows the crash happens here

if (SelectedModule.Base != NULL && SelectedModule.Size != NULL) {
		*sent->module.buffer = SelectedModule;             //<------ Here
	}

Maybe because I didn't allocate the buffer?

I use it like this

	DWORD GetModulesInformation(MEMORY_REQUEST* moduleList)
	{
		if (hDriver == INVALID_HANDLE_VALUE)
			return 0;

		DWORD dwBytes;

		if (DeviceIoControl(hDriver, IO_GET_MODULE_REQUEST, moduleList,
			sizeof(MEMORY_REQUEST), moduleList, sizeof(MEMORY_REQUEST), &dwBytes, NULL))
			return 1;
		else
			return 0;
	}
	MEMORY_REQUEST moduleRetieve;
	moduleRetieve.ProcessId = ProcessId;
	wcsncpy_s(moduleRetieve.module.moduleName, L"ntdll.dll", 1024);

	Driver.GetModulesInformation(&moduleRetieve);

	std::cout << "Module: " << moduleRetieve.module.buffer->Name << " Information Base: " << moduleRetieve.module.buffer->Base << " Size : " << moduleRetieve.module.buffer->Size << std::endl;

should I replace

MODULE_INFO* buffer;

with

MODULE_INFO buffer;

?
I think that may fix it.

or should I do something like this

*sent->module.buffer = &SelectedModule;

nevermind this gives a compile error..

I changed the pointer on

typedef struct _KERNEL_MODULE_REQUEST
{
	MODULE_INFO buffer;
	WCHAR moduleName[1024];
} KERNEL_MODULE_REQUEST, * PKERNEL_MODULE_REQUEST;

and the problem went away.

new testing code looks like this

	MEMORY_REQUEST moduleRetieve;
	moduleRetieve.ProcessId = ProcessId;
	wcsncpy_s(moduleRetieve.module.moduleName, L"ntdll.dll", 1024);

	Driver.GetModulesInformation(&moduleRetieve);

	std::cout << "Module: " << moduleRetieve.module.buffer.Name << " Information Base: " << moduleRetieve.module.buffer.Base << " Size : " << moduleRetieve.module.buffer.Size << std::endl;

Benchmarks?

"these method's are slightly more secure compared to paracorded's methods (links in driver.c) and should be faster then MmCopyVirtualMemory"

did you benchmark? Why would it be faster? What's wrong with MmCopyVirtualMemory?

[Not an issue but a word]

Hi!

As you yourself write,

(..) this project is deprecated
and will not be updated anymore, (..)


I still wanted to say thanks for making it public! And also writing that it is indeed outdated/deprecated.
I got recommended this and I usually don't pay attention to those recommendations but, some times (like this time) I do find something interesting (this repo).


I just felt for writing this 'comment' which can be closed by the way as it is not a question nor a issue.
๐Ÿฅ‡ Have a great Day and Wishes from Sweden!

some comments

i think the code you write is standard.i can learn from it as i am novice .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.