slides03.tex
author Christian Urban <urbanc@in.tum.de>
Mon, 08 Oct 2012 10:34:12 +0100
changeset 28 10da75d5db5d
child 29 5d0f7da375da
permissions -rw-r--r--
pushed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass[dvipsnames,14pt,t]{beamer}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{beamerthemeplainculight}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usepackage[T1]{fontenc}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
\usepackage[latin1]{inputenc}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\usepackage{mathpartir}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usepackage[absolute,overlay]{textpos}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{ifthen}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\usepackage{tikz}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage{pgf}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\usepackage{calc} 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\usepackage{ulem}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\usepackage{courier}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\usepackage{listings}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
\renewcommand{\uline}[1]{#1}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\usetikzlibrary{arrows}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\usetikzlibrary{automata}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\usetikzlibrary{shapes}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\usetikzlibrary{shadows}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\usetikzlibrary{positioning}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\usetikzlibrary{calc}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\usepackage{graphicx} 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\definecolor{javared}{rgb}{0.6,0,0} % for strings
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
\lstset{language=Java,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
	basicstyle=\ttfamily,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
	keywordstyle=\color{javapurple}\bfseries,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
	stringstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
	commentstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
	morecomment=[s][\color{javadocblue}]{/**}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
	numbers=left,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
	numberstyle=\tiny\color{black},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
	stepnumber=1,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
	numbersep=10pt,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
	tabsize=2,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
	showspaces=false,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
	showstringspaces=false}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\lstdefinelanguage{scala}{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
  morekeywords={abstract,case,catch,class,def,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
    do,else,extends,false,final,finally,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
    for,if,implicit,import,match,mixin,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
    new,null,object,override,package,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
    private,protected,requires,return,sealed,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
    super,this,throw,trait,true,try,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
    type,val,var,while,with,yield},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
  otherkeywords={=>,<-,<\%,<:,>:,\#,@},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
  sensitive=true,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
  morecomment=[l]{//},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
  morecomment=[n]{/*}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
  morestring=[b]",
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
  morestring=[b]',
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
  morestring=[b]"""
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
\lstset{language=Scala,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
	basicstyle=\ttfamily,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
	keywordstyle=\color{javapurple}\bfseries,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
	stringstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
	commentstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
	morecomment=[s][\color{javadocblue}]{/**}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
	numbers=left,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
	numberstyle=\tiny\color{black},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
	stepnumber=1,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
	numbersep=10pt,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
	tabsize=2,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
	showspaces=false,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
	showstringspaces=false}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
% beamer stuff 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
\renewcommand{\slidecaption}{APP 02, King's College London, 9 October 2012}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
\begin{document}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
\begin{frame}<1>[t]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
\frametitle{%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
  \begin{tabular}{@ {}c@ {}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
  \\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
  \LARGE Access Control and \\[-3mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
  \LARGE Privacy Policies (3)\\[-6mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
  \end{tabular}}\bigskip\bigskip\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
  %\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
  %\includegraphics[scale=1.3]{pics/barrier.jpg}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
  %\end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
\normalsize
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
  \begin{tabular}{ll}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
  Email:  & christian.urban at kcl.ac.uk\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
  Of$\!$fice: & S1.27 (1st floor Strand Building)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
  Slides: & KEATS (also home work is there)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
  \end{tabular}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   101
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
\includegraphics[scale=0.45]{pics/trainwreck.jpg}\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
one general defence mechanism is\\\alert{\bf defence in depth}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
\end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
\begin{frame}<1-2>[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
\frametitle{Defence in Depth}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
\item \alt<1>{overlapping}{{\LARGE\bf overlapping}} systems designed to provide\\ security even if one of them fails.
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
\frametitle{PALs}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
\item \alert{Permissive Action Links} prevent unauthorised use of nuclear weapons (so the theory)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
\includegraphics[scale=0.25]{pics/nuclear1.jpg}\hspace{3mm}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
\includegraphics[scale=0.25]{pics/nuclear2.jpg}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
\end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
\onslide<3->{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
modern PALs also include a 2-person rule
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
} 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
 \only<2->{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
\begin{textblock}{11}(3,2)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
\begin{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
{\begin{minipage}{8cm}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
US Air Force's Strategic Air Command worried that in times of need the 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
codes would not be available, so until 1977 quietly decided to set them 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
to 00000000\ldots
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
\end{minipage}};
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
\end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
\end{textblock}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
\item until 1998, Britain had nuclear weapons that could be launched from airplanes\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
\item these weapons were armed with a bicycle key
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
\begin{tabular}[b]{c}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
\includegraphics[scale=1.05]{pics/britkeys1.jpg}\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
\small nuclear weapon
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
\hspace{3mm}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
\begin{tabular}[b]{c}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
\includegraphics[scale=0.35]{pics/britkeys2.jpg}\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
\small bicycle lock
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
\end{center}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
\item the current Trident nuclear weapons can be launched from a submarine without any code being transmitted
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
\frametitle{}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   203
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
\frametitle{\begin{tabular}{@ {}c@ {}}Plain-text Passwords at IEEE\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
\small\textcolor{gray}{On 25 September 2012, a report on a data breach at IEEE:}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
\item IEEE is a standards organisation (not-for-profit) 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
\item many standards in CS are by IEEE\medskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
\item 100k plain-text passwords were recorded in logs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
\item the logs were openly accessible on their FTP server
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
\end{itemize}\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
\begin{flushright}\small
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
\textcolor{gray}{\url{http://ieeelog.com}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
\end{flushright}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
\only<2>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
\begin{textblock}{11}(3,2)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
\begin{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
\draw (0,0) node[inner sep=2mm,fill=white, ultra thick, draw=red, rounded corners=2mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
{\normalsize\color{darkgray}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
\begin{minipage}{7.5cm}\raggedright\small
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
\includegraphics[scale=0.6]{pics/IEEElog.jpg}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
\end{minipage}};
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
\end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
\end{textblock}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
\frametitle{\begin{tabular}{@ {}c@ {}}Virgin Mobile (USA)\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
\begin{flushright}\small
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
\textcolor{gray}{\url{http://arstechnica.com/security/2012/09/virgin-mobile-password-crack-risk/}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
\end{flushright}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
\item for online accounts passwords must be 6 digits
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
\item you must cycle through 1M combinations (online)\pause\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
\item he limited the attack on his own account to 1 guess per second, \alert{\bf and}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
\item wrote a script that cleared the cookie set after each guess\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
\item has been fixed now
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
\frametitle{\begin{tabular}{@ {}c@ {}}Smash the Stack for Fun \ldots\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
\item ``smashing the stack attacks'' or ``buffer overflow attacks''
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
\item one of the most popular attacks;\\ attack of the (last) decade\\ ($>$ 50\% of security incidents reported at CERT are related to buffer overflows)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
\begin{flushright}\small
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
\textcolor{gray}{\url{http://www.kb.cert.org/vuls}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
\end{flushright}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
\medskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
\item made popular in an article by Elias Levy\\ (also known as Aleph One):\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
{\bf ``Smashing The Stack For Fun and Profit''}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
\end{center}\medskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
\begin{flushright}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
\small\textcolor{gray}{\url{http://www.phrack.org}, Issue 49, Article 14}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
\end{flushright} 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   292
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
\frametitle{\begin{tabular}{c}The Problem\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
\item The basic problem is that library routines in C look as follows:
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
{\lstset{language=Java}\fontsize{8}{10}\selectfont%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
\texttt{\lstinputlisting{app5.c}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
\end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
\item the resulting problems are often remotely exploitable 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
\item can be used to circumvents all access control
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
(botnets for further attacks)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   312
\frametitle{\begin{tabular}{c}Variants\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
There are many variants:
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
\item return-to-lib-C attacks
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
\item heap-smashing attacks\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
\textcolor{gray}{\small(Slammer Worm in 2003 infected 90\% of vulnerable systems within 10 minutes)}\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
\item ``zero-days-attacks'' (new unknown vulnerability)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
\small
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
\texttt{my\_float} is printed twice:\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
{\lstset{language=Java}\fontsize{8}{10}\selectfont%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
\texttt{\lstinputlisting{C1.c}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
\only<1>{\includegraphics[scale=0.9]{pics/stack1}\;\;}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
\only<2>{\includegraphics[scale=0.9]{pics/stack2}\;\;}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
\only<3>{\includegraphics[scale=0.9]{pics/stack3}\;\;}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
\end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
{\lstset{language=Java}\fontsize{8}{10}\selectfont%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   362
\texttt{\lstinputlisting{C2.c}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   363
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
\small
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
A programmer might be careful, but still introduce vulnerabilities:\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
{\lstset{language=Java}\fontsize{8}{10}\selectfont%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
\texttt{\lstinputlisting{C2a.c}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
\frametitle{\begin{tabular}{c}Payloads\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
\item the idea is you store some code as part to the buffer
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
\item you then override the return address to execute this payload\medskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
\item normally you start a root-shell\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
\item difficulty is to guess the right place where to ``jump''
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
\frametitle{\begin{tabular}{c}Payloads (2)\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
\item another difficulty is that the code is not allowed to contain \texttt{$\backslash$x00}:
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
\texttt{xorl   \%eax, \%eax}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
\end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
\end{itemize}\bigskip\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
{\lstset{language=Java}\fontsize{8}{10}\selectfont%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
\texttt{\lstinputlisting{app5.c}}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
\frametitle{\begin{tabular}{c}Format String Vulnerability\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
\small
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
\texttt{string} is nowhere used:\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
{\lstset{language=Java}\fontsize{8}{10}\selectfont%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
\texttt{\lstinputlisting{C6.c}}}\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
this vulnerability can be used to read out the stack
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   435
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
\frametitle{\begin{tabular}{c}Protections against BO Attacks\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   439
\item use safe library functions
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   440
\item ensure stack data is not executable (can be defeated)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
\item address space randomisation (makes one-size-fits-all more difficult)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
\item choice of programming language (one of the selling points of Java)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   444
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   449
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   450
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   451
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   452
\frametitle{\begin{tabular}{c}Security Goals\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   453
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   454
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   455
\item Prevent common vulnerabilities from occurring (e.g. buffer overflows)\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
\item Recover from attacks (traceability and auditing of security-relevant actions)\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   457
\item Monitoring (detect attacks)\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
\item Privacy, confidentiality, anonymity (to protect secrets)\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
\item Authenticity (eeded for access control)\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   460
\item Integrity (prevent unwanted modification or tampering)\pause
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   461
\item Availability and reliability (reduce the risk of DoS attacks)
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   462
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   463
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   469
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   470
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   471
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   472
\frametitle{\begin{tabular}{c}Homework\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
\begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   475
\item Assume format string attacks allow you to read out the stack. What can you do
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   476
	with this information?\bigskip
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
\item Assume you can crash a program remotely. Why is this a problem?
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   479
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   480
  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   481
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   482
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   484
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   485
\end{document}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   486
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   487
%%% Local Variables:  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
%%% mode: latex
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   489
%%% TeX-master: t
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
%%% End: 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491