• CS 4.4下载地址:
https://www.lmboke.com/archives/cobaltstrike44-guan-fang-han-hua-ban.html
  • 将域名托管至Cloudflare平台(运用该平台证书)

  • 源服务器处生成Cloudflare平台的证书。

c1dff0d1f5cb292cf91a21002a4192f5

  • 选择PEM格式下载保存xx.pem,xx.key上传至CS服务端同级目录

b74d3644c51791d60efee51e12512820

fc23db4ccd3d9a033966487c62d5af43

  • 指定证书
openssl pkcs12 -export -in 证书.pem -inkey 证书.key -out 你的域名.p12 -name 你的域名 -passout pass:123456
  • 生成新的xx.store文件
keytool -importkeystore -deststorepass 123456 -destkeypass 123456 -destkeystore 新名字.store -srckeystore 你的域名.p12 -srcstoretype PKCS12 -srcstorepass 123456 -alias 你的域名
  • 这里使用的是jquery-c2.4.4.profile
https://github.com/threatexpress/malleable-c2
  • 修改文件内https-certificate处的
set keystore "刚刚证书生成的新.store";

set password "证书密码";

2eb5623cd432dbe40ea0cdecb8d0aee5

  • 最后一步启动服务
./teamserver 你的服务器IP 密码 jquery-c2.4.4.profile
  • 流量测试(经测试可绕安全设备流量审计)

  • 设置监听器HTTPS上线,host头为Cloudflare平台解析的域名

d10b443c8f607a18af122f348752a3e7

  • 可见流量包含Cloudflare平台证书的加密

4649f2fd3e8c635ce91a3f14f1e5f147