Minimalistic-offensive-security-tools
DSInternals
Our great sponsors
Minimalistic-offensive-security-tools | DSInternals | |
---|---|---|
3 | 16 | |
524 | 1,529 | |
- | - | |
0.0 | 6.7 | |
over 2 years ago | 15 days ago | |
PowerShell | C# | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Minimalistic-offensive-security-tools
- Minimalistic TCP and UDP port scanners (port-scan-tcp.ps1 | port-scan-udp.ps1) #infosec #pentest #redteam
-
Powershell brute force attack via rdp
Just need to adjust protocol similar to the way he adjusted the script above for SMB here https://github.com/InfosecMatter/Minimalistic-offensive-security-tools/blob/master/smblogin-extra-mini.ps1 so just do the same for RDP and your set.
DSInternals
-
recovering corrupted ad database
Thirdly dsinternals suite can be used to resurrect domain controllers from the dead.. it works very well and is pretty easy - https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/New-ADDBRestoreFromMediaScript.md - the person who created this is nothing short of a wizard.
-
Windows AD and Google Workspace Password Audit
Greetings. I would like to get recommendations for tools that will allow me to audit the password strength of users in Windows Active Directory and Google Workspace. I came across this one for AD that I plan to try. https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/Test-PasswordQuality.md
- AD Migration Questions
-
Customer ransomwared, and in bad place. Active Directory the priority.
As you have no AD specific backup or recovery plan nor do you have an idea of when ransomware was copied into the environment I.e. how long was it sitting dormant? I’d suggest you take the backup you have then use this script from DSInternals - https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/New-ADDBRestoreFromMediaScript.md - to restore ONLY Active Directory (NTDS + SYSVOl) into clean media (needs to be the same major OS version).
-
Manipulating User Passwords with Mimikatz
Note**:** The same can be done using the DSInternals Set-SamAccountPasswordHash command.
-
Finding Weak Passwords in AD
To find out, you can use the DSInternals command Test-PasswordQuality. It will extract the password hashes for all your user accounts and compare them against the password hashes for a dictionary of weak passwords.
-
Backup Active Directory
Recovery is still an option with this module: https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/New-ADDBRestoreFromMediaScript.md
- Active Directory Password Hash Reversing?
-
Security Cadence: Passphrases
Load DSInternals Powershell Module (Install-Module DSInternals -Force OR https://github.com/MichaelGrafnetter/DSInternals
-
Auto Generate a String array I can then use in a "foreach" loop
FYI, there's a PS module you can use to check passwords. Here's a link to some info about that: https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/Get-ADReplAccount.md
What are some alternatives?
vulnerable-AD - Create a vulnerable active directory that's allowing you to test most of the active directory attacks in a local lab
ADRecon - ADRecon is a tool which gathers information about the Active Directory and generates a report which can provide a holistic picture of the current state of the target AD environment.
jumpcloud-ADMU - JumpCloud Active Directory Migration Utility - JCADMU
weakpass - Weakpass collection of tools for bruteforce and hashcracking
AutomatedLab - AutomatedLab is a provisioning solution and framework that lets you deploy complex labs on HyperV and Azure with simple PowerShell scripts. It supports all Windows operating systems from 2008 R2 to 2022, some Linux distributions and various products like AD, Exchange, PKI, IIS, etc.
adfsmfa - MFA for ADFS 2022/2019/2016/2012r2
PowerShell - PowerShell functions and scripts (Azure, Active Directory, SCCM, SCSM, Exchange, O365, ...)
PowerSploit - PowerSploit - A PowerShell Post-Exploitation Framework
Pode - Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
ad-password-protection - Active Directory password filter featuring breached password checking and custom complexity rules
ConPtyShell - ConPtyShell - Fully Interactive Reverse Shell for Windows
BloodHound - Six Degrees of Domain Admin