IoT security: device hardening, firmware analysis, protocol vulnerabilities, network segmentation and regulatory complia