Skip to content

Commit

Permalink
cobalt plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
op7ic committed Aug 16, 2019
1 parent 68fa7fa commit d887819
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Cobalt/EDR-TEST.CNA
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
popup beacon_bottom {

menu "EDR TEST" {

item "RUN ALL TESTS" {
bupload($1, script_resource("../runtests.bat"));
bshell($1, "runtests.bat");
}

item "REMOVE RUNTEST.BAT" {
bshell($1, "del /y runtests.bat");
}

}
}
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,24 @@ The following techniques are currently covered by this script:
| | WseClientSvc.exe | |


** Run with Metasploit **
If you want to run this script as part of Purple Team exercise then simple MSF module execution will do:

```
msf > use post/multi/manage/upload_exec
msf post(upload_exec) > set lfile /tmp/runtests.bat
lfile => /tmp/runtests.bat
msf post(upload_exec) > set rfile C:\\Users\\Public\\runtests.bat
rfile => C:\\Users\\Public\\runtests.bat
msf post(upload_exec) > set session 1
session => 1
msf post(upload_exec) > run
```

** Run with Cobalt Strike **

Using plugin in Cobalt folder, simply load it and click "EDR TEST > RUN ALL TESTS" against specified target.

**Thanks**

Everyone working on awesome projects like [LOLBAS](https://github.com/LOLBAS-Project/LOLBAS) or [Invoke-CradleCrafter](https://github.com/danielbohannon/Invoke-CradleCrafter)

0 comments on commit d887819

Please sign in to comment.