In the industrial landscape, cyber threats challenge information security, especially in industrial cybersecurity. Attack vectors like malware, phishing, and ransomware complicate data protection in manufacturing. Data breaches risk critical information and financial implications. QR codes, convenient for tasks like inventory management, introduce vulnerabilities. Traditional detection struggles with data volume and evolving hacking techniques. Recent advancements explore lightweight deep learning for industrial cybersecurity, focusing on QR codes. This research introduces a hybrid approach, using multi-objective optimization to enhance QR code-based cyber-attack detection. QR code images are trained with advanced CNN models like MobileNetV2 and ShuffleNet. The monarch butterfly optimization algorithm strategically selects impactful features. In practical use, the hybrid model achieved 99.82% accuracy, surpassing traditional CNN models. It proves effective for industrial cybersecurity, addressing vulnerabilities in QR code usage.