GRAT2 is a Command and Control (C2) tool written in python3 and the client in .NET 4.0. The main idea…