Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about user account passwords #5

Open
7MinSec opened this issue Jul 28, 2020 · 3 comments
Open

Question about user account passwords #5

7MinSec opened this issue Jul 28, 2020 · 3 comments

Comments

@7MinSec
Copy link

7MinSec commented Jul 28, 2020

Hello there,

First of all, I REALLY like what you're doing with Bad Blood. I've had it bookmarked forever and was super excited to give it a spin in the lab today. I have a fresh 2016 DC and ran BB on it and now my domain is very dirty - awesome.

Question for you on user credentials. For grins I used ntdsutil to dump out all the hashes and was having some folks test cracking passwords on those accounts. After not cracking a single password for quite a while, I looked at the CreateUsers.ps1 and can see the function for adding random/strong passwords to users.

To make this environment feel a little more like a typical customer network, I'd like to tweak that script to have a minimum length of 8 and maximum length of 12 character passwords. I think I see where to do that in the script, but ideally I'd also have the password itself come from a list of passwords I specify.

I'm not too sharp with PowerShell so if you have any advice please let me know, otherwise yes I'll certainly RTFM for PowerShell if that's the next best step 👍

Thanks!
Brian

@7MinSec
Copy link
Author

7MinSec commented Jul 28, 2020

Follow up: looks like I could do a mass password reset with something like this (https://www.mowasay.com/2016/10/active-directory-changing-passwords-for-users-in-bulk-using-a-csv-file/) but I'd rather just do it upon BB doing it's mojo.

@kamsalisbury
Copy link

kamsalisbury commented Dec 5, 2020

I looked at the code briefly and it looks like you can edit the CreateUsers.ps1 script, lines 128, 137, 143 and 147 to get closer to the goal.
Update: I had to re-create my lab's test DC and domain so re-ran after modifying the minimum password length and other lines identified in this post and had no problem.

@7MinSec
Copy link
Author

7MinSec commented Dec 19, 2020

Thanks @kamsalisbury I'll give it a look!

davidprowe pushed a commit that referenced this issue Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants