The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Сравнение производительности игр при использовании Wayland и X.org "
Версия для распечатки Пред. тема | След. тема
Форум Разговоры, обсуждение новостей
Исходное сообщение [ Отслеживать ]
Подсказка: Ссылки "<<" и ">>" открывают первые и последние 10 сообщений.
. "Сравнение производительности игр при использовании Wayland и..." +/
Сообщение от llolik (ok), 31-Дек-21, 21:35 
> Ну раз так просишь

Опять в трёхстотый раз эта репа. Через LD_PRELOAD можно хоть монольский йенг на каждом (своём) окне рисовать, хоть ввод грабить (в нём же). Как дисплейный протокол и сервер может бороться с code injection (ну без SELinux и прочих извратов)?

Собственно, цитируем Дрюсика
https://drewdevault.com/2019/02/10/Wayland-misconceptions-de...

> There is an unfortunate GitHub project called “Wayland keylogger” whose mode of operation is using LD_PRELOAD to intercept calls to the libwayland shared library and record keypresses from it. The problem with this “critique” is stated in the README.md file, though most don’t read past the title of the repository. Wayland is only one part of an otherwise secure system. Using LD_PRELOAD is effectively equivalent to rewriting client programs to log keys themselves, and any program which is in a position to do this has already won. If I rephrased this as “Wayland can be keylogged, assuming the attacker can sneak some evil code into your .bashrc”, the obviousness of this truth should become immediately apparent. Some people have also told me that they can log keys by opening /dev/input/* files and reading input events. They’re right! Try it yourself: sudo libinput debug-events. The catch should also be immediately obvious: ask yourself why this needs to be run with sudo.

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Сравнение производительности игр при использовании Wayland и X.org , opennews, 29-Дек-21, 12:30  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру