Part of my confusion what usage pattern is contracting malware on wine in the first place<br><br><div><span class="gmail_quote">On 2/12/07, <b class="gmail_sendername"><a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com
</a></b> &lt;<a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2/12/07, James Hawkins &lt;<a href="mailto:truiken@gmail.com">truiken@gmail.com</a>&gt; wrote:<br>&gt; On 2/11/07, <a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a> &lt;<a href="mailto:richardvoigt@gmail.com">
richardvoigt@gmail.com</a>&gt; wrote:<br>&gt; &gt; On 2/11/07, Misha Koshelev &lt;<a href="mailto:mk144210@bcm.tmc.edu">mk144210@bcm.tmc.edu</a>&gt; wrote:<br>&gt; &gt; &gt; Hi everybody,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thanks for your suggestions. I just posted a new patch on wine-patches
<br>&gt; &gt; &gt; where I tried to incorporate these and now it does the following (in<br>&gt; &gt; &gt; addition to my previous patch which just started items in the StartUp<br>&gt; &gt; &gt; folder):<br>&gt; &gt; &gt;<br>
&gt; &gt; &gt; - When wineboot finds a file that it wants to start in the StartUp<br>&gt; &gt; &gt; folder, it asks the user whether he wants to run the program. His<br>&gt; &gt; &gt; options are: Always, Yes, No (default), and Never.
<br>&gt; &gt; &gt; - If he selects Yes the program is run, if he select No it is not.<br>&gt; &gt; &gt; - If he selects Always or Never, I create a registry key in:<br>&gt; &gt; &gt; HKEY_CURRENT_USER\Software\Wine\StartupItems with the full pathname
<br>&gt; &gt; &gt; of the program and the value &quot;always&quot; or &quot;never.&quot; When wineboot sees<br>&gt; &gt; &gt; this program in the StartUp folder it checks this key, and if it is<br>&gt; &gt; &gt; set it performs the appropriate action.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; What do you guys think? If you like the system, it would be pretty easy<br>&gt; &gt; &gt; to incorporate this into the run key running as well (which are<br>&gt; &gt; &gt; currently just run without any user confirmation)?
<br>&gt; &gt;<br>&gt; &gt; This sounds almost perfect.&nbsp;&nbsp;I think the counterpoint raised by James<br>&gt; &gt; Hawkins would be adequately addressed by adding a winecfg option as<br>&gt; &gt; follows:<br>&gt; &gt;<br>&gt; &gt; Startup items behavior:
<br>&gt; &gt; (*) Silently allow&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;-- This is &quot;bug-for-bug compatibility&quot;<br>&gt; &gt; ( ) Ask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;-- Most computer-savvy folks would want this<br>&gt; &gt; ( ) Silently block
<br>&gt; &gt; ( ) Block and notify me<br>&gt; &gt;<br>&gt;<br>&gt; This is unnecessarily complicated, and i really doubt anything like<br>&gt; this would ever make it into the Wine tree.<br>&gt;<br>&gt; &gt; Perhaps this should be independently set for each kind of startup item
<br>&gt; &gt; (startmenu\programs\startup, registry run key, profile settings, etc),<br>&gt; &gt; but I think that&#39;s not really necessary.<br>&gt; &gt;<br>&gt; &gt; Also, I would suggest that the list of approved start items be stored
<br>&gt; &gt; outside of winespace, so that malware can&#39;t bypass the protection by<br>&gt; &gt; setting the key.&nbsp;&nbsp;Of course, really nasty stuff could still call into<br>&gt; &gt; Linux, but that would require some hybrid system that was aware of the
<br>&gt; &gt; ELF dynamic loader in order to not fall afoul of address space<br>&gt; &gt; randomization.<br>&gt; &gt;<br>&gt; &gt; Ultimately I think wine is about more than just running<br>&gt; &gt; Windows-compatible programs without the Microsoft tax.&nbsp;&nbsp;It&#39;s about
<br>&gt; &gt; running those programs without ceding control of your computer to an<br>&gt; &gt; untrustworthy party.&nbsp;&nbsp;We don&#39;t want the limitations that Windows<br>&gt; &gt; imposes... true bug-for-bug compatibility would mean only being able
<br>&gt; &gt; to access files on a FAT or NTFS partition, but I don&#39;t hear anyone<br>&gt; &gt; advocating for that kind of crippling behavior.<br>&gt; &gt;<br>&gt;<br>&gt; What?&nbsp;&nbsp;Wine has nothing to do with which file system your files reside
<br>&gt; on.<br>You advocated that wine aim for working exactly like Windows, no less<br>and no more, rather than deviating in user-configurable ways to<br>enhance the user&#39;s control over his own system.&nbsp;&nbsp;Maybe while we&#39;re at
<br>it, wine should have the bug which allows certain software to prevent<br>screen grabs.&nbsp;&nbsp;No, I think defeating DRM to enable fair use is<br>perfectly reasonable, and there are some bugs which should be fixed.<br>Should wine try to patch remote exploits at the exact same rate as
<br><a href="http://windowsupdate.com">windowsupdate.com</a>?&nbsp;&nbsp;That would be also be required for true<br>bug-for-bug compatibility.&nbsp;&nbsp;After all, someone properly authorized<br>might be using that backdoor to reboot their webfarm remotely -- not!
<br><br>There are things that are wrong in a theoretical sense (i.e. the<br>Pentium floating-point bug), or misclassification of Unicode<br>characters, which some programs might reasonably depend on.&nbsp;&nbsp;And then<br>there are things that are wrong from a practical engineering
<br>perspective, like software taking away the user&#39;s choice to not run<br>it, which the mere fact that a program depends on it makes it malware.<br><br>&gt; Asking if you want to run every file set for startup in wineboot
<br>&gt; every single time is crippling behavior, not to mention annoying.&nbsp;&nbsp;UAC<br>&gt; anyone?&nbsp;&nbsp;If you&#39;re so worried about this &quot;malware&quot;, create a reduced<br>&gt; privileges account just for Wine.<br><br>That&#39;s the point of a &quot;remember my choice&quot; or &quot;Yes/No/Always/Never&quot;
<br>option on the prompt which appears when the winecfg option is ask...<br><br>Reduced privileges do little or nothing to prevent network abuse (open<br>spam relay and the like).<br><br>&gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thanks
<br>&gt; &gt; &gt; Misha<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; p.s. please please please anyone who is familiar with IShellFolder if<br>&gt; &gt; &gt; you could look over those parts and just say yes it looks good that<br>&gt; &gt; &gt; would make me feel better. I think it is correct but really an expert&#39;s
<br>&gt; &gt; &gt; opinion would be great.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; James Hawkins<br>&gt;<br><br><br></blockquote></div>
<br>