Understanding cybersecurity challenges in IoT environments