id: maltrail-panel

info:
  name: Maltrail Panel - Detect
  author: ritikchaddha
  severity: info
  description: |
    Maltrail is a malicious traffic detection system, utilizing publicly available (black)lists containing malicious and/or generally suspicious trails, along with static trails compiled from various AV reports and custom user defined lists, where trail can be anything from domain name, URL (e.g. hXXp://109.162.38.120/harsh02.exe for known malicious executable), IP address (e.g. 185.130.5.231 for known attacker) or HTTP User-Agent header value.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Maltrail"
  tags: panel,maltrail,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Maltrail</title>"
          - "/stamparm/maltrail/wiki"
          - "<b>M</b>altrail"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<b>M<\/b>altrail \(v<b>([0-9.]+)<\/b>'
# digest: 4b0a00483046022100cadc51bfdc94e3b886476508547fb4e74671c7409ce546fb7e5771c1681852a6022100d5aaeb1b75f47fec0a24ba2839ecec028855ff94c955e99dfb607a3e1718b2bc:922c64590222798bb761d5b6d8e72950