IoT security: A layered approach for attacks & defenses | Synapse