The five pillars of IoT security are confidentiality, integrity, availability, privacy, and consent.