Files
wsmancer/scripts/krb5-aes.conf.tmpl
sresarehumantoo 2f1dbda6e1 wsmancer: initial public release (0.1.0)
An interactive WinRM shell for offensive Windows work, speaking the
PowerShell Remoting Protocol end to end. Command results come back as typed
objects (structured JSON on demand), and it authenticates against stock,
locked-down listeners: NTLM and Kerberos with WinRM message sealing that is
integrity-checked in both directions, pass-the-hash, and certificate auth.

Highlights:
  - -o json structured output; -x one-shot and -x - batch/session mode over
    one connection, built for automation as well as a prompt
  - context-aware Tab completion (local/remote paths, the target's own cmdlet
    names, and parameters/values via the target's TabExpansion2), ghost text
  - a session that recovers a dropped connection, and detects a shell the
    target has forgotten
  - the full evil-winrm post-ex set: -s scripts + menu, services,
    invoke-binary, donut-loader, bypass-4msi
  - SOCKS5 pivoting, TLS verification (--ca-cert / --accept-fingerprint /
    --insecure), client certs / mutual TLS

Every claim is live-verified against a real WinRM target; see
docs/verification.md. A Go port of Hackplayers/evil-winrm (LGPL-3.0), with all
20 of its flags and every post-ex command; PSRP transport builds on a patched
smnsjas/go-psrp (MIT), vendored under go-psrp-fork/.
2026-08-12 20:39:57 -04:00

26 lines
1.0 KiB
Cheetah

# Template for the AES-only config `kvno` is driven with. scripts/get-tickets.sh
# renders it into lab/krb5-aes.conf. See krb5.conf.tmpl for the placeholders.
#
# The enctype lists are the point of this file: impacket's getST downgrades to
# RC4 whatever you ask for, so the AES service ticket is obtained with MIT kvno
# under a config that cannot express anything else. arcfour stays in
# permitted_enctypes because the TGT this reuses may still be RC4-protected.
#
# MIT wants an address for the KDC here, not a name, and a lab box's address
# changes every spawn, which is why this is rendered per run rather than edited.
[libdefaults]
default_realm = @REALM@
dns_lookup_kdc = false
dns_lookup_realm = false
default_tkt_enctypes = aes256-cts-hmac-sha1-96
default_tgs_enctypes = aes256-cts-hmac-sha1-96
permitted_enctypes = aes256-cts-hmac-sha1-96 arcfour-hmac
udp_preference_limit = 1
[realms]
@REALM@ = {
kdc = @KDC@
}
[domain_realm]
.@realm@ = @REALM@
@realm@ = @REALM@