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