Enhancing cybersecurity with Explainable Artificial Intelligence: technical framework and applications in training labs Frontiers