- Joined
- Sep 9, 2021
- Messages
- 9,840
- Reaction score
- 5,806
- Awards
- 33
Hi all,
Im tasked with setting up a Debian server already connected to the internet, for a client who has had cyber enemies for over a decade, or fellow hacker friends of mine trying to screw with my head. The problem is, within five minutes count on it being hacked. Im familiar with Ubuntu at intermediate level, but with Debian Im wet behind the ears.
My first thoughts are:
Restrict iptables to only allow traffic from hosts.allow
Configure NGINX and Apache to do the same.
Install a good monitor.
Install portsentry/psad
Install fail2ban
Configure both two above
Install a script to drop any hack attempt (bash)
Audit server via bash script based on CID audit doc for Debian
Install applictions and configure and test
Penetration/web server/web app test
Handoff to client when clean and stable and uptime for a month
Until then also tasked with admin support.
What is your fastest method of standing up a Debian server already connected to the internet? What instructions do you use?
Care/Thanks.
Im tasked with setting up a Debian server already connected to the internet, for a client who has had cyber enemies for over a decade, or fellow hacker friends of mine trying to screw with my head. The problem is, within five minutes count on it being hacked. Im familiar with Ubuntu at intermediate level, but with Debian Im wet behind the ears.
My first thoughts are:
Restrict iptables to only allow traffic from hosts.allow
Configure NGINX and Apache to do the same.
Install a good monitor.
Install portsentry/psad
Install fail2ban
Configure both two above
Install a script to drop any hack attempt (bash)
Audit server via bash script based on CID audit doc for Debian
Install applictions and configure and test
Penetration/web server/web app test
Handoff to client when clean and stable and uptime for a month
Until then also tasked with admin support.
What is your fastest method of standing up a Debian server already connected to the internet? What instructions do you use?
Care/Thanks.