Skip to content

nixonion/Hidden-Key-Searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hidden-Key-Searcher

A defense mechanism to find and delete registry keys made using the NULL termination method mentioned in the paper given below: https://github.com/ewhitehats/InvisiblePersistence/blob/master/InvisibleRegValues_Whitepaper.pdf

This tool is written in C++ and uses NTDLL functions to find AUTORUN registry keys that cannot be seen using Registry Editor.


HOW TO USE:

To run the exe (Make sure you are running it as an administrator):

  example.exe

Once the executable runs, it searches and shows the hidden keys in following registry paths: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

The output would look something like this:

    Searching for NULL Hidden Keys

    -----------------


    Entry Number : 0

    Registry Path   = HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    Name    = NullNullSOFTWARE
    Index   = 0
    Type    = 1
    Datalength      = 66
    Namelength      = 20
    Source  = "C:\WINDOWS\system32\notepad.exe"

    -----------------


    Entry Number : 1

    Registry Path   = HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    Name    = NullNullEVILTEST
    Index   = 0
    Type    = 1
    Datalength      = 8
    Namelength      = 20
    Source  = TEST

After finding the keys, you will be asked whether you want to delete a key. You can provide the entry number of the key to delete it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages