Skip to content
/ Nidhogg Public
forked from Idov31/Nidhogg

Nidhogg is an all-in-one simple to use rootkit for red teams.

License

Notifications You must be signed in to change notification settings

TH3P1T/Nidhogg

 
 

Repository files navigation

Nidhogg

image image

Nidhogg is a multi-functional rootkit for red teams. The goal of Nidhogg is to provide an all-in-one and easy to use rootkit with multiple helpful functionalities for red team engagements that can be integrated with your own C2 framework via single header file with simple usage, you can see an example here.

Nidhogg can work on any version of Windows 10 and Windows 11.

This repository contains a kernel driver with C++ header to communicate with it.

NOTE: Some functionality might trigger PatchGuard, use it on your own risk!

Current Features

  • Process hiding
  • Process elevation
  • Anti process kill
  • Anti process dumping
  • Bypass pe-sieve
  • Anti file deletion
  • Anti file overwritting
  • Registry keys and values anti deletion
  • Registry keys and values hiding
  • Registry keys and values anti overwritting
  • Querying currently protected processes, files and registry keys & values

Basic Usage

It has a very simple usage, just include the header and get started!

#include "Nidhogg.hpp"

int main() {
    // ...
    DWORD result = NidhoggProcessProtect(pids);
    // ...
}

Setup

Building

To compile the project, you will need the following tools:

Clone the repository and build the driver.

Driver Testing

To test it in your testing environment run those commands with elevated cmd:

bcdedit /set testsigning on

After rebooting, create a service and run the driver:

sc create nidhogg type= kernel binPath= C:\Path\To\Driver\Nidhogg.sys
sc start nidhogg

Resources

Contributions

I'll happily accept contribution, make a pull request and I will review it!

About

Nidhogg is an all-in-one simple to use rootkit for red teams.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 88.1%
  • C 10.3%
  • YARA 1.6%