Who are we? Jos Wetzels Ali Abbasi


QNX 7 /dev/random QNX 7 /dev/random



Download 10,05 Mb.
bet8/11
Sana27.10.2022
Hajmi10,05 Mb.
#857052
1   2   3   4   5   6   7   8   9   10   11
Bog'liq
wetzels dissecting qnx infiltrate 2018 (1)

QNX 7 /dev/random

QNX 7 /dev/random

  • Redesigned after our assessment of QNX 6 /dev/random
    • Incorporates some of our feedback
  • Uses Heimdal Fortuna implementation
  • New entropy sources
  • New reseed control mechanism
  • Overall quality seems much better than QNX 6
  • Potential for weaknesses depending on system integration conditions

QNX 7 /dev/random

QNX 7 /dev/random

QNX 7 Kernel PRNG

QNX 7 Kernel PRNG

  • QNX 7 introduced new kernel PRNG after our assessment
  • Used for ASLR, Stack Canaries, etc.
  • random_seed set via SysSrandom syscall (requires PROCMGR_AID_SRANDOM)

Exploit Mitigations

QNX Exploit Mitigations

QNX Exploit Mitigations

(Public) Examples of QNX Usage w/ Mitigations

  • BlackBerry 10 OS
  • BlackBerry Tablet OS
  • No support for:

  • Vtable Protection (eg. VTGuard, VTV)
  • CPI / CFI (eg. CFG)
  • Kernel Data / Code Isolation (eg. SMAP/PAN, SMEP/PXN)

Mitigation

Support Since

Enabled by Default?

Data Execution Prevention (DEP)

6.3.2



Address Space Layout Randomization (ASLR)

6.5



Stack Canaries

6.5



Relocation Read-Only (RELRO)

6.5


QNX DEP

QNX DEP

  • Hardware-based DEP support (eg. NX/XN bit)
  • Insecure Defaults
    • Stack always left executable
    • GNU_STACK ELF program header ignored
  • Need to specify “-m~x” in procnto startup flags to make stack non-exec
    • Problem: this is system-wide setting, no opt-out
  • Issue still present on QNX 6 & 7


Download 10,05 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   11




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish