Email

POP3 clients remove downloaded messages from the email server.

IMAP4 clients do not remove downloaded messages from the email server.

Enumeration

host -t MX hackthebox.eu
host -t A mail1.inlanefreight.htb
# or
dig mx plaintext.do | grep "MX" | grep -v ";"

Cloud enumeration

o365spray

Enumerate users

smtp-user-enum

Commands

VRFY: check the validity of a particular email username

EXPN: similar to VRFY, except that when used with a distribution list, it will list all users on that list

RCPT TO: identifies the recipient of the email message

USER: followed by the username, and if the server responds OK. This means that the user exists on the server

Password Attacks

MailSniper

CredKing

o365spray

Open Relay

Swaks

Resources

Last updated