nuclei-templates/http/technologies/splunkhec-detect.yaml

29 lines
963 B
YAML
Raw Normal View History

2024-04-11 05:33:33 +00:00
id: splunk-hec-detect
info:
2024-04-11 05:33:33 +00:00
name: Splunk HEC - Detect
author: idealphase
severity: info
description: |
Splunk HCE (HTTP Event Collector (HEC)) was detected.
reference:
- https://dev.splunk.com/enterprise/docs/devtools/httpeventcollector/
- https://community.splunk.com/t5/Getting-Data-In/How-to-check-if-an-HEC-is-up-or-not-before-posting-any-data-to/td-p/417404
metadata:
verified: true
max-request: 1
2024-04-11 05:33:33 +00:00
tags: tech,splunk,hec,detect
http:
- method: GET
path:
- "{{BaseURL}}/services/collector/health"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
2024-04-11 05:33:33 +00:00
- 'contains_any(body, "text\":\"HEC is healthy\",\"code")'
2024-04-11 07:00:55 +00:00
- 'contains(header, "application/json")'
condition: and
# digest: 4a0a0047304502201ab6e43e95c4203fe05b9000924c36ac3564237612d49317ace1b81b2dcf2fca0221009f50032a8727db0b3cebf5d65ca7789c4e565c7801b0cf71f80636e0dd4a5007:922c64590222798bb761d5b6d8e72950