SMTP User Enumeration

patch-1
pussycat0x 2023-05-10 01:11:48 +05:30 committed by GitHub
parent 71a99a1d6c
commit 64b021ede2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: smtp-user-enum
info:
name: SMTP User Enumeration
author: pussycat0x
severity: medium
description: |
enumerate the users on a SMTP server by issuing the VRFY/EXPN commands
reference:
- https://nmap.org/nsedoc/scripts/smtp-enum-users.html
metadata:
max-request: 1
verified: "true"
shodan-query: 'smtp'
tags: network,enum,smtp,mail
tcp:
- inputs:
- data: "VRFY {{useraccounts}}\n"
read: 1024
- data: "EXPN {{useraccounts}}\n"
read: 1024
host:
- "{{Hostname}}"
- "{{Host}}:25"
attack: batteringram
payloads:
useraccounts:
- msfadmin
- admin
- root
matchers:
- type: word
words:
- "252"
- "250"
condition: or