- Hands-On Red Team Tactics
- Himanshu Sharma Harpreet Singh
- 226字
- 2021-08-13 15:36:44
Armitage and Cortana scripts
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 automatically run:

The script can sometimes take a while to run depending on the number of Meterpreter connections we have on our Armitage.
Within Armitage, the Cortana console is also provided. This allows us to interact with the scripts we run.
To view the console, we go to View | Script Console, as follows:

We can type help into the script console to see the list of all the commands:

Cortana's official manual has described the functions for all the commands:

- 綜合布線實(shí)訓(xùn)教程(第3版)
- 計(jì)算機(jī)網(wǎng)絡(luò)基礎(chǔ)
- 地理信息系統(tǒng)中的不確定性問(wèn)題
- Axure RP 7.0從入門到精通:Web + APP產(chǎn)品經(jīng)理原型設(shè)計(jì)
- 網(wǎng)絡(luò)掃描技術(shù)揭秘:原理、實(shí)踐與掃描器的實(shí)現(xiàn)
- P2P網(wǎng)絡(luò)測(cè)量與分析
- HIS內(nèi)核設(shè)計(jì)之道:醫(yī)院信息系統(tǒng)規(guī)劃設(shè)計(jì)系統(tǒng)思維
- 計(jì)算機(jī)網(wǎng)絡(luò)及項(xiàng)目實(shí)踐
- ns-3網(wǎng)絡(luò)模擬器基礎(chǔ)及應(yīng)用
- 撥得云開(kāi)見(jiàn)日出:解構(gòu)一個(gè)典型的云計(jì)算系統(tǒng)
- 信息安全技術(shù)
- Bootstrap 4 Web設(shè)計(jì)與開(kāi)發(fā)實(shí)戰(zhàn)
- Axure RP8實(shí)戰(zhàn)手冊(cè):網(wǎng)站和APP原型制作案例精粹
- Div+CSS3.0網(wǎng)頁(yè)布局實(shí)戰(zhàn)從入門到精通(第2版)
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)