27 lines
845 B
YAML
27 lines
845 B
YAML
id: starttls-mail-detect
|
|
|
|
info:
|
|
name: STARTTLS Mail Server Detection
|
|
author: r3dg33k,userdehghani
|
|
severity: info
|
|
description: |
|
|
STARTTLS is an email protocol command that tells an email server that an email client, including an email client running in a web browser, wants to turn an existing insecure connection into a secure one.
|
|
metadata:
|
|
max-request: 4
|
|
tags: mail,starttls,network,detect,smtp
|
|
|
|
tcp:
|
|
- inputs:
|
|
- data: "65686c6f20636865636b746c730a"
|
|
type: hex
|
|
read-size: 2048
|
|
|
|
host:
|
|
- "{{Hostname}}"
|
|
port: 25,2525,465,587
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "250-STARTTLS"
|
|
# digest: 490a004630440220727f60dda614097e482aeab0ed892781d6ecc9a8649f6d4b8cce021b88bd15c10220174928b249976388915a9d4b85214a5f9e32c9611b02bc3ad711e855c38cd370:922c64590222798bb761d5b6d8e72950 |