-- Slide --
-- Slide End --
-- Slide --
NeCTAR look after the cloud
You look after the stuff you put in it
-- Slide End --
-- Slide --
- Knows what can happen
- Is prepared for it -- Slide End --
-- Slide --
NeCTAR images do alot for you already:
- Blocks SSH access after N failed attempts
- Password auth is disabled
- Provides up to date images
- Default security group is empty
..but there is a lot left up to you -- Slide End --
-- Slide --
the minute you put a server onto the internet, automated scanners start probing it for weaknesses. -- Slide End --
-- Slide --
- Run firefox on your instance
- Go to: https://www.grc.com/shieldsup
- Click on the 'Proceed' button
- then select 'All Service Ports'
what do we see?
R = Help me!
G = Ask me for help!
-- *Slide End* --
-- Slide --
A port is like a door to your instance. That's the conduit through which the baddies will get in.
Ideally you should have:
- As few open ports as possible
- Each locked up nice and tight -- Slide End --
-- Slide --
-- Slide End --
-- Slide --
They control which ports are open to your instance.
Ports are like the doors and windows to your home -- Slide End --
-- Slide -- ##Exercise: Blocking the front door
- Remove ssh from the security group on your VM
- Try to ssh in – and fail!
- Create a special ssh only security group
- Add it to your running VM
- Try to ssh in: success?
R = Help me!
G = Ask me for help!
-- *Slide End* --
-- Slide --
Have a dedicated security group for ssh
Every new instance will use the default security group. Changing it thusly effects every instance. -- Slide End --
-- Slide -- Q: Who do you let into your home?
A: Only people you trust.
-- Slide End --
-- Slide --
-- Slide End --
-- Slide -- abracadabra -- Slide End --
-- Slide --
it's much easier to crack -- Slide End --
-- Slide --
Apply system updates:
sudo apt-get update && sudo apt-get upgrade
R = Help me!
G = Ask me for help! -- *Slide End* --
-- Slide --
-- Slide End --
-- Slide --
sudo dpkg-reconfigure unattended-upgrades
R = Help me!
G = Ask me for help!
-- *Slide End* --
-- Slide --
Or at very least, just security updates -- Slide End --
-- Slide --
- Use ssmtp (server email via imap)
- Use a paid service such as MailChimp
- Talk to TPAC via mailto:[email protected] -- Slide End --
-- Slide --
NeCTAR has a set of security guidelines that can be found at:
- http://tinyurl.com/nectar-security-guidelines -- Slide End --
-- Slide --
- http://tinyurl.com/ResBaz-Links -- Slide End --