39 lines
940 B
YAML
39 lines
940 B
YAML
id: upnp-device-detect
|
|
|
|
info:
|
|
name: Detect Basic uPNP Device
|
|
author: geeknik
|
|
severity: info
|
|
description: uPNP Device was detected.
|
|
reference:
|
|
- https://www.upnp.org/specs/basic/UPnP-basic-Basic-v1-Device.pdf
|
|
metadata:
|
|
max-request: 1
|
|
tags: upnp,iot
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- "urn:schemas-upnp-org:device-1-0"
|
|
- "<deviceType>"
|
|
- "<modelName>"
|
|
part: body
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: model
|
|
regex:
|
|
- <modelName>.*</modelName>
|
|
- <modelNumber>.*</modelNumber>
|
|
# digest: 490a004630440220358ff4d12799f686f407cc2317ae6e1a4db0d2e5d8c9616c524da1267c99a499022006efa9286c5ec0d751f2c4cbb819ae721d119a25fba4b06e4077ff88b204b64d:922c64590222798bb761d5b6d8e72950 |