Email Enumeration
Corporate emails are the raw material of two key attacks: password spraying (try one password against many accounts, see Password Spraying) and targeted phishing (see Phishing Campaigns). Enumerating an organization’s emails means deducing its pattern (first.last@), collecting the existing ones, validating them without alerting, and cross-referencing leaks. A good email list is often the first step toward initial access.
Deduce the email pattern
Section titled “Deduce the email pattern”Almost every company uses a consistent format. The most common ones:
first.last@target.comjdoe@target.com(initial + last name)j.doe@target.comfirstlast@target.comlastf@target.comfirst@target.com
With a single known email (from the website, LinkedIn, a press release) you deduce the pattern and apply it to the whole employee list from People OSINT.
Collect and generate
Section titled “Collect and generate”theHarvester -d target.com -b all # emails, hosts, and namescrosslinked -f '{first}.{last}@target.com' "Target Inc" # generate emails from LinkedInThe flow is: pull employee names (people recon), apply the deduced pattern, and get a candidate list.
Validate without making noise
Section titled “Validate without making noise”Before spraying it’s worth knowing which emails actually exist. Some mail services distinguish in their responses between “user doesn’t exist” and “wrong password,” which lets you validate without fully authenticating:
o365spray --validate --domain target.com # user enumeration on O365/ExchangeCaution: some validation generates traffic against the target (already active) or login attempts that can lock accounts. Respect the scope and the lockout policy.
Cross-reference leaks
Section titled “Cross-reference leaks”A leaked credential reused at work is direct access:
- Have I Been Pwned — which breaches an email appears in.
- Dehashed / LeakCheck — associated leaked credentials (depending on access).
Email and domain security (SPF/DKIM/DMARC)
Section titled “Email and domain security (SPF/DKIM/DMARC)”While you’re at it, review the domain’s anti-spoofing posture, useful both for preparing phishing and for the defensive report:
dig target.com TXT | grep -i spf # SPF policydig _dmarc.target.com TXT # DMARC policyA missing DMARC or one set to p=none makes spoofing the exact domain easy in phishing. p=reject makes it harder —it asks receivers to reject mail that fails DMARC alignment— but it isn’t absolute: not every receiver enforces it, and it doesn’t cover lookalike domains (typosquatting), another phishing route.
What to do with the list
Section titled “What to do with the list”- Password spraying against OWA, VPN, or O365 (see Password Spraying), always with the lockout policy in mind.
- Targeted phishing (see Phishing Campaigns) with pretexts from People OSINT.
- Valid-user enumeration on services that distinguish existence.
Common mistakes
Section titled “Common mistakes”- Assuming a single pattern: many companies mix formats (old vs new employees).
- Validating aggressively and locking accounts, giving away the test before it starts.
- Ignoring the lockout policy and burning the target accounts during spraying.
- Going out of scope: email OSINT touches personal data; only what’s authorized.
Defensive note
Section titled “Defensive note”Reduce exposure: minimize public emails on the website, anti-phishing training, MFA (breaks the value of a sprayed or leaked password), configure SPF + DKIM + DMARC at p=reject (prevents domain spoofing), monitor domain leaks (HIBP for business), and apply smart lockout against spraying.
Testing checklist
Section titled “Testing checklist”- Email pattern deduced from a known email.
- Emails collected (theHarvester) and generated (crosslinked).
- List cross-referenced with names from People OSINT.
- Existence validation without triggering lockouts.
- Leaks checked (HIBP / Dehashed).
- Domain SPF/DKIM/DMARC posture reviewed.
- List ready for spraying/phishing (within scope).