Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions network/detection/ftp-detect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ id: ftp-detect

info:
name: FTP Service - Detect
author: Mys7ic
author: Mys7ic,matejsmycka
severity: info
description: |
FTP service was detected.
Expand All @@ -24,7 +24,7 @@ tcp:
- "{{Hostname}}"

port: 21
read-size: 2048
read-size: 1024

matchers-condition: or
matchers:
Expand All @@ -36,4 +36,26 @@ tcp:
case-insensitive: true
words:
- "Ftp"
# digest: 490a004630440220592d240e869c543234419c182fc041213dcf0c03d900fdcdb537f4c1231677d902202016b19f6c27c7e1c08a1df273b15db7d3d784638415f049647339a28f78e7d0:922c64590222798bb761d5b6d8e72950

extractors:
- type: regex
regex:
- "([A-Za-z0-9]+) FTP Server"
- "Microsoft FTP Service"
- "ProFTPD .*]"
- "Pure-FTPd"
- "mooftpserv"
- "bftpd \\d\\.\\d"

- type: regex
group: 1
regex:
- "(inetutils .*)\\)"
- "(vsFTPd .*)\\)"
- "(MikroTik .*)\\)"

- type: regex
group: 1
regex:
- "Version ([^ ]+)"
- "(v\\d+\\.\\d+\\.)"
Loading