<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>.K.T.'s Blog &#187; rootkit</title>
	<atom:link href="http://blog.happinesskt.idv.tw/tag/rootkit/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.happinesskt.idv.tw</link>
	<description>一個屬於 .K.T. 的小小地方......</description>
	<lastBuildDate>Mon, 14 Nov 2011 13:08:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Malware</title>
		<link>http://blog.happinesskt.idv.tw/2008/08/149</link>
		<comments>http://blog.happinesskt.idv.tw/2008/08/149#comments</comments>
		<pubDate>Sun, 24 Aug 2008 10:48:34 +0000</pubDate>
		<dc:creator>.K.T.</dc:creator>
				<category><![CDATA[資訊相關]]></category>
		<category><![CDATA[dll]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rootkit]]></category>
		<category><![CDATA[shell extension]]></category>

		<guid isPermaLink="false">http://www.happinesskt.idv.tw/blog/?p=149</guid>
		<description><![CDATA[上個星期我去上了有關惡意軟體的課 學到了不少東西 想說跟大家介紹一下 順便做個筆記 近來的 Malware 與以前大不相同 以往的惡意軟體 大多是常駐於系統中的執行檔 而現在的 Malware 幾乎都以 DLL 的形式存在 這樣做的好處有 不需要產生 Process，因此也不需要隱藏 可使用宿主的資源，例如以 IE 的名義連線 一個 Process 中的 DLL 非常多，要分析出來並不容易 Process 可以很簡單地被終止，但是要從一個 Process 中把目標的 DLL 動態移出來並不容易 通常 DLL Malware 會在開機時自動執行 目前常見的方式有 安裝成為系統的元件 IE 的元件 檔案總管的 Shell Extension 元件 Svchost 的 Service DLL Winsock LSP 的 SPI DLL Winlogon 的元件 安裝 [...]]]></description>
			<content:encoded><![CDATA[<p>上個星期我去上了有關惡意軟體的課<br />
學到了不少東西<br />
想說跟大家介紹一下<br />
順便做個筆記</p>
<p>近來的 Malware 與以前大不相同<br />
以往的惡意軟體<br />
大多是常駐於系統中的執行檔<br />
而現在的 Malware<br />
幾乎都以 <a href="http://blog.happinesskt.idv.tw/tag/dll" class="st_tag internal_tag" rel="tag" title="有標籤 dll 的文章">DLL</a> 的形式存在<br />
這樣做的好處有</p>
<ol>
<li> 不需要產生 Process，因此也不需要隱藏</li>
<li>可使用宿主的資源，例如以 IE 的名義連線</li>
<li>一個 Process 中的 DLL 非常多，要分析出來並不容易</li>
<li>Process 可以很簡單地被終止，但是要從一個 Process 中把目標的 DLL 動態移出來並不容易</li>
</ol>
<p>通常<br />
DLL Malware 會在開機時自動執行<br />
目前常見的方式有</p>
<ul>
<li>安裝成為系統的元件</li>
<ul>
<li>IE 的元件</li>
<li>檔案總管的 <a href="http://blog.happinesskt.idv.tw/tag/shell-extension" class="st_tag internal_tag" rel="tag" title="有標籤 shell extension 的文章">Shell Extension</a> 元件</li>
<li>Svchost 的 Service DLL</li>
<li>Winsock LSP 的 SPI DLL</li>
<li>Winlogon 的元件</li>
</ul>
<li>安裝 Message Hook DLL</li>
<ul>
<li>WH_KEYBOARD</li>
<li>WH_MOUSE</li>
<li>WH_GETMESSAGE</li>
</ul>
<li>採用 DLL Injection 方式直接感染特定的 Process</li>
</ul>
<p>要偵測系統中是否存在 Malware<br />
可以從以下幾個地方著手</p>
<ol>
<li>有沒有可疑的 Process</li>
<li>有沒有可疑的 AutoRun DLL</li>
<li>是否有利用 <a href="http://blog.happinesskt.idv.tw/tag/rootkit" class="st_tag internal_tag" rel="tag" title="有標籤 rootkit 的文章">Rootkit</a> 隱藏的 Process</li>
<li>是否有利用 Rootkit 隱藏的 File 或 Registry Key</li>
</ol>
<p>要清除系統中的 Malware<br />
一定要找出 Malware 啟動的方式<br />
不然<br />
每次重開機<br />
Malware 就會再次執行</p>
<p>另外<br />
如果要觀察 Malware 的行為<br />
可從以下幾個方向著手</p>
<ul>
<li>Network Inspection</li>
<li>Process Inspection</li>
<li>Auto-Startup Inspection</li>
<li>Rootkit Inspection</li>
</ul>
<p>以上的資料<br />
很多都來自 Birdman 的上課內容<br />
感謝 Birdman 精彩的教學<br />
真是讓我受益不少啊！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.happinesskt.idv.tw/2008/08/149/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

