Linkinfamous Posted March 30, 2008 Share Posted March 30, 2008 (edited) for some reason, it's been implemented in four separate processes Doing that makes the whole thing more secure, and more stable. This thing is going to be parsing through and pouring over a lot of data from a lot of different items from a lot of different sources. You don't want the process doing that to have a lot of access to your computer, so its going to be running with less privileges. My thoughts: The Options dialog is still very, very slow. Hopefully that gets resolved before 4.0 is finally released. Otherwise, the start menu search seems to be a lot more responsive, and searching in Explorer feels faster too. A lot faster, actually. My Saved Searches populate instantly now. Edited March 30, 2008 by MioTheGreat Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302463 Share on other sites More sharing options...
Mr Winkle Posted March 31, 2008 Share Posted March 31, 2008 (edited) Doing that makes the whole thing more secure, and more stable. This thing is going to be parsing through and pouring over a lot of data from a lot of different items from a lot of different sources. You don't want the process doing that to have a lot of access to your computer, so its going to be running with less privileges. but *four* different processes? do they really need to take up 40mb of ram when indexing is complete? it's not really the number of processes which bothers me, it's that they consume so much memory. and think about it this way too, typically antivirus software is implemented in three processes: the kernel file system filter driver, the user mode service and the gui front end tray application. two of those run in accounts which are highly privileged and will deal with the bulk of the scanning of every single file. the gui app runs in the credentials of the user. surely if it's possible for antivirus applications to be implemented in such a way that they can't be exploited by malformed files, it's possible for the indexer? and really, should ifilters really be executables (well, they are a special type of .dll)? why can't the be implemented in some sort of sandbox intermediary code? a rouge ifilter could easily transmit the contents of every single file to an adversary over the internet as far as i can tell. Edited March 31, 2008 by Mr Winkle Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302547 Share on other sites More sharing options...
Brandon Live Veteran Posted March 31, 2008 Author Veteran Share Posted March 31, 2008 (edited) and really, should ifilters really be executables (well, they are a special type of .dll)? why can't the be implemented in some sort of sandbox intermediary code? a rouge ifilter could easily transmit the contents of every single file to an adversary over the internet as far as i can tell. No, it cannot. IFilters are COM objects that get loaded into SearchFilterHost.exe and passed the stream of the data to be indexed. They do not even have read access to the filesystem, as the process is created with a special token that grants it even fewer privileges than Protected Mode IE. They are never given the path of the file being indexed. They just get the data itself. That's why WDS wasn't an attack vector for the WMF vulnerability a while back, but GDS was. The memory footprint of SearchFilterHost.exe mainly has to do with how large of a file it is indexing (and how efficient the particular IFilter is). If it's processing a 120MB powerpoint document with 2MB images in it, it will probably use more memory than if it is processing a 100k text file. There are three processes for Windows Search, all explained here. SearchIndexer.exe maintains the index database and services queries. SearchProtocolHost.exe hosts handlers for different types of data stores. One handler is the filesystem handler. Others are Outlook, OneNote, Lotus, UNC, client side cache, etc. Sometimes you will have two SearchProtocolHost.exe processes because one runs in the SYSTEM context for indexing files, and one runs under your user account so that it can index Outlook or other per-user data. Oh, and if you're on Windows XP/2003 there is a fourth very small process, WindowsSearch.exe, that simply provides the tray icon and status UI. Windows Vista does not use that, though. Edited March 31, 2008 by Brandon Live Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302591 Share on other sites More sharing options...
Mr Winkle Posted March 31, 2008 Share Posted March 31, 2008 (edited) but as i see it, the ifilter gets the stream of data - it could do anything with that data because it's executable. it could send that data to another process with a memory mapped file for instance which does the siphoning off to somewhere else. it could be reasonably intelligent about it and only send off data which it thinks contains credit/debit card information etc. i haven't had time to play with ifilters yet, do they have permission to create a windows socket? and if so, how would this be reported by the uac or the firewall? it's just that in a way, ifilters seems a curious implementation. there are lots of things they *can* be doing with your indexed data without your knowledge. Edited March 31, 2008 by Mr Winkle Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302620 Share on other sites More sharing options...
Brandon Live Veteran Posted March 31, 2008 Author Veteran Share Posted March 31, 2008 but as i see it, the ifilter gets the stream of data - it could do anything with that data because it's executable. it could send that data to another process with a memory mapped file for instance which does the siphoning off to somewhere else. it could be reasonably intelligent about it and only send off data which it thinks contains credit/debit card information etc. i haven't had time to play with ifilters yet, do they have permission to create a windows socket? and if so, how would this be reported by the uac or the firewall? it's just that in a way, ifilters seems a curious implementation. there are lots of things they *can* be doing with your indexed data without your knowledge. But IFilters are code you are installing on your machine. You had to elevate to install them. The installer could have done absolutely anything it wanted with your machine at that point. The primary mechanism for getting IFilters (or Property Handlers, which are an alternative implementation that's often more useful) is to install an application like Office and have that application include the handlers for the file types it uses. The restrictions placed on the filter host are there to mitigate attacks against exploits in IFilter code. It is not to mitigate the behavior of IFilters themselves. IFilters are completely trusted. For example, if the .DOCX IFilter had a buffer overflow vulnerability, and someone e-mails you a malicious .DOCX file, we don't want the indexing of that file to be able to cause harm - because it would be a "0-click" attack. Whereas normally you'd have to actively open the file in Word to take advantage of a vulnerability in Word. The other reason they're restricted is to prevent poorly written filters from locking files open or exhibiting other bad behavior. Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302662 Share on other sites More sharing options...
Eric Veteran Posted March 31, 2008 Veteran Share Posted March 31, 2008 There's still not tooltips in deskbar results. :xSame ugly interface :x Still tries to open MP3s in WMP instead of default player if I click them in search window. :x Still asks individually if I want to delete each file when I've selected large bunch of them and pressed DEL. :x Still can't select "index now" without admin rights. :x Still better indexer than Copernic or other lousy attempts. :) Where the @?$2 is drag and drop from deskbar results? Shouldn't that be obvious? :xx A lot has happened in over a year... :rolleyes:: Dude, I told you... go get an abacus, or go sit in the corner and twiddle your thumbs or something. Obviously computers are not for you.:rolleyes:: Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302738 Share on other sites More sharing options...
Eric Veteran Posted March 31, 2008 Veteran Share Posted March 31, 2008 Is there a hotkey you can use to jump to the search box? If there's not, it'd sure be handy... :) Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302947 Share on other sites More sharing options...
Doli Posted March 31, 2008 Share Posted March 31, 2008 Is there a hotkey you can use to jump to the search box? If there's not, it'd sure be handy... :) "Windows" key + F or do you mean the search box at the top of each window in explorer? I dont know if there is one for that Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302953 Share on other sites More sharing options...
Brandon Live Veteran Posted March 31, 2008 Author Veteran Share Posted March 31, 2008 or do you mean the search box at the top of each window in explorer? I dont know if there is one for that CTRL + E for Explorer windows on Vista, same as IE. Although when you hit WIN+F, focus is already there. If the question was really about the deskbar on XP/2003, I believe the hotkey is CTRL+WIN+F, but it's been a while. On Vista, the equivalent is pressing the WIN key all by itself :) Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589302967 Share on other sites More sharing options...
abcdefg Posted March 31, 2008 Share Posted March 31, 2008 Dude, I told you... go get an abacus, or go sit in the corner and twiddle your thumbs or something. Obviously computers are not for you. :rolleyes: Dear GreyWolfSC, will you tell me how I enable "index now" on LUA account? Can you show how to enable drag&drop from deskbar results? What can I do to enable those tooltips? I bet you can't. So why are you commenting? Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589303350 Share on other sites More sharing options...
idoia Posted March 31, 2008 Share Posted March 31, 2008 this thing improved my search results about 500%! Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589303893 Share on other sites More sharing options...
Crazysah Posted March 31, 2008 Share Posted March 31, 2008 this thing improved my search results about 500%! Are you serious? Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589304040 Share on other sites More sharing options...
Express Posted March 31, 2008 Share Posted March 31, 2008 When I use a query with filter like : Vacation kind:video the results take a long time to return. I have about 195000 items indexed. Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589304757 Share on other sites More sharing options...
Eric Veteran Posted April 1, 2008 Veteran Share Posted April 1, 2008 CTRL + E for Explorer windows on Vista, same as IE.Although when you hit WIN+F, focus is already there. If the question was really about the deskbar on XP/2003, I believe the hotkey is CTRL+WIN+F, but it's been a while. On Vista, the equivalent is pressing the WIN key all by itself :) Yes, sorry. I meant the Deskbar on XP. Since you have to type into the box it would be handy (in XP) to be able to hit a hotkey and just type. :) Win-F opens the search window, but I haven't found a combo to jump to the taskbar box yet. Dear GreyWolfSC, will you tell me how I enable "index now" on LUA account? Can you show how to enable drag&drop from deskbar results? What can I do to enable those tooltips?I bet you can't. So why are you commenting? Windows Desktop Search (WDS) Administration Guide for information on the first. On the second, type your search in the box, hit enter, drag/drop from search window that opens. Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589305109 Share on other sites More sharing options...
Brandon Live Veteran Posted April 1, 2008 Author Veteran Share Posted April 1, 2008 Dear GreyWolfSC, will you tell me how I enable "index now" on LUA account? You have to elevate or be an admin to change the indexer state. This is because it affects all users on the machine. Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589305130 Share on other sites More sharing options...
thugilex Posted April 1, 2008 Share Posted April 1, 2008 thx Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589305658 Share on other sites More sharing options...
abcdefg Posted April 1, 2008 Share Posted April 1, 2008 On the second, type your search in the box, hit enter, drag/drop from search window that opens. Deskbar, and missing tooltips have been an issue for a long time but I guess no-one want to fix anything related to XP. Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589306184 Share on other sites More sharing options...
Brandon Live Veteran Posted April 1, 2008 Author Veteran Share Posted April 1, 2008 Deskbar, and missing tooltips have been an issue for a long time but I guess no-one want to fix anything related to XP. It's kind of hard to justify spending resources on things that only affect an operating system that old. Not when our time is better spent on newer, better things. Link to comment https://www.neowin.net/forum/topic/628171-windows-search-40-beta/page/3/#findComment-589307183 Share on other sites More sharing options...
Recommended Posts