slides/slides01.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Fri, 06 May 2016 13:15:08 +0100
changeset 455 2d9e005100f4
parent 443 67d7d239c617
child 463 39d66100d7a3
permissions -rw-r--r--
updated
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 
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    12
\renewcommand{\slidecaption}{SEN 01, King's College London}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
170
1c8ad2848d3b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 169
diff changeset
    14
\lstset{language=JavaScript,
162
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@ {}}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    26
  \LARGE Security Engineering (1)\\[-3mm] 
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    27
  \end{tabular}}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    28
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    29
  \begin{center}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    30
  \includegraphics[scale=0.3]{../pics/barrier.jpg}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    31
  \end{center}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    32
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    33
  \normalsize
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    34
  \begin{center}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    35
  \begin{tabular}{ll}  
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    36
  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
    37
  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
    38
  Slides: & KEATS
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    39
  \end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    40
  \end{center}
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    41
\end{frame}
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    42
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    44
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    45
\begin{frame}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    46
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
    47
\begin{center}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    48
\includegraphics[scale=0.5]{../pics/barrier.jpg}
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    49
\end{center}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    50
157
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    51
\end{frame}
3a8fff66d62b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 105
diff changeset
    52
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    53
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    54
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    55
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    56
\begin{frame}
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    57
\frametitle{This is a Misconception!}
96
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    58
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 95
diff changeset
    59
\begin{center}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
    60
\includegraphics[scale=0.55]{../pics/cryptographic-small.png}
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    61
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    62
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    63
\centering
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
    64
\begin{bubble}[10cm]
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
    65
\small
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    66
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
    67
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
    68
\end{bubble}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    69
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    70
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    71
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    74
\begin{frame}[c]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    75
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
    76
three people:\bigskip
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    77
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    78
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    79
\begin{center}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    80
\begin{tabular}{ccc}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
    81
\includegraphics[scale=1.4]{../pics/schneier.png} &
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
    82
\includegraphics[scale=0.103]{../pics/ross.jpg} &
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
    83
\includegraphics[scale=0.2]{../pics/halderman.jpg} \\
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    84
Bruce Schneier & Ross Anderson & Alex Halderman\\
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    85
\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
    86
\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
    87
\tiny\url{jhalderm.com}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    88
\end{tabular}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    89
\end{center}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    90
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    91
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    92
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    93
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
    94
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    95
\begin{frame}[c]
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    96
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
    97
\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
    98
\bigskip\medskip
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
    99
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   100
\begin{overlayarea}{\textwidth}{5cm}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   101
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   102
\only<1>{\begin{bubble}[10cm]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   103
``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
   104
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
   105
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
   106
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
   107
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
   108
They just can't help it.''\\
95
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 94
diff changeset
   109
\hfill{}---Bruce Schneier
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   110
\end{bubble}}%
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   111
\only<2>{\begin{bubble}[10.5cm]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   112
``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
   113
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
   114
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
   115
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
   116
\ldots, constantly trying new ways to
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   117
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
   118
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
   119
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
   120
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
   121
\end{bubble}}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   122
\end{overlayarea}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   123
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   124
\begin{flushright}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   125
\includegraphics[scale=0.0087]{../pics/schneierbook1.jpg}\;
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   126
\includegraphics[scale=0.0087]{../pics/schneierbook2.jpg}\;
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   127
\includegraphics[scale=0.23]{../pics/schneierbook3.jpg}\;
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   128
\includegraphics[scale=0.85]{../pics/schneier.png}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   129
\end{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
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}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   132
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   133
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   134
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   135
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   136
\frametitle{Breaking Things}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   137
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   138
For example:
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   139
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   140
\begin{center}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   141
\begin{bubble}[10cm]\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   142
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
   143
closed notes):\bigskip
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   144
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   145
\noindent
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   146
\begin{tabular}{@ {}l}
102
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
   147
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
   148
3.\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_\,\_
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   149
\end{tabular}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   150
\end{bubble}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   151
\end{center}
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   152
102
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
   153
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
   154
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   155
\end{frame}
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
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   158
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   159
\begin{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   160
\frametitle{\textcolor{red}{Warning}}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   161
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   162
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   163
\begin{itemize}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   164
\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
   165
      compromise security and privacy. 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   166
\end{itemize}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   167
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   168
\onslide<2->{
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   169
\begin{itemize}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   170
\item Don’t be evil! 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   171
\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
   172
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
   173
\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
   174
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
   175
expulsion, fines and jail time.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   176
\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
   177
\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
   178
refrain from doing harm.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   179
\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
   180
others.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   181
\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
   182
\only<5>{\item If you try
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   183
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
   184
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
   185
accidentally.} 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   186
\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
   187
\end{itemize}}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   188
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   189
\end{frame}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   190
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   191
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   192
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   193
\begin{frame}[c]
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   194
\frametitle{Secure Systems}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   195
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   196
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
   197
together:
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   198
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   199
\begin{itemize}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   200
\item {\bf Policy}\\
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   201
  {\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
   202
\item {\bf Mechanism}\\
167
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
   203
  {\small Cipher, access controls, tamper resistance, \ldots} 
162
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   204
\item {\bf Assurance}\\
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   205
  {\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
   206
\item {\bf Incentive}\\
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   207
  {\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
   208
  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
   209
  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
   210
\end{itemize}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   211
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   212
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   213
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   214
\end{frame}
5031e7778fdb new version
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
   215
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   218
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   219
\frametitle{Chip-and-PIN}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   220
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   221
\begin{center}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   222
\includegraphics[scale=0.3]{../pics/creditcard1.jpg}\;
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   223
\includegraphics[scale=0.3]{../pics/creditcard2.jpg}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   224
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   225
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   226
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   227
\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
   228
\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
   229
\item \bf Is Chip-and-PIN a more secure system?
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   230
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   231
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   232
\begin{flushright}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   233
\small\textcolor{gray}{(some other countries still use the old method)}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   234
\end{flushright}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   235
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   236
\end{frame}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   237
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   238
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   241
\frametitle{Yes \ldots}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   242
167
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
   243
\ldots if you believe the banks:\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
   244
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   245
\begin{bubble}[10cm] 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   246
\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
   247
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
   248
overseas,''\smallskip\\ 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   249
\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
   250
\hfill(in The Guardian, 2006)
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   251
\end{bubble}\bigskip
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   252
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   254
\begin{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   255
\item mag-stripe cards cannot be cloned anymore
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   256
\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
   257
\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
   258
cards was down \pounds{60m} (24\%) on 2004's figure
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   259
\end{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   260
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   261
\end{frame}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   262
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   263
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   264
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   265
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   266
\frametitle{But let's see}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   267
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   268
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   269
\begin{textblock}{1}(3,4)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   270
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   271
\includegraphics[scale=0.3]{../pics/bank.png}\\[-2mm]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   272
\small Bank
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
\end{tabular}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
\end{textblock}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   275
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   276
\begin{textblock}{1}(7,4.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   277
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   278
\includegraphics[scale=3]{../pics/store.png}\\[-2mm]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   279
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   280
\end{textblock}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   281
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   282
\begin{textblock}{1}(4.5,9.9)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   283
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   284
\includegraphics[scale=0.16]{../pics/rman.png}\\[-1mm]
167
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
   285
\small customer / you
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   286
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   287
\end{textblock}  
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   288
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   289
\only<2->{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   290
\begin{textblock}{1}(4.5,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   291
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   292
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   293
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   294
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   295
  \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
   296
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   297
\end{textblock}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   298
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   299
\only<3->{
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   300
\begin{textblock}{1}(6.8,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   301
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   302
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   303
  \draw[white] (1,1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   304
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   305
  \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
   306
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   307
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   308
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   309
\begin{textblock}{1}(4.8,5.9)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   310
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   311
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   312
  \draw[white] (1.4,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   313
  \draw[red, <->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   314
  \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
   315
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   316
\end{textblock}}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   317
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   318
\only<4->{  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   319
\begin{textblock}{1}(12,6.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   320
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   321
\includegraphics[scale=0.8]{../pics/factory.png}\\[-1mm]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   322
\small card\\[-2mm]\small terminal\\[-2mm] \small producer
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   323
\end{tabular}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   324
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   325
  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   326
\begin{textblock}{1}(10,7)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   327
  \begin{tikzpicture}[scale=1.6]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   328
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   329
  \draw[white] (-1,0.6) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   330
  \draw[red, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   331
  \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
   332
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   333
\end{textblock}}  
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   335
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   340
\frametitle{Chip-and-PIN}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   342
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   343
\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
   344
\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
   345
\footnotesize(\url{http://www.youtube.com/watch?v=wWTzkD9M0sU})
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   346
\end{itemize}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   347
 
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   348
\includegraphics[scale=0.2]{../pics/tetris.jpg}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   349
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   350
\end{frame}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   351
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   354
\begin{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   355
\frametitle{Chip-and-PIN}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
\begin{itemize}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   358
\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
   359
  \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
   360
\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
   361
  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
   362
  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
   363
  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
   364
  to criminals in Lahore, Pakistan
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   367
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   372
\frametitle{Chip-and-PIN is Broken}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   374
\begin{flushright}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   375
\includegraphics[scale=0.01]{../pics/andersonbook1.jpg}\;
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   376
\includegraphics[scale=1.5]{../pics/anderson.jpg}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   377
\end{flushright}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   380
\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
   381
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   383
\begin{center}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   384
\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
   385
\end{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   386
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   387
\begin{textblock}{1}(11.5,13.7)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   388
\begin{tabular}{l}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   389
\footnotesize on BBC Newsnight\\[-2mm] 
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   390
\footnotesize in 2010 or 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   391
\href{http://www.youtube.com/watch?v=JPAX32lgkrw}{youtube}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   392
\end{tabular}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   393
\end{textblock}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   395
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   400
\frametitle{\Large Chip-and-PIN is Really Broken}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   402
\begin{flushright}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   403
\includegraphics[scale=0.01]{../pics/andersonbook1.jpg}\;
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   404
\includegraphics[scale=1.5]{../pics/anderson.jpg}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   405
\end{flushright}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
\begin{itemize}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   408
\item same group successfully attacked in 2012 card readers and ATM machines
167
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
   409
\item the problem was: several types of ATMs generate poor random numbers, 
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   410
  which are used as nonces
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
\end{itemize}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   412
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   413
\end{frame}
0
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   418
\frametitle{The Real Problem \ldots}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   420
\begin{textblock}{1}(3,4)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   421
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   422
\includegraphics[scale=0.3]{../pics/bank.png}\\[-2mm]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   423
\small Bank
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   424
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   425
\end{textblock}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   426
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   427
\begin{textblock}{1}(7,4.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   428
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   429
\includegraphics[scale=3]{../pics/store.png}\\[-2mm]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   430
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   431
\end{textblock}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   433
\begin{textblock}{1}(12,6.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   434
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   435
\includegraphics[scale=0.8]{../pics/factory.png}\\[-1mm]
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   436
\small terminal\\[-2mm] \small producer
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   437
\end{tabular}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
\end{textblock}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   439
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   440
\begin{textblock}{1}(4.5,9.9)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   441
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   442
\includegraphics[scale=0.13]{../pics/rman.png}\\[-1mm]
167
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
   443
\small customer / you
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   444
\end{tabular}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   445
\end{textblock}  
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
  
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   447
\begin{textblock}{1}(4.5,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   448
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   449
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   450
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   451
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   452
  \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
   453
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   454
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   455
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   456
\begin{textblock}{1}(6.8,7.5)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   457
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   458
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   459
  \draw[white] (1,1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   460
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   461
  \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
   462
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   463
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   464
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   465
\begin{textblock}{1}(4.8,5.9)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   466
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   467
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   468
  \draw[white] (1.4,0) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   469
  \draw[gray, <->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   470
  \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
   471
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   472
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   473
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   474
\begin{textblock}{1}(10,7)
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   475
  \begin{tikzpicture}[scale=1.6]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   476
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   477
  \draw[white] (-1,0.6) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   478
  \draw[gray, ->, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   479
  \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
   480
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   481
\end{textblock}  
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   482
  
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   483
\begin{textblock}{14}(1,13.5)
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
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 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
   486
\end {itemize} 
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   487
\end{textblock}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   489
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   492
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   493
\begin{frame}[c]
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   494
\frametitle{The Bad Guy Again}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   495
169
2866fae8c1cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 168
diff changeset
   496
\begin{bubble}[10.5cm]
167
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
   497
\small
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   498
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
   499
`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
   500
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
   501
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
   502
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
   503
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
   504
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
   505
VBV or MCSC password can cause serious trouble.''\\
174
e2180cead443 updated handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 170
diff changeset
   506
\hfill{}\url{www.goo.gl/UWluh0}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   507
\end{bubble}
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   508
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   509
\end{frame}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   510
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   511
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   512
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   513
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   514
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   515
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   516
\frametitle{Being Screwed Again}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   517
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   518
\begin{flushright}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   519
\includegraphics[scale=0.3]{../pics/rbssecure.jpg}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   520
\end{flushright}
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   521
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   522
\begin{itemize}
1
4856ff72a64b initial slides
Christian Urban <urbanc@in.tum.de>
parents: 0
diff changeset
   523
\item {\bf Responsibility}\\
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   524
``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
   525
of RBS Secure.''\medskip\\
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   526
\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
   527
\end{itemize}
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   528
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   529
\end{frame}
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   530
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   531
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   532
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   533
\begin{frame}[c]
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   534
\frametitle{Web Applications}
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   535
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   536
\begin{textblock}{1}(2,5)
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   537
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   538
\includegraphics[scale=0.15]{../pics/servers.png}\\[-2mm]
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   539
\small Servers from\\[-2mm] 
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   540
\small Dot.com Inc.
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   541
\end{tabular}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   542
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   543
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   544
\begin{textblock}{1}(5.6,6)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   545
  \begin{tikzpicture}[scale=2.5]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   546
  \draw[white] (0,0) node (X) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   547
  \draw[white] (1,0) node (Y) {};
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   548
  \only<2>{\draw[red, <-, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   549
  \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
   550
  \only<3>{\draw[red, ->, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   551
  \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
   552
  \only<4>{\draw[red, <-, line width = 2mm] (X) -- (Y);
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   553
  \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
   554
  \end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   555
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   556
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   557
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   558
\begin{textblock}{1}(9,5.5)
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   559
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   560
\includegraphics[scale=0.15]{../pics/laptop.png}\\[-2mm]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   561
\small Client(s)
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   562
\end{tabular}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   563
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   564
  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   565
\begin{textblock}{13}(1,13)  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   566
\begin{itemize}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   567
\item What are pitfalls and best practices?
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   568
\end{itemize}  
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   569
\end{textblock}
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   570
  
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   571
\end{frame}
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   572
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
   573
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   574
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   575
\begin{frame}[c]
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   576
\frametitle{JavaScript + Node.js}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   577
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   578
A simple response from the server:
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   579
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   580
\small
170
1c8ad2848d3b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 169
diff changeset
   581
\lstinputlisting{../progs/ap0.js}
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   582
\medskip\pause
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   583
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   584
\small
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   585
alternative response:\smallskip\\
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   586
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   587
170
1c8ad2848d3b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 169
diff changeset
   588
\lstinline{response.write('<H1>Hello World</H1>');}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   589
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 159
diff changeset
   590
\end{frame}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   591
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   592
98
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   593
3d585e603927 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
   594
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   595
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   596
\begin{frame}[c]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   597
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   598
\footnotesize
170
1c8ad2848d3b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 169
diff changeset
   599
\lstinputlisting{../progs/ap1.js}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   600
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   601
\end{frame}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   602
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   603
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   604
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   605
\begin{frame}[c]
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   606
\frametitle{Cookies}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   607
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   608
\begin{textblock}{1}(1.5,5)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   609
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   610
\includegraphics[scale=0.15]{../pics/servers.png}\\[-2mm]
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   611
\small Servers from\\[-2mm] 
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   612
\small Dot.com Inc.
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   613
\end{tabular}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   614
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   615
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   616
\begin{textblock}{1}(5.6,5.6)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   617
  \begin{tikzpicture}[scale=2.5]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   618
  \draw[white] (0,0) node (X) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   619
  \draw[white] (1,0) node (Y) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   620
  \draw[white] (0.05,-0.3) node (X1) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   621
  \draw[white] (0.95,-0.3) node (Y1) {};
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   622
  \only<1-2>{\draw[red, <-, line width = 2mm] (X) -- (Y);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   623
  \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
   624
  \only<1>{\draw[white, <-, line width = 1mm] (X1) -- (Y1);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   625
  \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
   626
  \only<2>{\draw[red, <-, line width = 1mm] (X1) -- (Y1);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   627
  \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
   628
  \only<3->{\draw[red, ->, line width = 2mm] (X) -- (Y);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   629
  \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
   630
  \only<3->{\draw[red, ->, line width = 1mm] (X1) -- (Y1);
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   631
  \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
   632
  \end{tikzpicture}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   633
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   634
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   635
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   636
\begin{textblock}{1}(9.5,5.5)
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   637
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   638
\includegraphics[scale=0.15]{../pics/laptop.png}\\[-2mm]
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   639
\small Client
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   640
\end{tabular}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   641
\end{textblock}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   642
  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   643
\only<4->{  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   644
\begin{textblock}{13}(1,11)  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   645
\small\begin{itemize}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   646
\item cookies: max 4KB data\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   647
\item cookie theft, cross-site scripting attacks\\[-2mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   648
\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
   649
\end{itemize}  
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   650
\end{textblock}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   651
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   652
\only<5>{
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   653
\begin{textblock}{11}(1,3)
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   654
\begin{bubble}[10cm]\small
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   655
{\bf EU Privacy Directive about Cookies:}\smallskip\\ ``In May 2011, a
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   656
European Union law was passed stating that websites that leave
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   657
non-essential cookies on visitors' devices have to alert the visitor
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   658
and get acceptance from them. This law applies to both individuals and
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   659
businesses based in the EU regardless of the nationality of their
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   660
website's visitors or the location of their web host. It is not enough
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   661
to simply update a website's terms and conditions or privacy
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   662
policy. The deadline to comply with the new EU cookie law was 26th May
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   663
2012 and failure to do so could mean a fine of up to
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   664
\pounds{500,000}.''  \hfill\small\textcolor{gray}{$\rightarrow$BBC
174
e2180cead443 updated handouts
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 170
diff changeset
   665
  News}, \url{www.goo.gl/RI4qhh}
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   666
\end{bubble}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   667
\end{textblock}}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   668
  
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   669
\end{frame}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   670
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   671
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   672
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   673
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   674
\begin{frame}[c]
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   675
\frametitle{My First Real Webapp}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   676
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   677
{\bf GET request:}\smallskip
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   678
\begin{enumerate}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   679
\item read the cookie from client
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   680
\item if none is present, set \texttt{counter} to \textcolor{blue}{zero}
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   681
\item if cookie is present, extract \texttt{counter}
169
2866fae8c1cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 168
diff changeset
   682
\item if \texttt{counter} is greater or equal than \textcolor{blue}{$5$}, \\
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   683
print a valued customer message\\
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   684
otherwise just a normal message
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   685
\item increase \texttt{counter} by \textcolor{blue}{$1$} and store new cookie with client
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   686
\end{enumerate}
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   687
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   688
\end{frame}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   689
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   690
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   691
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   692
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   693
\begin{frame}[c]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   694
\mbox{}\\[-9mm]
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   695
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   696
\footnotesize
170
1c8ad2848d3b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 169
diff changeset
   697
\lstinputlisting{../progs/ap2.js}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   698
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   699
\end{frame}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   700
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   701
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   702
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   703
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   704
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   705
\begin{center}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   706
\includegraphics[scale=0.5]{../pics/barrier.jpg}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   707
\end{center}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   708
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   709
\begin{itemize}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   710
\item data integrity needs to be ensured
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   711
\end{itemize}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   712
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   713
\end{frame}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   714
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   715
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   716
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   717
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   718
\begin{frame}[c]
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   719
\mbox{}\\[-7mm]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   720
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   721
\footnotesize
170
1c8ad2848d3b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 169
diff changeset
   722
\lstinputlisting{../progs/ap3.js}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   723
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   724
\end{frame}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   725
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   726
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   727
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   728
\begin{frame}[c]
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   729
\frametitle{SHA-1}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   730
  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   731
\begin{itemize}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   732
\item SHA-1 is a cryptographic hash function\\
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   733
(MD5, SHA-256, SHA-512, \ldots) 
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   734
\item message $\rightarrow$ digest
102
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 101
diff changeset
   735
\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
   736
\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
   737
\end{itemize}  
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   738
  
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   739
\end{frame}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   740
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   741
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   742
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   743
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   744
\begin{frame}[c]
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   745
\mbox{}\\[-2mm]
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   746
170
1c8ad2848d3b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 169
diff changeset
   747
{\footnotesize\lstinputlisting{../progs/ap4.js}}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   748
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   749
\begin{textblock}{1}(9,0)
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   750
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   751
  \draw[white] (0,0) node (X) {};
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   752
  \draw[white] (3.5,0) node (Y) {};
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   753
  \draw[red, <-, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   754
  \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
   755
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   756
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   757
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   758
\begin{textblock}{1}(12.6,6.5)
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   759
  \begin{tikzpicture}[scale=1.3]
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   760
  \draw[white] (0,0) node (X) {};
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   761
  \draw[white] (-1,-1) node (Y) {};
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   762
  \draw[red, <-, line width = 2mm] (X) -- (Y);
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   763
  \node [inner sep=5pt,label=above:{}] at ($ (X)!.5!(Y) $) {};
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   764
  \end{tikzpicture}
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   765
\end{textblock}
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   766
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   767
\begin{textblock}{1}(9.9,11.5)
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   768
  \begin{tikzpicture}[scale=1.3]
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   769
  \draw[white] (0,0) node (X) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   770
  \draw[white] (1,-1) node (Y) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   771
  \draw[red, <-, line width = 2mm] (X) -- (Y);
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   772
  \node [inner sep=5pt,label=above:{}] at ($ (X)!.5!(Y) $) {};
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   773
  \end{tikzpicture}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   774
\end{textblock}
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   775
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   776
\end{frame}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   777
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   778
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   779
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   780
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   781
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   782
\begin{frame}[c]
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   783
\frametitle{\begin{tabular}{c}Unix Passwords\end{tabular}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   784
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   785
\begin{itemize}
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   786
\item passwords must \alert{\bf not} be stored in clear text
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   787
\item instead \texttt{/etc/shadow} contains
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   788
\end{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   789
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   790
{\small
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   791
\texttt{name:\$1\$QIGCa\$/ruJs8AvmrknzKTzM2TYE.:other\_info}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   792
}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   793
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   794
\begin{itemize}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   795
\item \texttt{\$} is the separator
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   796
\item \texttt{1} is MD5 (actually SHA-512 is used nowadays, \texttt{6})
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   797
\item \texttt{QIGCa} is the salt
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   798
\item \texttt{ruJs8AvmrknzKTzM2TYE.} $\rightarrow$ password + salt
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   799
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   800
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   801
\textcolor{gray}{\small
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   802
(\texttt{openssl passwd -1 -salt QIGCa pippo})
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   803
}
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   804
% Unix password
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   805
% http://ubuntuforums.org/showthread.php?p=5318038
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   806
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   807
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   808
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   809
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   810
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   811
\mode<presentation>{
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   812
\begin{frame}[c]
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   813
\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
   814
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   815
\pause
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   816
\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
   817
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   818
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   819
\begin{itemize}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   820
\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
   821
\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
   822
\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
   823
\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
   824
\end{itemize}\bigskip
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   825
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   826
\begin{flushright}\small
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   827
\textcolor{gray}{\url{http://ieeelog.com}}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   828
\end{flushright}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   829
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   830
\only<3->{
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   831
\begin{textblock}{11}(3,2)
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   832
\begin{tikzpicture}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   833
\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
   834
{\normalsize\color{darkgray}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   835
\begin{minipage}{7.5cm}\raggedright\small
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   836
\includegraphics[scale=0.6]{../pics/IEEElog.jpg}
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   837
\end{minipage}};
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   838
\end{tikzpicture}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   839
\end{textblock}}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   840
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   841
\end{frame}}
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   842
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   843
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   844
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   845
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   846
\mode<presentation>{
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   847
\begin{frame}[c]
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   848
\frametitle{\begin{tabular}{c}Other Password Blunders\end{tabular}}
6
4c40d4b2d01c new slides
Christian Urban <urbanc@in.tum.de>
parents: 5
diff changeset
   849
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   850
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   851
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   852
\item in late 2009, when an SQL injection attack against online games 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   853
service RockYou.com exposed 32 million \alert{plaintext} passwords
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   854
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   855
\item  1.3 million Gawker credentials exposed in December 2010 containing 
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   856
unsalted(?) \alert{MD5} hashes
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   857
12
Christian Urban <urbanc@in.tum.de>
parents: 10
diff changeset
   858
\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
   859
% linkedIn password
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   860
% http://erratasec.blogspot.co.uk/2012/06/confirmed-linkedin-6mil-password-dump.html
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   861
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   862
\item in July 2015, hackers leaked a password database from 
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   863
Ashley Madison containing 31 million passwords, many of them 
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   864
poorly hashed
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   865
\end{itemize}\medskip
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   866
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   867
\small
99
77125c0496e6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 98
diff changeset
   868
(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
   869
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   870
\end{frame}}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   871
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   872
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   873
%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
   874
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
   875
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   876
% rainbow tables
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   877
% http://en.wikipedia.org/wiki/Rainbow_table
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   878
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   879
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   880
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   881
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   882
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   883
\frametitle{\begin{tabular}{c}Brute Forcing Passwords\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   884
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   885
\begin{itemize}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   886
\item How fast can hackers crack SHA-1 passwords? \pause
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   887
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   888
\item The answer is 2 billion attempts per second\\ 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   889
using a Radeon HD 7970
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   890
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   891
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   892
\begin{center}
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   893
\begin{tabular}{@ {\hspace{-12mm}}rl}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   894
password length & time\smallskip\\\hline
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   895
5 letters & 5 secs\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   896
6 letters & 500 secs\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   897
7 letters & 13 hours\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   898
8 letters & 57 days\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   899
9 letters & 15 years\\
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   900
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   901
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   902
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   903
\small
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   904
5 letters $\approx$ 100$^5$ $=$ 10 billion combinations\\ 
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   905
(1 letter - upper case, lower case, digits, symbols $\approx$ 100)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   906
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   907
\only<2->{
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   908
\begin{textblock}{1}(12,5)
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   909
\begin{tabular}{c}
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
   910
\includegraphics[scale=0.3]{../pics/radeon.jpg}\\[-6mm]
5
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   911
\footnotesize graphics card\\[-1mm]
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   912
\footnotesize ca.~\pounds{}300
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   913
\end{tabular}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   914
\end{textblock}}
1280309e6bfc updated
Christian Urban <urbanc@in.tum.de>
parents: 4
diff changeset
   915
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   916
\end{frame}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   917
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   918
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   919
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   920
\begin{frame}[c]
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   921
\frametitle{Passwords}
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   922
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   923
How to recover from a break in?\pause\medskip
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   924
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   925
\begin{itemize}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   926
\item Do not send passwords in plain text.
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   927
\item Security questions are tricky to get right.
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   928
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   929
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   930
\end{frame}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   931
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4
Christian Urban <urbanc@in.tum.de>
parents: 3
diff changeset
   932
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   933
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   934
\begin{frame}[c]
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   935
\frametitle{This Course}
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   936
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   937
\begin{itemize}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   938
\item electronic voting
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   939
\item break-ins (buffer overflows)
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   940
\item access control\\ (role based, data security / data integrity)
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   941
\item protocols
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   942
\item zero-knowledge proofs
7
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   943
\item privacy
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   944
\begin{quote}
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   945
Scott McNealy: \\``You have zero privacy anyway. Get over it.''
bd2b16f82601 new slides
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
   946
\end{quote}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   947
\item trust, bitcoins
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   948
\item static analysis
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   949
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
   950
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
   951
\end{frame}
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
   952
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   953
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   954
\begin{frame}[c]
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   955
\frametitle{Books + Homework}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   956
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   957
\begin{itemize}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   958
\item There is no single book I am following, but
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   959
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   960
  \begin{center}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   961
    \includegraphics[scale=0.012]{../pics/andersonbook1.jpg}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   962
    %%\includegraphics[scale=0.23]{../pics/accesscontrolbook.jpg}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   963
  \end{center}\medskip\pause
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   964
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   965
\item The question ``\emph{Is this relevant for the exams?}''
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   966
      is not appreciated!\medskip\\
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   967
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   968
  Whatever is in the homework (and is not marked optional) is
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   969
  relevant for the exam. No code needs to be written.
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   970
  
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   971
\end{itemize}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   972
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   973
\end{frame}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   974
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   975
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   976
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   977
\begin{frame}[c]
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   978
\frametitle{Further Information}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   979
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   980
For your personal interest:
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   981
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   982
\begin{itemize}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   983
\item RISKS mailing list 
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   984
\item Schneier's Crypto newsletter
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   985
\item Google+ Ethical Hacker group
443
67d7d239c617 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   986
\item Chaos Computer Club Conferences\\ 
67d7d239c617 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   987
(every year in December)
67d7d239c617 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   988
\begin{center}
67d7d239c617 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   989
\url{https://media.ccc.de/c/camp2015}
67d7d239c617 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   990
\end{center}
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   991
\end{itemize}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   992
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   993
\end{frame}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   994
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   995
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   996
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   997
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   998
\begin{frame}[c]
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
   999
\frametitle{Take-Home Points}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1000
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1001
\begin{itemize}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1002
\item Never store passwords in plain text.\medskip
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1003
\item Always salt your hashes!\medskip
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1004
\item Use an existing crypto algorithm; do not write your own!\medskip
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1005
\item Make the party responsible for losses that is in the position to improve 
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1006
security.
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1007
\end{itemize}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1008
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1009
\end{frame}
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1010
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1011
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1012
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1013
9
Christian Urban <urbanc@in.tum.de>
parents: 8
diff changeset
  1014
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
Christian Urban <urbanc@in.tum.de>
parents: 2
diff changeset
  1015
\begin{frame}[c]
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1016
\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
  1017
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1018
Can you track a user {\bf without}:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1019
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1020
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1021
\item Cookies
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
  1022
\item JavaScript
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1023
\item LocalStorage/SessionStorage/GlobalStorage
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1024
\item Flash, Java or other plugins
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1025
\item Your IP address or user agent string
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1026
\item Any methods employed by Panopticlick\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1027
\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
  1028
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1029
164
08a6e035223e updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 162
diff changeset
  1030
Even when you disabled cookies entirely, have JavaScript turned off and use a VPN service.\\\pause
167
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 164
diff changeset
  1031
(And numerous sites use it.)
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1032
168
793ae8926a97 polished
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 167
diff changeset
  1033
\end{frame}
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1034
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1035
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1036
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1037
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1038
\begin{frame}[c]
168
793ae8926a97 polished
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 167
diff changeset
  1039
\frametitle{Web-Protocol}
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1040
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1041
\only<1->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1042
\begin{textblock}{1}(2,2)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1043
  \begin{tikzpicture}[scale=1.3]
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
  1044
  \draw[white] (0,0) node (X) {\includegraphics[scale=0.12]{../pics/firefox.jpg}};
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1045
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1046
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1047
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1048
\only<1->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1049
\begin{textblock}{1}(11,2)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1050
  \begin{tikzpicture}[scale=1.3]
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
  1051
  \draw[white] (0,0) node (X) {\includegraphics[scale=0.15]{../pics/servers.png}};
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1052
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1053
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1054
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1055
\only<1->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1056
\begin{textblock}{1}(5,2.5)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1057
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1058
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1059
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1060
  \draw[red, ->, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1061
  \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
  1062
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1063
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1064
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1065
\only<2->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1066
\begin{textblock}{1}(5,6)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1067
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1068
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1069
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1070
  \draw[red, <-, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1071
  \node [inner sep=5pt,label=below:\textcolor{black}{\small ETag: 7b33de1}] at ($ (X)!.5!(Y) $) {};
199
20af800ce736 updated pics
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 174
diff changeset
  1072
   \node [inner sep=5pt,label=above:{\includegraphics[scale=0.15]{../pics/tvtestscreen.jpg}}] at ($ (X)!.5!(Y) $) {};
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1073
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1074
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1075
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1076
\only<3->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1077
\begin{textblock}{1}(4.2,11)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1078
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1079
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1080
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1081
  \draw[red, ->, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1082
  \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
  1083
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1084
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1085
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1086
\only<4->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1087
\begin{textblock}{1}(4.2,13.9)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1088
  \begin{tikzpicture}[scale=1.3]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1089
  \draw[white] (0,0) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1090
  \draw[white] (3,0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1091
  \draw[red, <-, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1092
  \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
  1093
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1094
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1095
168
793ae8926a97 polished
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 167
diff changeset
  1096
\end{frame}
100
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1097
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 99
diff changeset
  1098
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 199
diff changeset
  1099
\end{document}
8
a5184c270f30 new slides
Christian Urban <urbanc@in.tum.de>
parents: 7
diff changeset
  1100
2
baa2e2231f50 updated
Christian Urban <urbanc@in.tum.de>
parents: 1
diff changeset
  1101
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1102
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1103
%%% Local Variables:  
94
caf08b02fa32 added pictures
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
  1104
%%% mode: xelatex
0
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1105
%%% TeX-master: t
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1106
%%% End: 
8d6145cea799 initial
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1107