<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    學海拾遺

    生活、技術、思想無處不在學習
    posts - 52, comments - 23, trackbacks - 0, articles - 3
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
    Effective file hiding : Bypassing Raw File System I/O Rootkit Detector
    @ :: worthy ::???? Apr 06 2007, 08:51 (UTC+0)
    cardmagic writes: 0. Something else :

    After reading Hoglund's post, I finally decide to write this article.
    Actually in China, many smart rootkit/antirootkit writers have their own interesting materials,but unfortunately they are unable to publiish them becuase of various reasons(business contract,language barrier or even related to some secret organization).
    The main idea of this post comes to me when I designed DarkSpy, but after I finishing coding of the bus level file hider, it was discarded.
    Hopefully it will still be useful for some guys here:)
    Okay, now lets discuss the main topic :

    1. Raw I/O based hidden file detection:

    This kind of file detection is used very commonly in modern detetors. such as DarkSpy/Icesword.
    The main idea for this detection method is to directly send I/O request packet to file system ,
    so that detector will get the real view of system files.
    this is effective for hiding by native routine call hooking and file system filter driver.

    In addition, DarkSpy has added two great points into this(The second one makes DarkSpy's file detecion better than Icesword ^_^ )
    a) Implement IofCallDriver itself,and directly call the original file system dispach routines,
    this will bypass hiding by the file system dispath routing hooking.
    b) Recover the whole file system file image in the memory before each I/O, this is against the
    hiding by inline code patching of file system dispatch routines.


    2. The Bypassing theory:

    Here we will only discuss the real hider ( not file stream stuff),and we will describe the the bypassing theory with DarkSpy, because DarkSpy is very typical in raw I/O based file detectors.Let's look at basic flow of DarkSpy file detection first.


    ???-----------------???????????????????---------------------
    ???|???DarkSpy?????|??<1> ---->recover | FILE SYSTEM IMAGE |
    ???-----------------??<2>----->call--->|??dispatch code????|
    ??????????????????????<2><-----return--|-------------------|


    From the figure above, we can see it's almost impossible to do something in file system, because DarkSpy has recoverred the whole image, even directly call the dispatch code without system routine's help.
    Now start changing our point of view and brainstorm, can we intercept the I/O processing besides file system?
    The answer is true, because file system will call many system routines.
    But we must pick an appropriate call that has the chance to reach the I/O content,which one will be the best? IofCallDriver maybe first come to your mind...but unfortunately DarkSpy has implemented it inside,because IofCallDriver is very easy to implement :)
    So we have to pick another choice which is
    a) hard to implement
    b) will be called by file system
    c) able to touch the I/O content
    which one will be the best ?
    Oh,yes, you got it, it's IofCompleteRequest. Okay... this is our idea...
    Through IofCompleteRequest code patching , check if we are called by file system,if yes, we will filter the I/O content. Thus,we will be sure to bypass all modern raw I/O based file detector.

    3. The Main Code:

    Please check --

    http://www.rootkit.com/vault/cardmagic/hidefile.c


    (c) www.rootkit.com / http://www.rootkit.com/

    TraceBack: http://rootkit.com/newsread_print.php?newsid=689

    注:好牛的一篇文章哦!~? 呵呵,真的需要調整自己的視角了:在計算機里面,不是所看到的東西就一定是真實的。


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲AV日韩AV无码污污网站| 女同免费毛片在线播放| 亚洲国产一区明星换脸| 97在线免费观看视频| 亚洲精品美女久久久久| 天堂在线免费观看中文版| 国产精品美女久久久免费| 亚洲国产精品久久久久秋霞影院| 免费看片免费播放| 久久精品乱子伦免费| 亚洲最大的成人网| 国产成人亚洲综合色影视| 日本高清免费网站| 日本在线看片免费人成视频1000 | 在线美女免费观看网站h| 亚洲av无码一区二区三区四区| 亚洲VA中文字幕不卡无码| 麻豆成人精品国产免费| 香蕉免费一区二区三区| 人人爽人人爽人人片A免费| 亚洲一区二区三区久久| 亚洲精品美女久久777777| 在线日韩av永久免费观看| 最近中文字幕国语免费完整| 一区二区三区AV高清免费波多| 亚洲一级片在线播放| 国产亚洲精久久久久久无码| 国产乱子影视频上线免费观看| 91精品成人免费国产片| 中文字幕永久免费| 免费一级毛片在线播放放视频| 亚洲AV无码无限在线观看不卡| 亚洲av无码乱码国产精品fc2| 亚洲色婷婷综合开心网| 成人激情免费视频| 精品国产免费人成电影在线观看| 亚欧乱色国产精品免费视频| 婷婷国产偷v国产偷v亚洲| 亚洲精品456人成在线| 亚洲精品视频在线播放| 国产亚洲免费的视频看|