Glossary
Credential harvesting
Definition
Credential harvesting: The collection of usernames, passwords and sign-in codes by tricking people into entering them on fake or compromised sign-in pages, or into replying to messages that impersonate a trusted person or organization. It's usually the first step of an account takeover.
Also known ascredential phishingpassword harvestinglogin harvestingcredential theft
In short
Credential harvesting is the collection of usernames, passwords and sign-in codes by tricking people into entering them on fake pages, compromised login portals or in replies to messages that impersonate someone trusted. The stolen logins then open mailboxes, files and payment systems. Checking where a form really lives, using a password manager and turning on a second factor cut the damage.
Key takeaways
- Harvesting is usually the first step; the real goal is the mailbox, files or money behind the login.
- Fake pages copy logos for free, so check the address, not the look.
- Attackers also ask for passwords and codes by chat, text and phone.
- A password manager fills in saved passwords only on the site they were saved for.
- A second factor means a harvested password alone doesn't open the account.
Last reviewed 3 December 2026 by Foxcolab Team
Credential harvesting is the collection of usernames, passwords and sign-in codes by tricking people into entering them somewhere an attacker controls. It's usually the first step of a bigger attack: the harvested logins open mailboxes, files and payment systems. A joint phishing guide from CISA, the NSA, the FBI and MS-ISAC describes the pattern: attackers "pose as trustworthy sources (e.g., colleagues, acquaintances, or organizations) to lure victims into providing their login credentials," then use them to reach "protected resources, such as email accounts."
Where credentials get harvested#
| Method | What happens |
|---|---|
| Fake sign-in page | An email or text links to a copy of a familiar login screen |
| Compromised real portal | Attackers add code to a genuine login page (MITRE ATT&CK T1056.003) |
| Live proxy | The fake page relays your sign-in to the real one and keeps the session (AiTM phishing) |
| Fake pop-up | A drawn window imitates "Sign in with…" (browser-in-the-browser) |
| Messages and calls | Someone posing as IT asks for a password or code by chat, text or phone |
An example#
Staff at example.com get a message: "Your mailbox is full. Sign in within 24 hours to keep receiving mail." The button opens example-mail-support.net, which shows the company logo and a password box. Several people sign in. That evening the attacker tries each password on the real mail service and uses the mailboxes that open to send customers invoices with new bank details.
What helps#
- Check where the form lives, not how it looks. Logos are free to copy.
- Use a password manager. It fills in a saved password only on the site it was saved for.
- Turn on a second factor. The CISA guide warns that weak forms can still be phished, but a harvested password alone then isn't enough.
- Act fast if you slipped. Change the password, end other sessions, and check for new forwarding or sharing settings.
In Foxcolab#
Foxcolab Mail watches for the bait. When a message asks for a password, a code or payment details, Foxcolab Mail can show This message asks for your password, a code or payment details., with the reminder that "Foxcolab Mail never asks for your password by email." The check runs on your device, on the decrypted message, and nothing about it is sent anywhere. On the web, a link whose text and real destination don't match shows Check this link before you open it. Turn on two-step verification, and if you typed your password somewhere you shouldn't have, change it: that signs out every other session.
Keep exploring
Related terms
- PhishingPhishing is impersonation used to trick people into handing over passwords, approving payments or opening malware. Here's how it works and what actually stops it.
- Account takeover (ATO)Account takeover is when someone else gains control of your account and uses it as you. The routes in are reused passwords, phishing, stolen sessions and recovery.
- Credential stuffingCredential stuffing replays usernames and passwords leaked from one site against many others. It works because people reuse passwords, and rate limits rarely stop it.
- Adversary-in-the-middle phishing (AiTM)Adversary-in-the-middle phishing relays your real sign-in through a fake page and keeps the session it creates, so a password plus a one-time code isn't enough to stop it.
- Browser-in-the-browser attack (BitB)A browser-in-the-browser attack draws a fake sign-in pop-up, fake address bar included, inside a web page. Here's how to tell a drawn window from a real one.
- Two-factor authentication (2FA)Two-factor authentication asks for a second kind of proof after your password, so a stolen password alone can't get someone into your account.
Where Foxcolab uses it

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.