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,smtp tcp: - inputs: - data: "65686c6f20636865636b746c730a" type: hex read-size: 2048 host: - "{{Hostname}}" port: 25 matchers: - type: word words: - "250-STARTTLS" # digest: 4a0a00473045022100b8e2e6513b9a00666a2ee07a825cbf66e2bb8f4c3198978baa7fcb6b2e68ca5d02202d5e30193d2420cff48017b05dec81fbf711fa2282e008d5fb8eb86da456800e:922c64590222798bb761d5b6d8e72950