Added service probes for KNX + OPC UA #2730
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added service probes for KNX + OPC UA and first time submitting service probes :-).
KNX: Sends a DeviceDesc packet with NAT ip and port (0.0.0.0:0). This allows scanning of internet facing KNX devices as well as internal ones. Tested on 1 internal network and 2K public devices. Additional the service for port 3671 was renamed to knxip because EIBnetIP is a the less common service compared to KNX (successor for EIB). The matching rule can extract the FriendlyName but can not extract the vendor via the MAC. The probe for TCP is different by one byte which is the knx header flag for TCP.
Example output (snippet)
OPC UA: Sends a OPC UA Hello message and tests if the response is a ACK or ERR message. Tested on a local open62541 server and tested on public opcua servers (https://github.com/node-opcua/node-opcua/wiki/publicly-available-OPC-UA-Servers-and-Clients). Detects only the OPC UA protocol and direct server version detection is not possible.
Example output (snippet):
Both were tested on the following nmap version: