Last active
February 20, 2025 15:44
-
-
Save infosecn1nja/97b4b2e5132ae9d3d18448b3f7f7aa93 to your computer and use it in GitHub Desktop.
Securing CS Teamserver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make a rule that allows port 80/443 access only from redirector: | |
iptables -A INPUT -p tcp -s <REDIRECTOR_IP> --dport 443 -j ACCEPT | |
iptables -A INPUT -p tcp --dport 443 -j DROP | |
iptables -A INPUT -p tcp -s <REDIRECTOR_IP> --dport 80 -j ACCEPT | |
iptables -A INPUT -p tcp --dport 80 -j DROP | |
Change default port teamserver : | |
sed -i 's/50050/<PORT>/g' /path/cobaltstrike/teamserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment