Skip to content

Instantly share code, notes, and snippets.

View danSpotter's full-sized avatar

Daniel S. Potter danSpotter

  • US Gov.
  • Arlington VA
View GitHub Profile
@danSpotter
danSpotter / ADC2.ps1
Created August 19, 2016 18:18 — forked from HarmJ0y/ADC2.ps1
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