The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
May 25, 2016
Post comments count
0
Post likes count
2
How can I generate a stack backtrace that is independent of ASLR?
Use module offsets rather than absolute addresses.
May 24, 2016
Post comments count
0
Post likes count
1
How do I create a directory where people can create subdirectories but cannot mess with those created by other users?
Advanced ACL games.
May 23, 2016
Post comments count
0
Post likes count
1
Security through lying
Factual errors make it harder for the good guys.
May 20, 2016
Post comments count
0
Post likes count
1
How long do I have to keep the SECURITY_ATTRIBUTES and SECURITY_DESCRIPTOR structures valid after using them to create a file?
Once CreateFile returns, they aren't needed any more.
May 19, 2016
Post comments count
0
Post likes count
1
Why did the friendly name for the Network Service account change?
Nobody promised it wouldn't.
May 18, 2016
Post comments count
0
Post likes count
1
Why doesn’t RevertToSelf undo the most recent SetThreadToken?
It removes all impersonation; it doesn't restore it.
May 17, 2016
Post comments count
0
Post likes count
1
But Australian Telecom loves it!
Weighted average.
May 16, 2016
Post comments count
0
Post likes count
1
Wow, that article sounds an awful lot like something I would have writt… hey, wait a second
Deja vu.
May 13, 2016
Post comments count
0
Post likes count
1
Is Metro on fire today?
Single-serving.