Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dievus/PowerShellForPentesters
Course repository for PowerShell for Pentesters Course
https://github.com/dievus/PowerShellForPentesters
Last synced: 21 days ago
JSON representation
Course repository for PowerShell for Pentesters Course
- Host: GitHub
- URL: https://github.com/dievus/PowerShellForPentesters
- Owner: dievus
- Created: 2021-09-01T19:31:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-09T21:37:03.000Z (almost 3 years ago)
- Last Synced: 2024-08-05T17:43:37.055Z (4 months ago)
- Language: PowerShell
- Homepage:
- Size: 5.87 MB
- Stars: 415
- Watchers: 18
- Forks: 86
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome-hacking-lists - dievus/PowerShellForPentesters - Course repository for PowerShell for Pentesters Course (PowerShell)
README
# PowerShellForPentesters
![MayorSec](/images/powershell.jpg)
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/M4M03Q2JN)Playlist Link -
https://youtube.com/playlist?list=PLJQHPJLj_SQatUsJy3O4k-VQlllquDmDrPowerShell for Pentesters is a basic introduction to using PowerShell on internal penetration tests. This course is essentially the PowerShell module from my popular Movement, Pivoting, and Persistence course on TCM Academy and Udemy. In the course we will cover:
- User, group, and workstation enumeration
- Domain enumeration
- Downloading with PowerShell
- Group Policy Enumeration
- ACL Enumeration
- PowerShell Remoting
- PowerView and other popular offensive PowerShell scripts
- Mimikatz exploitationScripts are provided for easy installation of Active Directory functionality, however no instruction will be given on installing virtual machines in video. A lab guide provided in this repo will outline the basics for installing your network on Virtualbox. The process is similar on VMWare Workstation and Workstation Pro.
You will need Hashcat for the course, which is accessible at https://hashcat.net/hashcat/. You can also access Hashcat through Kali Linux if you have it installed. A course wordlist is included in the repo which contains user passwords when necessary, and will not require a GPU to crack.
# ADGenerator
This script will auto-generate the required users, groups, and permissions necessary for my Powershell for Pentesters course.
# InstructionsIn order to generate a functional domain controller and active directory, the listed PowerShell scripts need to be executed in the following order:
- Invoke-ForestDeploy.ps1```. .\Invoke-ForestDeploy.ps1```
```Invoke-ForestDeploy -DomainName ```
This will install the Windows Active Directory Domain Services toolset and generate the actual domain. Follow the instructions on screen, making note of the domain name used as this will be needed later.
- Invoke-ADGenerator.ps1
```. .\Invoke-ADGenerator.ps1```
```Invoke-ADGenerator -DomainName ```
This will generate the appropriate users, groups, permissions, configurations, and misconfigurations needed for the actual course.
- NameGen.ps1
```. .\NameGen.ps1```
```executeScript -ComputerName Workstation-01```
This is ran on the Workstation-01 machine created to appropriately name the workstation in the domain. Ensure that you use -ComputerName flag and specify Workstation-01.