Extra steps and samples for Enterprise IoT deployment
This article provides extra steps for deploying an Enterprise IoT sensor, including a sample SPAN port configuration procedure, and CLI steps to validate your deployment or delete a sensor.
For more information, see Enhance IoT security monitoring with an Enterprise IoT network sensor (Public preview).
Configure a SPAN monitoring interface for a virtual appliance
While a virtual switch doesn't have mirroring capabilities, you can use Promiscuous mode in a virtual switch environment as a workaround for configuring a SPAN port.
Promiscuous mode is a mode of operation and a security, monitoring, and administration technique that is defined at the virtual switch or portgroup level. When Promiscuous mode is used, any of the virtual machine’s network interfaces that are in the same portgroup can view all network traffic that goes through that virtual switch. By default, Promiscuous mode is turned off.
This procedure describes an example of how to configure a SPAN port on your vSwitch with VMware ESXi. Enterprise IoT sensors also support VMs using Microsoft Hyper-V.
To configure a SPAN monitoring interface:
On your vSwitch, open the vSwitch properties and select Add > Virtual Machine > Next.
Enter SPAN Network as your network label, and then select VLAN ID > All > Next > Finish.
Select SPAN Network > Edit > Security, and verify that the Promiscuous Mode policy is set to Accept mode.
Select OK, and then select Close to close the vSwitch properties.
Open the IoT Sensor VM properties.
For Network Adapter 2, select the SPAN network.
Select OK.
Connect to the sensor, and verify that mirroring works.
If you've jumped to this procedure from the tutorial procedure for Prepare a physical appliance or VM, continue the procedure to prepare your appliance to continue preparing your appliance.
Validate your Enterprise IoT sensor setup
If after completing the Enterprise IoT sensor installation and setup, you don't see your sensor showing on the Sites and sensors page in the Azure portal, this procedure can help validate your installation directly on the sensor.
Wait 1 minute after your sensor installation has completed before starting this procedure.
To validate the sensor setup from the sensor:
To process your system sanity, run:
sudo docker ps
In the results that display, ensure that the following containers are up and listed as healthy.
compose_attributes-collector_1
compose_cloud-communication_1
compose_logstash_1
compose_horizon_1
compose_statistics-collector_1
compose_properties_1
For example:
Check your port validation to see which interface is defined to handle port mirroring. Run:
sudo docker logs compose_horizon_1
For example, the following response might be displayed:
Found env variable for monitor interfaces: ens192
Wait 5 minutes and then check your traffic D2C sanity. Run:
sudo docker logs -f compose_attributes-collector_1
Check the results to ensure that packets are being sent as expected.
Remove an Enterprise IoT network sensor (optional)
Remove a sensor if it's no longer in use with Defender for IoT.
To remove a sensor, run the following command on the sensor server or VM:
sudo apt purge -y microsoft-eiot-sensor
Important
If you want to cancel your plan for Enterprise IoT networks only, do so from Defender for Endpoint.
If you want to cancel your plan for both OT and Enterprise IoT networks together, you can use the Plans and pricing page in Defender for IoT in the Azure portal.
Next steps
For more information, see Enhance IoT security monitoring with an Enterprise IoT network sensor (Public preview) and Manage sensors with Defender for IoT in the Azure portal.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for