Session Leader: emaste

Notes: https://hackmd.io/oZVxl9w7RkSMZmXow_3Gig (content has been migrated to this page)

CPU Security

  • SGX
    • Ruslan update
    • theraven: having paging support in FreeBSD is useful
    • GELI
    • QEMU, hardware in test cluster perhaps
  • MKTME - per-page-table encryption
  • TPM support
    • libtrousers
  • IBT (Indirect Branch Tracking)
    • toolchain support: available for amd64 today
    • amd64 requires kernel support for alternate permission bits (not in PTEs)
  • Shadow Stack
    • breaks retpoline
    • Google thing: xor RA with stack pointer
  • Pointer Authentication (Arm)
  • PXN, UXN, PAN, SMAP, SMEP
    • arm64, amd64 - believe done?
    • RISC-V not yet
    • POWER ???
  • IOMMU use
    • who will do it?
  • Tagged pointers
    • research area
    • software implementations - high overhead
    • may appear in llvm
  • CHERI
    • how do we promote the knowledge that pointers are not integers?
    • type-aware copyin/copyout ; clang-generated marshal/unmarshal code
  • How do we ensure this actually gets used?
    • e.g. GELI TPM
    • ssh-agent
  • shipping kernel modules as LLVM IR?
  • Windows virtualization based security
    • hyper-v enclaves
    • virtual TPM
  • Kernel memory permissions
    • kernel segments done for amd64, needs to be done for everything else
    • kernel modules
      • fairly straightforward
      • mips, amd64 use .o, everything else .so
    • opportunity to find RW memory that could be demoted to RO
  • W^X
  • ASLR
  • devsummit/201808/cpusecurity.txt
  • Last modified: 2018/08/27 01:13
  • by LiWenHsu