https://bugs.winehq.org/show_bug.cgi?id=43267
Bug ID: 43267 Summary: Wine error when trying to open a USB stick encrypted by McAfee Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cranky.frankie@gmail.com Distribution: ---
Created attachment 58596 --> https://bugs.winehq.org/attachment.cgi?id=58596 Wine error when trying to open a USB stick encrypted by McAfee
The attachment contains the error I get when trying to open a USB stick that has been encrypted on a Windows machine with McAfee encryption software. I have the password but I cannot get Wine to open the file system for read access.
https://bugs.winehq.org/show_bug.cgi?id=43267
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- i KNEW IT.
Wine build: wine-1.6.2
Your wine version is way too outdated. You shouldnt even open bugs against it. We are already using 2.x versions.
https://bugs.winehq.org/show_bug.cgi?id=43267
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
--- Comment #2 from Austin English austinenglish@gmail.com --- Yes, the version is old, but also wine doesn't handle file systems. Afaict this is likely a WONTFIX.
https://bugs.winehq.org/show_bug.cgi?id=43267
--- Comment #3 from cranky.frankie@gmail.com --- I updated my version of Wine in Linux Mint 17. When I then tried to run the McAfee app (it's the encryption on a USB stick) it asked me to install a .NET package and then twice it asked me to install Gecko. I did all that but it's still not working.
I appreciate all the hard work you guys do. Thanks for the help.
Unhandled exception: page fault on read access to 0x23a8b798 in 32-bit code (0x005ba035). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:005ba035 ESP:0033fd44 EBP:0033fe50 EFLAGS:00010246( R- -- I Z- -P- ) EAX:ec8b68a9 EBX:00000001 ECX:006adbf8 EDX:00000011 ESI:006adbf8 EDI:006583a8 Stack dump: 0x0033fd44: 005a05c1 00000011 00000001 00911db8 0x0033fd54: 006adbf8 00000010 005a360c 04fb21ff 0x0033fd64: 00606e38 00911db8 005a3693 006583a8 0x0033fd74: 00911db8 51660728 00606cf8 00911db8 0x0033fd84: 0033fdb0 006001a8 00000000 0060294b 0x0033fd94: 006583a8 006583b4 005a22d0 005cb530 Backtrace: =>0 0x005ba035 in mfeeerm (+0x1ba035) (0x0033fe50) 1 0x7b465bac call_process_entry+0xb() in kernel32 (0x0033fe68) 2 0x7b466e79 in kernel32 (+0x56e78) (0x0033feb8) 3 0x7bc84710 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8) 4 0x7bc8796d call_thread_func+0x7c() in ntdll (0x0033ffa8) 5 0x7bc846ee RtlRaiseException+0x21() in ntdll (0x0033ffc8) 6 0x7bc54c5a call_dll_entry_point+0x359() in ntdll (0x0033ffe8) 7 0xf758089d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) 8 0xf758095b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffaf21d8) 9 0x7bc5b0ad LdrInitializeThunk+0x27c() in ntdll (0xffaf2238) 10 0x7b46d6a8 __wine_kernel_init+0x997() in kernel32 (0xffaf3358) 11 0x7bc5c023 __wine_process_init+0x182() in ntdll (0xffaf33e8) 12 0xf757ec8a wine_init+0x299() in libwine.so.1 (0xffaf3448) 13 0x7c000acb main+0x8a() in <wine-loader> (0xffaf3898) 14 0xf7391af3 __libc_start_main+0xf2() in libc.so.6 (0x00000000) 0x005ba035: boundl 0x2374b948(%ebp),%eax Modules: Module Address Debug info Name (103 modules) PE 400000- 7f1000 Export mfeeerm ELF 7b400000-7b7e7000 Dwarf kernel32<elf> -PE 7b410000-7b7e7000 \ kernel32 ELF 7bc00000-7bcf8000 Dwarf ntdll<elf> -PE 7bc10000-7bcf8000 \ ntdll ELF 7c000000-7c004000 Dwarf <wine-loader> ELF 7d500000-7d509000 Deferred librt.so.1 ELF 7d510000-7d528000 Deferred libresolv.so.2 ELF 7d528000-7d52c000 Deferred libkeyutils.so.1 ELF 7d530000-7d57b000 Deferred libdbus-1.so.3 ELF 7d580000-7d58c000 Deferred libkrb5support.so.0 ELF 7d590000-7d5c0000 Deferred libk5crypto.so.3 ELF 7d5c0000-7d67f000 Deferred libkrb5.so.3 ELF 7d680000-7d692000 Deferred libavahi-client.so.3 ELF 7d698000-7d6de000 Deferred libgssapi_krb5.so.2 ELF 7d6e0000-7d74d000 Deferred libcups.so.2 ELF 7d778000-7d7b1000 Deferred uxtheme<elf> -PE 7d780000-7d7b1000 \ uxtheme ELF 7d7b8000-7d7be000 Deferred libxfixes.so.3 ELF 7d7c0000-7d7cb000 Deferred libxcursor.so.1 ELF 7d7d0000-7d7e0000 Deferred libxi.so.6 ELF 7d7e0000-7d7e4000 Deferred libxcomposite.so.1 ELF 7d7e8000-7d7f3000 Deferred libxrandr.so.2 ELF 7d7f8000-7d803000 Deferred libxrender.so.1 ELF 7d808000-7d80e000 Deferred libxxf86vm.so.1 ELF 7d810000-7d814000 Deferred libxinerama.so.1 ELF 7d818000-7d81f000 Deferred libxdmcp.so.6 ELF 7d820000-7d824000 Deferred libxau.so.6 ELF 7d828000-7d84a000 Deferred libxcb.so.1 ELF 7d850000-7d984000 Deferred libx11.so.6 ELF 7d988000-7d99b000 Deferred libxext.so.6 ELF 7d9a0000-7da33000 Deferred winex11<elf> -PE 7d9b0000-7da33000 \ winex11 ELF 7da38000-7da3f000 Deferred libffi.so.6 ELF 7da40000-7da45000 Deferred libgpg-error.so.0 ELF 7da48000-7da84000 Deferred libp11-kit.so.0 ELF 7da88000-7da9c000 Deferred libtasn1.so.6 ELF 7daa0000-7db27000 Deferred libgcrypt.so.11 ELF 7db28000-7dbef000 Deferred libgnutls.so.26 ELF 7dbf8000-7dbfd000 Deferred libcom_err.so.2 ELF 7dc00000-7dc0e000 Deferred libavahi-common.so.3 ELF 7dc18000-7dc3e000 Deferred imm32<elf> -PE 7dc20000-7dc3e000 \ imm32 ELF 7dcc8000-7dcf1000 Deferred libexpat.so.1 ELF 7dcf8000-7dd33000 Deferred libfontconfig.so.1 ELF 7dd60000-7dd88000 Deferred libpng12.so.0 ELF 7dd88000-7dda2000 Deferred libz.so.1 ELF 7dda8000-7de48000 Deferred libfreetype.so.6 ELF 7de70000-7de9c000 Deferred msacm32<elf> -PE 7de80000-7de9c000 \ msacm32 ELF 7dea0000-7df5b000 Deferred winmm<elf> -PE 7deb0000-7df5b000 \ winmm ELF 7df60000-7dfc0000 Deferred oleacc<elf> -PE 7df70000-7dfc0000 \ oleacc ELF 7dfc0000-7dffb000 Deferred oledlg<elf> -PE 7dfd0000-7dffb000 \ oledlg ELF 7e000000-7e044000 Deferred winspool<elf> -PE 7e010000-7e044000 \ winspool ELF 7e048000-7e154000 Deferred comctl32<elf> -PE 7e050000-7e154000 \ comctl32 ELF 7e158000-7e249000 Deferred comdlg32<elf> -PE 7e160000-7e249000 \ comdlg32 ELF 7e250000-7e28e000 Deferred ws2_32<elf> -PE 7e260000-7e28e000 \ ws2_32 ELF 7e290000-7e2b9000 Deferred iphlpapi<elf> -PE 7e2a0000-7e2b9000 \ iphlpapi ELF 7e2c0000-7e2f1000 Deferred netapi32<elf> -PE 7e2d0000-7e2f1000 \ netapi32 ELF 7e2f8000-7e32d000 Deferred secur32<elf> -PE 7e300000-7e32d000 \ secur32 ELF 7e330000-7e345000 Deferred fltlib<elf> -PE 7e340000-7e345000 \ fltlib ELF 7e348000-7e41a000 Deferred crypt32<elf> -PE 7e350000-7e41a000 \ crypt32 ELF 7e420000-7e564000 Deferred oleaut32<elf> -PE 7e440000-7e564000 \ oleaut32 ELF 7e568000-7e5e3000 Deferred shlwapi<elf> -PE 7e580000-7e5e3000 \ shlwapi ELF 7e5e8000-7e839000 Deferred shell32<elf> -PE 7e600000-7e839000 \ shell32 ELF 7e840000-7e8c6000 Deferred rpcrt4<elf> -PE 7e850000-7e8c6000 \ rpcrt4 ELF 7e8c8000-7e9fe000 Deferred gdi32<elf> -PE 7e8e0000-7e9fe000 \ gdi32 ELF 7ea00000-7eb64000 Deferred user32<elf> -PE 7ea10000-7eb64000 \ user32 ELF 7eb68000-7ebe4000 Deferred advapi32<elf> -PE 7eb80000-7ebe4000 \ advapi32 ELF 7ebe8000-7ed31000 Deferred ole32<elf> -PE 7ec00000-7ed31000 \ ole32 ELF 7ed38000-7ed44000 Deferred libnss_files.so.2 ELF 7ed48000-7ed61000 Deferred libnsl.so.1 ELF 7ed70000-7ed8a000 Deferred version<elf> -PE 7ed80000-7ed8a000 \ version ELF 7ef90000-7efd6000 Deferred libm.so.6 ELF 7efe0000-7efec000 Deferred libnss_nis.so.2 ELF 7eff0000-7eff9000 Deferred libnss_compat.so.2 ELF f7370000-f7375000 Deferred libdl.so.2 ELF f7378000-f7529000 Dwarf libc.so.6 ELF f7530000-f754c000 Deferred libpthread.so.0 ELF f7578000-f772f000 Dwarf libwine.so.1 ELF f7730000-f7752000 Deferred ld-linux.so.2 ELF f7754000-f7755000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 0000000e services.exe 00000020 0 0000001f 0 00000014 0 00000010 0 0000000f 0 00000012 winedevice.exe 0000001e 0 00000019 0 00000018 0 00000013 0 0000001c plugplay.exe 00000022 0 00000021 0 0000001d 0 00000023 explorer.exe 00000028 0 00000027 0 00000026 0 00000025 0 00000024 0 00000029 (D) Z:\media\frank\6006-FC39\MfeEERM.exe 0000002a 0 <== System information: Wine build: wine-2.0.1 Platform: i386 (WOW64) Version: Windows XP Host system: Linux Host version: 3.13.0-24-generic
https://bugs.winehq.org/show_bug.cgi?id=43267
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine error when trying to |McAfee Endpoint Encryption |open a USB stick encrypted |for Files and Folders (part |by McAfee |of McAfee Complete Data | |Protection Suite 3.1) app | |'MfeEERM.exe' fails to run | |from USB stick CC| |focht@gmx.net Version|unspecified |2.0.1 URL| |https://www.mcafee.com/apps | |/downloads/free-evaluations | |/default.aspx?region=us&pid | |=aaac19350 Keywords| |download
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
first, please don't paste backtraces or error logs in the comments field, attach them instead.
https://wiki.winehq.org/Bugs ("How to report" section)
You could have provided a bit more info on how the USB was encrypted, which exact product/version was used etc. I had to spend some time to identify the part of McAffe mal^H^H^Hsoftware this client app is provided with.
Anyway, here it goes ...
https://www.mcafee.com/apps/downloads/free-evaluations/default.aspx?region=u... -> "McAfee Complete Data Protection" v3.1.1 (release 3/13/2015)
$ du -sh Encryption_CDB.zip 751M Encryption_CDB.zip
$ sha1sum Encryption_CDB.zip 73ebda4bd09130ee571e8c5cf2335650a4744c4d Encryption_CDB.zip
--- snip --- $ tree --charset=ANSI -L 2 Encryption_CDB Encryption_CDB |-- EASI.exe |-- ePOSetup ... | |-- agenthandler | |-- ePO510.msi | |-- ePOMain.cab | |-- ePOMain.exe | |-- Setup | |-- Setup.exe | |-- Setup.ini | `-- UpgradeCompatibility |-- extensions ... |-- installers |-- Manuals | |-- InstallationGuide.zip | |-- Licenses.txt | `-- ReleaseNotes.zip |-- packages | |-- 3-1MfeEEPC.zip | |-- 3-2EegoPackage.zip | |-- 3-3MfeEEAgent.zip | |-- 4-1MNE-OSX-2.1.0.306.zip | |-- 4-2MNE-WIN-2.1.0.132.zip | |-- 4-3DEGO-OSX-2.1.0.306.zip | |-- 5-1-1MA480P2WIN.zip | |-- 5-1-2AgentKeyUpdate_patch2.zip | |-- 5-2MA480P2LNX.zip | |-- 5-3MA480P2HF974930Mac.zip | `-- MfeFRP_Client_4.3.1.114.zip ... |-- Release\ Notes\ for\ McAfee\ Endpoint\ Suite\ Installer\ 3.1_de-de.html |-- Release\ Notes\ for\ McAfee\ Endpoint\ Suite\ Installer\ 3.1_en-us.html |-- Release\ Notes\ for\ McAfee\ Endpoint\ Suite\ Installer\ 3.1_es-es.html |-- Release\ Notes\ for\ McAfee\ Endpoint\ Suite\ Installer\ 3.1_fr-fr.html |-- Release\ Notes\ for\ McAfee\ Endpoint\ Suite\ Installer\ 3.1_it-it.html |-- Release\ Notes\ for\ McAfee\ Endpoint\ Suite\ Installer\ 3.1_nl-nl.html |-- SuiteName.txt |-- sysTree | `-- systree.txt |-- tags | `-- Tags.xml |-- tasks | `-- TaskCatalogExport.xml `-- Utilities |-- ePOMaint_2005.exe.zip |-- ePOMaint_2008.exe.zip `-- ePO\ Maintenance\ Utility\ Product\ Guide.pdf --- snip ---
Instead of going through the hassle of installing the whole suite which also requires .NET for some reasons, I've located the relevant part here: 'MfeFRP_Client_4.3.1.114.zip'
--- snip --- $ unzip -l Encryption_CDB/packages/MfeFRP_Client_4.3.1.114.zip Archive: Encryption_CDB/packages/MfeFRP_Client_4.3.1.114.zip Length Date Time Name --------- ---------- ----- ---- 99300 12-10-2014 13:08 eeff-detect.mcs 5356 12-10-2014 13:08 eeff-install.mcs 10011648 12-10-2014 13:39 eeff32.msi 11794432 12-10-2014 13:40 eeff64.msi 2060 12-10-2014 13:08 PkgCatalog.z --------- ------- 21912796 5 files --- snip ---
Extracting 'eeff32.msi' and installing it via 'msiexec' kinda works, albeit there are various filter/filesystem kernel driver crashing on prefix startup (installed as services with autorun setting as part of the suite).
You end up with:
--- snip --- $ ls -1sh .wine/drive_c/Program\ Files/McAfee/Endpoint\ Encryption\ for\ Files\ and\ Folders/ total 19M 4.0K autorun.inf 28K License.txt 0 McAfee Removable Media Protection.app 636K mfecc32.dll 652K mfeccf32.dll 3.6M MfeEERM.exe 488K MfeFfAutomation.dll 2.1M MfeFfConsole.exe 576K MfeFfCore.exe 156K MfeFfCoreService.exe 992K MfeFfDesktopIntegration.dll 268K MfeFfDriverCom.dll 492K MfeFfLocalProvider.dll 884K MfeFfMaProvider.dll 324K MfeFfPolicyEnforcer.dll 272K MfeFfPostInstall.dll 728K MfeFfProviderManager.dll 176K MfeFfProxy.exe 956K MfeFfSelfExtractorStub.exe 200K MfeFfShell.com 204K MfeFfShell.exe 492K MfeFfTray.dll 184K MfeFfTrayPlugin.dll 1.2M MfeResource.dll 3.7M MfeRmdApp.exe 128K MfeVtpA.dll --- snip ---
Since the WINEPREFIX is kinda broken due to non-working services, drivers etc., take the directory content "offline" and create a fresh prefix.
Just starting 'MfeEERM.exe' from the pure directory yields:
--- snip --- ... 002f:Call shlwapi.PathStripToRootW(008a7f20 L"Z:\home\focht\Downloads\Endpoint Encryption for Files and Folders\MfeEERM.exe") ret=0041e379 002f:Ret shlwapi.PathStripToRootW() retval=00000001 ret=0041e379 ... 002f:Call KERNEL32.CreateFileW(008a7cc0 L"Z:\McAfee EERM\encrypted.dsk",80000000,00000001,00000000,00000003,00000000,00000000) ret=0040ddbc 002f:Ret KERNEL32.CreateFileW() retval=ffffffff ret=0040ddbc --- snip ---
That's the first hint: You need to start it from the removable drive letter otherwise you always end up with "z:\" as root which is not going to work!
--- snip --- # 'f:' = mounted USB drive letter in Wine, optionally "cd" to it $ wine f:\MfeEERM.exe --- snip ---
Since I don't have McAffe encrypted USB stick, I've assembled some minimal set of files to make it happy:
--- snip --- $ tree --charset=ANSI -L 2 $(winepath "f:")
/home/focht/.wine/dosdevices/f:/ |-- McAfee\ EERM | `-- encrypted.dsk |-- mfecc32.dll `-- MfeEERM.exe --- snip ---
With that in place, an explorer-like GUI opens when 'MfeEERM.exe' is run which shows some directory tree on left-hand side (treeview pane). For me it just shows "Desktop" since I don't have a properly created 'encrypted.dsk' file (used some binary and renamed it).
Regards