2021-04-01 14:24:35 +00:00
|
|
|
id: upnp-device-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Basic uPNP Device
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.upnp.org/specs/basic/UPnP-basic-Basic-v1-Device.pdf
|
2021-04-02 12:25:39 +00:00
|
|
|
tags: upnp,iot
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-04-01 14:24:35 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-01 14:24:35 +00:00
|
|
|
- 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>
|