Skip to content

Instantly share code, notes, and snippets.

@HarmJ0y
HarmJ0y / ADC2.ps1
Last active February 16, 2024 02:18
Command and Control channel through Active Directory Object Properties
#Requires -Version 2
function New-ADPayload {
<#
.SYNOPSIS
Stores PowerShell logic in the mSMQSignCertificates of the specified -TriggerAccount and generates
a one-line launcher.
Author: @harmj0y