Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

init5-SF/CARTP-Scripts

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
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 'admin@foo.onmicrosoft.com' -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 'admin@foo.onmicrosoft.com'

_

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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.