Opinions crumble in the presence of facts. I had experience that suggested
otherwise, but it is clearly an anomaly.
joe
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Skywing
Sent: Friday, December 05, 2008 1:07 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ASLR
Actually, not so very unlikely. Drivers will tend to load at the same order
across every boot for many classes of drivers, which makes them likely to be
at a particular base address always on a particular machine loadout.
Especially for early-loading and ubiquitous stuff like drivers used for the
boot process, those are quite likely to load at the same address across
machines.
It often takes just one common reference point for many exploit scenarios.
Please do not downplay ASLR just because the preferred load address isn’t
used. The assumption that simply because there isn’t a valid preferred load
address that your actual load address won’t be highly predictable is not
valid.
This is kind of the same thing as optimizing without actually doing the
research as to whether there’s a problem or not. You really need to look at
some actual data first.
I just picked two random unrelated systems (one running Srv08 x64 and the
other Vista SP1 x64) and there are a whole bunch of drivers that were the
same load addresses on these different systems. In fact, one system was
even booted with full driver verifier and the other wasn’t and there were
still a bunch of drivers at the same base addresses even though they had “no
valid preferred base address”. Many of these drivers were even early-boot
in-box drivers that will be practically universally present on any Windows
system.
I really cannot stress enough that dismissing the value of ASLR on the
grounds of “loader relocations” is really the wrong answer. Looking at
actual data tells a different story.
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joseph M. Newcomer
Sent: Thursday, December 04, 2008 11:36 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ASLR
Yes, it’s called “loading the driver”. There is no fixed address where a
driver is loaded. I don’t know if the kernel ASLR mechanisms already in
place extend to drivers, but I think it’s pretty unlikely that a driver
loads at the same address on any two different machines.
joe
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bedanto
Sent: Thursday, December 04, 2008 9:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ASLR
hello,
was reading this paper on ASLR, though it is user mode, was wondering
whether we have something similar for device drivers???
http:c-07-Whitehouse.pdf>
http://www.blackhat.com/presentations/bh-dc-07/Whitehouse/Presentation/bh-dc
-07-Whitehouse.pdf
http:
http://mail-index.netbsd.org/current-users/2008/07/18/msg003597.html –
sample example
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the
List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
–
This message has been scanned for viruses and
dangerous content by http:</http:> MailScanner, and is
believed to be clean.
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
–
This message has been scanned for viruses and
dangerous content by http:</http:> MailScanner, and is
believed to be clean.</http:></http:>