Question about running SecuROM under WINE

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Elliander
Level 2
Level 2
Posts: 15
Joined: Mon Nov 17, 2008 1:50 am

Question about running SecuROM under WINE

Post by Elliander »

I am new to WINE, and Unix-based systems in General. I have up until recently been using Windows XP Home, but after installing Spore, SecuROM was also installed onto Ring 0 of the Kernel and has pretty much fried my computer. Apparently, because of where it installed itself, it interfered with other programs and now I can't get anything to work right.

So I switched to Ubuntu 8.10 for 64-bit desktops, fully updated. And I must say I am liking it more than windows.

From what I understand, Ubuntu doesn't have a Registry, But WINE makes a kind of Registry to run windows programs, right?

So here is my concern. If I install a windows program that happens to include SecuROM, where will SecuROM go? Will I get the same kind of system instability in Ubuntu as I did in windows?

I read the FAQ, and the list of WINE Apps, but I couldn't find any information about it beyond that it appears to run Spore and SecuROM.

After my last experience with SecuROM on windows (and current lawsuit with EA) I want to make sure and understand what difference exist, if any, in the way SecuROM will be allowed to run.

For example, in windows, SecuROM has higher rights than me. Will SecuROM take administrative control in Ubuntu too? Or if not, is there a simulated Ring 0 that it would install to, that could interfere with other WINE programs?

Any information would be greatly appreciated. I want to play Spore, but don't want another Computer Wrecked.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Question about running SecuROM under WINE

Post by austin987 »

On Mon, Nov 17, 2008 at 1:05 AM, Elliander <[email protected]> wrote:
I am new to WINE, and Unix-based systems in General. I have up until recently been using Windows XP Home, but after installing Spore, SecuROM was also installed onto Ring 0 of the Kernel and has pretty much fried my computer. Apparently, because of where it installed itself, it interfered with other programs and now I can't get anything to work right.

So I switched to Ubuntu 8.10 for 64-bit desktops, fully updated. And I must say I am liking it more than windows.

From what I understand, Ubuntu doesn't have a Registry, But WINE makes a kind of Registry to run windows programs, right?
Yes.
So here is my concern. If I install a windows program that happens to include SecuROM, where will SecuROM go? Will I get the same kind of system instability in Ubuntu as I did in windows?
It will install in your WINEPREFIX (by default ~/.wine). Unless you
run as root, it shouldn't interfere with anything else. To be safe,
you might run Spore in its own prefix so that it doesn't hurt other
programs.
I read the FAQ, and the list of WINE Apps, but I couldn't find any information about it beyond that it appears to run Spore and SecuROM.

After my last experience with SecuROM on windows (and current lawsuit with EA) I want to make sure and understand what difference exist, if any, in the way SecuROM will be allowed to run.

For example, in windows, SecuROM has higher rights than me. Will SecuROM take administrative control in Ubuntu too?
Not unless you run as root.

--
-Austin
Elliander
Level 2
Level 2
Posts: 15
Joined: Mon Nov 17, 2008 1:50 am

Post by Elliander »

Thanks for your quick reply.

Ok, so how do I know if I run it as root? I am not very familiar with the layout in Ubuntu yet. The way I installed WINE was through

System > Administration > Synaptic Package Manager

And the rest was automatic.

When I view Applications > Wine

I see it says a C: Drive. I assume it simulates the C: structure in it's own file then.

So if it's not root, it won't interact with programs outside of WINE?

But even if it isn't root, if I assume that if WINE recreates the Windows Registry and installs in the same way, then any program that SecuROM might interfere with in Windows might also interfere with the same other programs running under WINE?

As far as being safe goes, what it a prefix, and how do I set that up? I want to make sure that if I run any potentially dangerous program it won't interfere with any other program I may want WINE to run.

On a similar topic to ask, I wonder. Would WINE enable a Malicious program, such as a Virus, written for Windows, affect Ubuntu? And if so, what would keep it from affect the file structure outside of the WINE C: Drive?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Question about running SecuROM under WINE

