diff -r e1e314c1bb61 -r efcac3016613 hws/hw02.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hws/hw02.tex Mon Sep 23 17:39:31 2013 +0100 @@ -0,0 +1,26 @@ +\documentclass{article} +\usepackage{charter} +\usepackage{hyperref} + +\begin{document} + +\section*{Homework 2} + +\begin{enumerate} +\item Assume format string attacks allow you to read out the stack. What can you do + with this information? (Hint: Consider what is stored in the stack.) + +\item Assume you can crash a program remotely. Why is this a problem? + +\item How can the choice of a programming language help with buffer overflow attacks? +(Hint: Why are C-programs prone to such attacks, but not Java programs.) + +\item (Optional) How can a system that separates between \emph{users} and \emph{root} be of any help with buffer overflow attacks? +\end{enumerate} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: