DSInternals
PowerSploit


DSInternals | PowerSploit | |
---|---|---|
16 | 18 | |
1,681 | 8,062 | |
1.0% | - | |
6.5 | 0.5 | |
17 days ago | over 4 years ago | |
C# | PowerShell | |
MIT License | GNU General Public License v3.0 or later |
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.
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
PowerSploit
-
Powershell error message help from using Powerview.ps1
The correct thing to do was importing the Recon.psm1 module, as instructed in the PowerSploit's documentation.
-
Powerview.ps1 error help
I joined one of the clients to the domain, then downloaded powerview.ps1 from https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1).
-
“Malicious” powershell commands for demo
You can grab PowerSploit . Most of the scripts will trigger powershell's Antimalware Scan Interface (AMSI) if you have real-time protection enabled. To be sure, use Invoke-Mimikatz.ps1 as AMSI blocks certain keywords like “invoke-mimikatz” or “amsiutils” since they are widely known to be used for exploitation. So I suggest you use them. Note that you can hide some malicious scripts by running an amsi bypass, thats for another day.
-
4 AD Attacks and How to Protect Against Them
PowerSploit
- Junior Pen Tester - CTF interview
-
Compromising Plaintext Passwords in Active Directory
Because the SYSVOL share is open to Authenticated Users, any user in the organization can read the files stored there. Therefore, any user account can find and decrypt the Group Policy file and thereby gain access to the plaintext passwords for Administrator accounts. The PowerSploit command Get-GPPPassword will find and decrypt these passwords for you.
-
Manipulate Zip/7Zip Archives w/o Disk Write
Please see PowerShellMafia/PowerSploit for more information about how to run an EXE from the memory. Find examples here: GitHub Examples
-
Extracting Service Account Passwords with Kerberoasting
Get-NetUser command of PowerSploit
-
Privilege Escalation with DCShadow
The first step is to find out what trusts exist. There are several ways to do this, but two we will leverage through PowerShell are the PowerSploit framework and the Active Directory PowerShell module.
-
Can i use PowerShell to gain admin privileges
Short answer; yes. See PowerUp.ps1: https://github.com/PowerShellMafia/PowerSploit/blob/master/Privesc/PowerUp.ps1
What are some alternatives?
weakpass - Weakpass collection of tools for bruteforce and hashcracking
BloodHound-Legacy - Six Degrees of Domain Admin
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.
BeRoot - Privilege Escalation Project - Windows / Linux / Mac
ad-password-protection - Active Directory password filter featuring breached password checking and custom complexity rules
BlueHound - BlueHound - pinpoint the security issues that actually matter
adfsmfa - MFA for ADFS 2022/2019/2016/2012r2
DeathStar - Uses Empire's (https://github.com/BC-SECURITY/Empire) RESTful API to automate gaining Domain and/or Enterprise Admin rights in Active Directory environments using some of the most common offensive TTPs.
Minimalistic-offensive-security-tools - A repository of tools for pentesting of restricted and isolated environments.
Slingcode - personal computing platform

