13.07.2015 Views

slides - PDOS - MIT

slides - PDOS - MIT

slides - PDOS - MIT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INET DIAG infinite loop vulnerability$*ss*‘...’ """""sge""""21,"L1,"rej""";"02"04"...02"00L1:""sge""1024,"L2,"acc""";"02"04"... 02"00L2:""jmp""rej""""""""""""";"01"04"... 01"00acc:"nop"""""""""""""""""";"00"04 00"00rej:Userspacefilter codestruct"inet_diag_bc_op"{"""""//"instruction"header""""unsigned"char"""opcode;""//"opcode""""unsigned"char"""oplen;"""//"instruction"length};//"validate"bytecodeconst"void"*bc"="bytecode;while"(len">"0)"{""""struct"inet_diag_bc_op"*op"="bc;""""...suspiciousSocketsuspiciousfiles state(trusted)files""""bc"+="opP>oplen;""""len"P="opP>oplen;}Infinite loop whenop^>oplen is zero

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!