Post by austin987 »

On Mon, Nov 17, 2008 at 1:39 AM, Elliander <[email protected]> wrote:
Thanks for your quick reply.

Ok, so how do I know if I run it as root? I am not very familiar with the layout in Ubuntu yet. The way I installed WINE was through
Unless you used the 'sudo' command, or logged in as root, then you're fine :-).
System > Administration > Synaptic Package Manager

And the rest was automatic.

When I view Applications > Wine

I see it says a C: Drive. I assume it simulates the C: structure in it's own file then.

So if it's not root, it won't interact with programs outside of WINE?
Not quite. Wine can still interact with programs outside of Wine. Wine
has the same permissions as your user. But by running as a regular
user, you minimize the damage it can do. If you're not root, then you
can't overwrite system binaries, etc.
But even if it isn't root, if I assume that if WINE recreates the Windows Registry and installs in the same way, then any program that SecuROM might interfere with in Windows might also interfere with the > same other programs running under WINE?
Possibly, yes, if in the same prefix.
As far as being safe goes, what it a prefix, and how do I set that up? I want to make sure that if I run any potentially dangerous program it won't interfere with any other program I may want WINE to run.
http://wiki.winehq.org/FAQ#head-f2f5f3b ... 15657ad552
On a similar topic to ask, I wonder. Would WINE enable a Malicious program, such as a Virus, written for Windows, affect Ubuntu? And if so, what would keep it from affect the file structure outside of the
WINE C: Drive?
Same as earlier. Wine has the same permissions as your user. You can
remove the Z:\ symlink to help minimize damage, but this is an area
where something like AppArmor that has more fine grained security
controls would be a more suitable protection.

--
-Austin
Elliander
Level 2
Level 2
Posts: 15
Joined: Mon Nov 17, 2008 1:50 am

Post by Elliander »

Thanks for all the info.

My main concern about SecuROM isn't so much when it runs. I know the program in and of itself doesn't run at all times. But my concern is the way it affects programs because of where it is located in the registry.

So if I understand correctly, using another prefix would be like a separate WINE registry, totally isolated from another WINE registry?

I would also like to know if there is a way to see the WINE registry and make edits to it. The biggest problem with SecuROM is that there is no way to remove it (under windows) and would be helpful to know how the WINE registry is viewed and edited if needed. And if there is a way to view a list of active WINE processes.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Question about running SecuROM under WINE

Post by austin987 »

On Mon, Nov 17, 2008 at 2:55 AM, Elliander <[email protected]> wrote:
Thanks for all the info.

My main concern about SecuROM isn't so much when it runs. I know the program in and of itself doesn't run at all times. But my concern is the way it affects programs because of where it is located in the registry.

So if I understand correctly, using another prefix would be like a separate WINE registry, totally isolated from another WINE registry?
Yes.
I would also like to know if there is a way to see the WINE registry and make edits to it. The biggest problem with SecuROM is that there is no way to remove it (under windows) and would be helpful to know > how the WINE registry is viewed and edited if needed. And if there is a way to view a list of active WINE processes.
$ wine regedit
$ wine taskmgr

--
-Austin
Elliander
Level 2
Level 2
Posts: 15
Joined: Mon Nov 17, 2008 1:50 am

Post by Elliander »

Thanks so much :D This really helps allot!

Now I have another question... is there a way to import registry keys to the Wine registry using .reg files? I tried opening .reg files and I tried going into $ wine regedit and going to import, but nothing got imported.

Basically, I have a very long list of old arcade games on another computer that would take me literally hours to reinstall each one manually and I was hoping to cut corners by exporting the registry entries, copying the files, and then just placing those registry entries in all at once.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Elliander wrote:Thanks so much :D This really helps allot!

Now I have another question... is there a way to import registry keys to the Wine registry using .reg files?

Code: Select all

wine regedit file.reg
The only gotcha - those .reg files have to be in ascii (not unicode) format (NT4.0+ format).
Locked