flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > NTFS Resident Bootprogram worked in WinXP/2K/Vista too, way? |
Author |
|
Hp 14 Jul 2007, 16:09
Hello,
is there a way to created a memory resident Bootloader that worked on new NTFS and can be make operations in Windows? |
|||
14 Jul 2007, 16:09 |
|
Adam Kachwalla 21 Jul 2007, 02:17
Explain the situation...
|
|||
21 Jul 2007, 02:17 |
|
Gizmo 21 Jul 2007, 13:17
You can't use win32 api's since they are actually inside of dll's loaded when windows loads. That and you would also need the entire gdi subsystem loaded to draw pixels to the vesa adapter since the win32 api's are based on gdi.
A bootloader gives up execution to the winxp bootloader on the partitions mbr so once you pass on to windows you loose the ability to run anything. If you wanted to insert code into some windows component that would execute after windows has loaded you might be able to do that, but it would not be easy since you can't just throw it in there anywhere and expect it not to crash. |
|||
21 Jul 2007, 13:17 |
|
Adam Kachwalla 28 Jul 2007, 03:04
Quote:
Another problem with that is that Windows Vista uses ASLR, which means that patching up a Windows Component at runtime is not going to work under Vista or Longhorn Server (without crashing the system 99.99999% of the time). |
|||
28 Jul 2007, 03:04 |
|
Gizmo 28 Jul 2007, 07:20
It would be easier to just add a windows application to the startup folder, as a service, or in the registry that loads when the desktop does (a service loads when the drivers do).
Thats how most spyware programs "embed" themselves- in windows you can even force a dll to load into every process by modifing the right registry key or do it one process at a time and actually inject a dll at runtime. (called a hook) Thats how antivirus programs insert those annoying wigets into the explorer system tray (not the icons, i mean they make there own tray next to the system tray). |
|||
28 Jul 2007, 07:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.