hw02.tex
author Christian Urban <urbanc@in.tum.de>
Tue, 16 Oct 2012 14:20:20 +0100
changeset 48 e1a5d057db96
parent 19 3a15c73d51e2
permissions -rw-r--r--
added
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass{article}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{charter}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usepackage{hyperref}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\begin{document}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
19
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
     7
\section*{Homework 2}
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\begin{enumerate}
19
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
    10
\item Assume format string attacks allow you to read out the stack. What can you do
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
    11
	with this information? (Hint: Consider what is stored in the stack.)
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
19
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
    13
\item Assume you can crash a program remotely. Why is this a problem?
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
19
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
    15
\item How can the choice of a programming language help with buffer overflow attacks?
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
    16
(Hint: Why are C-programs prone to such attacks, but not Java programs.)
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
19
Christian Urban <urbanc@in.tum.de>
parents: 16
diff changeset
    18
\item (Optional) How can a system that separates between \emph{users} and \emph{root} be of any help with buffer overflow attacks?
16
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\end{enumerate}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\end{document}
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
%%% Local Variables: 
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
%%% mode: latex
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
%%% TeX-master: t
d627d9bc15c8 new slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
%%% End: