Detection and Analysis of Threats to the Energy Sector