The energy sector has become a primary target for cyberattacks. This means that besides the ongoing transformation to smart grids there is, in parallel, an increased need for cyberdefense. However, deploying a smart grid without suitable cybersecurity might result in serious consequences; such as grid instability, utility fraud, the loss of user information – which would be a serious GDPR breach in Europe – or, in the worst case, could result in fatalities (if smart homes lose power in the middle of the winter and people get hurt by the cold).