Skip to content
0
My Cart

Your cart is empty.

TotalR 0,00

Welcome to Catto Learning

Sign in to see your courses, or register to start one.

A laptop with a closed padlock on its sign-in page. Beside it a shadowed hand takes a copy of a signed-in pass, while a shield blocks a second hand.
Cybersecurity and Digital Safety

Stolen browser cookies: how accounts are hijacked without a password

A stolen browser cookie gets a criminal past your password and 2FA. The five ways cookies are taken, what stops each, and what to do if it happens to you.

Published About 9 minutes to read

A stolen browser cookie lets a criminal into an account that is already signed in, without the password and without the 2FA code. There are five ways such a cookie is taken, and each has something that stops it or makes it much harder.

The subject is in the news because of a MyBroadband report of 2 December 2026. Criminals are taking over active Microsoft 365 and Google Workspace sessions at South African businesses, and a second step at sign-in does not keep them out on its own. A Cape Town security firm told MyBroadband that it has seen this locally, and that it usually starts with an email.

A cookie is a small piece of data a website sends to your browser, which the browser sends back on later visits. Cookies do many jobs, such as remembering what is in a shopping cart. Only some of them have to do with signing in.

The one that matters here is the cookie that holds your session. When you sign in, the site checks your password and your second step, and then gives your browser a temporary pass. From then on the browser shows the pass and the site does not ask again. The cookie that carries the pass is called a session cookie, and it is why your email does not ask for a code each time.

Whoever holds a copy of that pass is already past both checks. Taking it over is called session hijacking. Microsoft, which calls the pass a token, says that one stolen after the second step and used again satisfies the check for that second step.

The "Remember me" box keeps the pass alive between visits. Security company Malwarebytes says such a cookie is typically valid for 30 days, and advises you to decide whether the convenience is worth the risk.

How big is it in South Africa?

NordVPN, a company that sells security products, counted 263 million browser cookies from South Africa in data gathered by information-stealing malware, MyBroadband reports. That placed the country 30th in the world.

The figure counts cookies. It is not a count of hacked accounts or of people. One person can have many cookies, and not every stolen cookie is still valid.

Where no other source is linked, the first four are as Modules 2 and 4 of our Cyber Security Course for Employees teach them, and the fifth as Module 2 of Website and E-Commerce Security does.

RouteWhat it needs from youWhat stops it
1. A relay page between you and the real siteYou follow a link and sign in on the wrong pageA passkey or security key; a password manager that will not fill in
2. An information stealer on your computer or phoneYou install something unsafe or open a false attachmentApproved software, updates, an ordinary account, reporting at once
3. A bad browser extensionYou add it, or a false attachment adds it for youFew extensions, all approved, and a regular review
4. A shared or public computerYou sign in and leave the session behindNot signing in there; if you must, signing out fully
5. A weakness in the website itselfNothing: you only use the siteThe website's own settings for its cookies and sessions

1. A relay page

A link in a message opens a fake page that passes everything you type on to the real site at once. The criminal keeps the session that follows. Codes and approval prompts can both be passed on in this way.

A passkey or a security key stops it. A passkey is made for one site's address, so a lookalike page gets nothing. A password manager helps too, because it fills in only on the exact address where the password was saved. If yours offers nothing on a page that looks right, stop. Open the site from your own bookmark instead of the link.

2. An information stealer

An information stealer, or infostealer, is malicious software that copies saved passwords and signed-in sessions. It often arrives as an unapproved download or a fake attachment, and cracked software is a favourite way to spread it.

Use only approved software, from its maker's own site. Install updates. Use an ordinary account for everyday work and keep the administrator account for administration. If you think you have opened something bad, report it at once so that every session can be ended. Microsoft warns that people who reach work accounts from personal devices are especially at risk.

3. A bad browser extension

Extensions, also called add-ons, can often read and change every page you open, including your email. In June 2026 Malwarebytes described an attachment posing as a PDF that led to a Chrome extension which took session cookies.

Check who sent an attachment before you open it. Install only extensions your workplace approves, remove those you do not recognise or no longer use, and keep your anti-malware program current.

4. A shared or public computer

A computer in a hotel, a print shop or a friend's house may keep your signed-in session for the next person. Do not sign in to a work account on one.

If you truly must, use a private window, sign out when you finish, and close every window and private tab. Then change the password from your own device and tell whoever runs the IT.

5. A weakness in the website

This one belongs to whoever builds the site. There, three settings protect the cookie. HttpOnly keeps scripts in the page from reading the cookie. Secure sends it only over an encrypted (HTTPS) connection. SameSite limits when it is sent from other sites.

A sound site also issues a new session cookie whenever someone signs in. Its sign-out ends the session on the server, so that a kept copy of the old one is worthless. If you run a web shop, ask your developer about these five points.

Does 2FA still help? Yes, and passkeys help more

Keep 2FA (two-factor authentication, also called MFA) switched on. The American cyber security agency, CISA, says any form of it is better than none. Its guidance, which binds nobody in South Africa, ranks them from strongest to weakest:

  • Phishing-resistant sign-in, the "gold standard": passkeys and security keys (FIDO), and digital certificates (PKI).
  • App codes and prompts with number matching: the best options for a small or medium business that cannot move to the first kind yet.
  • Plain approval prompts.
  • Codes by SMS or voice call, as a last resort.

