< Back

ConvertTo-AADIntBackdoor

Fri Jan 10, 2020 5:36 pm

NAME ConvertTo-AADIntBackdoor



SYNOPSIS

Converts a domain to a backdoor to Azure AD tenant.





SYNTAX

ConvertTo-AADIntBackdoor [[-AccessToken] <String>] [-DomainName] <String> [-Create] [<CommonParameters>]





DESCRIPTION

Opens a backdoor to Azure AD tenant by altering the given domains authentication settings.

Allows logging in as any user of the tenant.



The certificate will be configured to be any.sts and issuer http://any.sts/<8 byte hex-value>





PARAMETERS

-AccessToken <String>

Access Token



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DomainName <String>

The domain to be used as a backdoor



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Create [<SwitchParameter>]

If set, tries to create the domain



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>ConvertTo-AADIntBackdoor -DomainName backdoor.myo365.site















RELATED LINKS