Skip to content

Porting password spray attack detection in Python#15

Open
mfred488 wants to merge 1 commit into
sans-blue-team:masterfrom
mfred488:master
Open

Porting password spray attack detection in Python#15
mfred488 wants to merge 1 commit into
sans-blue-team:masterfrom
mfred488:master

Conversation

@mfred488

Copy link
Copy Markdown

While trying my luck with SANS' holiday hack challenge this year, I realized that the password spray attack detection was not implemented in Python.

I looked at the PowerShell version, and tried to port the same logic in Python. This seems to work on the example file:

[mfred@localhost DeepBlueCLI]$ python DeepBlue.py evtx/password-spray.evtx 

Distributed Account Explicit Credential Use (Password Spray Attack)
The use of multiple user account access attempts with explicit credentials is 
an indicator of a password spray attack.

Target usernames: Administrator celgee eskoudis jwright smisenar dpendolino thessman
Accessing username: jwrig

@alnash28

alnash28 commented Jan 5, 2020

Copy link
Copy Markdown

@mfred488 Is this required to complete objective-3 of SANS KringleCon 2019 or not?
Seems to be missing as of 1/5/2020. Do you think @eric-conrad will merge this PR?

@mfred488

mfred488 commented Jan 5, 2020

Copy link
Copy Markdown
Author

@eric-conrad did not give his feedback on the PR yet, so it's not merged yet.

This PR can help if you want to use the Python version DeepBlueCLI to solve objective 3; if you need it, and can't wait for the merge, you can still clone my fork: https://github.com/mfred488/DeepBlueCLI

@alnash28

Copy link
Copy Markdown

@mfred488 Lulz, confession time. I manually applied this PR to the DeepCLI installed, however I havent found the culprit attempting password spraying

@Poorv2002 Poorv2002 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can u explain the code with full explanation

@TheRamisNotTaken

Copy link
Copy Markdown

Can u explain the code with full explanation

If you found any pls inform me too

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

Successfully merging this pull request may close these issues.

4 participants