A passkey refuses the relay page, but it has a limit. Passkeys do not safeguard against the reuse of a session cookie stolen after you have signed in. So the computer must be kept clean as well.

What browser makers are doing

Since May 2026 Chrome on Windows has had Device Bound Session Credentials, which tie the session cookie to the device you signed in on. That makes a stolen cookie harder, though not impossible, to use. The feature is on by default for Google Workspace customers and is available for personal Google accounts.

It is not a complete answer. Other websites have to build it in, a device that cannot store keys securely falls back to ordinary cookies, and malware already present at sign-in may still get the key.

If you think your session has been stolen

These are the first steps our employee course teaches, with the makers' own instructions added.

  1. Use a device you trust, and not the one that may be infected. If you cannot sign in at all, go straight to step 7.
  2. Change the password to a new, unique passphrase.
  3. Sign out every other session. In a Google Account, open Security & sign-in, then Your devices, then Manage all devices, choose the device and sign out of every session with that name. In a personal Microsoft account, use Sign out everywhere in the additional security options, which can take up to 24 hours and does not cover Xbox consoles. For a work account, ask IT to revoke every session.
  4. Note, then remove, what you did not set up: mailbox rules, forwarding, recovery details and connected apps. They are evidence.
  5. Turn on 2FA, or reset it if it was on.
  6. Deal with the affected device. Google's steps are to remove malware and untrusted extensions, reset the browser's settings, update the operating system and run its Security Checkup.
  7. Tell the person your workplace names, at once. Do not wait until the other steps are finished.

When Google itself detects a suspicious session cookie, it ends that session. At the next sign-in on that device it asks for malware to be removed and for an extra verification step.

Whoever runs Microsoft 365 for the business should disable the account or reset its password, revoke its sessions, and review its 2FA devices, approved apps, administrator roles, forwarding and inbox rules. Never send the new password by email, and replace app passwords, which a reset does not cancel. Revoking may not end access at once: access tokens last an hour by default, and another application's own session has to be ended in that application.

Where there are reasonable grounds to believe that someone unauthorised has reached personal information, section 22 of POPIA requires the business to notify the Information Regulator and the people concerned as soon as reasonably possible, and the Regulator sets no minimum level of risk. Take a given case to your Information Officer at once; our article on data breaches and what to do covers the side of the people whose details leaked.

A ten-minute check to do today

  • Look through your browser's extensions and remove those you do not recognise or use.
  • Look at the devices signed in to your email account and sign out any you do not know.
  • Sign out of any account you have left open on a shared computer.
  • Install the updates that are waiting on your computer and phone.
  • Add a passkey to your email account where it is offered.

To learn how accounts are taken over, and which defence stops each route, take the Cyber Security Course for Employees. It needs no technical knowledge, and its first module is free to read. Security for Small Business IT Administrators is for whoever runs the IT, and covers locking down accounts and IT's first steps in an incident. Website and E-Commerce Security is for whoever builds the web shop, and has a module on sign-in, sessions and access control.

Questions

Can someone get into my account without my password?
Yes. If they hold a copy of your session cookie, the site may treat them as you, already signed in, because the password and the second step were checked before the cookie was given. That is why ending every session matters when you think an account has been taken over.
Does 2FA stop cookie theft?
Not on its own. A relay page can pass on a code or an approval prompt and keep the session, and an information stealer can copy the session after you have signed in. A passkey or security key refuses the relay page. Keeping the computer clean is the defence against the stealer.
Does signing out help?
Yes. Signing out when you finish should end the session on the website's server, so that a copied cookie can no longer be used. It depends on the website doing its part. If you suspect a theft, sign out every session from a device you trust, and allow for a delay: Microsoft says its Sign out everywhere can take up to 24 hours.
Should I stop using 2FA?
No. The American cyber security agency, CISA, says any form of MFA is better than none. Use the strongest kind your account offers: a passkey or security key first, then an app code or number matching, then a plain prompt, with SMS or voice codes as a last resort.

Where these facts come from

Courses in this article

SEC-101

Work safely with email, messages, accounts, devices and personal information, spot most attacks before they succeed, and report incidents the right way. A thorough six-module course of about 90 hours for South African employees and jobseekers, built on real reported cases, POPIA and a kitchen business's everyday work, with practical work you keep.

Special: save 50%

Level
Beginner
Course Items
47
Price
Was R 5 000,00 now R 2 500,00
SEC-301

Set up, check and maintain a sound security baseline for a small business's systems, and prove that it works. In your own isolated lab of a Windows client, a Linux server and a firewall, lock down accounts, networks and machines, protect the email domain, collect logs that alert and restore backups with evidence. For in-house IT staff and outside providers.

Special: save 50%

Level
Advanced
Course Items
68
Price
Was R 5 000,00 now R 2 500,00
SEC-302

Build a web shop that holds up to attack. On your own computer you add each part of a small online store securely, from sign-in and input handling to payments, deployment and monitoring, learn to spot common mistakes in code, and review the finished shop before launch. For web developers and site administrators, with South African law throughout.

Special: save 50%

Level
Advanced
Course Items
67
Price
Was R 5 000,00 now R 2 500,00

Know someone who would find this useful?

Send them this article.

More articles