Cortana is a scripting language that is built into Armitage and Cobalt Strike. This is based on Sleep Scripting Language (http://sleep.dashnine.org/ ). We can find a lot of Cortana scripts built by different people on the internet. These scripts can be used to automate different tasks in Armitage. Running Cortana scripts is extremely easy. We will use the scripts hosted on GitHub by rsmudge, found here at https://github.com/rsmudge/cortana-scripts.
We then download the scripts on our computer and go to Armitage | Scripts... to run them:
In the window which opens, we choose Load and select the script we downloaded:
We will then try to run the icon script. This script identifies the services running and displays icons according to them:
Once the script is loaded, we then do the exploitation. When a new Meterpreter connection comes, this script will...