id: hudsonrock

info:
  name: HudsonRock User Name Information - Detect
  author: princechaddha,rxerium
  severity: info
  description: HudsonRock user name information check was conducted.
  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
  metadata:
    max-request: 1
    verified: true
  tags: osint,osint-security,hudsonrock,discovery

self-contained: true

http:
  - method: GET
    path:
      - "https://cavalier.hudsonrock.com/api/json/v2/osint-tools/search-by-username?username={{user}}"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - "This username is associated with a computer that was infected by an info-stealer"
          - "hudsonrock.com"
        condition: and
# digest: 4a0a00473045022100b481d83fe052b9822c179a1ef03ed314c6627d423577a1df3ade1a0a9351701802202b1eb50f3eb687fec730360c22c6c553060fe75f86c61f26a6958dedfffba89f:922c64590222798bb761d5b6d8e72950