On Cyber War
TwitterGitHubLinkedIn
  • Welcome
  • Source Zero Con References
  • 1. Reconnaissance/ OSINT
    • Information gathering
    • OSINT tools
    • Search Engine OSINT
    • Sock puppets
  • 2. Scanning
    • Host discovery
    • Port Scanning with Nmap
    • Nmap Scripting Engine
  • 3. Enumeration
    • 21 - FTP
    • 22 - SSH
    • 25 - SMTP
    • 53 - DNS
    • 80/443 - HTTP(s)
    • 111 - NFS
    • 135 - RPC
    • 139/445 - NetBIOS/SMB
    • 161 (UDP) - SNMP
    • Wordpress
    • Finger (Solaris)
    • Active Directory
  • 4. Exploitation
    • Public exploits
    • Web application attacks
      • Command injection
      • Cross site scripting
      • Directory traversal
      • File inclusion
      • SQL injection
    • Password attacks
    • Buffer overflows
    • Active Directory
    • Metasploit
  • 5. Maintaining access
    • Upgrading simple shells
    • Reverse shells
    • MSFvenom
    • File transfers
    • Linux privilege escalation
    • Windows privilege escalation
    • Tunneling/Port Forwarding
  • 6. Miscellaneous
    • Connections
  • 7. Walkthroughs
    • HTB - Blunder
    • HTB - Haircut
    • THM -HackPark
Powered by GitBook
On this page
  • Connecting
  • Enumeration
  • NSE Scripts
  1. 3. Enumeration

25 - SMTP

We can attempt to enumerate SMTP by attempting to connect, then using basic commands to gather information.

Connecting

nc -nv $targetip 25
telnet $targetip 25

Enumeration

VRFY user- asks the server to verify an email address
EXPN - asks the server for the membership of a mailing list

NSE Scripts

smtp-commands.nse -- lists available smtp commands
smtp-enum-users.nse -- Attempts to enumerate users using VRFY, EXPN or RCPT TO commands
smtp-open-relay.nse -- tests if authentication is required to send emails
smtp-vuln-cve2010-4344.nse
smtp-vuln-cve2011-1720.nse
smtp-vuln-cve2011-1764.nse
Previous22 - SSHNext53 - DNS

Last updated 2 years ago