slides/slides06.tex
author Christian Urban <urbanc@in.tum.de>
Tue, 16 Jan 2018 10:23:43 +0000
changeset 563 9b45079eacea
parent 556 e6e87d5839c0
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
     1
\PassOptionsToPackage{bookmarks=false}{hyperref}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
     2
\documentclass[dvipsnames,14pt,t,hyperref={bookmarks=false}]{beamer}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
     3
\usepackage{../style}
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
     4
\usepackage{../slides}
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
     5
\usepackage{../graphics}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
     6
\usepackage{../langs}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
     7
\usepackage{../data}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
     8
\usetikzlibrary{arrows}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
     9
\usetikzlibrary{shapes}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
    11
\setmonofont[Scale=.88]{Consolas}
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
    12
\newfontfamily{\consolas}{Consolas}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
    14
\hfuzz=220pt 
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    15
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
% beamer stuff 
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
    17
\newcommand{\bl}[1]{\textcolor{blue}{#1}}  
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    18
\renewcommand{\slidecaption}{SEN 05, King's College London}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    19
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\begin{document}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
    24
\begin{frame}[t]
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\frametitle{%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
  \begin{tabular}{@ {}c@ {}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
  \\
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 370
diff changeset
    28
  \LARGE Security Engineering (6)\\[-3mm] 
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
  \end{tabular}}\bigskip\bigskip\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
    31
  \normalsize
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
  \begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
  \begin{tabular}{ll}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
  Email:  & christian.urban at kcl.ac.uk\\
518
e1fcfba63a31 updated
Christian Urban <urbanc@in.tum.de>
parents: 495
diff changeset
    35
  Office: & N7.07 (North Wing, Bush House)\\
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
  Slides: & KEATS (also homework is there)\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
  \end{tabular}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
  \end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
    40
\end{frame}
279
5616e664c020 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 278
diff changeset
    41
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
    42
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    43
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    44
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    45
\frametitle{Topical Slide}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    46
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    47
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    48
\item DoS attack agains some US webpages (hijacked IoT devives, like
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    49
  cameras,\ldots)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    50
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    51
\item funny cow attack (privilege escalation attack) 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    52
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    53
  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    54
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    55
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
280
b732a63c17b8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 279
diff changeset
    56
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    57
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    58
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    59
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    60
\frametitle{Trusted Third Parties}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    61
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    62
Simple protocol for establishing a secure connection via a
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    63
mutually trusted 3rd party (server):
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    64
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    65
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    66
\begin{tabular}{r@ {\hspace{1mm}}l}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    67
\bl{$A \rightarrow S :$} & \bl{$A, B$}\\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    68
\bl{$S \rightarrow A :$} & \bl{$\{K_{AB}, \{K_{AB}\}_{K_{BS}} \}_{K_{AS}}$}\\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    69
\bl{$A \rightarrow B :$} & \bl{$\{K_{AB}\}_{K_{BS}} $}\\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    70
\bl{$A \rightarrow B :$} & \bl{$\{m\}_{K_{AB}}$}\\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    71
\end{tabular}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    72
\end{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    73
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    74
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    75
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    76
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    77
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    78
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    79
\frametitle{PKI: The Main Idea}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    80
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    81
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    82
\item the idea is to have a certificate authority (CA)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    83
\item you go to the CA to identify yourself
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    84
\item CA: ``I, the CA, have verified that public key 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    85
  \bl{$P^{pub}_{Bob}$} belongs to Bob''\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    86
\item CA must be trusted by everybody\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    87
\item certificates are time limited, and can be revoked
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    88
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    89
\item What happens if CA issues a false certificate? Who pays in case of loss? (VeriSign 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    90
explicitly limits liability to \$100.)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    91
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    92
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    93
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    94
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    95
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    96
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    97
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    98
\frametitle{PKI: Chains of Trust}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
    99
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   100
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   101
  \begin{tikzpicture}[scale=1,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   102
                      node/.style={
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   103
                      rectangle,rounded corners=3mm,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   104
                      very thick,draw=black!50,minimum height=18mm, minimum width=23mm,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   105
                      top color=white,bottom color=black!20}]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   106
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   107
  \node (A) at (0,0)  [node] {};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   108
  \node [below right] at (A.north west) 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   109
  {\small\begin{tabular}{@{}l}CA\\Root Cert.\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   110
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   111
  \node (B) at (4,0)  [node] {};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   112
  \node [below right=1mm] at (B.north west) 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   113
 {\mbox{}\hspace{-1mm}\small
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   114
  \begin{tabular}{@{}l}Subordinate\\ CA\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   115
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   116
  \node (C) at (8,0)  [node] {};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   117
  \node [below right] at (C.north west) 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   118
  {\small\begin{tabular}{@{}l}Server\\ Bank.com\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   119
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   120
  \draw [->,line width=4mm] (A) -- (B); 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   121
  \draw [->,line width=4mm] (B) -- (C); 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   122
  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   123
  \node (D) at (6,-3)  [node] {};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   124
  \node [below right] at (D.north west) 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   125
  {\small\begin{tabular}{@{}l}Browser\\ Root Store\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   126
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   127
  \node (E) at (2,-3)  [node] {};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   128
  \node [below right] at (E.north west) 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   129
  {\small\begin{tabular}{@{}l}Browser\\ Vendor\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   130
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   131
  \draw [->,line width=4mm] (E) -- (D); 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   132
  \end{tikzpicture}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   133
\end{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   134
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   135
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   136
\item CAs make almost no money anymore, because of stiff
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   137
  competition
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   138
\item browser companies are not really interested in security;
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   139
  only in market share
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   140
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   141
  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   142
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   143
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   144
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   145
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   146
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   147
\frametitle{PKI: Weaknesses}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   148
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   149
CAs just cannot win (make any profit):\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   150
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   151
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   152
\item there are hundreds of CAs, which issue millions of
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   153
      certificates and the error rate is small
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   154
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   155
\item users (servers) do not want to pay or pay as little as
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   156
      possible\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   157
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   158
\item a CA can issue a certificate for any domain not needing
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   159
      any permission (CAs are meant to undergo audits,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   160
      but\ldots DigiNotar)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   161
      
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   162
\item if a CA has issued many certificates, it ``becomes too
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   163
      big to fail'' 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   164
  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   165
\item Can we be sure CAs are not just frontends of some 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   166
      government organisation?  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   167
       
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   168
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   169
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   170
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   171
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   172
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   173
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   174
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   175
\frametitle{PKI: Weaknesses}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   176
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   177
\begin{itemize}
280
b732a63c17b8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 279
diff changeset
   178
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   179
\item many certificates are issued via Whois, whether you own
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   180
      the domain\ldots if you hijacked a domain, it is easy to
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   181
      obtain certificates\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   182
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   183
\item the revocation mechanism does not work (Chrome has given
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   184
      up on general revocation lists)\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   185
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   186
\item lax approach to validation of certificates 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   187
  (Have you ever bypassed certification warnings?)\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   188
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   189
\item sometimes you want to actually install invalid
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   190
      certificates (self-signed)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   191
   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   192
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   193
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   194
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   195
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   196
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   197
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   198
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   199
\frametitle{PKI: Attacks}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   200
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   201
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   202
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   203
\item Go directly after root certificates 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   204
  \begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   205
  \item governments can demand private keys\smallskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   206
  \item 10 years ago it was estimated that breaking a 1024 bit
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   207
        key takes one year and costs 10 - 30 Mio \$; this is now
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   208
        reduced to 1 Mio \$
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   209
   \end{itemize} 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   210
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   211
\item Go after buggy implementations of certificate
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   212
      validation\smallskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   213
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   214
\item Social Engineering 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   215
  \begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   216
    \item in 2001 somebody pretended to be 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   217
    from Microsoft and asked for two code-signing 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   218
    certificates
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   219
    \end{itemize}\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   220
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   221
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   222
\small The eco-system is completely broken (it relies on
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   223
thousands of entities to do the right thing). Maybe DNSSEC
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   224
where keys can be attached to domain names is a way out.
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   225
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   226
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   227
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   228
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   229
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   230
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   231
\frametitle{Real Attacks}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   232
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   233
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   234
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   235
\item In 2011, DigiNotar (Dutch company) was the first CA that
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   236
      got compromised comprehensively, and where many
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   237
      fraudulent certificates were issued to the wild. It
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   238
      included approximately 300,000 IP addresses, mostly
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   239
      located in Iran. The attackers (in Iran?) were likely
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   240
      interested ``only'' in collecting gmail passwords.\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   241
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   242
\item The Flame malware piggy-bagged on this attack by
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   243
      advertising malicious Windows updates to some targeted
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   244
      systems (mostly in Iran, Israel, Sudan).
280
b732a63c17b8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 279
diff changeset
   245
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   246
\end{itemize}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   247
279
5616e664c020 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 278
diff changeset
   248
\end{frame}
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   249
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   250
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   251
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
280
b732a63c17b8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 279
diff changeset
   252
\begin{frame}[c]
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   253
\frametitle{PKI is Broken}
280
b732a63c17b8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 279
diff changeset
   254
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   255
\begin{itemize}
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   256
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   257
\item PKI and certificates are meant to protect you against
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   258
      MITM attacks, but if the attack occurs your are 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   259
      presented with a warning and you need to decide whether
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   260
      you are under attack.\medskip
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   261
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   262
\item Webcontent gets often loaded from 3rd-party servers,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   263
      which might not be secured\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   264
     
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   265
\item Misaligned incentives: browser vendors are not
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   266
      interested in breaking webpages with invalid
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   267
      certificates     
129
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   268
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   269
\end{itemize}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   270
280
b732a63c17b8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 279
diff changeset
   271
\end{frame}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   272
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   273
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   274
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   275
\begin{frame}[c]
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   276
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   277
Why are there so many invalid certificates?\bigskip
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   278
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   279
\begin{itemize}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   280
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   281
\item insufficient name coverage (www.example.com should
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   282
include example.com)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   283
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   284
\item IoT: many appliances have web-based admin interfaces; 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   285
  the manufacturer cannot know under which IP and domain name
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   286
  the appliances are run (so cannot install a valid certificate)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   287
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   288
\item expired certificates, or incomplete chains of trust
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   289
      (servers are supposed to supply them)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   290
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   291
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   292
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   293
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   294
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   295
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   296
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   297
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   298
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   299
%\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   300
%\frametitle{Best Practices}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   301
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   302
%{\bf Principle 1:} Every message should say what it means: the
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   303
%interpretation of a message should not depend on the
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   304
%context.\bigskip\pause
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   305
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   306
%{\bf Principle 2:} If the identity of a principal is essential
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   307
%to the meaning of a message, it is prudent to mention the
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   308
%principal’s name explicitly in the message (though
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   309
%difficult).\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   310
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   311
%\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   312
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   313
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   314
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   315
%\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   316
%\frametitle{Best Practices}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   317
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   318
%{\bf Principle 3:} Be clear about why encryption is being
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   319
%done. Encryption is not wholly cheap, and not asking precisely
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   320
%why it is being done can lead to redundancy. Encryption is not
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   321
%synonymous with security.
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   322
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   323
%\small
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   324
%\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   325
%Possible Uses of Encryption
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   326
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   327
%\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   328
%\item Preservation of confidentiality: \bl{$\{X\}_K$} only those that have \bl{$K$} may recover \bl{$X$}.
%\item Guarantee authenticity: The partner is indeed some particular principal.
%\item Guarantee confidentiality and authenticity: binds two parts of a message --- 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   329
%\bl{$\{X,Y\}_K$} is not the same as \bl{$\{X\}_K$} and \bl{$\{Y\}_K$}.
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   330
%\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   331
%\end{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   332
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   333
%\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   334
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   335
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   336
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   337
%\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   338
%\frametitle{Best Practices}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   339
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   340
%{\bf Principle 4:} The protocol designers should know which
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   341
%trust relations their protocol depends on, and why the
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   342
%dependence is necessary. The reasons for particular trust
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   343
%relations being acceptable should be explicit though they will
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   344
%be founded on judgment and policy rather than on
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   345
%logic.\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   346
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   347
%
%Example Certification Authorities: CAs are trusted to certify
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   348
%a key only after proper steps have been taken to identify the
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   349
%principal that owns it.
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   350
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   351
%\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   352
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   353
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   354
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   355
%\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   356
%\frametitle{Formal Methods}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   357
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   358
%Ross Anderson about the use of Logic:\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   359
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   360
%\begin{quote}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   361
%Formal methods can be an excellent way of finding 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   362
%bugs in security protocol designs as they force the designer 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   363
%to make everything explicit and thus confront difficult design 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   364
%choices that might otherwise be fudged. 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   365
%\end{quote}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   366
%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   367
%\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   368
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   369
%
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   370
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   371
\begin{frame}[c]
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   372
\frametitle{Mid-Term}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   373
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   374
\begin{itemize}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   375
\item homework, handouts, programs\ldots
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   376
\end{itemize}\bigskip\bigskip\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   377
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   378
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   379
{\huge\bf\alert{Any Questions?}}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   380
\end{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   381
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   382
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   383
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   384
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   385
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   386
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   387
\frametitle{Security Engineering}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   388
  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   389
  \begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   390
  \begin{tabular}{cc}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   391
  \raisebox{-0.8mm}{\includegraphics[scale=0.28]{../pics/flight.jpg}} &
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   392
  \includegraphics[scale=0.31]{../pics/airbus.jpg}\\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   393
  \small Wright brothers, 1901 & \small Airbus, 2005 \\ 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   394
  \end{tabular}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   395
  \end{center}
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   396
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   397
  \end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   398
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   399
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   400
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   401
\begin{frame}[c]
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   402
\frametitle{1st Lecture}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   403
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   404
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   405
\item chip-and-pin, banks vs.~customers
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   406
\begin{quote}\small\rm
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   407
 the one who can improve security should also be 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   408
 liable for the losses 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   409
\end{quote}\pause\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   410
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   411
\item hashes and salts to guarantee data integrity\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   412
\item storing passwords (you should know the difference between
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   413
brute force attacks and dictionary attacks; how do salts help?)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   414
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   415
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   416
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   417
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
282
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   418
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   419
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   420
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   421
\frametitle{1st Lecture: Cookies}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   422
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   423
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   424
\item good uses of cookies?\medskip
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   425
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   426
\item bad uses of cookies: snooping, tracking, profiling\ldots
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   427
      the ``disadvantage'' is that the user is in
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   428
      \alert{control}, because you can delete them 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   429
          
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   430
          \begin{center} ``Please track me using cookies.''
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   431
          \end{center}\bigskip\pause
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   432
                 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   433
\item fingerprinting beyond browser cookies
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   434
  \begin{quote}\small\rm
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   435
  Pixel Perfect: Fingerprinting Canvas in HTML5\\ 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   436
  (a research paper from 2012)\\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   437
  \footnotesize
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   438
  \url{http://cseweb.ucsd.edu/~hovav/papers/ms12.html}      
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   439
  \end{quote}      
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   440
\end{itemize}
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   441
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   442
\end{frame}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   443
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   444
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   445
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   446
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   447
\frametitle{1st Lecture: Cookies}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   448
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   449
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   450
\item a bit of JavaScript and HTML5 + canvas\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   451
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   452
\begin{tabular}{cc}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   453
Firefox & Safari\\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   454
\includegraphics[scale=0.31]{../pics/firefox1.png} &
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   455
\includegraphics[scale=0.31]{../pics/safari1.png} \\
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   456
\tiny
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   457
\pcode{55b2257ad0f20ecbf927fb66a15c61981f7ed8fc} &
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   458
\tiny
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   459
\pcode{17bc79f8111e345f572a4f87d6cd780b445625d3}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   460
\end{tabular}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   461
\end{center}\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   462
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   463
\item\small no actual drawing needed\pause
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   464
\item\small in May 2014 a crawl of 100,000 popular 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   465
webpages revealed 5.5\% already use canvas 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   466
fingerprinting\smallskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   467
\begin{center}\scriptsize
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   468
\url{https://securehomes.esat.kuleuven.be/~gacar/persistent/the_web_never_forgets.pdf}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   469
\end{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   470
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   471
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   472
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   473
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   474
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   475
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   476
\begin{frame}[c]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   477
\frametitle{1st Lecture: Cookies}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   478
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   479
Remember the small web-app I showed you where a cookie 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   480
protected a counter?\bigskip 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   481
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   482
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   483
\item NYT, the cookie looks the ``resource'' - harm\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   484
\item imaginary discount unlocked by cookie - no harm
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   485
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   486
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   487
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   488
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   489
282
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   490
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   491
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   492
\begin{frame}[t]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   493
\frametitle{2nd Lecture: E-Voting}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   494
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   495
Where are paper ballots better than voice voting?\bigskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   496
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   497
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   498
\item Integrity 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   499
\item \alert{Ballot Secrecy}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   500
\item Voter Authentication
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   501
\item Enfranchisement
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   502
\item Availability
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   503
\end{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   504
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   505
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   506
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   507
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   508
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   509
\begin{frame}[t]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   510
\frametitle{2nd Lecture: E-Voting}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   511
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   512
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   513
\item recently an Australian parliamentary committee 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   514
found: e-voting is highly vulnerable to hacking and Australia 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   515
will not use it any time soon\bigskip\pause
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   516
\item Alex Halderman, Washington D.C.~hack
282
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   517
\begin{center}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   518
\scriptsize
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   519
\url{https://jhalderm.com/pub/papers/dcvoting-fc12.pdf}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   520
\end{center}\medskip
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   521
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   522
\item PDF-ballot tampering at the wireless router (the modification 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   523
is nearly undetectable and leaves no traces; MITM attack with firmware 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   524
updating)
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   525
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   526
\scriptsize
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   527
\url{http://galois.com/wp-content/uploads/2014/11/technical-hack-a-pdf.pdf}
282
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   528
\end{center}
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   529
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   530
\end{itemize}
282
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   531
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   532
\end{frame}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   533
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
282
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   534
4a0071e26cb5 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 281
diff changeset
   535
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   536
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   537
\tikzset{alt/.code args={<#1>#2#3#4}{%
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   538
  \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   539
}}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   540
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   541
\begin{frame}[t]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   542
\frametitle{\begin{tabular}{c}3rd Lecture:\\ Buffer Overflow Attacks\end{tabular}}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   543
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   544
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   545
\item the problem arises from the way C/C++ organises its function calls\\[-8mm]\mbox{}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   546
\end{itemize}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   547
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   548
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   549
\begin{tikzpicture}[scale=1]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   550
%\draw[black!10,step=2mm] (0,0) grid (9,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   551
%\draw[black!10,thick,step=10mm] (0,0) grid (9,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   552
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   553
\node at (0.5,4.5) {\small\begin{tabular}{l}main\\[-2mm] prog.\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   554
\draw[line width=0mm, white, alt=<2->{fill=red}{fill=blue}] (0,2.5) rectangle (1,3.8);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   555
\draw[line width=0mm, white, alt=<9->{fill=red}{fill=blue}] (0,0.2) rectangle (1,0.5);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   556
\draw[line width=1mm, alt=<3->{fill=yellow}{fill=blue}] (0,2.0) rectangle (1,2.5);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   557
\draw[line width=1mm, alt=<6->{fill=red}{fill=blue}] (0,1.0) rectangle (1,2.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   558
\draw[line width=1mm, alt=<7->{fill=yellow}{fill=blue}] (0,0.5) rectangle (1,1.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   559
\draw[line width=1mm] (0,0) -- (0,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   560
\draw[line width=1mm] (1,0) -- (1,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   561
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   562
\node at (3.5,3.5) {\small\begin{tabular}{l}fact(n)\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   563
\draw[line width=1mm, alt=<{4-5,8}>{fill=red}{fill=blue}] (3,1.0) rectangle (4,3.0);
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   564
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   565
\onslide<3-4>{\draw[->, line width=1mm,red] (1,2.3) to node [above,sloped,midway] {n=4} (3,3);}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   566
\onslide<5>{\draw[<-, line width=1mm,red] (1,2.3) to node [above,sloped,midway] {res=24} (3,1);}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   567
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   568
\onslide<7-8>{\draw[->, line width=1mm,red] (1,0.8) to node [above,sloped,midway] {n=3} (3,3);}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   569
\onslide<9>{\draw[<-, line width=1mm,red] (1,0.8) to node [above,sloped,midway] {res=6} (3,1);}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   570
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   571
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   572
\node at (7.75,3.9) {\small\begin{tabular}{l}stack\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   573
\draw[line width=1mm] (7,3.5) -- (7,0.5) -- (8.5,0.5) -- (8.5,3.5);
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   574
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   575
\onslide<3,4,7,8>{
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   576
\node at (7.75, 1.4) {ret};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   577
\draw[line width=1mm] (7,1.1) -- (8.5,1.1);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   578
\node at (7.75, 2.0) {sp};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   579
\draw[line width=1mm] (7,2.3) -- (8.5,2.3);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   580
}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   581
\onslide<3,4>{
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   582
\node at (7.75, 0.8) {4};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   583
\draw[line width=1mm] (7,1.7) -- (8.5,1.7);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   584
}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   585
\onslide<7,8>{
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   586
\node at (7.75, 0.8) {3};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   587
\draw[line width=1mm] (7,1.7) -- (8.5,1.7);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   588
}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   589
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   590
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   591
\end{tikzpicture}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   592
\end{center}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   593
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   594
\end{frame}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   595
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   596
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   597
\begin{frame}[t]
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   598
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   599
\begin{center}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   600
\begin{tikzpicture}[scale=1]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   601
%\draw[black!10,step=2mm] (0,0) grid (9,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   602
%\draw[black!10,thick,step=10mm] (0,0) grid (9,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   603
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   604
\node at (0.5,4.5) {\small\begin{tabular}{l}main\\[-2mm] prog.\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   605
\draw[line width=0mm, white, alt=<2->{fill=red}{fill=blue}] (0,2.5) rectangle (1,3.8);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   606
\draw[line width=1mm, white, fill=blue] (0,1.0) rectangle (1,2.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   607
\draw[line width=1mm, alt=<3->{fill=yellow}{fill=blue}] (0,2.0) rectangle (1,2.5);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   608
\draw[line width=1mm] (0,0) -- (0,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   609
\draw[line width=1mm] (1,0) -- (1,4);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   610
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   611
\node at (3.5,3.5) {\small\begin{tabular}{l}fact(n)\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   612
\draw[line width=0mm, alt=<{4-}>{red, fill=red}{blue, fill=blue}] (3,2.8) rectangle (4,3.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   613
\draw[line width=0mm, alt=<{5-}>{red, fill=red}{blue, fill=blue}] (3,2.8) rectangle (4,2.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   614
\draw[line width=0mm, alt=<{7-}>{red, fill=red}{blue, fill=blue}] (3,2.0) rectangle (4,1.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   615
\draw[line width=1mm] (3,1.0) rectangle (4,3.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   616
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   617
\onslide<3->{\draw[->, line width=1mm,red] (1,2.3) to node [above,sloped,midway] {n=4} (3,3);}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   618
\onslide<5->{\draw[<-, line width=2mm,red] (4,2) to node [above,sloped,midway] 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   619
{\begin{tabular}{l}user\\[-1mm] input\end{tabular}} (6,2);}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   620
\onslide<8->{\draw[<-, line width=1mm,red] (1,-2) to (3,1);}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   621
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   622
\node at (7.75,3.9) {\small\begin{tabular}{l}stack\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   623
\draw[line width=1mm] (7,3.5) -- (7,-0.1) -- (8.5,-0.1) -- (8.5,3.5);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   624
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   625
\onslide<3->{
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   626
\node at (7.75, 0.2) {4};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   627
\draw[line width=1mm,alt=<6->{fill=red}{fill=white}] (7,0.5) rectangle (8.5,1.1);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   628
\node at (7.75, 0.8) {\alt<6->{@a\#}{ret}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   629
\draw[line width=1mm,alt=<6->{fill=red}{fill=white}] (7,1.1) rectangle (8.5,1.7);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   630
\node at (7.75, 1.4) {\alt<6->{!?w;}sp};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   631
}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   632
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   633
\onslide<4->{
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   634
\draw[line width=1mm,fill=red] (7,1.7) rectangle (8.5,3.0);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   635
\node[white] at (7.75, 2.4) {buffer};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   636
}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   637
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   638
\end{tikzpicture}
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   639
\end{center}
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   640
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   641
\end{frame}
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   642
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   643
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   644
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   645
\begin{frame}[t]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   646
\frametitle{\begin{tabular}{c}3rd Lecture:\\[-3mm] 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   647
Buffer Overflow Attacks\end{tabular}}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   648
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   649
US National Vulnerability Database\\ 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   650
\small(636 out of 6675 in 2014)
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   651
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   652
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   653
\begin{tikzpicture}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   654
\begin{axis}[
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   655
    xlabel={year},
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   656
    ylabel={\% of total attacks},
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   657
    ylabel style={yshift=0em},
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   658
    enlargelimits=false,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   659
    xtick={1997,1999,...,2015},
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   660
    xmin=1996.5,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   661
    xmax=2016,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   662
    ymax=21,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   663
    ytick={0,5,...,20},
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   664
    scaled ticks=false,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   665
    axis lines=left,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   666
    width=11cm,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   667
    height=5cm,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   668
    ybar,
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   669
    nodes near coords=
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   670
     {\footnotesize
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   671
      $\pgfmathprintnumber[fixed,fixed zerofill,precision=1,use comma]{\pgfkeysvalueof{/data point/y}}$},
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   672
    x tick label style={font=\scriptsize,/pgf/number format/1000 sep={}}]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   673
\addplot
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   674
  table [x=Year,y=Percentage] {../handouts/bufferoverflows.data};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   675
\end{axis}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   676
\end{tikzpicture}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   677
\end{center}
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   678
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   679
\scriptsize
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   680
\url{http://web.nvd.nist.gov/view/vuln/statistics}
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   681
\end{frame}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   682
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   683
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   684
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   685
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   686
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   687
\begin{frame}[t]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   688
\frametitle{\begin{tabular}{c}4th Lecture:\\ Unix Access Control\end{tabular}}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   689
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   690
\begin{itemize}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   691
\item privileges are specified by file access permissions (``everything is a file'') 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   692
\end{itemize}\medskip
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   693
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   694
\begin{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   695
  \begin{tikzpicture}[scale=1]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   696
  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   697
  \draw[line width=1mm] (-.3, 0) rectangle (1.5,2);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   698
  \draw (4.7,1) node {Internet};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   699
  \draw (-2.7,1.7) node {\footnotesize Application};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   700
  \draw (0.6,1.7) node {\footnotesize Interface};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   701
  \draw (0.6,-0.4) node {\footnotesize \begin{tabular}{c}unprivileged\\[-1mm] process\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   702
  \draw (-2.7,-0.4) node {\footnotesize \begin{tabular}{c}privileged\\[-1mm] process\end{tabular}};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   703
  
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   704
  \draw[line width=1mm] (-1.8, 0) rectangle (-3.6,2);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   705
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   706
  \draw[white] (1.7,1) node (X) {};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   707
  \draw[white] (3.7,1) node (Y) {};
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   708
  \draw[red, <->, line width = 2mm] (X) -- (Y);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   709
 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   710
  \draw[red, <->, line width = 1mm] (-0.6,1) -- (-1.6,1);
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   711
  \end{tikzpicture}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   712
\end{center}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   713
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   714
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   715
\item the idea is to make the attack surface smaller and 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   716
mitigate the consequences of an attack
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   717
\end{itemize}
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   718
294
5e8ffb58bdaa updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 283
diff changeset
   719
\end{frame}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   720
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   721
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   722
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   723
\begin{frame}[fragile,t]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   724
\frametitle{\begin{tabular}{c}4th Lecture:\\ Unix Access Control\end{tabular}}
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   725
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   726
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   727
\item when a file with setuid is executed, the resulting process will assume the 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   728
UID given to the owner of the file
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   729
\end{itemize}
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
   730
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   731
\footnotesize\tt
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   732
\begin{center}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   733
\begin{verbatim}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   734
$ ls -ld . * */*
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   735
drwxr-xr-x 1 ping staff  32768 Apr  2 2010 .
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   736
-rw----r-- 1 ping students  31359 Jul 24 2011 manual.txt
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   737
-r--rw--w- 1 bob students    4359 Jul 24 2011 report.txt
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   738
-rwsr--r-x 1 bob students  141359 Jun  1 2013 microedit
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   739
dr--r-xr-x 1 bob staff      32768 Jul 23 2011 src
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   740
-rw-r--r-- 1 bob staff      81359 Feb 28 2012 src/code.c
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   741
-r--rw---- 1 emma students    959 Jan 23 2012 src/code.h
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   742
\end{verbatim}
277
d6dc6f0e3556 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 135
diff changeset
   743
\end{center}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   744
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   745
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   746
\end{frame}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   747
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   748
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   749
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   750
\begin{frame}[t]
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   751
\frametitle{\begin{tabular}{c}4th Lecture:\\ Unix Access Control\end{tabular}}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   752
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   753
\begin{itemize}
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   754
\item Alice wants to have her files readable, 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   755
\alert{except} for her office mates.\bigskip
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   756
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   757
\item make sure you understand the setuid and setgid bits; 
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   758
  why are they necessary for login and passwd
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   759
\end{itemize}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   760
281
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   761
98403100cea7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 280
diff changeset
   762
\end{frame}
495
f5172bb6cf45 updated
Christian Urban <urbanc@in.tum.de>
parents: 423
diff changeset
   763
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
423
11b46fa92a85 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 422
diff changeset
   764
11b46fa92a85 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 422
diff changeset
   765
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   766
\end{document}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   767
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   768
%%% Local Variables:  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   769
%%% mode: latex
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   770
%%% TeX-master: t
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   771
%%% End: 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   772