for more information visit: ... · – you do not tell your love affairs to your mother, you do not...

51
12 Dec 2018 1 Transition-Waedenswil.ch For more information visit: https://pads.ccc-ch.ch/public_pad/waedi1212

Upload: others

Post on 28-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 1Transition-Waedenswil.ch

For more information visit: https://pads.ccc-ch.ch/public_pad/waedi1212

Page 2: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 2Transition-Waedenswil.ch

Outline● Facebook, political manipulation● Surveillance, leaks, privacy● Identification mechanisms● Computer security● Privacy countermeasures● Ethical software

Page 3: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 3Transition-Waedenswil.ch

2012: laboratory test

● Is it possible to transfer emotional states to others leading people to experience the same emotions without their awareness and without direct human interactions?

● January 2012, 700’000 people● Facebook “News Feed” manipulated to

contain 10% more or less positive expressions

● ...

Page 4: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 4Transition-Waedenswil.ch

PNAS June 17, 2014 111 (24) 8788-8790; https://www.pnas.org/content/111/24/8788

Page 5: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 5Transition-Waedenswil.ch

facebook (FB) – key facts

● 2.2 billion monthly-active uses ~30% of the planet

● equity: 74’000 million $. This is 33 $ for each user

● owns Instagram, WhatsApp, Oculus VR

Page 6: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 6Transition-Waedenswil.ch

Can FB influence elections?

Page 7: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 7Transition-Waedenswil.ch

https://www.republik.ch/2018/05/16/facebook-influenced-elections-in-66-countries

Can FB influence elections?

Page 8: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 8Transition-Waedenswil.ch

Can FB influence elections?

<<NEW YORK/SAO PAULO (October 31, 2018).— A new poll commissioned by Avaaz shows the vast reach and impact of fake news in the Brazilian election. The survey, conducted by Ideia Big Data, asked voters if they saw and believed 5 of the most viral fake news stories that flooded social media during the final weeks of the election, [...]

Stunningly, 98.21% of Bolsonaro voters surveyed were exposed to one or more fake news stories, and 89.77% believed they were based on fact. [...]

https://secure.avaaz.org/act/media.php?press_id=918

Page 9: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 9Transition-Waedenswil.ch

Can FB influence elections?

Reacting to these results, Ricken Patel, Avaaz CEO and founder, said:

"Brazilian democracy is drowning in fake news. These stories were carefully crafted, toxic weapons designed to destroy a politician's electability. And with the help of Facebook and WhatsApp, they were as widely spread and believed as some of the top real news stories of the election.

"How many democracies need to die before Mark Zuckerberg stops this madness on his platforms? […] >>

https://secure.avaaz.org/act/media.php?press_id=918

Page 10: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 10Transition-Waedenswil.ch

Right to privacy

● The type of information shared depends from whom to share it with:– You do not tell your love affairs to your mother, you do not

tell your employer your health issues, you do not tell a police officer you drove too fast,...

● “Saying that you don’t care about the right to privacy because you have nothing to hide is no different than saying you don’t care about freedom of speech because you have nothing to say.” [E. Snowden]

Page 11: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 11Transition-Waedenswil.ch

Source: http://us.macmillan.com/static/holt/greenwald/NoPlaceToHide-Documents-Uncompressed.pdf

Page 12: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 12Transition-Waedenswil.ch

Page 13: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 13Transition-Waedenswil.ch

GCHQ to the Five-eyes

Page 14: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 14Transition-Waedenswil.ch

Page 15: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 15Transition-Waedenswil.ch

Page 16: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 16Transition-Waedenswil.ch

Page 17: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 17Transition-Waedenswil.ch

Why?

Page 18: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 18Transition-Waedenswil.ch

Commerce

Page 19: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 19Transition-Waedenswil.ch

Page 20: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 20Transition-Waedenswil.ch

Page 21: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 21Transition-Waedenswil.ch

