Anyone can help me how to create a thread in kernel-mode that can write
data to physical user memory?
Thanks

Arcady

Re: Help - creating thread in kernel mode by Don

Don
Wed Feb 01 15:45:26 CST 2006

What is physical user memory? You can create a thread in kernel mode with
PsCreateThread.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply



"Arcady" <spam@x.xx> wrote in message
news:eJDYCh3JGHA.3936@TK2MSFTNGP12.phx.gbl...
> Anyone can help me how to create a thread in kernel-mode that can write
> data to physical user memory?
> Thanks
>
> Arcady



Re: Help - creating thread in kernel mode by Maxim

Maxim
Wed Feb 01 16:53:31 CST 2006

To what process?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Arcady" <spam@x.xx> wrote in message
news:eJDYCh3JGHA.3936@TK2MSFTNGP12.phx.gbl...
> Anyone can help me how to create a thread in kernel-mode that can write
> data to physical user memory?
> Thanks
>
> Arcady


Re: Help - creating thread in kernel mode by Arcady

Arcady
Wed Feb 01 20:44:42 CST 2006

Maxim S. Shatskih wrote:
> To what process?
>
The process that starts the driver. I actually want to
execute a process subroutine (user space) as a thread from kernel.
Is it possible? Thanks.

Arcady

Re: Help - creating thread in kernel mode by David

David
Wed Feb 01 23:16:25 CST 2006

Only if you write your own OS and have no plans to ever have any form of
security. You can't be sure that there is a user space when a driver loads
unless it only starts in response to a user executed program. Then how
about terminal services? What makes you think there is a user process?

"Arcady" <spam@x.xx> wrote in message
news:O0GqjK6JGHA.216@TK2MSFTNGP15.phx.gbl...
> Maxim S. Shatskih wrote:
>> To what process?
>>
> The process that starts the driver. I actually want to
> execute a process subroutine (user space) as a thread from kernel.
> Is it possible? Thanks.
>
> Arcady



Re: Help - creating thread in kernel mode by Eric

Eric
Fri Feb 03 18:49:00 CST 2006


"David J. Craig" <SeniorDriversWriter@shogunyoshimuni.com.net> wrote in message news:ehT4Qf7JGHA.3960@TK2MSFTNGP09.phx.gbl...
> Only if you write your own OS and have no plans to ever have any form of
> security. You can't be sure that there is a user space when a driver loads
> unless it only starts in response to a user executed program. Then how
> about terminal services? What makes you think there is a user process?
>
---
>>>
>> The process that starts the driver. I actually want to
>> execute a process subroutine (user space) as a thread from kernel.
>> Is it possible? Thanks.
>>

I know it is possible to enter kernel mode from user mode and back
and of course execute whatever you want.
There are plenty of interesting articles on that.

E

Re: Help - creating thread in kernel mode by Alexander

Alexander
Fri Feb 03 22:39:30 CST 2006

Only if you have administrator privileges, and can start a driver. With a
custom driver and administrator's privileges, one can FUBAR the system any
way you want.

"Eric" <spam@spam.no> wrote in message
news:OJNCUTSKGHA.740@TK2MSFTNGP12.phx.gbl...
>
> "David J. Craig" <SeniorDriversWriter@shogunyoshimuni.com.net> wrote in
> message news:ehT4Qf7JGHA.3960@TK2MSFTNGP09.phx.gbl...
>> Only if you write your own OS and have no plans to ever have any form of
>> security. You can't be sure that there is a user space when a driver
>> loads unless it only starts in response to a user executed program. Then
>> how about terminal services? What makes you think there is a user
>> process?
>>
> ---
>>>>
>>> The process that starts the driver. I actually want to
>>> execute a process subroutine (user space) as a thread from kernel.
>>> Is it possible? Thanks.
>>>
>
> I know it is possible to enter kernel mode from user mode and back
> and of course execute whatever you want.
> There are plenty of interesting articles on that.
>
> E