Youzer - Faux User Generator For Active Directory Environments
Fake User Generator for Active Directory Environments
Introduction
The destination of Youzer is to do information rich Active Directory environments. This uses the python3 library 'faker' to generate random accounts.
pip3 install faker
You tin either provide a wordlist or convey the passwords generated. The generated alternative is peachy for testing things similar hashcat dominion masks. Wordlist alternative is useful when wanting to provide a specific password listing seeded into an environment, or to practise lexicon attacks.The output is a CSV as well as a PowerShell script where both tin hold upwards copied to the target. When executed, the PowerShell script binds over LDAP as well as hence doesn't rely on the newer Active Directory modules as well as creates each user object. Currently the OU's demand to exist, exactly this tool is a sub-project of 'Labseed' where the Active Directory construction volition hold upwards created.
RoadMap
- Generate multiple departments (OU's)
- Generate grouping construction as well as randomly assign
- Implement additional Faker object options to populate other LDAP fields such every bit Address, Region
- Create an organisational nautical chart of the nested grouping structure
Examples
Youzer tin do 100,000 users inward nether xxx seconds as well as 1,000,000 users inward some three minutes.
[-] Domain Name gear upwards to : instance [*] Writing to output file : sales_example.csv [!] Generating 100000 users inward password generate manner [!] Creating Powershell script for import : sales_example.ps1 python3 youzer.py --generate --generate_length twenty --ou --domain instance 20.35s user 0.11s scheme 95% cpu 21.354 total
YouTube Video
Creating thou user accounts alongside a randomly generated alphanumeric password selection of twenty characters
python3 youzer.py --generate --generate_length twenty --ou "ou=sales,dc=example,dc=domain" --domain instance --users thou --output sales_example.csv ?88 d8P d8888b ?88 d8Pd88888P d8888b 88bd88b d88 88 d8P' ?88d88 88 d8P' d8b_,dP 88P' ` ?8( d88 88b d88?8( d88 d8P' 88b d88 `?88P'?8b `?8888P'`?88P'?8bd88888P'`?888P'd88' )88 ,d8P version : 0.1 `?888P' writer : @lorentzenman squad : SpiderLabs [-] Domain Name gear upwards to : instance [*] Writing to output file : sales_example.csv [!] Generating thou users inward password generate manner [!] Creating Powershell script for import : sales_example.ps1
Sample output from CSV file created from generate optionName,GivenName,sn,ou,password,address,description Dennis Shaw,Dennis,Shaw,"ou=sales,dc=example,dc=domain",VwVeloi09FaECRdNbbXD, Sam Francis,Sam,Francis,"ou=sales,dc=example,dc=domain",qhitxgjDW4gZFuraLJbB, Ellie Freeman,Ellie,Freeman,"ou=sales,dc=example,dc=domain",7qbLcknqlPtpkOzdLyw3, Terence Arnold,Terence,Arnold,"ou=sales,dc=example,dc=domain",lumPMbDk1YomypRj26by, Anne Murphy,Anne,Murphy,"ou=sales,dc=example,dc=domain",6r42EGGoEJYe9PydHRTV, Wendy Smith,Wendy,Smith,"ou=sales,dc=example,dc=domain",tKI2zFUOU8XdK4ZTUJas, Jay Lyons,Jay,Lyons,"ou=sales,dc=example,dc=domain",wxEIbw18tW9uFYXtMI9H, Jonathan White,Jonathan,White,"ou=sales,dc=example,dc=domain",caoHcm2Y90lIH7zskJYr, Adam Roberts,Adam,Roberts,"ou=sales,dc=example,dc=domain",Qu0y7mlb2haQQddxYrcN, Georgina Jones,Georgina,Jones,"ou=sales,dc=example,dc=domain",rYBjxs4tpj9Qza7HcKYI, Lee Newton,Lee,Newton,"ou=sales,dc=example,dc=domain",6CVlBvEutc3Ahco2UI5q, Aaron Smith,A aron,Smith,"ou=sales,dc=example,dc=domain",hmSSoKILfvrHuHbPTDIQ, Max Hall,Max,Hall,"ou=sales,dc=example,dc=domain",11Ys9Zdk2M8J1JAScBkP, Kimberley Douglas,Kimberley,Douglas,"ou=sales,dc=example,dc=domain",WQ9285gSHv2MXkwoLYlg, Denise Fisher,Denise,Fisher,"ou=sales,dc=example,dc=domain",CT1pbfAnCoezuyrJbQX9,
Creating thou user accounts from a source discussion list
python3 youzer.py --wordlist /tools/pw/Probable-Wordlists/Real-Passwords/Top12Thousand-probable-v2.txt --ou "ou=IT,dc=example,dc=domain" --domain instance --users thou --output IT_example.csv ?88 d8P d8888b ?88 d8Pd88888P d8888b 88bd88b d88 88 d8P' ?88d88 88 d8P' d8b_,dP 88P' ` ?8( d88 88b d88?8( d88 d8P' 88b d88 `?88P'?8b `?8888P'`?88P'?8bd88888P'`?888P'd88' )88 ,d8P version : 0.1 `?888P' writer : @lorentzenman squad : SpiderLabs [-] Domain Name gear upwards to : instance [*] Writing to output file : IT_example.csv [!] Generating thou users inward wordlist manner [!] Creating Powershell script for import : IT_example.ps1
Sample output of CSV file from inward a higher house wordlist optionName,GivenName,sn,ou,password,address,description Rhys Parker,Rhys,Parker,"ou=IT,dc=example,dc=domain",houston, Geoffrey Harris,Geoffrey,Harris,"ou=IT,dc=example,dc=domain",clothing, Georgia Davis,Georgia,Davis,"ou=IT,dc=example,dc=domain",spotty, Gemma Norris,Gemma,Norris,"ou=IT,dc=example,dc=domain",brendan1, Daniel Marsh,Daniel,Marsh,"ou=IT,dc=example,dc=domain",pauline, Dominic Harvey,Dominic,Harvey,"ou=IT,dc=example,dc=domain",devin, Teresa Stokes,Teresa,Stokes,"ou=IT,dc=example,dc=domain",snapple, Joanna Morgan,Joanna,Morgan,"ou=IT,dc=example,dc=domain",volcom, Oliver Middleton,Oliver,Middleton,"ou=IT,dc=example,dc=domain",master,