T1539

Steal Web Session Cookie

Stealing another user's session cookie (usually through XSS) to log in as them.

How it shows up on Hack The Box

On HTB there is an admin bot that visits whatever you submit: an XSS that sends document.cookie to your server gives you its session, if the cookie is not HttpOnly.

Techniques in our catalog that match this one (the number is their machines):

Machines to practice it

Sorted from easiest to hardest. The ▶ link takes you to the minute of the IppSec video where it is used.

Guides