If you prefer, as a local physical user you can also install a physical keylogger between the keyboard and computer. Or replace the executable with one that is backdoored, and read the cookies directly from memory.
The point is that you pwned the computer already, and this is just one of dozens of things you could already do with that privilege.
The point is that you pwned the computer already, and this is just one of dozens of things you could already do with that privilege.