Windows Symbolic Link Mitigations
googleprojectzero.blogspot.com
googleprojectzero.blogspot.com
Got to give it to Microsoft for their dedication to never breaking old code. I cannot imagine several of these scenarios happening more than in one or two programs given how niche they are.
On modern UNIX (Linux, BSD, et al) when you create a symlink do you need write access into the target directory, or do they suffer from this same sandbox escape?
e.g.:
$ mkdir secrets
$ ls -l
drwxr-xr-x 2 ajf staff 68 28 Aug 15:17 secrets
$ chmod -rwx secrets
$ ls -l
d--------- 2 ajf staff 68 28 Aug 15:17 secrets
$ touch secrets/foo
touch: secrets/foo: Permission denied
$ ln -s secrets lies
$I know, old (DOS-era) systems were being run inside WinXP, but having DOSbox take care of that was a way better solution -- which is what happened with those systems once they lost support from the OS.
XP didn't run on 16-bit, it just allowed running 16-bit apps. Why? Well, loads of applications still used 16-bit installers, for instance. If it ain't broken, don't fix it, etc.
Also, Microsoft didn't drop 16-bit support deliberately. The Virtual 8086 mode (a CPU feature) doesn't work on x86-64.
which leads to MS being unwilling to break things and idiots being unwilling to update them because "it ain't broken"
Now, I do wish they had done a "classic" emulation with a go forward API of .NET, but I guess that would have been hyper-difficult given the players.
On a side note one of the big drivers dictating the shuttle decommission final date was that NASA ran out of 8086 chips they ran out of them in 2002, and there wasn't a big enough supply to push servicing them beyond 2012... The chips were apparently part of the pre-launch diagnostic module for the SRB's and there was an 8 months delay in shuttle missions in the early 2000's until NASA found a fresh batch some where. Since reading about that 13 years ago I still haven't heard of a cooler job at NASA (other than actually flying to space ;)) it's like being a modern day Indiana Jones hunting for new old hardware to keep their current missions in play...
The International space station is probably running out of their 486DX's these days if some one has a hook on a good supply of fresh one's they might make a killing :)
The POSIX compliance in windows is due to a US government regulation (FIPS 151-2) it was introduced in various forums from Windows NT3.5 to Windows 7, it was dropped from Windows 8 (no idea why, maybe regulation changes) but it seems like it will be back with Windows 10 for enterprise users.
How did Unix ever manage with only the one type of symbolic link