com surrogate_什么是“ COM Surrogate”(dllhost.exe),為什么它在我的PC上運行?

com surrogate

com surrogate

If you poke around in your Task Manager, there’s a good chance you’ll see one or more “COM Surrogate” processes running on a Windows PC. These processes have the file name “dllhost.exe”, and are part of the Windows operating system. You’ll see them on Windows 10, Windows 8, Windows 7, and even earlier versions of Windows.

如果在任務管理器中四處瀏覽,很有可能會在Windows PC上看到一個或多個“ COM Surrogate”進程。 這些進程的文件名為“ dllhost.exe”,并且是Windows操作系統的一部分。 您將在Windows 10,Windows 8,Windows 7甚至Windows的早期版本中看到它們。

This article is part of?our ongoing series?explaining various processes found in Task Manager, like?Runtime Broker,?svchost.exe,?dwm.exe,?ctfmon.exe,?rundll32.exe,?Adobe_Updater.exe, and?many others.?Don’t?know what those services are? Better start reading!

本文是我們正在進行的系列文章的一部分,解釋了在任務管理器中發現的各種過程,例如Runtime Broker , svchost.exe , dwm.exe , ctfmon.exe , rundll32.exe , Adobe_Updater.exe以及許多其他過程。 不知道這些服務是什么? 最好開始閱讀!

什么是COM代理(dllhost.exe)? (What Is COM Surrogate (dllhost.exe)?)

COM stands for Component Object Model. This is an interface Microsoft introduced back in 1993 that allows developers to create “COM objects” using a variety of different programming languages. Essentially, these COM objects plug into other applications and extend them.

COM代表組件對象模型。 這是Microsoft早在1993年引入的界面,允許開發人員使用多種不同的編程語言創建“ COM對象”。 本質上,這些COM對象可插入其他應用程序并對其進行擴展。

For example,?the Windows file manager?uses COM objects to create thumbnail images of images and other files when it opens a folder. The COM object handles processing images, videos, and other files to generate the thumbnails.?This allows File Explorer to be extended with support for new video codecs, for example.

例如,Windows文件管理器在打開文件夾時使用COM對象創建圖像和其他文件的縮略圖。 COM對象處理圖像,視頻和其他文件以生成縮略圖。 例如,這使File Explorer可以擴展為支持新的視頻編解碼器。

However, this can lead to problems. If a COM object crashes, it will take down its host process. At one point, it was common for these thumbnail-generating COM objects to crash and take down the entire Windows Explorer process with them.

但是,這可能會導致問題。 如果COM對象崩潰,它將取消其宿主進程。 在某一時刻,這些生成縮略圖的COM對象崩潰并帶走它們的整個Windows資源管理器過程是很常見的。

To fix this sort of problem, Microsoft created the COM Surrogate process. The COM Surrogate process runs a COM object outside the original process that requested it. If the COM object crashes, it will only take down the COM Surrogate process and the original host process won’t crash. For example, Windows Explorer (now known as File Explorer) starts a COM Surrogate process whenever it needs to generate thumbnail images. The COM Surrogate process hosts the COM object which does the work. If the COM object crashes, only the COM Surrogate crashes and the original File Explorer process will keep on trucking.

為了解決這種問題,Microsoft創建了COM Surrogate進程。 COM Surrogate進程在請求它的原始進程之外運行COM對象。 如果COM對象崩潰,它將僅關閉COM Surrogate進程,并且原始宿主進程不會崩潰。 例如,Windows資源管理器(現在稱為文件資源管理器)在需要生成縮略圖時會啟動COM代理過程。 COM Surrogate進程承載完成工作的COM對象。 如果COM對象崩潰,則只有COM Surrogate崩潰,并且原始的文件資源管理器進程將繼續運行。

“In other words”, as official Microsoft blog The Old New Thing puts it, “the COM Surrogate is the?I don’t feel good about this code, so I’m going to ask COM to host it in another process. That way, if it crashes, it’s the COM Surrogate sacrificial process that crashes instead of me?process.”

正如微軟官方博客The Old New Thing所說,“換句話說”,“ COM Surrogate是我對此代碼不滿意,因此我將要求COM在另一個過程中托管它。 這樣,如果崩潰,則是COM Surrogate犧牲進程崩潰,而不是我進程。”

And, as you might have guessed, COM Surrogate is named “dllhost.exe” because the COM objects it hosts are .dll files.

而且,您可能已經猜到了,COM Surrogate被命名為“ dllhost.exe”,因為它托管的COM對象是.dll文件。

我如何知道一個COM代理托管在哪個COM對象上? (How Can I Tell Which COM Object a COM Surrogate Is Hosting?)

The standard?Windows Task Manager doesn’t give you any more information about which COM object or DLL file a COM Surrogate process is hosting. If you want to see this information, we recommend Microsoft’s Process Explorer tool. Download it and you can just mouse-over a dllhost.exe process in Process Explorer to see which COM Object or DLL file it’s hosting.

