id: automation-direct

info:
  name: AutomationDirect Panel - Detect
  author: DhiyaneshDK
  severity: info
  description: AutomationDirect panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/7295
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
    cpe: cpe:2.3:h:automationdirect:ea9-t6cl:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: http.title:"C-more -- the best HMI presented by AutomationDirect"
    google-query: intitle:"C-more -- the best HMI presented by AutomationDirect"
    product: ea9-t6cl
    vendor: automationdirect
  tags: panel,iot,edb,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/index.html'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<TITLE>C-more -- the best HMI presented by AutomationDirect</TITLE>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<P align="right">([A-Za-z. 0-9]+)<\/P>'
# digest: 4b0a00483046022100ca2dabb2efc28985cd5bd148b63dcd9b5828dd64367ba93eef001f5f762ff70e0221009eda0004f58613c2635eabe54547e2525c1f63bd267377c48e78d513e13a89cb:922c64590222798bb761d5b6d8e72950