Diploma Thesis title: A Self-protecting Framework for Mitigating Cyber Risk in IoT-enhanced Spaces (2025-2026)