author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Wed, 17 Sep 2014 11:47:11 +0100 | |
changeset 161 | a0aebea668f9 |
parent 160 | 4cbd6ca025e6 |
child 162 | 5031e7778fdb |
permissions | -rw-r--r-- |
93
82ac034dcc9d
brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
1 |
\documentclass[dvipsnames,14pt,t, xelatex]{beamer} |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
2 |
\usepackage{../slides} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
3 |
\usepackage{../graphics} |
157
3a8fff66d62b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
105
diff
changeset
|
4 |
\usepackage{../langs} |
0 | 5 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
6 |
\setmonofont[Scale=.88]{Consolas} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
7 |
\newfontfamily{\consolas}{Consolas} |
0 | 8 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
9 |
\hfuzz=220pt |
0 | 10 |
|
11 |
% beamer stuff |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
12 |
\renewcommand{\slidecaption}{APP 01, King's College London} |
0 | 13 |
|
14 |
||
15 |
\begin{document} |
|
16 |
||
9 | 17 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
18 |
\begin{frame} |
0 | 19 |
\frametitle{% |
1 | 20 |
\begin{tabular}{@ {}c@ {}} |
21 |
\LARGE Access Control and \\[-3mm] |
|
22 |
\LARGE Privacy Policies (1)\\[-6mm] |
|
23 |
\end{tabular}} |
|
24 |
||
25 |
\begin{center} |
|
26 |
\includegraphics[scale=1.3]{pics/barrier.jpg} |
|
27 |
\end{center} |
|
28 |
||
157
3a8fff66d62b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
105
diff
changeset
|
29 |
\normalsize |
1 | 30 |
\begin{center} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
31 |
\begin{tabular}{ll} |
1 | 32 |
Email: & christian.urban at kcl.ac.uk\\ |
93
82ac034dcc9d
brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
33 |
Office: & S1.27 (1st floor Strand Building)\\ |
159
77cf0362b87a
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
157
diff
changeset
|
34 |
Slides: & KEATS |
1 | 35 |
\end{tabular} |
36 |
\end{center} |
|
157
3a8fff66d62b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
105
diff
changeset
|
37 |
\end{frame} |
0 | 38 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
39 |
||
8 | 40 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
41 |
\begin{frame} |
|
42 |
||
43 |
\begin{center} |
|
44 |
\includegraphics[scale=2.1]{pics/barrier.jpg} |
|
45 |
\end{center} |
|
46 |
||
157
3a8fff66d62b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
105
diff
changeset
|
47 |
\end{frame} |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
48 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
1 | 49 |
|
50 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
51 |
\begin{frame} |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
52 |
|
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
53 |
\begin{center} |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
54 |
\begin{tikzpicture}[scale=1.3] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
55 |
%\draw[very thick, scale=1] (0, 0) grid (6, -4); |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
56 |
\draw (0,0) node (X) {\includegraphics[scale=0.1]{pics/rman.png}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
57 |
\draw (6,0) node (Y) {\includegraphics[scale=0.1]{pics/gman.png}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
58 |
\node[below] at (X.south) {Alice}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
59 |
\node[below] at (Y.south) {Bob}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
60 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
61 |
\draw[red,<->,line width = 3mm] (X) -- (Y); |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
62 |
\node [inner sep=5pt,label=above:{\begin{tabular}{c} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
63 |
secure/private\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
64 |
communication |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
65 |
\end{tabular}}] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
66 |
at ($ (X)!.5!(Y) $) {}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
67 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
68 |
\draw (1.0,-1.5) node {\includegraphics[scale=0.05]{pics/nsa.png}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
69 |
\draw (2.4,-1.5) node {\includegraphics[scale=0.3]{pics/gchq.jpg}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
70 |
\draw (1.7,-2.3) node {\huge\ldots}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
71 |
\draw (4.2,-1.5) node {\includegraphics[scale=0.05]{pics/apple.png}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
72 |
\draw (5.4,-1.7) node {\includegraphics[scale=0.15]{pics/google.png}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
73 |
\draw (5.0,-2.3) node {\huge\ldots}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
74 |
\end{tikzpicture} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
75 |
\end{center} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
76 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
77 |
\begin{center} |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
78 |
\includegraphics[scale=0.1]{pics/snowden.jpg} |
157
3a8fff66d62b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
105
diff
changeset
|
79 |
\end{center} |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
80 |
|
157
3a8fff66d62b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
105
diff
changeset
|
81 |
\end{frame} |
3a8fff66d62b
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
105
diff
changeset
|
82 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
83 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
84 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
85 |
\begin{frame} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
86 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
87 |
\begin{center} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
88 |
\includegraphics[scale=0.45]{pics/lavabit-email.jpg} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
89 |
\end{center} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
90 |
\small{}\mbox{}\hfill{} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
91 |
Lavabit email service closed down on 8 August 2013. \\ |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
92 |
\mbox{}\hfill{}\url{www.goo.gl/bgSrVp} |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
93 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
94 |
\end{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
95 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
96 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
97 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
98 |
\begin{frame} |
159
77cf0362b87a
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
157
diff
changeset
|
99 |
\frametitle{Also Bad Guys} |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
100 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
101 |
\begin{textblock}{1}(4,2.5) |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
102 |
\begin{tikzpicture}[scale=1.3] |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
103 |
\draw (0,0) node (X) {\includegraphics[scale=0.1]{pics/rman.png}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
104 |
\draw (4,0) node (Y) {\includegraphics[scale=0.1]{pics/gman.png}}; |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
105 |
\draw[red, <->, line width = 2mm] (X) -- (Y); |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
106 |
\end{tikzpicture} |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
107 |
\end{textblock} |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
108 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
109 |
\begin{textblock}{1}(1,6) |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
110 |
\begin{bubble}[11cm] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
111 |
\footnotesize |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
112 |
Annonymous Hacker operating a 10k bonnet using the ZeuS |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
113 |
hacking tool wrote:\medskip\\ ``FYI I do not cash out the bank |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
114 |
accounts or credit cards, I just sell the information (I know, |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
115 |
its just as bad...), there isn't even a law against |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
116 |
such in most countries, dealing with stolen information is |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
117 |
most of the time a legally greyzone (I was just as surprised |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
118 |
when I looked it up), I'm not talking about 3rd world |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
119 |
countries, but about European like Spain (The Mariposa botnet |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
120 |
owner never got charged, because a botnet isn't illegal, only |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
121 |
abusing CC information is, but that did other guys).''\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
122 |
\hfill{}\url{www.goo.gl/UWluh0} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
123 |
\end{bubble} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
124 |
\end{textblock} |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
125 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
126 |
\end{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
127 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
96
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
128 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
129 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
130 |
\begin{frame} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
131 |
\frametitle{\begin{tabular}{@ {}c@ {}}This is a Misconception!\end{tabular}} |
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
132 |
|
e1e314c1bb61
new
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
95
diff
changeset
|
133 |
\begin{center} |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
134 |
\includegraphics[scale=0.55]{pics/cryptographic-small.png} |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
135 |
\end{center} |
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
136 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
137 |
There is some consensus that the NSA can probably not |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
138 |
brute-force magically better than the ``public''. |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
139 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
140 |
\end{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
141 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
142 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
143 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
144 |
\begin{frame}[c] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
145 |
The content of this course is very much inspired by the work of |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
146 |
three people:\bigskip |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
147 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
148 |
\small |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
149 |
\begin{center} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
150 |
\begin{tabular}{ccc} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
151 |
\includegraphics[scale=1.4]{pics/schneier.png} & |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
152 |
\includegraphics[scale=0.103]{pics/ross.jpg} & |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
153 |
\includegraphics[scale=0.2]{pics/halderman.jpg} \\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
154 |
Bruce Schneier & Ross Anderson & Alex Halderman\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
155 |
\tiny\url{en.wikipedia.org/wiki/Bruce_Schneier} & |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
156 |
\tiny\url{www.cl.cam.ac.uk/~rja14} & |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
157 |
\tiny\url{jhalderm.com} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
158 |
\end{tabular} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
159 |
\end{center} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
160 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
161 |
\end{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
162 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
163 |
|
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
164 |
|
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
165 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
1 | 166 |
\begin{frame}[c] |
167 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
168 |
\alert{\bf Security engineers} require a particular \alert{\bf mindset}: |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
169 |
\bigskip\medskip |
1 | 170 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
171 |
\begin{overlayarea}{\textwidth}{5cm} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
172 |
\small |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
173 |
\only<1>{\begin{bubble}[10cm] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
174 |
``Security engineers --- at least the good ones --- see |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
175 |
the world differently. They can't walk into a store without |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
176 |
noticing how they might shoplift. They can't use a computer |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
177 |
without wondering about the security vulnerabilities. They |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
178 |
can't vote without trying to figure out how to vote twice. |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
179 |
They just can't help it.''\\ |
95
e24f6c12839e
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
94
diff
changeset
|
180 |
\hfill{}---Bruce Schneier |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
181 |
\end{bubble}}% |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
182 |
\only<2>{\begin{bubble}[10.5cm] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
183 |
``Security engineering\ldots requires you to think |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
184 |
differently. You need to figure out not how something works, |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
185 |
but how something can be made to not work. You have to imagine |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
186 |
an intelligent and malicious adversary inside your system |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
187 |
\ldots, constantly trying new ways to |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
188 |
subvert it. You have to consider all the ways your system can |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
189 |
fail, most of them having nothing to do with the design |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
190 |
itself. You have to look at everything backwards, upside down, |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
191 |
and sideways. You have to think like an alien.''\hfill{}---Bruce Schneier |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
192 |
\end{bubble}} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
193 |
\end{overlayarea} |
1 | 194 |
|
195 |
\begin{flushright} |
|
196 |
\includegraphics[scale=0.0087]{pics/schneierbook1.jpg}\; |
|
197 |
\includegraphics[scale=0.0087]{pics/schneierbook2.jpg}\; |
|
97
efcac3016613
added hws
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
96
diff
changeset
|
198 |
\includegraphics[scale=0.23]{pics/schneierbook3.jpg}\; |
1 | 199 |
\includegraphics[scale=0.85]{pics/schneier.png} |
200 |
\end{flushright} |
|
201 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
202 |
\end{frame} |
1 | 203 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
204 |
||
4 | 205 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
206 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
207 |
\frametitle{Breaking Things} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
208 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
209 |
For example: |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
210 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
211 |
\begin{center} |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
212 |
\begin{bubble}[10cm]\small |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
213 |
Prof.~V.~Nasty gives the following final exam question (closed books, |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
214 |
closed notes):\bigskip |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
215 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
216 |
\noindent |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
217 |
\begin{tabular}{@ {}l} |
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
218 |
Write the first 100 digits of $\pi$:\\ |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
219 |
3.\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
220 |
\end{tabular} |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
221 |
\end{bubble} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
222 |
\end{center} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
223 |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
224 |
How can you cheat in this exam and how can you defend against such cheating? |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
225 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
226 |
\end{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
227 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
228 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
229 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
230 |
\begin{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
231 |
\frametitle{\textcolor{red}{Warning}} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
232 |
\small |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
233 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
234 |
\begin{itemize} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
235 |
\item<1-> I will be teaching techniques that can be used to |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
236 |
compromise security and privacy. |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
237 |
\end{itemize} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
238 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
239 |
\onslide<2->{ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
240 |
\begin{itemize} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
241 |
\item Don’t be evil! |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
242 |
\only<3>{\item Using those techniques in the real world may |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
243 |
violate the law or King’s rules, and it may be unethical.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
244 |
\only<3>{\item Under some circumstances, even probing for weaknesses of a |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
245 |
system may result in severe penalties, up to and including |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
246 |
expulsion, fines and jail time.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
247 |
\only<3>{\item Acting lawfully and ethically is \underline{your} responsibility.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
248 |
\only<4>{\item Ethics requires you to |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
249 |
refrain from doing harm.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
250 |
\only<4>{\item \underline{Always} respect privacy and rights of |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
251 |
others.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
252 |
\only<4>{\item Do not tamper with any of King's systems.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
253 |
\only<5>{\item If you try |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
254 |
out a technique, always make doubly sure you are working in a |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
255 |
safe environment so that you cannot cause any harm, not even |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
256 |
accidentally.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
257 |
\only<5>{\item Don't be evil. Be an \underline{ethical} hacker.} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
258 |
\end{itemize}} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
259 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
260 |
\end{frame} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
261 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
262 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
263 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
264 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
265 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
266 |
\begin{frame}[c] |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
267 |
\frametitle{Chip-and-PIN} |
4 | 268 |
|
269 |
\begin{center} |
|
270 |
\includegraphics[scale=0.3]{pics/creditcard1.jpg}\; |
|
271 |
\includegraphics[scale=0.3]{pics/creditcard2.jpg} |
|
272 |
\end{center} |
|
273 |
||
274 |
\begin{itemize} |
|
275 |
\item Chip-and-PIN was introduced in the UK in 2004 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
276 |
\item before that customers had to sign a receipt\bigskip |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
277 |
\item \bf Is Chip-and-PIN a more secure system? |
4 | 278 |
\end{itemize} |
279 |
||
280 |
\begin{flushright} |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
281 |
\small\textcolor{gray}{(some other countries still use the old method)} |
4 | 282 |
\end{flushright} |
283 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
284 |
\end{frame} |
4 | 285 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
286 |
||
0 | 287 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
288 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
289 |
\frametitle{Yes \ldots} |
1 | 290 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
291 |
\begin{bubble}[10cm] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
292 |
\small ``Chip-and-PIN is so effective in this country [UK] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
293 |
that fraudsters are starting to move their activities |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
294 |
overseas,''\smallskip\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
295 |
\hfill{}said some spokesman for Lloyds TSB\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
296 |
\hfill(in The Guardian, 2006) |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
297 |
\end{bubble}\bigskip |
1 | 298 |
|
0 | 299 |
|
1 | 300 |
\begin{itemize} |
301 |
\item mag-stripe cards cannot be cloned anymore |
|
302 |
\item stolen or cloned cards need to be used abroad |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
303 |
\item fraud on lost, stolen and counterfeit credit |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
304 |
cards was down \pounds{60m} (24\%) on 2004's figure |
1 | 305 |
\end{itemize} |
306 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
307 |
\end{frame} |
1 | 308 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
309 |
||
310 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
311 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
312 |
\frametitle{But let's see} |
1 | 313 |
|
314 |
||
315 |
\begin{textblock}{1}(3,4) |
|
316 |
\begin{tabular}{c} |
|
317 |
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm] |
|
318 |
\small Bank |
|
0 | 319 |
\end{tabular} |
320 |
\end{textblock} |
|
1 | 321 |
|
322 |
\begin{textblock}{1}(7,4.5) |
|
323 |
\begin{tabular}{c} |
|
324 |
\includegraphics[scale=3]{pics/store.png}\\[-2mm] |
|
325 |
\end{tabular} |
|
326 |
\end{textblock} |
|
327 |
||
328 |
\begin{textblock}{1}(4.5,9.9) |
|
329 |
\begin{tabular}{c} |
|
330 |
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm] |
|
331 |
\small costumer / you |
|
332 |
\end{tabular} |
|
333 |
\end{textblock} |
|
8 | 334 |
|
335 |
\only<2->{ |
|
336 |
\begin{textblock}{1}(4.5,7.5) |
|
337 |
\begin{tikzpicture}[scale=1.3] |
|
338 |
\draw[white] (0,0) node (X) {}; |
|
339 |
\draw[white] (1,-1) node (Y) {}; |
|
340 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
341 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
342 |
\end{tikzpicture} |
|
343 |
\end{textblock}} |
|
344 |
||
345 |
\only<3->{ |
|
346 |
\begin{textblock}{1}(6.8,7.5) |
|
347 |
\begin{tikzpicture}[scale=1.3] |
|
348 |
\draw[white] (0,0) node (X) {}; |
|
349 |
\draw[white] (1,1) node (Y) {}; |
|
350 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
351 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
352 |
\end{tikzpicture} |
|
353 |
\end{textblock} |
|
354 |
||
355 |
\begin{textblock}{1}(4.8,5.9) |
|
356 |
\begin{tikzpicture}[scale=1.3] |
|
357 |
\draw[white] (0,0) node (X) {}; |
|
358 |
\draw[white] (1.4,0) node (Y) {}; |
|
359 |
\draw[red, <->, line width = 2mm] (X) -- (Y); |
|
360 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
361 |
\end{tikzpicture} |
|
362 |
\end{textblock}} |
|
363 |
||
364 |
\only<4->{ |
|
365 |
\begin{textblock}{1}(12,6.5) |
|
366 |
\begin{tabular}{c} |
|
367 |
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm] |
|
368 |
\small card\\[-2mm]\small terminal\\[-2mm] \small producer |
|
369 |
\end{tabular} |
|
370 |
\end{textblock} |
|
371 |
||
372 |
\begin{textblock}{1}(10,7) |
|
373 |
\begin{tikzpicture}[scale=1.6] |
|
374 |
\draw[white] (0,0) node (X) {}; |
|
375 |
\draw[white] (-1,0.6) node (Y) {}; |
|
376 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
377 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
378 |
\end{tikzpicture} |
|
379 |
\end{textblock}} |
|
0 | 380 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
381 |
\end{frame} |
0 | 382 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
383 |
||
384 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
385 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
386 |
\frametitle{Chip-and-PIN} |
0 | 387 |
|
1 | 388 |
\begin{itemize} |
5 | 389 |
\item A ``tamperesitant'' terminal playing Tetris on |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
390 |
\href{http://www.youtube.com/watch?v=wWTzkD9M0sU}{youtube}.\smallskip\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
391 |
\footnotesize(\url{http://www.youtube.com/watch?v=wWTzkD9M0sU}) |
1 | 392 |
\end{itemize} |
393 |
||
394 |
\includegraphics[scale=0.2]{pics/tetris.jpg} |
|
395 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
396 |
\end{frame} |
1 | 397 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0 | 398 |
|
399 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
400 |
\begin{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
401 |
\frametitle{Chip-and-PIN} |
0 | 402 |
|
403 |
\begin{itemize} |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
404 |
\item in 2006, Shell petrol stations stopped accepting Chip-and-PIN after |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
405 |
\pounds{1M} had been stolen from customer accounts\smallskip |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
406 |
\item in 2008, hundreds of card readers for use in Britain, Ireland, |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
407 |
the Netherlands, Denmark, and Belgium had been expertly tampered with |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
408 |
shortly after manufacture so that details and PINs of credit cards |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
409 |
were sent during the 9 months before over mobile phone networks |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
410 |
to criminals in Lahore, Pakistan |
0 | 411 |
\end{itemize} |
412 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
413 |
\end{frame} |
0 | 414 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
415 |
||
416 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
417 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
418 |
\frametitle{Chip-and-PIN is Broken} |
0 | 419 |
|
1 | 420 |
\begin{flushright} |
421 |
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\; |
|
422 |
\includegraphics[scale=1.5]{pics/anderson.jpg} |
|
423 |
\end{flushright} |
|
0 | 424 |
|
425 |
\begin{itemize} |
|
5 | 426 |
\item man-in-the-middle attacks by the group around Ross Anderson\medskip |
0 | 427 |
\end{itemize} |
428 |
||
1 | 429 |
\begin{center} |
5 | 430 |
\mbox{}\hspace{-20mm}\includegraphics[scale=0.5]{pics/chip-attack.png} |
1 | 431 |
\end{center} |
5 | 432 |
|
433 |
\begin{textblock}{1}(11.5,13.7) |
|
434 |
\begin{tabular}{l} |
|
435 |
\footnotesize on BBC Newsnight\\[-2mm] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
436 |
\footnotesize in 2010 or |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
437 |
\href{http://www.youtube.com/watch?v=JPAX32lgkrw}{youtube} |
5 | 438 |
\end{tabular} |
439 |
\end{textblock} |
|
0 | 440 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
441 |
\end{frame} |
0 | 442 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
443 |
||
444 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
445 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
446 |
\frametitle{\Large Chip-and-PIN is Really Broken} |
0 | 447 |
|
1 | 448 |
\begin{flushright} |
449 |
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\; |
|
450 |
\includegraphics[scale=1.5]{pics/anderson.jpg} |
|
451 |
\end{flushright} |
|
0 | 452 |
|
453 |
\begin{itemize} |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
454 |
\item same group successfully attacked in 2012 card readers and ATM machines |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
455 |
\item the problem: several types of ATMs generate poor random numbers, |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
456 |
which are used as nonces |
0 | 457 |
\end{itemize} |
1 | 458 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
459 |
\end{frame} |
0 | 460 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
461 |
||
462 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
463 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
464 |
\frametitle{The Real Problem \ldots} |
0 | 465 |
|
1 | 466 |
\begin{textblock}{1}(3,4) |
467 |
\begin{tabular}{c} |
|
468 |
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm] |
|
469 |
\small Bank |
|
470 |
\end{tabular} |
|
471 |
\end{textblock} |
|
472 |
||
473 |
\begin{textblock}{1}(7,4.5) |
|
474 |
\begin{tabular}{c} |
|
475 |
\includegraphics[scale=3]{pics/store.png}\\[-2mm] |
|
476 |
\end{tabular} |
|
477 |
\end{textblock} |
|
0 | 478 |
|
1 | 479 |
\begin{textblock}{1}(12,6.5) |
480 |
\begin{tabular}{c} |
|
481 |
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm] |
|
482 |
\small terminal\\[-2mm] \small producer |
|
483 |
\end{tabular} |
|
0 | 484 |
\end{textblock} |
1 | 485 |
|
486 |
\begin{textblock}{1}(4.5,9.9) |
|
487 |
\begin{tabular}{c} |
|
488 |
\includegraphics[scale=0.13]{pics/rman.png}\\[-1mm] |
|
489 |
\small costumer / you |
|
490 |
\end{tabular} |
|
491 |
\end{textblock} |
|
0 | 492 |
|
8 | 493 |
\begin{textblock}{1}(4.5,7.5) |
494 |
\begin{tikzpicture}[scale=1.3] |
|
495 |
\draw[white] (0,0) node (X) {}; |
|
496 |
\draw[white] (1,-1) node (Y) {}; |
|
497 |
\draw[gray, ->, line width = 2mm] (X) -- (Y); |
|
498 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
499 |
\end{tikzpicture} |
|
500 |
\end{textblock} |
|
501 |
||
502 |
\begin{textblock}{1}(6.8,7.5) |
|
503 |
\begin{tikzpicture}[scale=1.3] |
|
504 |
\draw[white] (0,0) node (X) {}; |
|
505 |
\draw[white] (1,1) node (Y) {}; |
|
506 |
\draw[gray, ->, line width = 2mm] (X) -- (Y); |
|
507 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
508 |
\end{tikzpicture} |
|
509 |
\end{textblock} |
|
510 |
||
511 |
\begin{textblock}{1}(4.8,5.9) |
|
512 |
\begin{tikzpicture}[scale=1.3] |
|
513 |
\draw[white] (0,0) node (X) {}; |
|
514 |
\draw[white] (1.4,0) node (Y) {}; |
|
515 |
\draw[gray, <->, line width = 2mm] (X) -- (Y); |
|
516 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
517 |
\end{tikzpicture} |
|
518 |
\end{textblock} |
|
519 |
||
520 |
\begin{textblock}{1}(10,7) |
|
521 |
\begin{tikzpicture}[scale=1.6] |
|
522 |
\draw[white] (0,0) node (X) {}; |
|
523 |
\draw[white] (-1,0.6) node (Y) {}; |
|
524 |
\draw[gray, ->, line width = 2mm] (X) -- (Y); |
|
525 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
526 |
\end{tikzpicture} |
|
527 |
\end{textblock} |
|
528 |
||
1 | 529 |
\begin{textblock}{14}(1,13.5) |
530 |
\begin{itemize} |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
531 |
\item the burden of proof for fraud and financial liability was shifted to the costumer (until approx.~2009/10) |
1 | 532 |
\end {itemize} |
0 | 533 |
\end{textblock} |
534 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
535 |
\end{frame} |
0 | 536 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
537 |
||
538 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
539 |
\begin{frame}[c] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
540 |
\frametitle{The Bad Guy Again} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
541 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
542 |
\begin{bubble}[10cm] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
543 |
\footnotesize |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
544 |
The anonymous hacker from earlier:\medskip\\ ``Try to use |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
545 |
`Verified-By-Visa' and `Mastercard-Securecode' as rarely as |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
546 |
possible. If only your CVV2 code is getting sniffed, you are |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
547 |
not liable for any damage, because the code is physically |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
548 |
printed and could have been stolen while you payed with your |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
549 |
card at a store. Same applies if someone cloned your CC |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
550 |
reading the magnetic stripe or sniffing RFID. Only losing your |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
551 |
VBV or MCSC password can cause serious trouble.''\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
552 |
\hfill{}\url{goo.gl/UWluh0} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
553 |
\end{bubble} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
554 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
555 |
\end{frame} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
556 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
557 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
558 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
559 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
560 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0 | 561 |
\begin{frame}[c] |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
562 |
\frametitle{Being Screwed Again} |
0 | 563 |
|
1 | 564 |
\begin{flushright} |
565 |
\includegraphics[scale=0.3]{pics/rbssecure.jpg} |
|
566 |
\end{flushright} |
|
567 |
||
0 | 568 |
\begin{itemize} |
1 | 569 |
\item {\bf Responsibility}\\ |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
570 |
``You understand that you are financially responsible for all uses |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
571 |
of RBS Secure.''\medskip\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
572 |
\footnotesize\url{https://www.rbssecure.co.uk/rbs/tdsecure/terms_of_use.jsp} |
0 | 573 |
\end{itemize} |
574 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
575 |
\end{frame} |
0 | 576 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
577 |
||
2 | 578 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
579 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
580 |
\frametitle{Web Applications} |
2 | 581 |
|
582 |
\begin{textblock}{1}(2,5) |
|
583 |
\begin{tabular}{c} |
|
584 |
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm] |
|
585 |
\small Servers from\\[-2mm] |
|
586 |
\small Dot.com Inc. |
|
587 |
\end{tabular} |
|
588 |
\end{textblock} |
|
589 |
||
6 | 590 |
\begin{textblock}{1}(5.6,6) |
591 |
\begin{tikzpicture}[scale=2.5] |
|
592 |
\draw[white] (0,0) node (X) {}; |
|
593 |
\draw[white] (1,0) node (Y) {}; |
|
8 | 594 |
\only<2>{\draw[red, <-, line width = 2mm] (X) -- (Y); |
6 | 595 |
\node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};} |
8 | 596 |
\only<3>{\draw[red, ->, line width = 2mm] (X) -- (Y); |
6 | 597 |
\node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};} |
8 | 598 |
\only<4>{\draw[red, <-, line width = 2mm] (X) -- (Y); |
6 | 599 |
\node [inner sep=7pt,label=above:\textcolor{black}{POST data}] at ($ (X)!.5!(Y) $) {};} |
600 |
\end{tikzpicture} |
|
601 |
\end{textblock} |
|
602 |
||
603 |
||
2 | 604 |
\begin{textblock}{1}(9,5.5) |
605 |
\begin{tabular}{c} |
|
606 |
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm] |
|
8 | 607 |
\small Client(s) |
2 | 608 |
\end{tabular} |
609 |
\end{textblock} |
|
610 |
||
611 |
\begin{textblock}{13}(1,13) |
|
612 |
\begin{itemize} |
|
613 |
\item What are pitfalls and best practices? |
|
614 |
\end{itemize} |
|
615 |
\end{textblock} |
|
616 |
||
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
617 |
\end{frame} |
2 | 618 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
619 |
||
5 | 620 |
|
621 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
622 |
\begin{frame}[c] |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
623 |
\frametitle{Why Scala?} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
624 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
625 |
\begin{textblock}{6}(1,3) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
626 |
\begin{tabular}{l} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
627 |
\mbox{}\hspace{-1mm}\includegraphics[scale=0.36]{pics/twitter.png}\\[-1mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
628 |
\includegraphics[scale=0.30]{pics/linked.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
629 |
\includegraphics[scale=0.30]{pics/guardian.jpg}\\[-3mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
630 |
\mbox{}\hspace{-2mm}\includegraphics[scale=0.38]{pics/morgan.png}\\[-3mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
631 |
\includegraphics[scale=0.30]{pics/suisse.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
632 |
\includegraphics[scale=0.20]{pics/edf.png}\\[-1mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
633 |
\includegraphics[scale=0.08]{pics/novell.png}\\[-1mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
634 |
\includegraphics[scale=0.30]{pics/foursquare.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
635 |
\includegraphics[scale=0.30]{pics/hsbc.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
636 |
{\large\bf ...} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
637 |
\end{tabular} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
638 |
\end{textblock} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
639 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
640 |
\only<2->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
641 |
\begin{textblock}{6}(6,3) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
642 |
\includegraphics[scale=0.35]{pics/jobgraph.png}\\ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
643 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
644 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
645 |
\only<3->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
646 |
\begin{textblock}{6}(7.3,9.2) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
647 |
\begin{tabular}{l} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
648 |
\footnotesize 2013: 1$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
649 |
\footnotesize 2014: 3$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
650 |
\footnotesize 2015: 9$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
651 |
\footnotesize 2016: 27$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
652 |
\footnotesize 2017: 81$\%$\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
653 |
\footnotesize 2018: 243$\%$ \raisebox{-1mm}{\includegraphics[scale=0.02]{pics/smiley.jpg}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
654 |
\end{tabular} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
655 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
656 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
657 |
\only<3->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
658 |
\begin{textblock}{6}(6,9.5) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
659 |
\footnotesize 5 yrs $\begin{cases}\mbox{}\\[1.4cm]\end{cases}$ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
660 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
661 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
662 |
\only<4->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
663 |
\begin{textblock}{11}(5,14.1) |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
664 |
\textcolor{gray}{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
665 |
\footnotesize {\bf in London today:} 1 Scala job for every 30 Java jobs;\\[-2mm] |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
666 |
Scala programmers seem to get up to 20\% better salary} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
667 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
668 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
669 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
670 |
\only<5->{ |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
671 |
\begin{textblock}{1}(3,6) |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
672 |
\begin{bubble}[8.5cm] |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
673 |
\normalsize |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
674 |
Scala is a functional and object-oriented programming |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
675 |
language; compiles to the JVM; does not need null-pointer |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
676 |
exceptions; a course on Coursera\\ |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
677 |
\mbox{}\hfill\url{http://www.scala-lang.org} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
678 |
\end{bubble} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
679 |
\end{textblock}} |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
680 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
681 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
682 |
\end{frame} |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
683 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
684 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
685 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
686 |
\begin{frame}[c] |
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
687 |
\frametitle{Scala + Play} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
688 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
689 |
A simple response from the server: |
5 | 690 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
691 |
\small |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
692 |
\lstinputlisting{../progs/app0.scala} |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
693 |
\medskip |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
694 |
|
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
695 |
\small |
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
696 |
alternative response:\smallskip\\ |
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
697 |
|
6 | 698 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
699 |
\lstinline{Ok("<H1>Hello world!</H1>").as(HTML)} |
5 | 700 |
|
160
4cbd6ca025e6
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
159
diff
changeset
|
701 |
\end{frame} |
5 | 702 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
703 |
||
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
704 |
|
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
705 |
|
5 | 706 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
707 |
\mode<presentation>{ |
|
708 |
\begin{frame}[c] |
|
709 |
||
710 |
{\lstset{language=Scala}\fontsize{8}{10}\selectfont |
|
93
82ac034dcc9d
brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
711 |
\texttt{\lstinputlisting{../progs/app1.scala}}} |
5 | 712 |
|
713 |
||
714 |
\end{frame}} |
|
715 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
716 |
||
6 | 717 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
718 |
\mode<presentation>{ |
|
719 |
\begin{frame}[c] |
|
720 |
\frametitle{\begin{tabular}{c}Cookies\end{tabular}} |
|
721 |
||
722 |
||
723 |
\begin{textblock}{1}(1.5,5) |
|
724 |
\begin{tabular}{c} |
|
725 |
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm] |
|
726 |
\small Servers from\\[-2mm] |
|
727 |
\small Dot.com Inc. |
|
728 |
\end{tabular} |
|
729 |
\end{textblock} |
|
730 |
||
731 |
\begin{textblock}{1}(5.6,5.6) |
|
732 |
\begin{tikzpicture}[scale=2.5] |
|
733 |
\draw[white] (0,0) node (X) {}; |
|
734 |
\draw[white] (1,0) node (Y) {}; |
|
735 |
\draw[white] (0.05,-0.3) node (X1) {}; |
|
736 |
\draw[white] (0.95,-0.3) node (Y1) {}; |
|
737 |
\only<1-2>{\draw[red, <-, line width = 2mm] (X) -- (Y); |
|
738 |
\node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};} |
|
8 | 739 |
\only<1>{\draw[white, <-, line width = 1mm] (X1) -- (Y1); |
740 |
\node [inner sep=2pt,label=below:\textcolor{white}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};} |
|
6 | 741 |
\only<2>{\draw[red, <-, line width = 1mm] (X1) -- (Y1); |
742 |
\node [inner sep=2pt,label=below:\textcolor{black}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};} |
|
743 |
\only<3->{\draw[red, ->, line width = 2mm] (X) -- (Y); |
|
744 |
\node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};} |
|
745 |
\only<3->{\draw[red, ->, line width = 1mm] (X1) -- (Y1); |
|
746 |
\node [inner sep=2pt,label=below:\textcolor{black}{write a cookie}] at ($ (X1)!.5!(Y1) $) {};} |
|
747 |
\end{tikzpicture} |
|
748 |
\end{textblock} |
|
749 |
||
750 |
||
751 |
\begin{textblock}{1}(9.5,5.5) |
|
752 |
\begin{tabular}{c} |
|
753 |
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm] |
|
754 |
\small Client |
|
755 |
\end{tabular} |
|
756 |
\end{textblock} |
|
757 |
||
758 |
\only<4->{ |
|
759 |
\begin{textblock}{13}(1,11) |
|
760 |
\small\begin{itemize} |
|
761 |
\item cookies: max 4KB data\\[-2mm] |
|
762 |
\item cookie theft, cross-site scripting attacks\\[-2mm] |
|
763 |
\item session cookies, persistent cookies, HttpOnly cookies, third-party cookies, zombie cookies |
|
764 |
\end{itemize} |
|
765 |
\end{textblock}} |
|
766 |
||
767 |
\only<5>{ |
|
768 |
\begin{textblock}{11}(1,3) |
|
769 |
\begin{tikzpicture} |
|
770 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
|
771 |
{\normalsize\color{darkgray} |
|
772 |
\begin{minipage}{10cm}\raggedright\small |
|
773 |
{\bf EU Privacy Directive about Cookies:}\smallskip\\ |
|
774 |
``In May 2011, a European Union law was passed stating that websites that leave non-essential cookies on visitors' devices have to alert the visitor and get acceptance from them. This law applies to both individuals and businesses based in the EU regardless of the nationality of their website's visitors or the location of their web host. It is not enough to simply update a website's terms and conditions or privacy policy. The deadline to comply with the new EU cookie law was 26th May 2012 and failure to do so could mean a fine of up to \pounds{}500,000.'' |
|
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
775 |
\hfill\small\textcolor{gray}{$\rightarrow$BBC News}, \textcolor{blue}{\url{goo.gl/RI4qhh}} |
6 | 776 |
\end{minipage}}; |
777 |
\end{tikzpicture} |
|
778 |
\end{textblock}} |
|
779 |
||
780 |
\end{frame}} |
|
781 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
782 |
||
783 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
784 |
\mode<presentation>{ |
|
9 | 785 |
\begin{frame}[t] |
786 |
\begin{itemize} |
|
787 |
\item While cookies are per web-page, this can be easily circumvented. |
|
788 |
\end{itemize} |
|
789 |
||
790 |
\begin{textblock}{1}(1.5,4.5) |
|
791 |
\begin{tabular}{c} |
|
792 |
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm] |
|
793 |
\small Pet Store\\[-2mm] |
|
794 |
\small Dot.com\\[-2mm] |
|
795 |
\end{tabular} |
|
796 |
\end{textblock} |
|
797 |
||
798 |
\begin{textblock}{1}(1.5,8) |
|
799 |
\begin{tabular}{c} |
|
800 |
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm] |
|
801 |
\small Dating.com |
|
802 |
\end{tabular} |
|
803 |
\end{textblock} |
|
804 |
||
805 |
\begin{textblock}{1}(10.5,7.5) |
|
806 |
\begin{tabular}{c} |
|
807 |
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm] |
|
808 |
\small Evil-Ad-No\\[-2mm] |
|
809 |
\small Privacy.com |
|
810 |
\end{tabular} |
|
811 |
\end{textblock} |
|
812 |
||
813 |
\begin{textblock}{1}(6,10.5) |
|
814 |
\begin{tabular}{c} |
|
815 |
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm] |
|
816 |
\small you |
|
817 |
\end{tabular} |
|
818 |
\end{textblock} |
|
819 |
||
820 |
\begin{textblock}{1}(4,5) |
|
821 |
\begin{tikzpicture}[scale=1] |
|
822 |
\draw[white] (0,0.5) node (X) {}; |
|
823 |
\draw[white] (5.7,-1) node (Y) {}; |
|
824 |
\draw[red, ->, line width = 0.5mm] (X) -- (Y); |
|
825 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
826 |
\end{tikzpicture} |
|
827 |
\end{textblock} |
|
828 |
||
829 |
\begin{textblock}{1}(4,7.9) |
|
830 |
\begin{tikzpicture}[scale=1] |
|
831 |
\draw[white] (0,0) node (X) {}; |
|
832 |
\draw[white] (5.7,0) node (Y) {}; |
|
833 |
\draw[red, ->, line width = 0.5mm] (X) -- (Y); |
|
834 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
835 |
\end{tikzpicture} |
|
836 |
\end{textblock} |
|
837 |
||
838 |
\begin{textblock}{1}(3.3,9.3) |
|
839 |
\begin{tikzpicture}[scale=1.2] |
|
840 |
\draw[white] (0,0) node (X) {}; |
|
841 |
\draw[white] (1.5,-1) node (Y) {}; |
|
842 |
\draw[red, <->, line width = 2mm] (X) -- (Y); |
|
843 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
844 |
\draw[white] (0.9,0.3) node (X1) {}; |
|
845 |
\draw[white] (1.9,-1) node (Y1) {}; |
|
846 |
\draw[red, <->, line width = 2mm] (X1) -- (Y1); |
|
847 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X1)!.5!(Y1) $) {}; |
|
848 |
\end{tikzpicture} |
|
849 |
\end{textblock} |
|
850 |
||
851 |
\begin{textblock}{1}(8.6,10.1) |
|
852 |
\begin{tikzpicture}[scale=0.9] |
|
853 |
\draw[white] (0,0) node (X) {}; |
|
854 |
\draw[white] (-2,-1) node (Y) {}; |
|
855 |
\draw[red, <->, line width = 0.5mm] (X) -- (Y); |
|
856 |
\node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {}; |
|
857 |
\end{tikzpicture} |
|
858 |
\end{textblock} |
|
859 |
||
860 |
||
861 |
||
862 |
\end{frame}} |
|
863 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
864 |
||
865 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
866 |
\mode<presentation>{ |
|
6 | 867 |
\begin{frame}[c] |
868 |
\frametitle{\begin{tabular}{c}My First Webapp\end{tabular}} |
|
869 |
||
870 |
{\bf GET request:}\smallskip |
|
871 |
\begin{enumerate} |
|
8 | 872 |
\item read the cookie from client |
6 | 873 |
\item if none is present, set \texttt{visits} to \textcolor{blue}{$0$} |
8 | 874 |
\item if cookie is present, extract \texttt{visits} counter |
6 | 875 |
\item if \texttt{visits} is greater or equal \textcolor{blue}{$10$}, \\ |
8 | 876 |
print a valued customer message\\ |
877 |
otherwise just a normal message |
|
6 | 878 |
\item increase \texttt{visits} by \textcolor{blue}{$1$} and store new cookie with client |
879 |
\end{enumerate} |
|
880 |
||
881 |
||
882 |
\end{frame}} |
|
883 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
884 |
||
885 |
||
886 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
887 |
\mode<presentation>{ |
|
888 |
\begin{frame}[c] |
|
889 |
\mbox{}\\[-9mm] |
|
890 |
||
891 |
{\lstset{language=Scala}\fontsize{8}{10}\selectfont |
|
93
82ac034dcc9d
brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
892 |
\texttt{\lstinputlisting{../progs/app2.scala}}} |
6 | 893 |
|
7 | 894 |
\footnotesize |
895 |
\begin{itemize} |
|
896 |
\item cookie value encoded as hash |
|
897 |
\end{itemize} |
|
898 |
\end{frame}} |
|
899 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
900 |
||
901 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
902 |
\mode<presentation>{ |
|
903 |
\begin{frame}[c] |
|
904 |
||
8 | 905 |
\begin{center} |
906 |
\includegraphics[scale=1.8]{pics/barrier.jpg} |
|
907 |
\end{center} |
|
908 |
||
909 |
\begin{itemize} |
|
910 |
\item data integrity needs to be ensured |
|
911 |
\end{itemize} |
|
7 | 912 |
|
913 |
\end{frame}} |
|
8 | 914 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 915 |
|
916 |
||
917 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
918 |
\mode<presentation>{ |
|
919 |
\begin{frame}[c] |
|
8 | 920 |
\mbox{}\\[-7mm] |
7 | 921 |
|
922 |
{\lstset{language=Scala}\fontsize{8}{10}\selectfont |
|
93
82ac034dcc9d
brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
923 |
\texttt{\lstinputlisting{../progs/app3.scala}}} |
7 | 924 |
|
8 | 925 |
\small |
926 |
\begin{itemize} |
|
927 |
\item the counter/hash pair is intended to prevent tampering |
|
928 |
\end{itemize} |
|
6 | 929 |
\end{frame}} |
930 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
931 |
||
9 | 932 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 933 |
\mode<presentation>{ |
934 |
\begin{frame}[c] |
|
935 |
\frametitle{\begin{tabular}{c}SHA-1\end{tabular}} |
|
936 |
||
937 |
\begin{itemize} |
|
8 | 938 |
\item SHA-1 is a cryptographic hash function\\ |
939 |
(MD5, SHA-256, SHA-512, \ldots) |
|
940 |
\item message $\rightarrow$ digest |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
941 |
\item attacks exist: $2^{80} \rightarrow 2^{61}$ \bigskip\pause |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
942 |
\item but dictionary attacks are much more effective for extracting passwords (later) |
7 | 943 |
\end{itemize} |
944 |
||
945 |
\end{frame}} |
|
9 | 946 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
947 |
||
7 | 948 |
|
949 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
950 |
\mode<presentation>{ |
|
951 |
\begin{frame}[c] |
|
952 |
\mbox{}\\[-9mm] |
|
953 |
||
954 |
{\lstset{language=Scala}\fontsize{8}{10}\selectfont |
|
93
82ac034dcc9d
brought order into the repository
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
955 |
\texttt{\lstinputlisting{../progs/app4.scala}}} |
7 | 956 |
|
8 | 957 |
\begin{textblock}{1}(9,1) |
958 |
\begin{tikzpicture}[scale=1.3] |
|
959 |
\draw[white] (0,0) node (X) {}; |
|
960 |
\draw[white] (3,0) node (Y) {}; |
|
961 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
|
962 |
\node [inner sep=5pt,label=above:\textcolor{black}{\small should be random}] at ($ (X)!.5!(Y) $) {}; |
|
963 |
\end{tikzpicture} |
|
964 |
\end{textblock} |
|
965 |
||
98
3d585e603927
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
966 |
\begin{textblock}{1}(6.6,5.1) |
8 | 967 |
\begin{tikzpicture}[scale=1.3] |
968 |
\draw[white] (0,0) node (X) {}; |
|
969 |
\draw[white] (1,-1) node (Y) {}; |
|
970 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
|
971 |
\node [inner sep=5pt,label=above:{}] at ($ (X)!.5!(Y) $) {}; |
|
972 |
\end{tikzpicture} |
|
973 |
\end{textblock} |
|
974 |
||
7 | 975 |
\end{frame}} |
976 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
977 |
||
6 | 978 |
|
9 | 979 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 980 |
\mode<presentation>{ |
981 |
\begin{frame}[c] |
|
982 |
\frametitle{\begin{tabular}{c}Unix Passwords\end{tabular}} |
|
6 | 983 |
|
8 | 984 |
\begin{itemize} |
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
985 |
\item passwords must \alert{\bf not} be stored in clear text |
9 | 986 |
\item instead \texttt{/etc/shadow} contains |
8 | 987 |
\end{itemize} |
9 | 988 |
|
989 |
{\small |
|
990 |
\texttt{name:\$1\$QIGCa\$/ruJs8AvmrknzKTzM2TYE.:other\_info} |
|
991 |
} |
|
992 |
||
993 |
\begin{itemize} |
|
994 |
\item \texttt{\$} is separator |
|
995 |
\item \texttt{1} is MD5 (actually SHA-512 is used nowadays, \texttt{6}) |
|
996 |
\item \texttt{QIGCa} is salt |
|
997 |
\item \texttt{ruJs8AvmrknzKTzM2TYE} $\rightarrow$ password + salt |
|
998 |
\end{itemize} |
|
999 |
||
1000 |
\textcolor{gray}{\small |
|
1001 |
(\texttt{openssl passwd -1 -salt QIGCa pippo}) |
|
1002 |
} |
|
7 | 1003 |
% Unix password |
1004 |
% http://ubuntuforums.org/showthread.php?p=5318038 |
|
1005 |
||
1006 |
\end{frame}} |
|
9 | 1007 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 1008 |
|
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1009 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1010 |
\mode<presentation>{ |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1011 |
\begin{frame}[c] |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1012 |
\frametitle{\begin{tabular}{@ {}c@ {}}Plain-Text Passwords\end{tabular}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1013 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1014 |
\pause |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1015 |
\small\textcolor{gray}{On 25 September 2012, a report on a data breach at IEEE:} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1016 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1017 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1018 |
\begin{itemize} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1019 |
\item IEEE is a standards organisation (not-for-profit) |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1020 |
\item many standards in CS are by IEEE\medskip |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1021 |
\item 100k plain-text passwords were recorded in logs |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1022 |
\item the logs were openly accessible on their FTP server |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1023 |
\end{itemize}\bigskip |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1024 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1025 |
\begin{flushright}\small |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1026 |
\textcolor{gray}{\url{http://ieeelog.com}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1027 |
\end{flushright} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1028 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1029 |
\only<3->{ |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1030 |
\begin{textblock}{11}(3,2) |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1031 |
\begin{tikzpicture} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1032 |
\draw (0,0) node[inner sep=2mm,fill=white, ultra thick, draw=red, rounded corners=2mm] |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1033 |
{\normalsize\color{darkgray} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1034 |
\begin{minipage}{7.5cm}\raggedright\small |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1035 |
\includegraphics[scale=0.6]{pics/IEEElog.jpg} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1036 |
\end{minipage}}; |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1037 |
\end{tikzpicture} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1038 |
\end{textblock}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1039 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1040 |
\end{frame}} |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1041 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1042 |
|
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1043 |
|
9 | 1044 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 1045 |
\mode<presentation>{ |
1046 |
\begin{frame}[c] |
|
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1047 |
\frametitle{\begin{tabular}{c}Other Password Blunders\end{tabular}} |
6 | 1048 |
|
9 | 1049 |
|
1050 |
\begin{itemize} |
|
1051 |
\item in late 2009, when an SQL injection attack against online games |
|
1052 |
service RockYou.com exposed 32 million \alert{plaintext} passwords |
|
8 | 1053 |
|
9 | 1054 |
\item 1.3 million Gawker credentials exposed in December 2010 containing |
1055 |
unsalted(?) \alert{MD5} hashes |
|
1056 |
||
12 | 1057 |
\item June 6th, 2012, 6 million unsalted SHA-1 passwords were leaked from linkedIn |
3 | 1058 |
% linkedIn password |
1059 |
% http://erratasec.blogspot.co.uk/2012/06/confirmed-linkedin-6mil-password-dump.html |
|
9 | 1060 |
\end{itemize}\medskip |
8 | 1061 |
|
9 | 1062 |
\small |
99
77125c0496e6
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
98
diff
changeset
|
1063 |
(web user maintains 25 separate accounts but uses just 6.5 passwords.) |
8 | 1064 |
|
7 | 1065 |
\end{frame}} |
9 | 1066 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
7 | 1067 |
|
8 | 1068 |
%For instance, SHA512crypt, which is included in Mac OS X and most Unix-based operating systems, passes text through 5,000 iterations, a %hurdle that would have limited Gosney to slightly less than 2,600 guesses per second. The Bcrypt algorithm is even more computationally %expensive, in large part because it subjects text to multiple iterations of the Blowfish cipher that was deliberately modified to increase the %time required to generate a hash. PBKDF2, a function built into Microsoft's .Net software developer framework, offers similar benefits. |
1069 |
||
1070 |
||
3 | 1071 |
% rainbow tables |
1072 |
% http://en.wikipedia.org/wiki/Rainbow_table |
|
1073 |
||
7 | 1074 |
|
3 | 1075 |
|
9 | 1076 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1077 |
\mode<presentation>{ |
1078 |
\begin{frame}[c] |
|
1079 |
\frametitle{\begin{tabular}{c}Brute Forcing Passwords\end{tabular}} |
|
1080 |
||
1081 |
\begin{itemize} |
|
5 | 1082 |
\item How fast can hackers crack SHA-1 passwords? \pause |
3 | 1083 |
|
5 | 1084 |
\item The answer is 2 billion attempts per second\\ |
1085 |
using a Radeon HD 7970 |
|
3 | 1086 |
\end{itemize} |
1087 |
||
1088 |
\begin{center} |
|
5 | 1089 |
\begin{tabular}{@ {\hspace{-12mm}}rl} |
3 | 1090 |
password length & time\smallskip\\\hline |
1091 |
5 letters & 5 secs\\ |
|
1092 |
6 letters & 500 secs\\ |
|
1093 |
7 letters & 13 hours\\ |
|
1094 |
8 letters & 57 days\\ |
|
1095 |
9 letters & 15 years\\ |
|
1096 |
\end{tabular} |
|
1097 |
\end{center} |
|
1098 |
||
1099 |
\small |
|
5 | 1100 |
5 letters $\approx$ 100$^5$ $=$ 10 billion combinations\\ |
1101 |
(1 letter - upper case, lower case, digits, symbols $\approx$ 100) |
|
1102 |
||
1103 |
\only<2->{ |
|
1104 |
\begin{textblock}{1}(12,5) |
|
1105 |
\begin{tabular}{c} |
|
1106 |
\includegraphics[scale=0.3]{pics/radeon.jpg}\\[-6mm] |
|
1107 |
\footnotesize graphics card\\[-1mm] |
|
1108 |
\footnotesize ca.~\pounds{}300 |
|
1109 |
\end{tabular} |
|
1110 |
\end{textblock}} |
|
1111 |
||
1112 |
||
3 | 1113 |
|
1114 |
\end{frame}} |
|
9 | 1115 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1116 |
|
9 | 1117 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4 | 1118 |
\mode<presentation>{ |
1119 |
\begin{frame}[c] |
|
7 | 1120 |
\frametitle{\begin{tabular}{c}Passwords\end{tabular}} |
4 | 1121 |
|
9 | 1122 |
How to recover from a breakin?\pause\medskip |
1123 |
||
4 | 1124 |
\begin{itemize} |
9 | 1125 |
\item Do not send passwords in plain text. |
1126 |
\item Security questions are tricky to get right. |
|
1127 |
\item QQ (Chinese Skype) authenticates you via contacts. |
|
4 | 1128 |
\end{itemize} |
1129 |
||
1130 |
\end{frame}} |
|
9 | 1131 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
4 | 1132 |
|
9 | 1133 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1134 |
\mode<presentation>{ |
1135 |
\begin{frame}[c] |
|
7 | 1136 |
\frametitle{\begin{tabular}{c}This Course\end{tabular}} |
3 | 1137 |
|
1138 |
\begin{itemize} |
|
9 | 1139 |
\item break-ins (buffer overflows) |
1140 |
\item access control\\ (role based, data security / data integrity) |
|
101
b37223b88ebd
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
100
diff
changeset
|
1141 |
\item electronic voting |
b37223b88ebd
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
100
diff
changeset
|
1142 |
\item protocols (specification) |
7 | 1143 |
\item access control logic |
1144 |
\item privacy |
|
1145 |
\begin{quote} |
|
1146 |
Scott McNealy: \\``You have zero privacy anyway. Get over it.'' |
|
1147 |
\end{quote} |
|
101
b37223b88ebd
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
100
diff
changeset
|
1148 |
\item zero-knowledge proofs |
3 | 1149 |
\end{itemize} |
1150 |
||
1151 |
\end{frame}} |
|
9 | 1152 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1153 |
|
9 | 1154 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 | 1155 |
\mode<presentation>{ |
1156 |
\begin{frame}[c] |
|
100
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1157 |
\frametitle{\Large\begin{tabular}{c}User-Tracking Without Cookies\end{tabular}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1158 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1159 |
Can you track a user {\bf without}: |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1160 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1161 |
\begin{itemize} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1162 |
\item Cookies |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1163 |
\item Javascript |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1164 |
\item LocalStorage/SessionStorage/GlobalStorage |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1165 |
\item Flash, Java or other plugins |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1166 |
\item Your IP address or user agent string |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1167 |
\item Any methods employed by Panopticlick\\ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1168 |
\mbox{}\hfill $\rightarrow$ \textcolor{blue}{\url{https://panopticlick.eff.org/}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1169 |
\end{itemize} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1170 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1171 |
Even when you disabled cookies entirely, have Javascript turned off and use a VPN service.\\\pause |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1172 |
And numerous sites already use it. |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1173 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1174 |
\end{frame}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1175 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1176 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1177 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1178 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1179 |
\mode<presentation>{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1180 |
\begin{frame}[c] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1181 |
\frametitle{\begin{tabular}{c}Web-Protocol\end{tabular}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1182 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1183 |
\only<1->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1184 |
\begin{textblock}{1}(2,2) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1185 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1186 |
\draw[white] (0,0) node (X) {\includegraphics[scale=0.12]{pics/firefox.jpg}}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1187 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1188 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1189 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1190 |
\only<1->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1191 |
\begin{textblock}{1}(11,2) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1192 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1193 |
\draw[white] (0,0) node (X) {\includegraphics[scale=0.15]{pics/servers.png}}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1194 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1195 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1196 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1197 |
\only<1->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1198 |
\begin{textblock}{1}(5,2.5) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1199 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1200 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1201 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1202 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1203 |
\node [inner sep=5pt,label=above:\textcolor{black}{\small GET static.jpg}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1204 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1205 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1206 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1207 |
\only<2->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1208 |
\begin{textblock}{1}(5,6) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1209 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1210 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1211 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1212 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1213 |
\node [inner sep=5pt,label=below:\textcolor{black}{\small ETag: 7b33de1}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1214 |
\node [inner sep=5pt,label=above:{\includegraphics[scale=0.15]{pics/tvtestscreen.jpg}}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1215 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1216 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1217 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1218 |
\only<3->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1219 |
\begin{textblock}{1}(4.2,11) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1220 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1221 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1222 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1223 |
\draw[red, ->, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1224 |
\node [inner sep=5pt,label=above:\textcolor{black}{\small GET static.jpg ETag: 7b33de1}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1225 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1226 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1227 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1228 |
\only<4->{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1229 |
\begin{textblock}{1}(4.2,13.9) |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1230 |
\begin{tikzpicture}[scale=1.3] |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1231 |
\draw[white] (0,0) node (X) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1232 |
\draw[white] (3,0) node (Y) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1233 |
\draw[red, <-, line width = 2mm] (X) -- (Y); |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1234 |
\node [inner sep=5pt,label=below:\textcolor{black}{\small HTTP/1.1 304 (Not Modified)}] at ($ (X)!.5!(Y) $) {}; |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1235 |
\end{tikzpicture} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1236 |
\end{textblock}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1237 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1238 |
\end{frame}} |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1239 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1240 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1241 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1242 |
|
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1243 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1244 |
\mode<presentation>{ |
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1245 |
\begin{frame}[c] |
9 | 1246 |
\frametitle{\begin{tabular}{c}Books + Homework\end{tabular}} |
8 | 1247 |
|
9 | 1248 |
\begin{itemize} |
100
62b66cb088f6
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
99
diff
changeset
|
1249 |
\item There is no single book I am following |
9 | 1250 |
\begin{center} |
1251 |
\includegraphics[scale=0.012]{pics/andersonbook1.jpg} |
|
1252 |
\includegraphics[scale=0.23]{pics/accesscontrolbook.jpg} |
|
1253 |
\end{center}\medskip\pause |
|
1254 |
||
1255 |
\item The question ``Is this relevant for the exams'' is not appreciated!\medskip\\ |
|
1256 |
||
1257 |
Whatever is in the homework sheets (and is not marked optional) is relevant for the |
|
10 | 1258 |
exam. No code needs to be written. |
9 | 1259 |
\end{itemize} |
8 | 1260 |
|
1261 |
\end{frame}} |
|
1262 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
1263 |
||
2 | 1264 |
|
102
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1265 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1266 |
\mode<presentation>{ |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1267 |
\begin{frame}[c] |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1268 |
\frametitle{\begin{tabular}{c}Take-Home Points\end{tabular}} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1269 |
|
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1270 |
\begin{itemize} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1271 |
\item Never store passwords in plain text.\medskip |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1272 |
\item Always salt your hashes!\medskip |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1273 |
\item Use an existing crypto algorithm; do not write your own!\medskip |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1274 |
\item Make the party responsible for losses, who is in the position to improve things. |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1275 |
\end{itemize} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1276 |
|
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1277 |
\end{frame}} |
8f2c3329c9b8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
101
diff
changeset
|
1278 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
0 | 1279 |
|
1280 |
||
1281 |
\end{document} |
|
1282 |
||
1283 |
%%% Local Variables: |
|
94
caf08b02fa32
added pictures
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
93
diff
changeset
|
1284 |
%%% mode: xelatex |
0 | 1285 |
%%% TeX-master: t |
1286 |
%%% End: |
|
1287 |