The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Dubious security vulnerability: Luring somebody into your lair
Constructing an insecure directory.
The tadpole operators explained
Combining two things in an unintuitive way.
New C++ experimental feature: The tadpole operators
Give it a whirl.
So you decided to call SHFileOperation from a service, at least remember to disable copy hooks
Mitigating the disaster.
If you can set enforcement for a rule, you can set up lack of enforcement
An exeption to a rule is just another rule.
When you inadvertently become a collector of something you really aren't all that into
As I was heading home at the end of the day, I ran into one of my colleagues who was also going home, and he was carrying a Star Wars-themed metal lunchbox similar to this one. For those who didn't grow up in the United States, these metal lunchboxes are the type of things elementary school children use to carry their lunch to school. I remarked, "Nice lunchbox." My colleague explained, "Yeah, I sort of ended up as the lunchbox guy. It started when somebody gave me a lunchbox as a semi-humorous gift, and I kept it on my shelf. Then other people saw that I had a metal lunchbox and concluded, 'Oh, he must collec...
It rather involved being on the other side of this airtight hatchway: Code injection via QueueUserAPC
But you already pwn that thread.
Determining programmatically whether a file was built with LAA, ASLR, DEP, or OS-assisted /GS
Sucking the flags out of the header.
MapGenericMask is just a convenience function for converting generic access to specific access, according to the instructions you provide
It's useful on the server side, not the client side.