News for hackers. Stuff that matters.
Re:WCry 2.0 functions perfectly under Wine by aeleos on Sunday May 14, 2017 @10:18PM (#14338714)
That is pretty scary. Anyone know if there is any info on if it will only encrypt the c_drive folder that wine makes or the entire fs?
Re:WCry 2.0 functions perfectly under Wine by swiley on Sunday May 14, 2017 @10:27PM (#14338746)
Isn't the entier fs exposed as Z: or so in wine? I know there's some way to get to the user's home directory which is probably good enough to cause essentially the same amount of pain.
Re:WCry 2.0 functions perfectly under Wine by viraptor on Monday May 15, 2017 @12:50AM (#14339228)
> entier fs exposed as Z: or so in wine

By default only. You can easily disable that. It always made me worried that anything in wine got access to my system, even though I normally wanted something closer to an isolated instance, so I always disabled that.

Re:WCry 2.0 functions perfectly under Wine by gpvos on Monday May 15, 2017 @02:30AM (#14339568)
There may also be links to your home directory as "Desktop", "My Documents", etc. See winecfg for these. And note that your registry files may refer to Z: (mostly for fonts, it seems), or even directly to files outside your Wine directory.
Re:WCry 2.0 functions perfectly under Wine by CyberShadow on Monday May 15, 2017 @02:39AM (#14339609)
If the software is Wine-aware, it doesn't matter. The \\unix\ filesystem namespace allows programs running under Wine to access the host filesystem whether it's mapped as a drive or not. And, of course, since Wine Is Not an Emulator, it could also use POSIX APIs or Linux kernel syscalls directly if it wanted to.
Re:WCry 2.0 functions perfectly under Wine by gpvos on Monday May 15, 2017 @04:10AM (#14339954)
Have there been reports of Wine-aware malware already? (If not, the next generation probably will, though.)
Re:WCry 2.0 functions perfectly under Wine by tinus_hn on Monday May 15, 2017 @05:40AM (#14340300)
Wine is not an isolation layer. You can disable the Z: drive but the applications running in Wine still have about the same access a normal application has.
Re:WCry 2.0 functions perfectly under Wine by aeleos on Sunday May 14, 2017 @10:46PM (#14338809)
yea it seems Z: is mapped to the root fs, so if wine has the right permissions it could cause some damage.
Re:WCry 2.0 functions perfectly under Wine by pinpeliponni on Monday May 15, 2017 @12:11AM (#14339107)
Most interesting. However, you have to butcher your system a bit in order to make that happen... That doesn't say there aren't setups like that, but they are really one out of million.
Re:WCry 2.0 functions perfectly under Wine by wildmusings on Monday May 15, 2017 @12:29AM (#14339163)
How is that so? I believe Wine processes have r/w access to the user's home directory.
Re:WCry 2.0 functions perfectly under Wine by Sammi on Monday May 15, 2017 @03:59AM (#14339925)
And most of your valuable stuff will be in your user dir if you're on a personal computer.
Re:WCry 2.0 functions perfectly under Wine by Retr0spectrum on Monday May 15, 2017 @06:48AM (#14340571)
On that note, is is possible to sandbox wine so that it can only access the c_drive folder, not the whole host fs?
Re:WCry 2.0 functions perfectly under Wine by chinarulezzz on Monday May 15, 2017 @07:48AM (#14340828)
Yep. Try apparmor or similar.