Windows Search 4.0 Beta


Recommended Posts

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 by MioTheGreat
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 by Mr Winkle
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 by Brandon Live

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 by Mr Winkle
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.

There's still not tooltips in deskbar results. :x

Same 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::

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

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 :)

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?

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.

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.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • DiskGenius 6.2.0.1829 - All Versions: Free, Lite & Portable by Razvan Serea DiskGenius is a full-featured partition manager, which is designed to optimize disk usage for Windows users. It will efficiently help you recover lost data, resize/split partition, backup files, edit hex data, check bad sectors, manage virtual disks, erase data, etc.. Create a system image backup for current Windows with simple clicks to keep the operating system under protection. DiskGenius key features: Partition Management - It can create format, resize, extend, backup, split, hide and clone partition, both MBR and GPT are supported. Disk and partition conversion - Convert dynamic disk to basic, convert virtual disk format and convert MBR to GPT, convert primary partition to logical. File recovery - It can recover files deleted or emptied form recycle bin, recover files from damaged partition or disk and recover files by file type and supports file preview and file filter. Partition recovery - It is the best partition recovery program in that it can recover files from damaged, corrupted and RAW partitions, search for lost partition and recover files from it, besides, it can fix partition table. RAID recovery - It can reconstruct Virtual RAID and recover files from it, and all RAID types are supported. Sector Editor - A Hex editor is embedded to help users edit raw hex data and recover data manually. Backup and Restore - It can backup and restore partition including system partition, hard disk and partition table. Bad Tracks - It can check and repair bad sectors for all storage devices; check hard disk S.M.A.R.T. information. Delete files permanently - It can delete files permanently so that they can't be recovered by any data recovery software. Virtual Disk - It supports virtual disks, including VMware, Virtual PC and Virtual Box. Create WinPE bootable disk and you can manage disk partition when system crashes or there is no operating system on your computer. Support FAT12/FAT16/FAt32/exFAT/NTFS/EXT2/EXT3/EXT4 file system format. DiskGenius 6.2.0.1829 changelog: Add the "Disk Speed Test" feature. Add the "Windows Boot Repair and Conversion" feature. Add the BMB21-2019 erase standard to the "Erase Sectors" feature. Add support for restoring an individual partition from a PMFX disk image file. Enhanced The "Verify Or Repair Bad Sectors/Blocks" feature displays disk read speed in the detection window during scanning. The "Quick Partition" dialog box allows users to quickly select the number of partitions by pressing the numeric keys 1, 2, 7, 8, or 9. The "Set Volume Name" dialog box supports selecting preset volume labels provided by the software. The "Copy Sectors" feature supports resuming copy tasks after modifying the number of skipped bad sectors. Add the "TRIM Optimization" option to the format dialog box. The "Clone Partition" and "Clone Disk" features perform TRIM optimization on target partitions or disks before cloning. Add support for Not Equal To search conditions (prefixed with "!") when searching hexadecimal data in the sector editor. Optimize the display of capacity values in the program interface to show two decimal places. Add a minimize button to dialogs that may require long processing time. Enhance support for the ReFS file system. Enhance support for newer HIF and MP4 formats when recovering files by type. Enhance support for the EXT4 file system. Enhance compatibility of the "File Recovery" feature with special data structures. Fixed Fixed the issue that the selected file system type automatically reverted to NTFS after changing it to exFAT or EXT4 in the "Quick Partition" dialog box. Fixed inaccurate Unicode string search results in the "Sector Editor" feature. Fixed the issue that exceptions might occur when adding multiple disks in the "Erase Sectors" feature. Fixed the issue that insufficient target disk space was incorrectly reported in some cases when cloning, backing up, or restoring disks. Fixed the issue that folder modification timestamps were not preserved when copying files from ReFS partitions. Fixed the issue that Excel-format reports generated by features such as file copying or bad sector checking could not be opened when the report contained more than one million rows. Fixed the issue that folders were not displayed in the exclude-folder dialog box when backing up partitions to image files. Fixed the issue that the "Erase Sectors" feature could not be executed in some cases. Download: DiskGenius 6.2.0.1829 | 63.9 MB (Freeware, paid upgrade available) Download: DiskGenius Portable 64-bit | 40.0 MB Download: DiskGenius Portable 32-bit | 36.0 MB Download: DiskGenius Lite 64-bit | 13.4 MB Download: DiskGenius Lite 32-bit | 11.6 MB View: DiskGenius Home Page | DiskGenius Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Really? Use a better search engine https://www.google.com/search?...ourceid=chrome&ie=UTF-8
    • Seems like Neowin has transitioned into being simps for the white house. I can't find a review for the last UFC games that came out.
  • Recent Achievements

    • Week One Done
      agatameier earned a badge
      Week One Done
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      513
    2. 2
      +Edouard
      182
    3. 3
      PsYcHoKiLLa
      143
    4. 4
      ATLien_0
      95
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!