Похожие чаты

How is this possible? as long as i know if

the app is initially not launched for root this mean it address space is not for root , so in the worst case. Where a code was ejected , it will only be executed for the non root user

5 ответов

10 просмотров

What do you mean by address space is not root? It is the kernel which ensures access control through acl mechanism. As any read/writes are directed through the kernel. There are ways to bypass this but lets ignore that for now (involves hardware backdoors, etc, other members can elaborate more since i am not really qualified to talk about these things). What buffer overflow gives you is a chance to execute malicious code. Using it you can use unpatched vulnerabilities in the os to gain elevated access.

Abdo- Автор вопроса
Abdo- Автор вопроса
Manav | avoid unnecessary messaging me
What do you mean by address space is not root? It...

Well what i mean by address space not root , is that an affected app which is launched for a non root user can access the address space for a root app to write some code , therefore this code can be executed as root , however the seg fault solves this error , that what i said

Abdo
Well what i mean by address space not root , is th...

That's not how it works. First of all you need elivated previlidges to access address space of other processes so you can't do it the other way as you hinted. Alsp it's not segfault which prevents it. Each process is given a virtual adrress space which maps to physical memory (the ram chip) by the OS. So two processes can share the same virtual address and they can point to different things at the same time.. Kernels allow you to access virtual adderss spaces but it is usually behind an elivated access, like in windows there is ReadProcessMemory(). The area to be read has to be accessible, that is it should have PROCESS_VM_READ You can read about it here: https://learn.microsoft.com/en-us/windows/win32/procthread/process-security-and-access-rights

Abdo- Автор вопроса
Manav | avoid unnecessary messaging me
That's not how it works. First of all you need el...

that's actually shocking (two different process share same virtual address)

Похожие вопросы

Обсуждают сегодня

А кто-то пробовал, уезжая из Эстонии получить э-рез и продолжить вести предпринимательскую деятельность внутри Эстонии, используя свой OÜ?
Lalalashechki Lalala
62
Гайз, кто-нибудь пробовал запустить probe-rs под камень, которого нет в probe-rs? Мб есть какой-нибудь пример у кого... Через target-gen попробовал сгенерировать chip-descript...
Максим Смирнов
1
isn't utxo commitements pretty close though if someone wanted to get it over the finish line? my understanding is that most of the ground work was already down by verde
Luke High - Rabbi Of Bcash High Rabbi Of Bcash
23
Is Kadena onto something special? No one really knows. Good luck!
Bright Uncle Stephen EqualBet
22
@MrMiscipitlick А можешь макрос написать, который будет вычислять смещение относительно переданных меток? Просто .label1-.label2, и вернуть значение.
КТ315
35
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
is the buyback program live and at what prices are the purchases fixed? excuse me for the bland PA question, sophisticated defi people keke
Imnothere
20
А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
Чем оно проблема?
Nikita Uzumaki
21
@samkazemian - couple questions: Update on frxBTC? - This would do well with the current influx of institutional investment entering the space Update on future veFXS streams...
Costi
16
Карта сайта