Giter VIP home page Giter VIP logo

nccgroup / nlahoney Goto Github PK

View Code? Open in Web Editor NEW
10.0 8.0 1.0 12.21 MB

NLA Honeypot Associated Research

Home Page: https://research.nccgroup.com/2021/10/21/cracking-rdp-nla-supplied-credentials-for-threat-intelligence/

CMake 4.11% C 88.25% C++ 0.81% Makefile 0.01% Objective-C 3.07% CSS 0.04% HTML 0.61% Java 2.29% Rich Text Format 0.01% Roff 0.08% Shell 0.16% Python 0.47% C# 0.04% Perl 0.05% Dockerfile 0.01%

nlahoney's Introduction

NLA Honeypot Associated Research

  • FreeRDP-ResearchServer/: a modified FreeRDP 2.2.0 that completes a RDP handshake, kicks out the user (since there are no accounts set up), and dumps the six messages into /tmp
  • FreeRDP-Pot-Patches/: patches for FreeRDP server which is intended for production that completes a RDP handshake, kicks out the user (since there are no accounts set up), and dumps the six messages into /tmp
  • dump/: captured Negotiate/Challenge/Authenticate Out/In message dumps
  • NCC-FreeRDP-pyparser/nccfreerdppyparser.py: extracts message dumps from dump/ and prints hashes out in the format username:workstation:domain:$NLA$UserDomain$ntlm_v2_temp_chal$msg$EncryptedRandomSessionKey$MessageIntegrityCheck
  • hashes.txt: hashes generated by nccfreerdppyparser.py
  • NCC-FreeRDP-pyparser/crack.py: cracks hashes from nccfreerdppyparser.py
  • docker/build.sh: builds FreeRDP-ResearchServer/
  • docker/dump.sh: connects a FreeRDP client to a FreeRDP server, to dump RDP connection messages

The goal is to deploy honeypots that can capture RDP handshakes, then crack them offline in an effort to understand which passwords are being sprayed at RDP honeypots we deploy, are they organization-specific, etc. Currently we can successfully capture the handshakes (see FreeRDP-ResearchServer/), extract the relevant data (see nccfreerdppyparser.py), and crack them (see crack.py).

Next steps:

  • rewrite crack.py as a hashcat plugin
  • clean up FreeRDP-ResearchServer/ to be production ready
  • are there authentication methods that require SAM databases?

nlahoney's People

Contributors

raylai-ncc avatar

Stargazers

Rayan avatar  avatar  avatar  avatar Ben avatar  avatar ajin avatar Ivan Marković avatar  avatar  avatar

Watchers

 avatar Felix Ingram avatar James Cloos avatar Raviv Cohen avatar Steven van der Baan avatar Ollie avatar Matt Lewis avatar  avatar

Forkers

spr0ut

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.