slides/slides01.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 22 Sep 2014 22:16:17 +0100
changeset 162 5031e7778fdb
parent 160 4cbd6ca025e6
child 164 08a6e035223e
permissions -rw-r--r--
new version
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     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
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
     9
\hfuzz=220pt 
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    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
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    14
\lstset{language=Scala,
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    15
        style=mystyle,
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    16
        numbersep=0pt,
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    17
        numbers=none,
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    18
        xleftmargin=0mm}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\begin{document}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
    22
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    23
\begin{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\frametitle{%
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    25
  \begin{tabular}{@ {}c@ {}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    26
  \LARGE Access Control and \\[-3mm] 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    27
  \LARGE Privacy Policies (1)\\[-6mm] 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    28
  \end{tabular}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    29
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    30
  \begin{center}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    31
  \includegraphics[scale=1.3]{pics/barrier.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    32
  \end{center}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    33
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    34
  \normalsize
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    35
  \begin{center}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    36
  \begin{tabular}{ll}  
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    37
  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
    38
  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
    39
  Slides: & KEATS
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    40
  \end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    41
  \end{center}
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    42
\end{frame}
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    43
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    45
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    46
\begin{frame}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    47
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    48
\begin{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    49
\includegraphics[scale=2.1]{pics/barrier.jpg}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    50
\end{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    51
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    52
\end{frame}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    53
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    54
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    55
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    56
\begin{frame}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    57
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    58
\begin{center}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    59
\begin{tikzpicture}[scale=1.3]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    60
  %\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
    61
  \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
    62
  \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
    63
  \node[below] at (X.south) {Alice};
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    64
  \node[below] at (Y.south) {Bob};
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    65
  
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    66
  \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
    67
  \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
    68
                                    secure/private\\
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    69
                                    communication
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    70
                                    \end{tabular}}] 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    71
  at ($ (X)!.5!(Y) $) {};
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    72
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    73
  \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
    74
  \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
    75
  \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
    76
  \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
    77
  \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
    78
  \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
    79
\end{tikzpicture}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    80
\end{center}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    81
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    82
\begin{center}
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    83
\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
    84
\end{center}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    85
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    86
\end{frame}
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    87
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    88
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    89
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    90
\begin{frame}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    91
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    92
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    93
\includegraphics[scale=0.45]{pics/lavabit-email.jpg}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    94
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    95
\small{}\mbox{}\hfill{}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    96
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
    97
\mbox{}\hfill{}\url{www.goo.gl/bgSrVp}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    98
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    99
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   100
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   101
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   102
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   103
\begin{frame}
159
77cf0362b87a updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 157
diff changeset
   104
\frametitle{Also Bad Guys}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   105
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   106
\begin{textblock}{1}(4,2.5)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   107
  \begin{tikzpicture}[scale=1.3]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   108
  \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
   109
  \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
   110
  \draw[red, <->, line width = 2mm] (X) -- (Y);
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   111
  \end{tikzpicture}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   112
\end{textblock}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   113
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   114
\begin{textblock}{1}(1,6)
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   115
\begin{bubble}[11cm]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   116
\footnotesize
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   117
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
   118
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
   119
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
   120
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
   121
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
   122
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
   123
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
   124
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
   125
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
   126
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
   127
\hfill{}\url{www.goo.gl/UWluh0}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   128
\end{bubble}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   129
\end{textblock}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   130
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   131
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   132
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   133
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   134
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   135
\begin{frame}
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   136
\frametitle{This is a Misconception!}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   137
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
   138
\begin{center}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   139
\includegraphics[scale=0.55]{pics/cryptographic-small.png}
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
   140
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
   141
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   142
\centering
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   143
\begin{bubble}[9cm]
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   144
\small
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   145
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
   146
brute-force magically better than the ``public''. 
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   147
\end{bubble}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   148
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   149
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   150
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   151
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   152
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   153
\begin{frame}[c]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   154
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
   155
three people:\bigskip
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   156
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   157
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   158
\begin{center}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   159
\begin{tabular}{ccc}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   160
\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
   161
\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
   162
\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
   163
Bruce Schneier & Ross Anderson & Alex Halderman\\
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   164
\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
   165
\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
   166
\tiny\url{jhalderm.com}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   167
\end{tabular}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   168
\end{center}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   169
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   170
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   171
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
   172
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
   173
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   174
\begin{frame}[c]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   175
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   176
\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
   177
\bigskip\medskip
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   178
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   179
\begin{overlayarea}{\textwidth}{5cm}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   180
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   181
\only<1>{\begin{bubble}[10cm]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   182
``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
   183
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
   184
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
   185
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
   186
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
   187
They just can't help it.''\\
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
   188
\hfill{}---Bruce Schneier
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   189
\end{bubble}}%
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   190
\only<2>{\begin{bubble}[10.5cm]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   191
``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
   192
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
   193
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
   194
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
   195
\ldots, constantly trying new ways to
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   196
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
   197
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
   198
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
   199
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
   200
\end{bubble}}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   201
\end{overlayarea}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   202
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   203
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   204
\includegraphics[scale=0.0087]{pics/schneierbook1.jpg}\;
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   205
\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
   206
\includegraphics[scale=0.23]{pics/schneierbook3.jpg}\;
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   207
\includegraphics[scale=0.85]{pics/schneier.png}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   208
\end{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   209
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   210
\end{frame}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   211
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   212
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   213
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   214
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   215
\frametitle{Breaking Things}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   216
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   217
For example:
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   218
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   219
\begin{center}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   220
\begin{bubble}[10cm]\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   221
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
   222
closed notes):\bigskip
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   223
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   224
\noindent
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   225
\begin{tabular}{@ {}l}
102
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
   226
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
   227
3.\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   228
\end{tabular}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   229
\end{bubble}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   230
\end{center}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   231
102
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
   232
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
   233
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   234
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   235
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   236
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   237
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   238
\begin{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   239
\frametitle{\textcolor{red}{Warning}}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   240
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   241
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   242
\begin{itemize}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   243
\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
   244
      compromise security and privacy. 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   245
\end{itemize}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   246
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   247
\onslide<2->{
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   248
\begin{itemize}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   249
\item Don’t be evil! 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   250
\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
   251
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
   252
\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
   253
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
   254
expulsion, fines and jail time.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   255
\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
   256
\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
   257
refrain from doing harm.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   258
\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
   259
others.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   260
\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
   261
\only<5>{\item If you try
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   262
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
   263
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
   264
accidentally.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   265
\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
   266
\end{itemize}}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   267
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   268
\end{frame}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   269
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   270
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   271
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   272
\begin{frame}[c]
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   273
\frametitle{Secure Systems}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   274
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   275
For a secure system, four requirements need to come 
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   276
together:
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   277
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   278
\begin{itemize}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   279
\item {\bf Policy}\\
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   280
  {\small What is supposed to be achieved?}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   281
\item {\bf Mechanism}\\
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   282
  {\small Cypher, access controls, tamper resistance} 
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   283
\item {\bf Assurance}\\
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   284
  {\small The amount of reliance you can put on the mechanism.}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   285
\item {\bf Incentive}\\
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   286
  {\small The motive that the people guarding and maintaining the 
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   287
  system have to do their job properly, and also the motive 
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   288
  that the attackers have to try to defeat your policy.}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   289
\end{itemize}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   290
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   291
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   292
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   293
\end{frame}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   294
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   295
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   296
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   297
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   298
\frametitle{Chip-and-PIN}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   299
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   300
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   301
\includegraphics[scale=0.3]{pics/creditcard1.jpg}\;
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   302
\includegraphics[scale=0.3]{pics/creditcard2.jpg}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   303
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   304
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   305
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   306
\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
   307
\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
   308
\item \bf Is Chip-and-PIN a more secure system?
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   309
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   310
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   311
\begin{flushright}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   312
\small\textcolor{gray}{(some other countries still use the old method)}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   313
\end{flushright}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   314
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   315
\end{frame}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   316
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   317
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   320
\frametitle{Yes \ldots}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   321
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   322
\begin{bubble}[10cm] 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   323
\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
   324
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
   325
overseas,''\smallskip\\ 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   326
\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
   327
\hfill(in The Guardian, 2006)
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   328
\end{bubble}\bigskip
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   329
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   331
\begin{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   332
\item mag-stripe cards cannot be cloned anymore
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   333
\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
   334
\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
   335
cards was down \pounds{60m} (24\%) on 2004's figure
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   336
\end{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   337
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   338
\end{frame}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   339
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   340
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   341
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   342
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   343
\frametitle{But let's see}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   344
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   345
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   346
\begin{textblock}{1}(3,4)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   347
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   348
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   349
\small Bank
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
\end{tabular}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
\end{textblock}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   352
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   353
\begin{textblock}{1}(7,4.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   354
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   355
\includegraphics[scale=3]{pics/store.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   356
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   357
\end{textblock}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   358
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   359
\begin{textblock}{1}(4.5,9.9)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   360
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   361
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm]
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   362
\small custumer / you
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   363
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   364
\end{textblock}  
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   365
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   366
\only<2->{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   367
\begin{textblock}{1}(4.5,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   368
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   369
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   370
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   371
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   372
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   373
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   374
\end{textblock}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   375
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   376
\only<3->{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   377
\begin{textblock}{1}(6.8,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   378
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   379
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   380
  \draw[white] (1,1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   381
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   382
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   383
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   384
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   385
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   386
\begin{textblock}{1}(4.8,5.9)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   387
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   388
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   389
  \draw[white] (1.4,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   390
  \draw[red, <->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   391
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   392
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   393
\end{textblock}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   394
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   395
\only<4->{  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   396
\begin{textblock}{1}(12,6.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   397
\begin{tabular}{c}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   398
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   399
\small card\\[-2mm]\small terminal\\[-2mm] \small producer
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   400
\end{tabular}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   401
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   402
  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   403
\begin{textblock}{1}(10,7)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   404
  \begin{tikzpicture}[scale=1.6]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   405
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   406
  \draw[white] (-1,0.6) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   407
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   408
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   409
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   410
\end{textblock}}  
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   412
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   417
\frametitle{Chip-and-PIN}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   419
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   420
\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
   421
\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
   422
\footnotesize(\url{http://www.youtube.com/watch?v=wWTzkD9M0sU})
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   423
\end{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   424
 
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   425
\includegraphics[scale=0.2]{pics/tetris.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   426
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   427
\end{frame}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   428
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   431
\begin{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   432
\frametitle{Chip-and-PIN}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
\begin{itemize}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   435
\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
   436
  \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
   437
\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
   438
  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
   439
  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
   440
  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
   441
  to criminals in Lahore, Pakistan
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   444
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   449
\frametitle{Chip-and-PIN is Broken}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   450
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   451
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   452
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\;
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   453
\includegraphics[scale=1.5]{pics/anderson.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   454
\end{flushright}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   455
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   457
\item man-in-the-middle attacks by the group around Ross Anderson\medskip
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   460
\begin{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   461
\mbox{}\hspace{-20mm}\includegraphics[scale=0.5]{pics/chip-attack.png}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   462
\end{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   463
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   464
\begin{textblock}{1}(11.5,13.7)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   465
\begin{tabular}{l}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   466
\footnotesize on BBC Newsnight\\[-2mm] 
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   467
\footnotesize in 2010 or 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   468
\href{http://www.youtube.com/watch?v=JPAX32lgkrw}{youtube}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   469
\end{tabular}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   470
\end{textblock}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   471
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   472
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   475
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   476
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   477
\frametitle{\Large Chip-and-PIN is Really Broken}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   479
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   480
\includegraphics[scale=0.01]{pics/andersonbook1.jpg}\;
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   481
\includegraphics[scale=1.5]{pics/anderson.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   482
\end{flushright}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   484
\begin{itemize}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   485
\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
   486
\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
   487
  which are used as nonces
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
\end{itemize}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   489
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   490
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   492
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   493
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   494
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   495
\frametitle{The Real Problem \ldots}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   496
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   497
\begin{textblock}{1}(3,4)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   498
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   499
\includegraphics[scale=0.3]{pics/bank.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   500
\small Bank
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   501
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   502
\end{textblock}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   503
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   504
\begin{textblock}{1}(7,4.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   505
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   506
\includegraphics[scale=3]{pics/store.png}\\[-2mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   507
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   508
\end{textblock}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   509
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   510
\begin{textblock}{1}(12,6.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   511
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   512
\includegraphics[scale=0.8]{pics/factory.png}\\[-1mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   513
\small terminal\\[-2mm] \small producer
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   514
\end{tabular}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   515
\end{textblock}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   516
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   517
\begin{textblock}{1}(4.5,9.9)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   518
\begin{tabular}{c}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   519
\includegraphics[scale=0.13]{pics/rman.png}\\[-1mm]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   520
\small costumer / you
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   521
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   522
\end{textblock}  
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   523
  
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   524
\begin{textblock}{1}(4.5,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   525
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   526
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   527
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   528
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   529
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   530
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   531
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   532
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   533
\begin{textblock}{1}(6.8,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   534
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   535
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   536
  \draw[white] (1,1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   537
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   538
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   539
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   540
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   541
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   542
\begin{textblock}{1}(4.8,5.9)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   543
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   544
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   545
  \draw[white] (1.4,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   546
  \draw[gray, <->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   547
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   548
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   549
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   550
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   551
\begin{textblock}{1}(10,7)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   552
  \begin{tikzpicture}[scale=1.6]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   553
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   554
  \draw[white] (-1,0.6) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   555
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   556
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   557
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   558
\end{textblock}  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   559
  
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   560
\begin{textblock}{14}(1,13.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   561
\begin{itemize}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   562
\item the burden of proof for fraud and financial liability was shifted to the costumer (until approx.~2009/10)
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   563
\end {itemize} 
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   564
\end{textblock}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   565
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   566
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   567
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   568
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   569
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   570
\begin{frame}[c]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   571
\frametitle{The Bad Guy Again}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   572
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   573
\begin{bubble}[10cm]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   574
\footnotesize
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   575
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
   576
`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
   577
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
   578
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
   579
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
   580
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
   581
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
   582
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
   583
\hfill{}\url{goo.gl/UWluh0}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   584
\end{bubble}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   585
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   586
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   587
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   588
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   589
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   590
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   591
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   592
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   593
\frametitle{Being Screwed Again}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   594
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   595
\begin{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   596
\includegraphics[scale=0.3]{pics/rbssecure.jpg}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   597
\end{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   598
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   599
\begin{itemize}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   600
\item {\bf Responsibility}\\
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   601
``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
   602
of RBS Secure.''\medskip\\
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   603
\footnotesize\url{https://www.rbssecure.co.uk/rbs/tdsecure/terms_of_use.jsp}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   604
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   605
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   606
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   607
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   608
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   609
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   610
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   611
\frametitle{Web Applications}
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   612
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   613
\begin{textblock}{1}(2,5)
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   614
\begin{tabular}{c}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   615
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm]
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   616
\small Servers from\\[-2mm] 
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   617
\small Dot.com Inc.
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   618
\end{tabular}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   619
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   620
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   621
\begin{textblock}{1}(5.6,6)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   622
  \begin{tikzpicture}[scale=2.5]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   623
  \draw[white] (0,0) node (X) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   624
  \draw[white] (1,0) node (Y) {};
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   625
  \only<2>{\draw[red, <-, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   626
  \node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   627
  \only<3>{\draw[red, ->, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   628
  \node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   629
  \only<4>{\draw[red, <-, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   630
  \node [inner sep=7pt,label=above:\textcolor{black}{POST data}] at ($ (X)!.5!(Y) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   631
  \end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   632
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   633
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   634
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   635
\begin{textblock}{1}(9,5.5)
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   636
\begin{tabular}{c}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   637
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   638
\small Client(s)
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   639
\end{tabular}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   640
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   641
  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   642
\begin{textblock}{13}(1,13)  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   643
\begin{itemize}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   644
\item What are pitfalls and best practices?
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   645
\end{itemize}  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   646
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   647
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   648
\end{frame}
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   649
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   650
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   651
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   652
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   653
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   654
\frametitle{Why Scala?}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   655
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   656
\begin{textblock}{6}(1,3)
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   657
\begin{tabular}{l}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   658
\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
   659
\includegraphics[scale=0.30]{pics/linked.png}\\
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   660
\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
   661
\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
   662
\includegraphics[scale=0.30]{pics/suisse.png}\\
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   663
\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
   664
\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
   665
\includegraphics[scale=0.30]{pics/foursquare.png}\\
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   666
\includegraphics[scale=0.30]{pics/hsbc.png}\\
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   667
{\large\bf ...}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   668
\end{tabular}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   669
\end{textblock}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   670
 
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   671
\only<2->{  
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   672
\begin{textblock}{6}(6,3)
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   673
\includegraphics[scale=0.35]{pics/jobgraph.png}\\
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   674
\end{textblock}}  
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   675
  
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   676
\only<3->{  
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   677
\begin{textblock}{6}(7.3,9.2)
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   678
\begin{tabular}{l}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   679
\footnotesize 2013: 1$\%$\\[-2mm]
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   680
\footnotesize 2014: 3$\%$\\[-2mm]
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   681
\footnotesize 2015: 9$\%$\\[-2mm]
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   682
\footnotesize 2016: 27$\%$\\[-2mm]
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   683
\footnotesize 2017: 81$\%$\\[-2mm]
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   684
\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
   685
\end{tabular}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   686
\end{textblock}} 
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   687
  
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   688
\only<3->{  
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   689
\begin{textblock}{6}(6,9.5)
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   690
\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
   691
\end{textblock}}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   692
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   693
\only<4->{  
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   694
\begin{textblock}{11}(5,14.1)
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   695
\textcolor{gray}{
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   696
\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
   697
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
   698
\end{textblock}}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   699
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   700
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   701
\only<5->{
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   702
\begin{textblock}{1}(3,6)
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   703
\begin{bubble}[8.5cm]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   704
\normalsize
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   705
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
   706
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
   707
exceptions; a course on Coursera\\
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   708
\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
   709
\end{bubble}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   710
\end{textblock}}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   711
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   712
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   713
\end{frame}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   714
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   715
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   716
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   717
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   718
\frametitle{Scala + Play}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   719
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   720
A simple response from the server:
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   721
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   722
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   723
\lstinputlisting{../progs/app0.scala}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   724
\medskip
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   725
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   726
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   727
alternative response:\smallskip\\
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   728
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   729
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   730
\lstinline{Ok("<H1>Hello world!</H1>").as(HTML)}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   731
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   732
\end{frame}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   733
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   734
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   735
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   736
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   737
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   738
\mode<presentation>{
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   739
\begin{frame}[c]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   740
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   741
{\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
   742
\texttt{\lstinputlisting{../progs/app1.scala}}}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   743
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   744
  
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   745
\end{frame}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   746
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   747
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   748
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   749
\mode<presentation>{
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   750
\begin{frame}[c]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   751
\frametitle{\begin{tabular}{c}Cookies\end{tabular}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   752
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   753
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   754
\begin{textblock}{1}(1.5,5)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   755
\begin{tabular}{c}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   756
\includegraphics[scale=0.15]{pics/servers.png}\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   757
\small Servers from\\[-2mm] 
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   758
\small Dot.com Inc.
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   759
\end{tabular}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   760
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   761
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   762
\begin{textblock}{1}(5.6,5.6)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   763
  \begin{tikzpicture}[scale=2.5]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   764
  \draw[white] (0,0) node (X) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   765
  \draw[white] (1,0) node (Y) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   766
  \draw[white] (0.05,-0.3) node (X1) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   767
  \draw[white] (0.95,-0.3) node (Y1) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   768
  \only<1-2>{\draw[red, <-, line width = 2mm] (X) -- (Y);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   769
  \node [inner sep=5pt,label=above:\textcolor{black}{GET request}] at ($ (X)!.5!(Y) $) {};}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   770
  \only<1>{\draw[white, <-, line width = 1mm] (X1) -- (Y1);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   771
  \node [inner sep=2pt,label=below:\textcolor{white}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   772
  \only<2>{\draw[red, <-, line width = 1mm] (X1) -- (Y1);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   773
  \node [inner sep=2pt,label=below:\textcolor{black}{read a cookie}] at ($ (X1)!.5!(Y1) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   774
  \only<3->{\draw[red, ->, line width = 2mm] (X) -- (Y);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   775
  \node [inner sep=5pt,label=above:\textcolor{black}{webpage}] at ($ (X)!.5!(Y) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   776
  \only<3->{\draw[red, ->, line width = 1mm] (X1) -- (Y1);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   777
  \node [inner sep=2pt,label=below:\textcolor{black}{write a cookie}] at ($ (X1)!.5!(Y1) $) {};}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   778
  \end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   779
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   780
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   781
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   782
\begin{textblock}{1}(9.5,5.5)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   783
\begin{tabular}{c}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   784
\includegraphics[scale=0.15]{pics/laptop.png}\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   785
\small Client
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   786
\end{tabular}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   787
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   788
  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   789
\only<4->{  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   790
\begin{textblock}{13}(1,11)  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   791
\small\begin{itemize}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   792
\item cookies: max 4KB data\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   793
\item cookie theft, cross-site scripting attacks\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   794
\item session cookies, persistent cookies, HttpOnly cookies, third-party cookies, zombie cookies 
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   795
\end{itemize}  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   796
\end{textblock}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   797
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   798
\only<5>{
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   799
\begin{textblock}{11}(1,3)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   800
\begin{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   801
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   802
{\normalsize\color{darkgray}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   803
\begin{minipage}{10cm}\raggedright\small
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   804
{\bf EU Privacy Directive about Cookies:}\smallskip\\
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   805
``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
   806
\hfill\small\textcolor{gray}{$\rightarrow$BBC News}, \textcolor{blue}{\url{goo.gl/RI4qhh}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   807
\end{minipage}};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   808
\end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   809
\end{textblock}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   810
  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   811
\end{frame}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   812
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   813
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   814
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   815
\mode<presentation>{
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   816
\begin{frame}[t]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   817
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   818
\item While cookies are per web-page, this can be easily circumvented.
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   819
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   820
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   821
\begin{textblock}{1}(1.5,4.5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   822
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   823
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   824
\small Pet Store\\[-2mm] 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   825
\small Dot.com\\[-2mm] 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   826
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   827
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   828
  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   829
\begin{textblock}{1}(1.5,8)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   830
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   831
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   832
\small Dating.com
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   833
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   834
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   835
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   836
\begin{textblock}{1}(10.5,7.5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   837
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   838
\includegraphics[scale=0.07]{pics/servers.png}\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   839
\small Evil-Ad-No\\[-2mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   840
\small Privacy.com
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   841
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   842
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   843
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   844
\begin{textblock}{1}(6,10.5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   845
\begin{tabular}{c}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   846
\includegraphics[scale=0.16]{pics/rman.png}\\[-1mm]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   847
\small you
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   848
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   849
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   850
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   851
\begin{textblock}{1}(4,5)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   852
  \begin{tikzpicture}[scale=1]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   853
  \draw[white] (0,0.5) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   854
  \draw[white] (5.7,-1) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   855
  \draw[red, ->, line width = 0.5mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   856
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   857
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   858
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   859
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   860
\begin{textblock}{1}(4,7.9)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   861
  \begin{tikzpicture}[scale=1]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   862
  \draw[white] (0,0) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   863
  \draw[white] (5.7,0) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   864
  \draw[red, ->, line width = 0.5mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   865
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   866
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   867
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   868
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   869
\begin{textblock}{1}(3.3,9.3)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   870
  \begin{tikzpicture}[scale=1.2]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   871
  \draw[white] (0,0) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   872
  \draw[white] (1.5,-1) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   873
  \draw[red, <->, line width = 2mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   874
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   875
  \draw[white] (0.9,0.3) node (X1) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   876
  \draw[white] (1.9,-1) node (Y1) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   877
  \draw[red, <->, line width = 2mm] (X1) -- (Y1);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   878
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X1)!.5!(Y1) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   879
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   880
\end{textblock}  
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   881
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   882
\begin{textblock}{1}(8.6,10.1)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   883
  \begin{tikzpicture}[scale=0.9]
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   884
  \draw[white] (0,0) node (X) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   885
  \draw[white] (-2,-1) node (Y) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   886
  \draw[red, <->, line width = 0.5mm] (X) -- (Y);
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   887
  \node [inner sep=5pt,label=above:\textcolor{black}{}] at ($ (X)!.5!(Y) $) {};
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   888
  \end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   889
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   890
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   891
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   892
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   893
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   894
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   895
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   896
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   897
\mode<presentation>{
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   898
\begin{frame}[c]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   899
\frametitle{\begin{tabular}{c}My First Webapp\end{tabular}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   900
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   901
{\bf GET request:}\smallskip
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   902
\begin{enumerate}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   903
\item read the cookie from client
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   904
\item if none is present, set \texttt{visits} to \textcolor{blue}{$0$}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   905
\item if cookie is present, extract \texttt{visits} counter
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   906
\item if \texttt{visits} is greater or equal \textcolor{blue}{$10$}, \\
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   907
print a valued customer message\\
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   908
otherwise just a normal message
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   909
\item increase \texttt{visits} by \textcolor{blue}{$1$} and store new cookie with client
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   910
\end{enumerate}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   911
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   912
  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   913
\end{frame}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   914
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   915
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   916
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   917
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   918
\mode<presentation>{
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   919
\begin{frame}[c]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   920
\mbox{}\\[-9mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   921
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   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/app2.scala}}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   924
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   925
\footnotesize
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   926
\begin{itemize}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   927
\item cookie value encoded as hash
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   928
\end{itemize}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   929
\end{frame}}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   930
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   931
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   932
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   933
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   934
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   935
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   936
\begin{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   937
\includegraphics[scale=1.8]{pics/barrier.jpg}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   938
\end{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   939
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   940
\begin{itemize}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   941
\item data integrity needs to be ensured
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   942
\end{itemize}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   943
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   944
\end{frame}}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   945
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   946
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   947
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   948
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   949
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   950
\begin{frame}[c]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   951
\mbox{}\\[-7mm]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   952
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   953
{\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
   954
\texttt{\lstinputlisting{../progs/app3.scala}}}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   955
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   956
\small
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   957
\begin{itemize}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   958
\item the counter/hash pair is intended to prevent tampering
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   959
\end{itemize}  
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   960
\end{frame}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   961
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   962
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   963
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   964
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   965
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   966
\frametitle{\begin{tabular}{c}SHA-1\end{tabular}}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   967
  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   968
\begin{itemize}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   969
\item SHA-1 is a cryptographic hash function\\
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   970
(MD5, SHA-256, SHA-512, \ldots) 
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   971
\item message $\rightarrow$ digest
102
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
   972
\item attacks exist: $2^{80} \rightarrow 2^{61}$ \bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
   973
\item but dictionary attacks are much more effective for extracting passwords (later)
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   974
\end{itemize}  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   975
  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   976
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   977
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   978
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   979
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   980
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   981
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   982
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   983
\mbox{}\\[-9mm]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   984
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   985
{\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
   986
\texttt{\lstinputlisting{../progs/app4.scala}}}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   987
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   988
\begin{textblock}{1}(9,1)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   989
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   990
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   991
  \draw[white] (3,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   992
  \draw[red, <-, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   993
  \node [inner sep=5pt,label=above:\textcolor{black}{\small should be random}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   994
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   995
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   996
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   997
\begin{textblock}{1}(6.6,5.1)
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   998
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   999
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1000
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1001
  \draw[red, <-, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1002
  \node [inner sep=5pt,label=above:{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1003
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1004
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1005
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1006
\end{frame}}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1007
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1008
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
  1009
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1010
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1011
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1012
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1013
\frametitle{\begin{tabular}{c}Unix Passwords\end{tabular}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
  1014
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1015
\begin{itemize}
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1016
\item passwords must \alert{\bf not} be stored in clear text
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1017
\item instead \texttt{/etc/shadow} contains
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1018
\end{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1019
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1020
{\small
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1021
\texttt{name:\$1\$QIGCa\$/ruJs8AvmrknzKTzM2TYE.:other\_info}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1022
}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1023
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1024
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1025
\item \texttt{\$} is separator
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1026
\item \texttt{1} is MD5 (actually SHA-512 is used nowadays, \texttt{6})
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1027
\item \texttt{QIGCa} is salt
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1028
\item \texttt{ruJs8AvmrknzKTzM2TYE} $\rightarrow$ password + salt
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1029
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1030
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1031
\textcolor{gray}{\small
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1032
(\texttt{openssl passwd -1 -salt QIGCa pippo})
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1033
}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1034
% Unix password
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1035
% http://ubuntuforums.org/showthread.php?p=5318038
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1036
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1037
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1038
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1039
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1040
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1041
\mode<presentation>{
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1042
\begin{frame}[c]
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1043
\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
  1044
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1045
\pause
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1046
\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
  1047
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1048
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1049
\begin{itemize}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1050
\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
  1051
\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
  1052
\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
  1053
\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
  1054
\end{itemize}\bigskip
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1055
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1056
\begin{flushright}\small
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1057
\textcolor{gray}{\url{http://ieeelog.com}}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1058
\end{flushright}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1059
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1060
\only<3->{
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1061
\begin{textblock}{11}(3,2)
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1062
\begin{tikzpicture}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1063
\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
  1064
{\normalsize\color{darkgray}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1065
\begin{minipage}{7.5cm}\raggedright\small
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1066
\includegraphics[scale=0.6]{pics/IEEElog.jpg}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1067
\end{minipage}};
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1068
\end{tikzpicture}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1069
\end{textblock}}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1070
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1071
\end{frame}}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1072
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1073
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1074
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1075
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1076
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1077
\begin{frame}[c]
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1078
\frametitle{\begin{tabular}{c}Other Password Blunders\end{tabular}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
  1079
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1080
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1081
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1082
\item in late 2009, when an SQL injection attack against online games 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1083
service RockYou.com exposed 32 million \alert{plaintext} passwords
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1084
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1085
\item  1.3 million Gawker credentials exposed in December 2010 containing 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1086
unsalted(?) \alert{MD5} hashes
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1087
12
Christian Urban <urbanc@in.tum.de>
parents: 10
diff changeset
  1088
\item June 6th, 2012, 6 million unsalted SHA-1 passwords were leaked from linkedIn
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1089
% linkedIn password
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1090
% http://erratasec.blogspot.co.uk/2012/06/confirmed-linkedin-6mil-password-dump.html
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1091
\end{itemize}\medskip
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1092
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1093
\small
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
  1094
(web user maintains 25 separate accounts but uses just 6.5 passwords.)
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1095
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1096
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1097
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1098
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1099
%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.
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1100
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1101
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1102
% rainbow tables
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1103
% http://en.wikipedia.org/wiki/Rainbow_table
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1104
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1105
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1106
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1107
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1108
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1109
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1110
\frametitle{\begin{tabular}{c}Brute Forcing Passwords\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1111
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1112
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1113
\item How fast can hackers crack SHA-1 passwords? \pause
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1114
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1115
\item The answer is 2 billion attempts per second\\ 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1116
using a Radeon HD 7970
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1117
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1118
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1119
\begin{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1120
\begin{tabular}{@ {\hspace{-12mm}}rl}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1121
password length & time\smallskip\\\hline
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1122
5 letters & 5 secs\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1123
6 letters & 500 secs\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1124
7 letters & 13 hours\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1125
8 letters & 57 days\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1126
9 letters & 15 years\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1127
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1128
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1129
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1130
\small
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1131
5 letters $\approx$ 100$^5$ $=$ 10 billion combinations\\ 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1132
(1 letter - upper case, lower case, digits, symbols $\approx$ 100)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1133
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1134
\only<2->{
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1135
\begin{textblock}{1}(12,5)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1136
\begin{tabular}{c}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1137
\includegraphics[scale=0.3]{pics/radeon.jpg}\\[-6mm]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1138
\footnotesize graphics card\\[-1mm]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1139
\footnotesize ca.~\pounds{}300
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1140
\end{tabular}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1141
\end{textblock}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1142
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
  1143
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1144
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1145
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1146
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1147
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1148
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1149
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1150
\begin{frame}[c]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1151
\frametitle{\begin{tabular}{c}Passwords\end{tabular}}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1152
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1153
How to recover from a breakin?\pause\medskip
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1154
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1155
\begin{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1156
\item Do not send passwords in plain text.
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1157
\item Security questions are tricky to get right.
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1158
\item QQ (Chinese Skype) authenticates you via contacts.
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1159
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1160
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1161
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1162
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
  1163
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1164
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1165
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1166
\begin{frame}[c]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1167
\frametitle{\begin{tabular}{c}This Course\end{tabular}}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1168
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1169
\begin{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1170
\item break-ins (buffer overflows)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1171
\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
  1172
\item electronic voting
b37223b88ebd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 100
diff changeset
  1173
\item protocols (specification)
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1174
\item access control logic
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1175
\item privacy
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1176
\begin{quote}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1177
Scott McNealy: \\``You have zero privacy anyway. Get over it.''
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
  1178
\end{quote}
101
b37223b88ebd updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 100
diff changeset
  1179
\item zero-knowledge proofs
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1180
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1181
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1182
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1183
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1184
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1185
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1186
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1187
\begin{frame}[c]
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1188
\frametitle{\Large\begin{tabular}{c}User-Tracking Without Cookies\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1189
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1190
Can you track a user {\bf without}:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1191
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1192
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1193
\item Cookies
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1194
\item Javascript
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1195
\item LocalStorage/SessionStorage/GlobalStorage
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1196
\item Flash, Java or other plugins
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1197
\item Your IP address or user agent string
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1198
\item Any methods employed by Panopticlick\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1199
\mbox{}\hfill $\rightarrow$ \textcolor{blue}{\url{https://panopticlick.eff.org/}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1200
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1201
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1202
Even when you disabled cookies entirely, have Javascript turned off and use a VPN service.\\\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1203
And numerous sites already use it.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1204
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1205
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1206
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1207
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1208
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1209
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1210
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1211
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1212
\frametitle{\begin{tabular}{c}Web-Protocol\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1213
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1214
\only<1->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1215
\begin{textblock}{1}(2,2)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1216
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1217
  \draw[white] (0,0) node (X) {\includegraphics[scale=0.12]{pics/firefox.jpg}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1218
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1219
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1220
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1221
\only<1->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1222
\begin{textblock}{1}(11,2)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1223
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1224
  \draw[white] (0,0) node (X) {\includegraphics[scale=0.15]{pics/servers.png}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1225
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1226
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1227
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1228
\only<1->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1229
\begin{textblock}{1}(5,2.5)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1230
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1231
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1232
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1233
  \draw[red, ->, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1234
  \node [inner sep=5pt,label=above:\textcolor{black}{\small GET static.jpg}] at ($ (X)!.5!(Y) $) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1235
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1236
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1237
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1238
\only<2->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1239
\begin{textblock}{1}(5,6)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1240
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1241
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1242
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1243
  \draw[red, <-, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1244
  \node [inner sep=5pt,label=below:\textcolor{black}{\small ETag: 7b33de1}] at ($ (X)!.5!(Y) $) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1245
   \node [inner sep=5pt,label=above:{\includegraphics[scale=0.15]{pics/tvtestscreen.jpg}}] at ($ (X)!.5!(Y) $) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1246
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1247
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1248
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1249
\only<3->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1250
\begin{textblock}{1}(4.2,11)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1251
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1252
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1253
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1254
  \draw[red, ->, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1255
  \node [inner sep=5pt,label=above:\textcolor{black}{\small GET static.jpg ETag: 7b33de1}] at ($ (X)!.5!(Y) $) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1256
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1257
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1258
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1259
\only<4->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1260
\begin{textblock}{1}(4.2,13.9)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1261
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1262
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1263
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1264
  \draw[red, <-, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1265
  \node [inner sep=5pt,label=below:\textcolor{black}{\small HTTP/1.1 304 (Not Modified)}] at ($ (X)!.5!(Y) $) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1266
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1267
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1268
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1269
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1270
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1271
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1272
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1273
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1274
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1275
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1276
\begin{frame}[c]
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1277
\frametitle{\begin{tabular}{c}Books + Homework\end{tabular}}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1278
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1279
\begin{itemize}
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1280
\item There is no single book I am following
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1281
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1282
\includegraphics[scale=0.012]{pics/andersonbook1.jpg}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1283
\includegraphics[scale=0.23]{pics/accesscontrolbook.jpg}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1284
\end{center}\medskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1285
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1286
\item The question ``Is this relevant for the exams'' is not appreciated!\medskip\\
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1287
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1288
Whatever is in the homework sheets (and is not marked optional) is relevant for the
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents: 9
diff changeset
  1289
exam. No code needs to be written.
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1290
\end{itemize}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1291
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1292
\end{frame}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1293
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1294
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
  1295
102
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1296
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1297
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1298
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1299
\frametitle{\begin{tabular}{c}Take-Home Points\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1300
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1301
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1302
\item Never store passwords in plain text.\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1303
\item Always salt your hashes!\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1304
\item Use an existing crypto algorithm; do not write your own!\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1305
\item Make the party responsible for losses, who is in the position to improve things.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1306
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1307
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1308
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
  1309
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1310
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1311
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1312
\end{document}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1313
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1314
%%% Local Variables:  
94
caf08b02fa32 added pictures
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
  1315
%%% mode: xelatex
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1316
%%% TeX-master: t
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1317
%%% End: 
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1318