Code Monkey home page Code Monkey logo

nauthnrpc's Introduction

NauthNRPC

Description

NauthNRPC is a Python tool that introduces a new method for gathering domain information, including the enumeration of domain users. The tool leverages auth-level = 1 (No authentication) against the MS-NRPC (Netlogon) interface on domain controllers. All that's required is the domain controller's IP address, and the entire process can be completed without providing any credentials.

Preventing such enumeration is challenging, and detection poses difficulties for blue teamers. For further details, please refer to my research

Key Features:

  • Domain Information Enumeration: The tool extracts information such as the DC name, domain name, domain GUID, site name, forest name, and various flags that indicate properties of the DC.

  • Trusted Domains: The tool extracts information related to the domain's trusted domains and provides details about the trusted relationships.

  • Users and Computers Enumeration: The tool can enumerate domain users and computers and check for their existence

Compatibility:

This tool has been tested with Windows servers 2012, 2016, 2019 and 2022.

Usage

The tool requires Impacket to be installed beforehand. To execute the tool for domain information enumeration, you only need to specify the target using the "-t" flag:

python3 nauth.py -t ip_address

For enumerateing users or computers, you can provide a text file containing user/computer names, each separated by a new line:

python3 nauth.py -t target -u users_file.txt -f computers_file.txt

Authors

Haidar kabibo, Kaspersky Security Services. Twitter: https://twitter.com/haider_kabibo

License

This software is provided under MIT Software License

nauthnrpc's People

Contributors

sud0ru avatar

Stargazers

checkm4te avatar  avatar  avatar aza avatar Oleg Moshkov avatar  avatar

Forkers

killvxk

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.