Securing the Future: Proactive Threat Hunting for Sustainable IoT Ecosystems