
أداة لرش كلمات المرور لبيانات اعتماد Active Directory بواسطة Jacob Wilkin(Greenwolf)
أداة رش كلمات المرور (Password Spraying) لبيانات اعتماد Active Directory من إعداد Jacob Wilkin (Greenwolf)
ستوضح لك هذه التعليمات المتطلبات اللازمة لاستخدام Spray وكيفية استخدامه.
جميع المتطلبات مثبّتة مسبقًا على Kali Linux. للتشغيل على توزيعات أخرى (بما في ذلك macOS)، تحتاج إلى curl (أوضاع owa/lync/cisco/ovpn) وrpcclient (وضع smb). على macOS، يوفّر rpcclient صيغة samba: "brew install samba" على Debian/Kali، يوجد ضمن samba-common-bin: "sudo apt-get install -y samba-common-bin"
يمكنك أيضًا ترك Spray يثبّت التبعيات ويتحقق منها لنظام التشغيل الخاص بك تلقائيًا:
spray.sh --install
rpcclient
curl
يقوم هذا السكربت بتنفيذ رش كلمات المرور على هدف ما على مدى فترة زمنية يتطلب سياسة كلمات المرور كمدخل حتى لا يتم قفل الحسابات
يرافق هذا السكربت سلسلة من ملفات كلمات المرور المصنوعة يدويًا لعدة لغات. وقد صُنعت هذه من كلمات المرور الأكثر شيوعًا في Active Directory بمختلف اللغات، وجميعها تندرج ضمن الفئة المعقدة (حرف كبير واحد، حرف صغير واحد، رقم واحد).
لتنفيذ رش كلمات المرور على بوابة SMB، يجب توفير قائمة مستخدمين، وقائمة كلمات مرور، وعدد المحاولات لكل فترة قفل، ومدة فترة القفل، والنطاق (domain)
Useage: spray.sh -smb <targetIP> <usernameList> <passwordList> <AttemptsPerLockoutPeriod> <LockoutPeriodInMinutes> <DOMAIN>
Example: spray.sh -smb 192.168.0.1 users.txt passwords.txt 1 35 SPIDERLABS
Optionally Skip Username%Username Spray: spray.sh -smb 192.168.0.1 users.txt passwords.txt 1 35 SPIDERLABS skipuu
لتنفيذ رشّ كلمات المرور على بوابة OWA، يجب إنشاء ملف يحتوي على طلب POST مع اسم المستخدم: [email protected]، وكلمة المرور: spraypassword
Useage: spray.sh -owa <targetIP> <usernameList> <passwordList> <AttemptsPerLockoutPeriod> <LockoutPeriodInMinutes> <RequestsFile>
Example: spray.sh -owa 192.168.0.1 users.txt passwords.txt 1 35 post-request.txt
لرشّ كلمات المرور على خدمة lync، يجب توفير رابط lync autodiscover أو رابط يُرجع ترويسة www-authenticate إلى جانب قائمة بعناوين البريد الإلكتروني
Useage: spray.sh -lync <targetIP> <usernameList> <passwordList> <AttemptsPerLockoutPeriod> <LockoutPeriodInMinutes>
Example: spray.sh -lync https://lyncdiscover.spiderlabs.com/ users.txt passwords.txt 1 35
Example: spray.sh -lync https://lyncweb.spiderlabs.com/Autodiscover/AutodiscoverService.svc/root/oauth/user users.txt passwords.txt 1 35
لرشّ كلمات المرور على خدمة CISCO Web VPN، يجب توفير بوابة هدف أو خادم يستضيف بوابة
Useage: spray.sh -cisco <targetURL> <usernameList> <passwordList> <AttemptsPerLockoutPeriod> <LockoutPeriodInMinutes>
Example: spray.sh -cisco 192.168.0.1 usernames.txt passwords.txt 1 35
لتنفيذ هجوم رشّ كلمات المرور على بوابة OpenVPN على الويب، يجب توفير عنوان IP للهدف والمنفذ
Useage: spray.sh -ovpn <targetIP> <targetPort> <usernameList> <passwordList> <AttemptsPerLockoutPeriod> <LockoutPeriodInMinutes>
Example: spray.sh -ovpn 192.168.0.1 943 usernames.txt passwords.txt 1 35
من الممكن أيضًا تحديث قائمة كلمات المرور المرفقة لعامي 2016/2017 إلى السنة الحالية
Useage: spray.sh -passupdate <passwordList>
Example: spray.sh -passupdate passwords.txt
يمكن أيضًا توفير اسم شركة اختياري لإضافته إلى القائمة
Useage: spray.sh -passupdate <passwordList> <CompanyName>
Example: spray.sh -passupdate passwords.txt Spiderlabs
يمكن أيضًا توليد قائمة بأسماء المستخدمين من قائمة بالأسماء الشائعة
Useage: spray.sh -genusers <firstnames> <lastnames> "<<fi><li><fn><ln>>"
Example: spray.sh -genusers english-first-1000.txt english-last-1000.txt "<fi><ln>"
Example: spray.sh -genusers english-first-1000.txt english-last-1000.txt "<fn>.<ln>"
إذا كانت هذه الأداة مفيدة لك، فلا تتردد في شكري عبر شراء فنجان قهوة لي :)
Spray Created by Jacob Wilkin Copyright (C) 2017 Trustwave Holdings, Inc.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.