Skip to content

Random scripts that I used in the CARTP course lab & final exam.

Notifications You must be signed in to change notification settings

init5-SF/CARTP-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CARTP Scripts

TL;DR

Random scripts that I used in the CARTP course lab & final exam.

I relied hevily on AzureRT (https://github.com/mgeeky/AzureRT), it had a few bugs that needed fixing, and I also added multiple custom functions to it to speed up repetitive tasks like connecting Az/AzureAD modules, enumeration, etc.

Custome Tools

Stand-alone

Loot-VM.ps1

Various post-foothold checks. PRT, AzureADJoin, User Data, PS console history & more.

Alt text

_

findADFS.ps1

Checks for ADFS instance in the domain.

(Never got the chance to test this tool and probably never will since I'm already done with the exam.)


Included in AzureRT.ps1

Connect-All

Connects both Az and Azure AD using provided credentials

Connect-All -UserName '[email protected]' -Password 'Pa$$w0rd'

_

Evil-Winrm

You already know what this does x)

Evil-Winrm -UserName admin -Password 'Pa$$w0rd' -TargetIP 10.10.10.10 -TargetHostName ADConnectVM

_

Whois

Enumerates a given user and lists his details. i.e. Group memeberships, Role assignment, Admin Units, etc.

whois '[email protected]'

_

List-DeviceOwners

Loops all readable users and lists who owns what - no parameters needed.

List-DeviceOwners

About

Random scripts that I used in the CARTP course lab & final exam.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published