Identifying users from their biological/hardware/software

fingerprints

Page 22: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 22Transition-Waedenswil.ch

Every computer is unique

● Many hardware components have unique IDs● USB sticks:

● Computers save the ID of the visiting USB drives

● Can be used to identify users

Page 23: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 23Transition-Waedenswil.ch

WLAN’s fingerprint: MAC address

wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.6.48.45 netmask 255.255.240.0 broadcast 10.6.63.255 ether 00:19:d2:d6:29:2f txqueuelen 1000 (Ethernet) RX packets 1212007 bytes 1301758468 (1.2 GiB) RX errors 0 dropped 4 overruns 0 frame 0 TX packets 640489 bytes 108858690 (103.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

● Accessible to the operating system

● accessible to everybody on the same network

● is collected (whatsapp, iPhone,..) and stored

Page 24: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 24Transition-Waedenswil.ch

Most software is unique● Nearly infinite amount of options an personalization

render individual applications nearly unique

● For a browser: language, time zone, screen size and color depth, system fonts, installed plugins, version, operating system, cookies, time zone,

● Test your browser now: https://panopticlick.eff.org/

Page 25: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 25Transition-Waedenswil.ch

Keyboard fingerprinting

● Every human is unique in the way he types on the keyboard (timing between keystrokes)

● Several services (e.g. search engines) collect and send timing information to servers (part of autocompletion algorithm). This can be used to identify users.

● Browser add-ons like “Keyboard privacy”:https://paul.reviews/behavioral-profiling-the-password-you-cant-change/[see references herein]

● Mouse: similar problem

Page 26: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 26Transition-Waedenswil.ch

Computer security● A secure computer requires

– bug-free non-malicious software● Far away from it● Common Vulnerabilities and Exposures (CVE)

http://cve.mitre.org/

– bug-free non-malicious hardware● Very far away from it● Open-source silicon chips do not exist at all (yet)● Many very serious vulnerabilities known:

– Management Engine (CVE-2017-5689)– Spectre and Meltdown (CVE-2017-5715, CVE-2017-5753, CVE-2017-

5754)– ...

Page 27: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 27Transition-Waedenswil.ch

Trojans in hardware

Page 28: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 28Transition-Waedenswil.ch

Computer security● In short:

– if your threat-model (journalists, activists) includes powerful players such as governments then do not consider secure any internet-connected device

Page 29: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 29Transition-Waedenswil.ch

Privacy countermeasures-from simple to advanced

Page 30: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 30Transition-Waedenswil.ch

https://www.woz.ch/system/files/epaper/woz/pdf/woz_digi-ratgeber_okt18.pdf

Page 31: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 31Transition-Waedenswil.ch

Browser add-on: uBlock originhttps://en.wikipedia.org/wiki/UBlock_Origin

Page 32: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 32Transition-Waedenswil.ch

Browser add-on: EFF privacy badgerhttps://www.eff.org/privacybadger

Page 33: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 33Transition-Waedenswil.ch

Enigmabox● https://enigmabox.net/

● Swiss-made. Creators at ccczh.zh

● Exit nodes in several countries

● 80.- hardware

● 120.-/year abo

Page 34: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 34Transition-Waedenswil.ch

Offline computer

● Always a good idea● The only method to possibly

have secure data..

..and not even yet:– side-channel attacks, but very

difficult and sophisticated

Page 35: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 35Transition-Waedenswil.ch

An effective safety measuree.g. for online activism (Snowden)

● One-use computer– buy a cheap laptop

– open it, and remove the battery

– “castrate” it (remove microphone, speakers, webcam, antennas -anything not strictly necessary)

– There (still) are non password protected WiFi cafes. Turn on the computer only then.

– Type with two fingers. Do not speak. Do not visit websites which may identify you.

– Get the job done, and get rid of the laptop

– … do not trust these instructions

Page 36: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 36Transition-Waedenswil.ch

Ethical software

Page 37: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 37Transition-Waedenswil.ch

Ethical software - Free software● Free software

– originally defined and promoted by Richard Stallman

– “free as in freedom”, the four freedoms

– copyleft, General Public Licence (GPL)

– google, apple,... do not like it

● open source software– careful: without “free” it is generally meant

“permissive” (permits companies to close it again)

– may allow the creators to sue users for patent infringement

– open source is free software without freedom

– google, apple,... like it

https://www.fsf.org/ https://www.gnu.org/ https://www.eff.org/

Page 38: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 38Transition-Waedenswil.ch

Free software alternatives

● Major sites advertising alternatives:

● https://switching.social/

● https://framasoft.org/en/

● https://degooglisons-internet.org/en/alternatives/

Page 39: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 39Transition-Waedenswil.ch

Videoconferencing● Encrypted by default

● can be easily installed and hosted on own server

● Apache license (open source)

● No need to install any client – a browser is sufficient

● Just go on https://meet.jit.si/and start a call

● Try it now: https://meet.jit.si/waedi123

Page 40: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 40Transition-Waedenswil.ch

Social media

● joinmastodon.org● federated,

decentralized● similar to twitter,

but more text● can (easily) be

self-hosted

Page 41: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 41Transition-Waedenswil.ch

owncloud or nextcloud

● Free-software (AGPLv3)● alternative to google

drive/dropobox● private● can be easily installed on a

server

Page 42: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 42Transition-Waedenswil.ch

dudle

● a privacy-respecting doodle replacement

● Free-software (Affero GPL, AGPL)

● can be very easily installed on a server

● to try: https://dudle.ccc-mannheim.de

Page 43: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 43Transition-Waedenswil.ch

Mediawiki

● Free-software (GPL)● gratis alternative to

Microsoft wikis● great tool to organize

groups and collect knowledge

● very easy to host on own server or own laptop

Page 44: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 44Transition-Waedenswil.ch

own email, own domain

● get your own email [email protected]

● ~15.-/year, email account included

● https://gandi.net , or several others

Page 45: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 45Transition-Waedenswil.ch

Create your own server

● Renting a Virtual Private Server with 1 fixed IP (v4+v6) address and unmetered bandwidth can be as cheap as 4Eur/month

● https://scaleway.com● Several pre-installed

programs

Page 46: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 46Transition-Waedenswil.ch

Search engines

● https://swisscows.ch -possibly the best available in terms of privacy. Shows interesting results that sometimes other engines do not show. Not quite as powerful as google

● https://startpage.com -basically a clone of google, but no (evident) personal targeting

● https://duckduckgo.com -they say they respect privacy (but are hosted on amazon)

Page 47: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 47Transition-Waedenswil.ch

Want to pass to linux?

Gentoo

Possibly best entry level for less technical users. Sponsored by Red Hat:

Full of spyware,not fsf.org approved:

The largest software collection in the world. Default at linux distribution at ETH-Zurich

Advanced

High security:

Bests community, best tutorials

Page 48: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 48Transition-Waedenswil.ch

Want to pass to linux?● Tutorials and help for

nearly everything can be found online, but the clarity is not always the best

● a good guide accelerates significantly the learning speed

● for example:https://kofler.info/buecher/linux/

Page 49: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 49Transition-Waedenswil.ch

What to do

● “Lobby” ZHAW to host instances of jitsi, mastodon, etherpad, etc.. under https://jitsi.zhaw.ch , etc..

● Join one of the many gratis services available

● Set up your own server● Spread the voice!

Page 50: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 50Transition-Waedenswil.ch

Literature

Page 51: For more information visit: ... · – You do not tell your love affairs to your mother, you do not ... Trojans in hardware. 12 Dec 2018 Transition-Waedenswil.ch 28 Computer security

12 Dec 2018 51Transition-Waedenswil.ch

Thank you