SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists...

42
Improving the SecureDrop System Architecture heartsucker SecureDrop Maintainer FOSDEM 2018 SecureDrop Release Signing Key Fingerprint: 2224 5C81 E3BA EB41 38B3 6061 310F 5612 00F4 AD77

Transcript of SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists...

Page 1: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Improving the SecureDrop System Architecture

heartsuckerSecureDrop Maintainer

FOSDEM 2018

SecureDrop Release Signing Key Fingerprint: 2224 5C81 E3BA EB41 38B3 6061 310F 5612 00F4 AD77

Page 2: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

SecureDrop is an open-source whistleblower submission system that media organizations can

use to securely accept documents from and communicate with anonymous sources.

Page 3: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

picture of all the presidents men

In the past, journalists could protect their sources by simply not revealing their identities when asked.

Still from “All the Presidents Men”, a film adaptation of Carl Bernstein and Bob Woodward’s reporting on the Watergate break-in

Page 4: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 5: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 6: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

GCHQ surveillance base in Bude, UK. Image credit: Trevor Paglen

Threat Model

Page 7: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

What are we trying to protect?

Source Anonymity Document Confidentiality

Page 8: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Who do we want to protect it from?

Nation States Large Corporations

Local Law Enforcement & Government

EVERYONE

Page 9: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

What are their capabilities?

Intercept Network Traffic Hack Into the Servers

Send Agents to Seize Hardware

EVERYTHINGSubmit Malware to

Journalists via SecureDrop

Page 10: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Image: Guram Mikaberidze

Page 11: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Current State of SecureDrop

Page 12: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

App Server

Monitor Server

Firewall

Journalist Source

Secure Viewing Station

Page 13: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Develop, Deliver, Deploy

1. Write a feature2. Write tests

a. Unit testsb. Functional tests w/ Seleniumc. Multi-stage tests with Molecule

3. Write docs4. Mandatory code review for all developers5. Automated testing with CircleCI

a. Lintingb. Unit & functional testsc. Debian packaging, test deployment scripts

6. Manual testing of release candidates7. Publish packages to apt repo

NOTHING SPECIAL

HERE

Page 14: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 15: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Failures and Fixes

Page 16: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 17: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

What went wrong

● Root cause: Nautilus allowing .desktop files to execute arbitrary code● SVS is not a true airgap

○ dirty USBs to Journalist Workstation○ USBs to publishing/editing workstation

● Failure to adhere to principle of least privilege / imperfect isolation○ GPG keys accessible by untrusted files

Page 18: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 19: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Internet-connected VMDisposable VM not

connected to the internet

Journalist Workstation

Page 20: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 21: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

:(

Page 22: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 23: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 24: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 25: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Localization

● Code changes● Dependency changes● Build update to support translations● Weblate for external translators● String freezes in preparation for a release

Page 26: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 27: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 28: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 29: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 30: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 31: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

PostgresAlembicFlask-SQLAlchemy

pytestSource App Refactor

Journalist App Refactor

Page 32: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 33: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

App Server

Page 34: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

App Server

Gateway

Source App

Journalist AppDatabase

Workstation

Page 35: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Open Questions & Research

Page 36: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 37: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.
Page 38: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

TODO SD is super boring to write and it’s bs grunt work but the end resutl is super important

Page 39: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

can prevent press freedom violations.

Page 40: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Current SecureDrop Team

Ford-Mozilla Open Web Fellow

+ contributors prototyping next generation SecureDrop workstation

Page 41: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Come join us!

• Please come and talk to one of us after if you are interested in helping out!• Translation: https://weblate.securedrop.club• Code and documentation:

• https://github.com/freedomofpress/securedrop• https://github.com/freedomofpress/securedropworkstation

• Chat with us: • https://forum.securedrop.club (forum)• https://gitter.im/freedomofpress/securedrop (team chat)• [email protected]

• Donate: https://securedrop.org/donate • Follow: @SecureDrop and @FreedomOfPress

Page 42: SecureDrop Maintainer - FOSDEM€¦ · picture of all the presidents men In the past, journalists could protect their sources by simply not revealing their identities when asked.

Contact

[email protected]

0CEC 9368 88A6 0171 4611 74C5 C0A2 586F 09D7 7C82