標準Windows任務管理器不提供有關COM Surrogate進程承載哪個COM對象或DLL文件的更多信息。 如果要查看此信息,建議使用Microsoft的Process Explorer工具。 下載它,您只需將鼠標懸停在Process Explorer中的dllhost.exe進程上,即可查看它托管的COM對象或DLL文件。

As we can see in the screenshot below, this particular dllhost.exe process is hosting the? CortanaMapiHelper.dll object.

正如我們在下面的屏幕快照中看到的那樣,該特定的dllhost.exe進程托管了CortanaMapiHelper.dll對象。

我可以禁用它嗎? (Can I Disable It?)

You can’t disable the COM Surrogate process, as it’s a?necessary part of Windows. It’s really just a container process that’s used to run COM objects that other processes want to run. For example, Windows Explorer (or File Explorer) regularly creates a COM Surrogate process?to generate thumbnails when you open a folder. Other programs you use may also create their own COM Surrogate processes. All the dllhost.exe processes on your system were started by another program to do?something that program wants done.

您不能禁用COM Surrogate進程,因為它是Windows的必需部分。 它實際上只是一個容器進程,用于運行其他進程要運行的COM對象。 例如,Windows資源管理器(或文件資源管理器)會定期創建COM代理進程,以在您打開文件夾時生成縮略圖。 您使用的其他程序也可能會創建自己的COM Surrogate進程。 系統上的所有dllhost.exe進程均由另一個程序啟動,以執行該程序想要完成的操作。

是病毒嗎? (Is It a Virus?)

The COM Surrogate process itself is not a virus, and is a normal part of Windows. However, it can be used by malware. For example, the Trojan.Poweliks malware uses dllhost.exe processes to do its dirty work. If you see a large number of dllhost.exe processes running and they’re using a noticeable amount of CPU, that could indicate the COM Surrogate process is being?abused by a virus or other malicious application.

COM Surrogate進程本身不是病毒,并且是Windows的正常部分。 但是,它可以被惡意軟件使用。 例如, Trojan.Poweliks惡意軟件使用dllhost.exe進程來完成其骯臟的工作。 如果您看到大量dllhost.exe進程正在運行,并且它們使用的CPU數量明顯,則可能表明COM Surrogate進程已被病毒或其他惡意應用程序濫用。

If you’re concerned that malware is abusing the dllhost.exe or COM Surrogate process, you should run a scan with your preferred antivirus program to find and remove any malware?present on your system. If your antivirus program of choice says everything is fine but you’re suspicious, run a scan with another antivirus tool to get a second opinion.

如果您擔心惡意軟件濫用了dllhost.exe或COM Surrogate進程,則應使用首選的防病毒程序運行掃描,以查找并刪除系統上存在的任何惡意軟件。 如果您選擇的防病毒程序說一切正常,但是您很可疑,請使用另一個防病毒工具運行掃描以獲得第二意見。

翻譯自: https://www.howtogeek.com/326462/what-is-com-surrogate-dllhost.exe-and-why-is-it-running-on-my-pc/

com surrogate

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/280314.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/280314.shtml
英文地址,請注明出處:http://en.pswp.cn/news/280314.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

云計算時代,互聯網金融背后的想象空間

本文講的是云計算時代,互聯網金融背后的想象空間,【IT168評論】阿里巴巴在紐交所的開市鐘史無前例的由八位合作伙伴敲響,可見阿里對互聯網時代構筑起生態系統的堅持。這其中,由余額寶所敲開的互聯網金融熱潮的熱度持續不減&#x…

JavaScript數據結構與算法——集合

