Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ Lil-Pwny - Auditing Active Directory Passwords Using Multiprocessing In Python

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Lil-Pwny - Auditing Active Directory Passwords Using Multiprocessing In Python


๐Ÿ’ก Newskategorie: IT Security Nachrichten
๐Ÿ”— Quelle: feedproxy.google.com


A multiprocessing approach to auditing Active Directory passwords using Python.


About Lil Pwny

Lil Pwny is a Python application to perform an offline audit of NTLM hashes of users' passwords, recovered from Active Directory, against known compromised passwords from Have I Been Pwned. The usernames of any accounts matching HIBP will be returned in a .txt file

There are also additional features:

  • Ability to provide a list of your own passwords to check AD users against. This allows you to check user passwords against passwords relevant to your organisation that you suspect people might be using. These are NTLM hashed, and AD hashes are then compared with this as well as the HIBP hashes.
  • Return a list of accounts using the same passwords. Useful for finding users using the same password for their administrative and standard accounts.

More information about Lil Pwny can be found on my blog


Recommendations

This application was developed to ideally run on high resource infrastructure to make the most of Python multiprocessing. It will run on desktop level hardware, but the more cores you use, the faster the audit will run.


Installation

Install via pip

pip install lil-pwny

Usage

Lil-pwny will be installed as a global command, use as follows:

usage: lil-pwny [-h] -hibp HIBP [-a A] -ad AD_HASHES [-d] [-m] [-o OUTPUT]

optional arguments:
-hibp, --hibp-path The HIBP .txt file of NTLM hashes
-a, --a .txt file containing additional passwords to check for
-ad, --ad-hashes The NTLM hashes from of AD users
-d, --find-duplicates Output a list of duplicate password users
-m, --memory Load HIBP hash list into memory (over 24GB RAM
required)
-o, --out-path Set output path. Uses working dir when not set

Example:

lil-pwny -hibp ~/hibp_hashes.txt -ad ~/ad_ntlm_hashes.txt -a ~/additional_passwords.txt -o ~/Desktop/Output -m -d

use of the -m flag will load the HIBP hashes into memory, which will allow for faster searching. Note this will require at least 24GB of available memory.


Getting input files

Step 1: Get an IFM AD database dump

On a domain controller use ntdsutil to generate an IFM dump of your AD domain. Run the following in an elevated PowerShell window:

ntdsutil
activate instance ntds
ifm
create full **output path**

Step 2: Recover NTLM hashes from this output

To recover the NTLM hashes from the AD IFM data, the Powershell module DSInternals is required.

Once installed, use the SYSTEM hive in the IFM data to recover the hashes in the format usernme:hash and save them to the file ad_ntlm_hashes.txt

$bootKey = Get-BootKey -SystemHivePath '.\registry\SYSTEM'
Get-ADDBAccount -All -DBPath '.\Active Directory\ntds.dit' -BootKey $bootKey | Format-Custom -View HashcatNT | Out-File ad_ntlm_hashes.txt -Encoding ASCII

Step 3: Download the latest HIBP hash file

The file can be downloaded from here

The latest version of the hash file contains around 551 million hashes.


Resources


...



๐Ÿ“Œ A Guide to Python Multiprocessing and Parallel Programming


๐Ÿ“ˆ 35.65 Punkte

๐Ÿ“Œ Python Multiprocessing: Parallele Verarbeitung von Prozessen


๐Ÿ“ˆ 35.65 Punkte

๐Ÿ“Œ Active Directory Domains and Forests Introduction โ€“ Best Active Directory Tools


๐Ÿ“ˆ 30.16 Punkte

๐Ÿ“Œ Active Directory Domains and Forests Introduction โ€“ Best Active Directory Tools


๐Ÿ“ˆ 30.16 Punkte

๐Ÿ“Œ Vulnerable-AD - Create A Vulnerable Active Directory That'S Allowing You To Test Most Of Active Directory Attacks In Local Lab


๐Ÿ“ˆ 30.16 Punkte

๐Ÿ“Œ Active Directory (AD) vs Azure Active Directory (AAD)


๐Ÿ“ˆ 30.16 Punkte

๐Ÿ“Œ CVE-2022-42919 | CPython up to 3.10.8 on Linux Multiprocessing Library deserialization (ID 97514)


๐Ÿ“ˆ 29.14 Punkte

๐Ÿ“Œ Multiprocessing with NumPy Arrays


๐Ÿ“ˆ 29.14 Punkte

๐Ÿ“Œ Pandas Read_csv Multiprocessing


๐Ÿ“ˆ 29.14 Punkte

๐Ÿ“Œ Threading vs Asyncio vs Multiprocessing


๐Ÿ“ˆ 29.14 Punkte

๐Ÿ“Œ Your Active DAD (Active Domain Active Defense) Primer


๐Ÿ“ˆ 26.52 Punkte

๐Ÿ“Œ WEBCAST: Active Domain Active Defense (Active DAD) Primer with John Strand


๐Ÿ“ˆ 26.52 Punkte

๐Ÿ“Œ Lil Bub, a special-needs celebrity cat, gets hacked


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ http://datakesra.kemenkopmk.go.id/LiL.html


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Summit Computer Networks Lil HTTP Server 2.2 PowerBASIC urlcount.cgi cross site scripting


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Summit Computer Networks Lil HTTP Server 2.2 PowerBASIC urlcount.cgi cross site scripting


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Summit Computer Networks Lil HTTP Server 2.1 HTTP Request privilege escalation


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ E-Bike fรผr Streuner: Nach dem Ruff Cycles Lilโ€™Buddy dreht sich jeder um


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Summit Computer Networks Lil HTTP Server 2.1 HTTP Request privilege escalation


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Summit Computer Networks Lil HTTP Server 2.2 PowerBASIC pbcgi.cgi Name/E-mail cross site scripting


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Verwechselt: Security denkt Lil Uzi Vert sei ein Fan


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ http://sisfa.sineace.gob.pe/LiL.html


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ http://alcaldiausulutan.gob.sv/LiL.html


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Amazon and Code.org Tap Lil Nas X and Katy Perry To Teach Children To Code


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Lil' Bobby And The Juice Pilot Reverse Hitler 2019


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ NBA 2k21 Soundtrack mit uA Pop Smoke, Travis Scott, Juice WRLD, Lil Baby, Roddy Rich, Stormzy uvm.


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Modularity of the hardware kind -- a lil' project I've been working on


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ "Twerk Hero": Rapper Lil Nas X lรคsst Spieler in Browsergame mit dem Hintern wackeln


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Suppe auf Kunst: Lil Nas X mischt sich in Debatte ein


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Building a lilโ€™ Stateful, ML Application for Online Learning


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ CVE-2023-47365 | Lil.OFF-PRICE STORE Line 13.6.1 Channel Access Token information disclosure


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Lil' Guardsman Review (PC)


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Apple Music Super Bowl ad features Tim Cook, Ludacris, Lil Jon, and more


๐Ÿ“ˆ 24.01 Punkte

๐Ÿ“Œ Your Active Directory Active Defense ADAD Primer


๐Ÿ“ˆ 23.92 Punkte











matomo