Loading


目录
  1. 1. 添加服务
Cobalt Strike Teamserer的搭建

记录下Cobalt Strike Teamserer的搭建

环境如下

  • Ubuntu 18.04
  • Cobalt Strike 3.14

准备一台Ubuntu 18.04的服务器,下载Cobalt Strike完整文件并传到服务器上

1572710470217

安装JDK1.8

apt install openjdk-8-jdk -y

装好后尝试执行./teamserver 10.16.11.55 cSro0t进行验证

1572710672368

启动成功

添加服务

vi /etc/systemd/system/cobaltstrike.service

[Unit]
Description=CS Service
After=network.target
Wants=network.target

[Service]
Type=simple
PIDFile=/run/CS.pid
WorkingDirectory=/path_to_cobaltstrike_root_directory/
ExecStart=/path_to_cobaltstrike_root_directory/teamserver YOUR_SERVER_IP YOUR_PASSWORD
Restart=on-failure
# Don't restart in the case of configuration error
RestartPreventExitStatus=23

[Install]
WantedBy=multi-user.target

启用服务并查看状态

systemctl daemon-reload
systemctl start cobaltstrike
systemctl status cobaltstrike.service

1572710927211

文章作者: Sp4ce
文章链接: https://0x20h.com/p/eeb3.html
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Sp4ce's Blog

评论