#security - September 2018

September 2018
Michael Barrientos
Michael Barrientosabout 8 years ago
@Michael Barrientos has joined the channel
endofcake
endofcakeabout 8 years ago
@endofcake has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Anyone using alpine as a base image should consider enabling TLS on repos to avoid MITM attacks
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Surprised it’s not enabled by default
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
tamsky
tamskyabout 8 years ago
is lol an appropriate response?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Yea, it is. Surprised me too.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago(edited)
@Justin King have you used this? https://www.vaultproject.io/docs/secrets/ssh/
Justin King
Justin Kingabout 8 years ago
It's been deprecated, so I ended up using SSHCA instead.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Yea sorry linked to wrong page
Justin King
Justin Kingabout 8 years ago
It's cleaner too, because you're not constantly shedding keys to the target servers; they just trust the vault CA sand vault gives out short lived certs
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Yea like with teleport and Netflix bless
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
How long have you been using it?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Was it easy to get up and running?
Justin King
Justin Kingabout 8 years ago
At that time we had Puppet pushing changes so adding the cert wasnt too bad... Ansible would have been just as easy
Justin King
Justin Kingabout 8 years ago
That's the hardest part: pushing the trusted public to all your machines
Justin King
Justin Kingabout 8 years ago
Are you redeploying? Do you have some kind of cfg management? Etc.
Justin King
Justin Kingabout 8 years ago(edited)
Security had a big requirement if no self-signed so I had to follow extra steps to make vault an issuing CA and not a root. But that's a one time thing
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
No, our case is a bit different. Would be containers.
Justin King
Justin Kingabout 8 years ago
Ssh into containers?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
But I think we will stick with teleport approach
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Bastions are deployed as containers
Justin King
Justin Kingabout 8 years ago
In your case rebuild lol. But yeah, didn't try it on containers (should work just fine)
Justin King
Justin Kingabout 8 years ago
Does teleport track logins? That was the thing or security team liked. It logged every access request
Justin King
Justin Kingabout 8 years ago
"jking requested a cert for the next 1hour for target y"
loren
lorenabout 8 years ago(edited)
this was just released, but may not help with containers, https://aws.amazon.com/blogs/aws/new-session-manager
loren
lorenabout 8 years ago
but it does track and audit the logins and commands
Justin King
Justin Kingabout 8 years ago
Just tried using that today... But our ssmagent is too old.
Justin King
Justin Kingabout 8 years ago
Looks nice though
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
That’s cool. Didn’t see the announcement.
Justin King
Justin Kingabout 8 years ago
In the containers I had (company actually moved off them) we tried to just parse logs and redeploy. Bastions were traditional hosts
Justin King
Justin Kingabout 8 years ago
Yeah, I think a ssmagent update is in the backlog. If it works like Azure then it will be nice to be able to disable ssh
loren
lorenabout 8 years ago
New release enabling the ssm session manager, https://github.com/aws/amazon-ssm-agent/releases/tag/2.3.50.0
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Looks like an alternative to the bitly oauth2 proxy which is unmaintained
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
But this one seems pretty tightly coupled to google
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
@Igor Rodionov the bitly oauth2 proxy Is officially abandoned by bitly and will be archived by the end of the month
Igor Rodionov
Igor Rodionovabout 8 years ago
@Igor Rodionov has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 8 years ago
@Max Moon should probably consider replacing oauth2 proxy with CloudFlare access
Max Moon
Max Moonabout 8 years ago
@Max Moon has joined the channel
Max Moon
Max Moonabout 8 years ago