David
Thu Jan 05 11:18:12 CST 2006
Why should hotpatch be a security risk? Those who want to patch can just
change the code and replicate it elsewhere as they have been doing for ages.
The hotpatching space just makes it easier to do it and allow it to be more
readily implemented, but it is not that much easier to do. The virus
writers who have to find instruction sequences to jump into by modifying a
return address or to patch in memory code do so much work at the machine
code level that it is not that much effort regardless of the hotpatch area.
"RossettoeCioccolato" <gmgarner@newsgroup.nospam> wrote in message
news:OSNUpUdEGHA.140@TK2MSFTNGP12.phx.gbl...
> Mark,
>
> Thanks for clarifying this. I thought that this was a Microsoft issue to
> begin with; and a pretty nasty bug in my opinion. Perhaps there are some
> restricted circumstances where the benefits of hot patching outweigh the
> inherent security risks. But I don't see why this switch should be turned
> on by default.
>
> Once again, would someone from Microsoft please explain how to turn this
> switch off within the DDK build environment?
>
> Regards,
>
> George.
>
> "Mark Roddy" <markr@hollistech.com> schrieb im Newsbeitrag
> news:015pr1tikav8opvfghrb7krijqtlro6sm8@4ax.com...
>> On Wed, 04 Jan 2006 20:06:37 GMT, jeffm@online.microsoft.com (Jeff
>> McCashland [MSFT]) wrote:
>>
>>>George,
>>>
>>>For that information, I believe you will need to ask the DDKBUILD vendor.
>>>
>>>Try
http://www.hollistech.com/.
>>>
>>>Thanks,
>>>[MSFT] Jeff McCashland
>>>jeffm@online.microsoft.com
>>>
>>>This posting is provided "AS IS" with no warranties, and confers no
>>>rights.
>>
>> I don't qualify as a vendor here, for that I would have to actually
>> vend something :-)
>>
>> I give up what the heck is '/hotpatch'? I don't find this listed as a
>> parameter for build. Nor is it mentioned anywhere in the ddk docs.
>>
>> Ah - I see it is a compiler flag. Its use is undocumented in the DDK
>> and its support is some even more undocumented nonsense buried deep
>> within the build support files. Hmmm.. perhaps the OP ought to ask the
>> vendor of build about that?
>>
>> Looks to me like there is no way to turn it off on the command line so
>> no help from ddkbuild. You might try clobbering ERATTA_FLAGS in your
>> sources file. But now I am curious, why do you think you need to
>> disable this?
>>
>> I generally try not to muck too much with the builtin rules for driver
>> compilation/linking.
>>
>>
>>
>> =====================
>> Mark Roddy DDK MVP
>> Windows Vista/2003/XP/2000 Consulting
>> Device and Filesystem Drivers
>> Hollis Technology Solutions 603-321-1032
>> www.hollistech.com
>
>