id: starttls-mail-detect info: name: STARTTLS Mail Server Detection author: r3dg33k 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: 1 tags: mail,starttls,network,detect tcp: - inputs: - data: "65686c6f20636865636b746c730a" type: hex read-size: 2048 host: - "{{Hostname}}" port: 25 matchers: - type: word words: - "250-STARTTLS" # digest: 4a0a0047304502207260c91d920190376cdbf9aeafb1f771714fcb0385e75a7696cccb9c0c48efc80221008515736bf431c8ed3ef43888aff03fefe2de8fc9e3208f42e80e404041de9d0f:922c64590222798bb761d5b6d8e72950