1.集合數據結構 集合是一組無序且唯一(不能重復)的項組成的。這個數據結構使用了和有限集合相同的數學概念。 2.創建集合 function Set() {// 這里使用對象而不是數組來表示集合 // js對象中不允許一個鍵值指向兩個不同屬性,也保證了集合中的…

php用兩個棧來實現隊列

php用兩個棧來實現隊列 一、總結 我主要的問題是不知道的是題目描述,題目和貴的代碼之間的關系,以及返回值 思路:A棧做入隊操作,B棧做出隊操作,入隊的時候元素直接入A,出隊的時候判斷B棧是否為空&#xff0…

facebook 邀請好友_如何查看緊急情況下您的Facebook朋友是否安全

facebook 邀請好友Facebook’s Safety Check feature lets you check in during an emergency to confirm you’re safe. If you have friends or family in an area that you haven’t heard from, though, you may want to ask them directly. Here’s how to ask someone to…

【您有一封來自阿里云的邀請函】阿里云成都客戶服務中心20+職位虛席以待,來吧,成就最好的自己!...

如果你不想辜負這個科技的時代,相信它會因你而不同。如果你不想僅做年度大戲的觀眾,相信自己會成為主角。如果你不想淹沒在枯燥與茍且中,相信工作有詩和遠方。那么,不要猶豫,加入我們!在這,你已…

A - A Secret -擴展KMP

題目大意:給你兩個字符串A,B,現在要你求B串的后綴在A串中出現的次數和后綴長度的乘積和為多少。題解:擴展KMP模板題,將A和B串都逆序以后就變成了求前綴的問題了,擴展KMP求處從i位置開始的最長公共前綴存于數組。最后通…

.NET 代碼優化 聊聊邏輯圈復雜度

本文屬于 dotnet 代碼優化系列博客。相信大家都對圈復雜度這個概念很是熟悉,本文來和大家聊聊邏輯的圈復雜度。代碼優化里面,一個關注的重點在于代碼的邏輯復雜度。一段代碼的邏輯復雜度越高,那么維護起來的難度也就越大。衡量代碼的邏輯復雜…

GO語言基礎條件、跳轉、Array和Slice

1. 判斷語句if 1. 條件表達式沒有括號(這點其他語言轉過來的需要注意) 2. 支持一個初始化表達式(可以是并行方式,即:a, b, c : 1, 2, 3) 3. 左大括號必須和條件語句或 else 在同一行 4. 支持單行模式 5. 初始化語句中的…

干式真空泵原理_如何安裝干式墻錨在墻壁上懸掛重物

干式真空泵原理If you ever plan to mount something to the wall that’s even remotely heavy, you’ll need to use drywall anchors if a stud isn’t available. Here are the different types of drywall anchors, and how to use each one. 如果您打算將甚至更重的東西安…

sharding-jdbc學習

sharding-jdbc的全局id生成策略是通過雪花算法來實現的。 sharding-jdbc也是一個數據的中間件,可實現讀寫分離和分庫分表,比mycat要簡單些。 nginx與ribbon實現負載均衡的區別:nginx是實現服務器端的負載均衡,ribbon是實現客戶端即…

像go 一樣 打造.NET 單文件應用程序的編譯器項目bflat 發布 7.0版本

現代.NET和C#在低級/系統程序以及與C/C/Rust等互操作方面的能力完全令各位刮目相看了,有人用C#開發的64位操作系統: GitHub - nifanfa/MOOS: C# x64 operating system pro...,截圖要介紹的是一個結合Roslyn和NativeAOT的實驗性編譯器bflat :h…

添加dubbo.xsd的方法

整合dubbo-spring的時候,配置文件會報錯 因為 阿里關閉在線的域名了.需要本地下載xsd文件 所以,需要下載本地引入。 解決方式: 在dubbo的開源項目上找到xsd文件: https://github.com/alibaba/dubbo Idea使用本地xsd Setting…

Spring Cloud Feign注意點

2019獨角獸企業重金招聘Python工程師標準>>> 1、只要在啟動類中加入EnableFeignClients注解,才會掃描FeignClient注解 2、Feign主要是通過接口調用,底層其實也是HttpClient/OkHttp 1)提供一個Feign接口,加入對應的rest…

.gitkeep是什么? .gitignore和.gitkeep之間的區別(譯)

你是不是在git工程里遇到過.gitkeep文件?如果你通過angular腳手架來生成angular2或者angular4工程,你會發現.gitkeep文件在./src/app/assets文件夾里。你對著個文件感到奇怪嗎?我們都知道我們的老朋友.gitignore。你也許會覺得它是.gitignore…

掃描PDF417崩潰的原因找到:手機攝像頭分辨率低

換孩子姥姥華為手機解決了。 能掃pdf417碼了轉載于:https://www.cnblogs.com/strongdady/p/9049155.html

word 替換 增加引號_如何在Word 2013文檔中替換部分(不是全部)智能引號

word 替換 增加引號Word includes a setting that allows you to automatically convert straight quotes to smart quotes, or specially curved quotes, as you type. However, there may be times you need straight quotes and you may have to convert some of the quotes…

i-i.me:網址導航真的是偽需求嗎?

每一個程序員都有一個框架夢,每一個站長曾經都有一個網址導航夢。本人從07年開始接觸互聯網,成為一名中國草根站長,到現在終于熬成半個程序員。10年時間,沒有賺到錢,也沒有練就一身過硬的技術(所以叫半個程…

.Net AOT--Win11搭建和編譯 X64 匯編

楔子:windows11上編譯x64匯編,很多人不太了解。甚至搞出DOSBox這種幾億年前的老古董,還有的專門搞些Linux下面的工具來搞到Windows上運行。其實這些大可不必,也沒這么麻煩。微軟技術出身,基本上工具鏈齊全。本篇來看下…

安裝mongoDB遇見的一個路徑問題

如果安裝路徑不存在,則不會解壓EXE軟件! 安裝monogoDB后,它不會自動添加執行路徑! 意思就是安裝路徑是D盤下面的mongoDB文件夾,假如不存在這個文件夾,則不會安裝成功 你需要添加路徑: 你可以利用…

Codeforces VK Cup 2015 A.And Yet Another Bracket Sequence(后綴數組+平衡樹+字符串)

這題做得比較復雜。。應該有更好的做法 題目大意: 有一個括號序列,可以對其進行兩種操作: 向里面加一個括號,可以在開頭,在結尾,在兩個括號之間加。 對當前括號序列進行循環移動&#xff0…