Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add detection of HashiCorp Vault login panel instances. #10597

Closed
wants to merge 1 commit into from
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
34 changes: 34 additions & 0 deletions http/exposed-panels/hashicorp-vault-panel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
id: hashicorp-vault-panel

info:
name: HashiCorp Vault - Detect
author: righettod
severity: info
description: HashiCorp Vault panel was detected.
reference:
- https://developer.hashicorp.com/vault
metadata:
verified: true
shodan-query: http.html:"vault/config/environment"
tags: panel,hashicorp,detect,login

http:
- method: GET
path:
- "{{BaseURL}}/v1/sys/health"
- "{{BaseURL}}/ui/vault/auth"

stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'status_code == 200 || status_code == 429'
- 'contains_any(to_lower(body), "vault-cluster", "vault/config/environment")'
condition: and

extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)"version":\s*"([0-9.]+)"'
Loading