r/linuxquestions • • 6d ago

Support Am I really safe?

I have a dual-booting setup. My Linux MInt has most of my data. And Windows 8.1 for apps and programs and games that I don't care about its data. Basically an empty OS to run windows compatible programs.

I have set each of Windows and Linux in different partitions of the same SSD. While windows can't see or identify Linux Partition, Linux can see and manage Windows files.

So I do run cracked software on windows (that the community vouch for) however i don't fully trust. Me running the cracked software is out of pure need. I have no ability to support the actual dev because I still have some sanctions over my location :(.

THE REAL ISSUE here, I find myself often switching OSes for little things. I was wondering if I used Wine on linux for these apps to access my Windows system files and run the exe directly from Linux without having to switch the OS every single time (I am not saying that i will delete the dualboot system.)... Is there any possibility that I will get the threat over to Linux and get my data under risk?? or is it closed in the environment just as if I am running it via docker?

1 Upvotes

21 comments sorted by

7

u/mwyvr 6d ago

my data under risk

If you are worried about losing data, that suggests you don't have backups.

If you don't have backups, all your data, Linux and Windows, is at risk. Now.

0

u/Limp_Initiative_8845 6d ago

So there are type of risks regarding data and there are type of data.
I forgot to specify, it's not about data loss. it's about my data being stolen. Passwords for instance.

3

u/hazeyAnimal 5d ago

Just because windows can't mount and read the Linux partition it won't stop someone copying the partition and booting up the data in a machine that can read it.

Have you even considered physical access? The same applies. If someone has physical access and boots into their own USB mounted OS they can just copy all the partitions and work on it in their own time.

0

u/Limp_Initiative_8845 5d ago

Is there any way to prevent this? this is concerning. nobody has mentioned this before.

All I usually get that Since windows can't mount it. No-one can access it.

1

u/TenOfZero 5d ago

You can mitigate this by removing the physical drive from the machine while in windows.

But you'll need a second drive to dual boot from, since you're on only one drive now.

1

u/Limp_Initiative_8845 5d ago

Well that's not in my list of "can's"

1

u/TenOfZero 5d ago

Its more of a theoretical threat. I don't know of any major attacks using this.

1

u/hazeyAnimal 5d ago

The best thing to do is to be vigilant on what you download and install. So if you're running pirated software then this is a risk you are taking

2

u/hspindel 6d ago

Windows and dual booting is asking for problems.

Instead of dual booting, run a Windows VM inside of Linux. The VM will guarantee that no malware can escape from Windows.

1

u/Limp_Initiative_8845 6d ago

I maen I haven't even had any problems at all.
I can't Run VM I only have like 4gb of ram

2

u/gmthisfeller 5d ago

May I ask your location?

0

u/Limp_Initiative_8845 5d ago

No, you may not.

0

u/Inner-Copy9764 5d ago

They already did

1

u/TomDuhamel 6d ago

I'm not even going to answer your question. I will simplify it greatly.

So not run games in Linux from an NTFS (Windows) partition. Support for NTFS is merely that. You can access it, you don't want to run out of it. It may works, sometimes. It will cause you trouble sooner or later and you will come here asking for help with a weird issue you can't explain. Just don't. Install your game again on Linux if you want to use it in both systems.

1

u/Limp_Initiative_8845 6d ago

Thank you for your reply. I didn't even consider this aspect!

I sadly can't get the same app into linux. It's not available. There are some ports, but not official.

2

u/computer-machine 6d ago

I sadly can't get the same app into linux. It's not available.

Yes it is, you said it's on your Windows 8.1 (what the actual fuck. Well, at least it's not straight 8) partition.

Copy, paste.

They didn't say anything about different software, only filesystem. 

0

u/Limp_Initiative_8845 6d ago

Thank you for your reply, I wish for better tone.

Do you mean just get the app/installer from Windows 8.1 and paste them in Linux, then run them into Linux separately through wine?

I thought they meant get the native linux build and re-install it on linux.

Well doing so... doesn't not answer my question about Security concerns.

Does running that app in Linux from Windows partition or paste the same exe/installer into Linux parititon and run it via Wine... will infect my Linux?! that's my whole point.

1

u/computer-machine 6d ago

Yeah, they were not addressing your question (and started by saying that, IIRC).

That entirely depends on how the malware is written and how much abstraction WINE is doing.

It's entirely plausible for a cryptolocker to rewrite every file to which your user has access.

Keylogging may or not work.

If it's exfiltrating data, if it's written to look in multiple locations, or if WINE is being "helpful" and mapping local folders to Windows equivalents for the program, it might still work.

But it might fail because it doesn't actually run via WINE, and it might fail because Linux file structure is not the same as Windows file structure.

¯_(ツ)_/¯ YMMV

2

u/ptoki 6d ago

Am I really safe? I have a dual-booting setup.

No.

Me running the cracked software is out of pure need.

Another no, no matter where you run these.

More details:

Duaboot can bork your setup on a MS whim. Maybe not, maybe tomorrow.

If you run malware in windows OS then most likely your linux partition is safe but if you run anything from windows on your linux OS you can be hurt.

1

u/Aggravating-Piece101 5d ago

yeah the moment you execute those files inside the main OS any partition separation goes right out the window

1

u/Apprehensive-Cod699 6d ago

wine is not a sandbox. the exe runs as your linux user and wine maps Z: to your whole filesystem by default, so a cracked exe can read your home folder and browser profile, which is where saved passwords live. dual boot actually protects you better there, since the windows side can't see your linux partition. if you do use wine for it, wrap it in firejail or bubblewrap, or run it under a separate linux user with no access to your home.