cobalt strike配置DNS Beacon

本文最后更新于 2025年7月14日 凌晨

1、域名配置

域名解析添加2条A记录指向VPS地址,添加NS记录指向A记录。

1
2
3
4
5
6
# 2条A记录指向CS的IP地址
ns1.xxx.com => VPS IP
ns2.xxx.com => VPS IP
# 2条NS记录指向A记录
answers.xxx.com => ns1.xxx.com
answers.xxx.com => ns2.xxx.com

image-20250711110912230

2、CS Listener 配置

1
2
3
Payload: Beacon DNS
DNS Hosts: answers.xxx.com
DNS Hosts(Stager): answers.xxx.com

image-20250711111005572

3、成功上线

image-20250711111111167