id: detect-addpac-voip-gateway

info:
  name: AddPac GSM VoIP Gateway Panel - Detect
  author: geeknik
  severity: info
  description: |
    AddPac GSM VoIP Gateway panel was detected.
  reference:
    - http://www.addpac.com/addpac_eng2/down.php?file=505_f16.pdf
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: network,addpac,apos,voip,detect,detection,tcp

tcp:
  - inputs:
      - data: '00'
        type: hex

    host:
      - "{{Hostname}}"
    port: 23

    matchers:
      - type: word
        words:
          - "Welcome"
          - "APOS(tm)"
          - "User Access Verification"
        condition: and

    extractors:
      - type: regex
        regex:
          - 'Kernel Version \d\.\d\d\.\d\d\d'
# digest: 490a00463044022075d8286102430c8ec4973b559bf867585d604911d04a7d6dbfd381b5cb5caf4f022019e513301d99cdd3108a5fb79d0d99838269f873f6b17b49687e8eef1aee82f7:922c64590222798bb761d5b6d8e72950