Revision 6 as of 2016-05-30 14:39:17

Clear message
Locked History Actions

Related Publications

Implementations of automated Masking

  • Andrew Moss, Elisabeth Oswald, Dan Page, and Michael Tunstall. Compiler Assisted Masking. In Emmanuel Prouff and Patrick Schaumont, editors, CHES, volume 7428 of LNCS, pages 58–75. Springer, 2012

  • G. Agosta, A. Barenghi, M. Maggi and G. Pelosi, "Compiler-based side channel vulnerability analysis and optimized countermeasures application" Design Automation Conference (DAC), 2013 50th ACM/EDAC/IEEE, Austin, TX, 2013, p. 1-6.

Obfuscation

Model of attacker

In the case of cyber attacks

  • Attacker can run programs on the same machine
  • Attacker interacts with remote machine
    • buffer overflow, canari, ASLR, CFI
    • Canaries with Clang: -fstack-protector, -fstack-protector-strong, -fstack-protector-all
    • ASLR with Clang: -fpie -pie
    • Safe stack with Clang: -fsanitize=safe-stack. More information : http://dslab.epfl.ch/proj/cpi/ (research prototype)

    • CFI with Clang: -fsanitize=cfi. More information : http://clang.llvm.org/docs/ControlFlowIntegrity.html

    • Global Offset Table (GOT) Protection with Clang: -Wl,-z,now -Wl,-z,relro