giant bags of mostly water - events.static.linuxfound.org · sysadmin's workstations: are...

94
Giant bags of Giant bags of mostly water mostly water Konstantin Ryabitsev Korea Linux Forum 2015 Securing your IT infrastructure by expecting human error

Upload: others

Post on 06-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Giant bags ofGiant bags ofmostly watermostly water

Konstantin RyabitsevKorea Linux Forum 2015

Securing your IT infrastructure byexpecting human error

Page 2: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Who am IWho am IProgrammer since 1989Linux administrator since 1998InfoSec since 2008Linux Foundation since 2011I'm from Asia, too!

Page 3: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

See?See?

(they won't let me use "Asian Canadian" ongovernment forms, though)

Page 4: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

I'm a giant bag ofI'm a giant bag ofmostly watermostly water

image source

(and so are you)

Page 5: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

This is a 1957 Chevy Bel AirThis is a 1957 Chevy Bel Air

image source

Page 6: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

1957 Chevy Bel Air1957 Chevy Bel Air283 HP "Super Turbo Fire V8" engineTurboGlide automatic transmissionAir ConditioningRoomy seatsSmooth ride

Raw power and comfort

Page 7: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

1957 Chevy Bel Air (contd)1957 Chevy Bel Air (contd)

Safety features:Seat belts with separate shoulder harnessesTriple-locking door latchesPadded dashboardSteering wheel with a "safety-styled recessed hub"

Page 8: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

"Vehicle interiors are so poorly constructed from a safetystandpoint that it is surprising that anyone escapes from an

automobile accident without serious injury."- Journal of the American Medical Association, 1955

Page 9: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Unsafe at any speedUnsafe at any speedRalph Nader's 1965 bookfamously blamed carmanufactures for "designed-indangers of the Americanautomobile."

image source

Page 10: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

1960's engineers response:1960's engineers response:What the hell are you talking about?

image source

Page 11: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

1960's car engineers:1960's car engineers:We have designed the components to run safely!Nothing leaks, explodes, or jabs you in the faceNothing catches on fire under most conditionsHarmful fumes are kept well away from occupantsComponents fail safely by stalling the engineand letting the vehicle coast to a stop

Page 12: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Most crashes are dueMost crashes are dueto bad drivers!to bad drivers!

The car is designed to drive, not to crash!

Page 13: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

(sounds familiar?)(sounds familiar?)

Page 14: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Car company responses:Car company responses:Protecting drivers against crashes is expensiveAdding safety features sacrifices style and comfortProblem much better solved by driver educationCustomers are just not asking for it!

Page 15: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Fast-forward 50 yearsFast-forward 50 years

Page 16: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

This is a 2015 BMW i3This is a 2015 BMW i3image source

(sorry, I unfortunately don't own a Kia Soul!)

Page 17: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

2015 BMW i32015 BMW i3168 HP all-electric driveSingle speed fixed transmission0-60 in 7 seconds

Cute and greenbut still plenty of torque

Page 18: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

2015 BMW i3 (contd)2015 BMW i3 (contd)

Safety features:Carbon fibre roll cage ("life module")Driver, passenger, side air bagsEntire front is crumple spaceSeat belts with pre-tensionersCollision sensors stop the car

Only 4-star safety rating!

Page 19: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Modern cars are allModern cars are allabout driver errors!about driver errors!

Page 20: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

See the results?See the results?image source

Page 21: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Wait, I thought we wereWait, I thought we weregoing to talk aboutgoing to talk about

Linux security?Linux security?

Page 22: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We still design ITWe still design ITinfrastructure like weinfrastructure like wedesigned cars in thedesigned cars in the

1960s.1960s.

Page 23: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Raw power and comfortRaw power and comfortMore HZs!More RAMs!More cores!Larger, faster disks!Faster, lower-latency networks!One-click deployment!Containers, so anyone can deploy!

Page 24: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

As an industry, we don't care about user security. WeAs an industry, we don't care about user security. Wewill gladly ship products with known security failingswill gladly ship products with known security failings

and no plans to update themand no plans to update them..- Matthew Garrett, 2015

source

This is as damning of a quote as the onefrom the American Medical Association

Page 25: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

2015 IT engineers:2015 IT engineers:We have designed the components to run safely!Nothing leaks, explodes, or jabs you in the faceNothing catches on fire under most conditionsHarmful traffic is kept well away from usersComponents fail safely by saving state anddumping core before crashing

Page 26: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Yes, but what about dumbYes, but what about dumbthings humans do?things humans do?

Page 27: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

IT company responses:IT company responses:Protecting users against their own mistakes isexpensiveAdding safety features sacrifices usabilityProblem much better solved by user educationCustomers are just not asking for it!

Page 28: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We are not responsibleWe are not responsiblefor user errors!for user errors!

Right?

Page 29: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

So we create an IT Security post andSo we create an IT Security post andhire a smart person to help protect ourhire a smart person to help protect our

infrastructure.infrastructure.

(that's you!)

Page 30: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

You design the infrastructureYou design the infrastructurelike it's a medieval fortresslike it's a medieval fortress

(and you should!)

image source

Page 31: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Helm's DeepHelm's DeepFirst line of defence (the Big Wall)Second line of defence (Archers)Third line of defence (Gimli the Dwarf)Fourth line of defence (the Inner Keep)Final line of defence (two old white guys)Disaster Recovery (Gandalf the wizard)

Page 32: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Success!Success!

Page 33: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

But then one day...But then one day...

Page 34: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

And your boss is like...And your boss is like..."How did they get in?"

Page 35: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

And you're like...And you're like...

Page 36: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

(I sometimes get carried away.)(I sometimes get carried away.)

Page 37: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

So, the forensic consultants areSo, the forensic consultants arecalled and they find that:called and they find that:

The "backdoor" has always been thereIn fact, this is how your admins get inIt's called, you know, "the VPN"The attacker got in with one of the admin's credentialsAnd you can't just turn the VPN offBecause then your admins can't get in

Page 38: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Or they got in via an internal PHP app...which shouldn't have been remotely accessible...but was exposed because of a firewall rule...with a comment "temporary for Bob"...made 2 years ago...and nobody remembers who Bob was any more

You laugh, but I know your darkest fears.

Because they are also my own.

Page 39: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

So, in the end PR will put out a statementSo, in the end PR will put out a statementmaking it sound like this happened:making it sound like this happened:

Source: DUH

Page 40: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

But you still have a problem.But you still have a problem.

How to prevent human mistakes fromHow to prevent human mistakes from

becoming security issues in the future.becoming security issues in the future.

Page 41: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Let's talk airbagsLet's talk airbags

How can we reduce damage whensomething has already gone

terribly wrong?

Page 42: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We'll talk about:We'll talk about:Airbags for your networksAirbags for your serversAirbags for your adminsSeat belts for your team

Page 43: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

NetworksNetworks

Page 44: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Stateful firewallsVLANs and zoningVPNsRoutine NMAP scans

What you're probablyalready doing:

Page 45: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Payload inspectionIP reputationActually bothering with DNSSecActually checking TLS certsHeck, actually using TLS

What you're probablyNOT doing:

Page 46: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

ServersServers

Page 47: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

What you're probablyWhat you're probablyalready doing:already doing:

Virtualization for service isolationRoutine security updatesCentralized logging and monitoring...SSH keys vs. just passwords?

Page 48: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We can do better than this!We can do better than this!

Page 49: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

SELinuxSELinuxYes, SELinux! (or GrSec/AppArmor, pick one)It's for when something has gone wrongThat PHP app has no business connecting to other sites

Or looking in /procOr in /etc/passwdOr scanning your networkOr sending mail (spam)

If you could learn IPTables, you can learn SELinuxAt least use it on your hypervisors!

Stop turning it off!

Page 50: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Use 2-factor authUse 2-factor authMake your admins enter an OATH tokenwhen performing sudo

Best to use hardware tokens, notsoft-tokens running on phonesLook up Yubikeys, they are awesome

Put their ssh keys on smartcardsYubikey NEO can do this, tooWe publish detailed docs

Page 51: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Embrace containersEmbrace containers

Yes, I did just say that.

Page 52: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

All SysAdmins just made that faceAll SysAdmins just made that faceimage source

Page 53: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Containers are not going to:Containers are not going to:Make sysadmins a thing of the pastLet you "run any app safely"Make security updates unnecessaryReplace VMs

They help to confine and isolate complexsoftware stacks

Page 54: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Containers are likeContainers are likewhole-OS static linkingwhole-OS static linking

Page 55: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Containers as airbags:Containers as airbags:Bundle away complex stacksConfine them with SELinux

You can even write detailed policiesusing MCS, but that's hardcore

Add extra network isolation via SDN

Page 56: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Containers as crash test dummies:Containers as crash test dummies:Easy to set up test/production environmentsEasy to write a battery of pre-deployment tests

Check what ports it listens onCheck that it writes to the right log filesCheck that it's (un)able to send mailCheck that it correctly rejects malicious input

Deploy to production if all tests pass

Page 57: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

This is what DevOps is about: running OpsThis is what DevOps is about: running Opslike you're Dlike you're Developing an app, not lettingeveloping an app, not letting

your devs run your ops.your devs run your ops.

That's when you curl http://coolapp.io | sudo sh

end up with

Page 58: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

WorkstationsWorkstations

Page 59: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Woefully inadequate safetyWoefully inadequate safetyConfining workstation apps is really hardSELinux is near-useless on the desktopX is the manifestation of pre-safety design

Security only partitions between usersAny app gets full access to all of user's XAny app gets all keystrokesAny app gets access to the whole screen

Any app gets access to microphone, camera

Page 60: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Workstations are notoriously badWorkstations are notoriously badat protecting us from harm whenat protecting us from harm when

things go wrong.things go wrong.

Page 61: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

A single vulnerable X app spellsA single vulnerable X app spellscomplete compromise of a user'scomplete compromise of a user's

desktop (and all their files).desktop (and all their files).

Attackers don't even need root access.

Page 62: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

X must dieX must dieYay Wayland, amiright?

Page 63: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

X won't dieX won't dieFor quite some time

Page 64: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Q:Q: What do you call software written with What do you call software written withthe sole purpose of downloading andthe sole purpose of downloading and

executing arbitrary code on a user's system,executing arbitrary code on a user's system,without their explicit consent?without their explicit consent?

A: Web browserA: Web browser

Page 65: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Web browsers:Web browsers:Fantastically complex applications... with huge attack surfaces... that are extended with proprietary plugins... and add-ons that run with minimal protection... from un-signed sources

And we can't live without them.

Page 66: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

CVE-2015-4495CVE-2015-4495The PDF reader in Mozilla Firefox allows remote attackers

to read arbitrary files or gain privileges, as exploited in thewild in August 2015.

Don't get cocky, Webkit users, this couldhave happened to you.

Page 67: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Things that are not safe enough onThings that are not safe enough ona user's workstation:a user's workstation:

Keystrokes (passwords)Files (private keys)

Page 68: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

The most unprotected systemThe most unprotected systemon your network is youron your network is yoursysadmin's workstation.sysadmin's workstation.

Page 69: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Sysadmin's workstations:Sysadmin's workstations:Are probably on the VPN, with full accessProbably have access to the password vaultHave privileged ssh keys on them

(never allow to ssh in as root, even with a pubkey)Have a list of systems they can ssh toAre awash in dangerous keystrokes

sudo passwordsroot passwordspassword vault master passwords

Page 70: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

MitigationMitigationRequire One-Time Passwords to elevate privileges

Best if not a phone app, but better than nothingKeep private keys on smartcards

this includes ssh private keyswe publish a on how to do it

Create policies and educatedetailed guide

Page 71: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Qubes-OSQubes-OSThe only serious attempt at workstation securityWorks by creating virtualized "AppVMs"

Apps are isolated from others via XenSidesteps most X vulnerabilitiesMinimizes impact of when things go wrong

Is the Volvo of Linux Distros

Page 72: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

TeamsTeams

Page 73: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We still have to largely relyWe still have to largely relyon user education.on user education.

So prepare for failures.

Page 74: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Establish secure commsEstablish secure commsSet up and maintain a web of trustOr use an exclusively trusted CASet up and require trusted email exchangeSet up and require trusted IM exchangeEstablish a policy on what can never go into cleartextEnforce that policy to show that you mean business

Less "hey, try not to send passwords in an email"More "stick with the security policy, copy attached"

Page 75: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Establish workstation security guidelinesEstablish workstation security guidelines

Create a checklist for workstation hardeningProvide examples of secure workflows, e.g.:

PGP and SSH keys on smartcardsUse a dedicated browser for workRun the other browser in a VM

Have a recommended configurationFor hardwareFor distroFor applications

Page 76: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Use code reviewUse code reviewUse dedicated software or just pull requestsRequire sign-off (for later shaming)Do the same for sysadmins

Use config management backed by git

Page 77: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Write tests and use CIWrite tests and use CIThese are your crash test dummiesYou can use CI with sysadmins, too

This is where containers are greatBut can be used with VMs, too(this won't be easy!)

FYI, sysadmins will hate you for this.

Page 78: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Create and use checklistsCreate and use checklistsFor system deploymentFor code reviewFor staff on-boardingFor staff close-outFor rapid admin lockout

Checklists are your most powerful tool toavoid the "oh sh*t moments"

Page 79: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Mistakes will happenMistakes will happen

It is our job to make sure theyare not fatal

Page 80: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

In conclusionIn conclusion

Page 81: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We are at a fork in the roadWe are at a fork in the road

We are here ⇒

Page 82: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We build systems that areWe build systems that aregreat to drivegreat to drive

Page 83: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

But that do notBut that do notforgive mistakesforgive mistakes

Page 84: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

We are overdueWe are overdueFor our industry's own "unsafeat any speed" moment. (And with in-vehicle computingtaking off, it's not going to be ametaphor for much longer.)

Page 85: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Our current approach:Our current approach:Padded dashboardsOptional seatbelts"Safety-styled recessed hubs"

And a large dose of victim blaming.

Page 86: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

The technology is there!The technology is there!SeccompNamespacesSafer languagesSELinux/AppArmor/PaXDecent crypto

Use them in your stuff!

Page 87: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Kernel devs:Kernel devs:We need more airbags!We need more airbags!

Page 88: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Distro devs:Distro devs:Put in those airbags!Put in those airbags!

Page 89: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Sysadmins:Sysadmins:Stop turning them off!Stop turning them off!

Page 90: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Developers:Developers:Stop asking sysadmins to turn them off!Stop asking sysadmins to turn them off!

Page 91: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Managers:Managers:Foster secure team practicesFoster secure team practices

And learn how encrypted email works,it won't kill you.

Page 92: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

github.com/lfit/itpolgithub.com/lfit/itpolWe are opening up and sharing the policies

the Linux Foundation IT team uses.

Help us improve them.

Page 93: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Let's not take 50 years to get to theLet's not take 50 years to get to thepoint where computing is fun,point where computing is fun,

powerful, and is a lot less likely topowerful, and is a lot less likely tomaim you when you make a mistake.maim you when you make a mistake.

Page 94: Giant bags of mostly water - events.static.linuxfound.org · Sysadmin's workstations: Are probably on the VPN, with full access Probably have access to the password vault Have privileged

Thank you!Thank you!

@mricon@mricon