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