Giter Club home page Giter Club logo

hideprocess's People

Contributors

landhb 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hideprocess's Issues

the article is down

Hi!

as the title suggests

image

Results in

image

Which makes me make this issue; can you update or include the article in file-mode ? (paper -> pdf) or something?

Wishes from Sweden!

over n out. //Will.

Error the system cannot find the path specified

Hi,
I have a strange problem, when I try to use loader I get the following error:
C:\Users\Rahimi\Desktop>Loader.exe "test.exe"

 Basic DKOM Rootkit to Hide a Process
 Usage : loader.exe [process name]
 Author: Bradley Landherr


[+] Discovered PID of process test.exe: 4792
[*] Grabbing driver device handle...
[*] Loading driver.
[-] Error loading driver: The system cannot find the path specified.

[-] Error creating handle: The system cannot find the path specified.

I put the Rootkit.sys and loader.exe in desktop and here is some part of my loader code:

#define SERVICE "Rootkit"
#define DEVICE "\\\\.\\Rootkit"
#define DRIVER "c:\\\\Users\\Masoud\\Desktop\\Rootkit.sys"
//#define DRIVER "c:\\\\Users\\IEUser\\Desktop\\Rootkit.sys"
//#define DRIVER "C:\\\\WINDOWS\\Rootkit.sys"

It seems that loader cannot find the driver, but don't know why.
Thanks.

i want to hide process by name not by PID

hello, I want to know how to compile the loader with MinGW I already setup it on my windows 7 x64 and I don't have any idea what I write on cmd to extract the dkom.exe file I put the makefile in dir C:\MinGW\bin and loader folder and tools also, what next?
please help <3 or someone give me a tutorial

Freeze/Bluescreen on windows 10 x32 build 16299

As the title says, I have been testing this and after 2 minutes of hiding your process the system just freezes.

Is it because of this windows build maybe ?

Compiling and running the driver was very easy, it worked like a charm.

[help] Having troubles getting it to work

Hi @landhb, i compiled the driver and the loader. Copied Rootkit.sys to C:\Windows\System32\drivers\

In the loader.c file i got #define DRIVER "C:\\Windows\\System32\\drivers\\Rootkit.sys" when i compile.

When i try to hide a process this is the STDOUT i get:

C:\Windows>dkom.exe Ditto_deleted.exe

 Basic DKOM Rootkit to Hide a Process
 Usage : loader.exe [process name]
 Author: Bradley Landherr


[+] Discovered PID of process Ditto_deleted.exe: 1208
[*] Grabbing driver device handle...
[*] Loading driver.
[-] Error loading driver: The system cannot find the path specified.

LALA: 3
[-] Error creating handle: The system cannot find the path specified.

Ignore LALA: 3 :D I think the error happens at StartService(svcHandle, 0, NULL) == 0 it is like the loader cannot find the driver

any ideas?

OFF: on win 10 ver 1703 (rs2) build 15063 enterprise it only works for you about ~30minutes before BSOD?

[help] path problem - driver not loaded

Hi, i'm trying to build a dkom following your guide and using your code.
I followed all step, but when i use the .exe, and error occurred.
schermata 2019-02-13 alle 08 20 19
I used Visual studio 2017, latest version of SDK (version 1809) and WDK (version 1809). The building in Visual Studio not give me problem and create the Rootkit.sys. Then, thinking that the problem is the path, i copy this in every position of my computer, and try to modify the path in loader.c many times, but the error is unresolved. I try to build it as 64bit or 32bit, but nothing has changed. I'm seeing the code in loader.c, and i think that the problem is the starting of service. Do you have any idea? What are blocking the createservice?
I'm trying it in VM windows 7, 64bit.
Thanks in advance.

lost files

I use visual studio 2017 to build this project, but has a error that is lost ndis_debug.h and tcphook.h

64 bit

Hi Bro,
Pleased to see you!
64 bit operating system
Add driver signature, can you use ?
Thank you!

Error for help!!!

I built this project under win10 and vs2015, but the setting's target platform only win10. I want to run it under win7 x86.
So I want to know, which VERSION OF Visual Studio you use? And which platform that you use VS?
Thanks!!!

IRP code

Thanks for uploading this mate, I was wondering where do you obtain the loader irp code 0x815 from , driver compiles perfect though

Multiple bugs in the driver's implementation

I know it's a POC, but I thought it would be good to fix this anyway -

  1. There is a stack buffer overflow reading the 'pid' from user mode. Replace inBufferLength with sizeof(pid).

    strcpy_s(pid, inBufferLength, inBuf);

  2. The output buffer's length is not checked

    RtlCopyBytes(buffer, data, outBufferLength);

  3. This memory is not freed anywhere

    LPSTR result = ExAllocatePool(NonPagedPool, sizeof(ULONG) + 20);;

  4. This buffer was allocated with length=(sizeof(ULONG) + 20), why is the param to sprintf_s longer?

    sprintf_s(result, 2 * sizeof(ULONG) + 30, "Found offsets: %lu & %lu", PID_OFFSET, LIST_OFFSET);

  5. This string is not used anywhere (copied from the microsoft ioctl sample:) )

    PCHAR data = "This String is from Device Driver !!!";

  6. Here, you use 'datalen' which is the length of the string from the sample instead of the real result string:

    Irp->IoStatus.Information = (outBufferLength<datalen ? outBufferLength : datalen);

Win7 64bit: Error sending IRP to driver

I try to use it in a win 7 64 bit installation with Driver Signing check and Patchguard disabled.

When I try to hide a process I obtain this output:

immagine

I have compiled the driver in Visual Studio 2017 runned in Win10, and I checked the follow option:

  • Driver Setting:
    Target OS Version = Windows 7
    Target Platform = Desktop
    Platform = x64

  • Configuration Manager
    Active Solution Platform = x64
    Platform = x64

About the loader, have compiled it use the command "make 64bit"

Thanks

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.