日韩亚洲AV无码一区二区三区|av在线国产哟哟|国产精品人人爽人人爽AV|免费一区二区精品无码视频

<th id="kwciy"><video id="kwciy"></video></th>
<code id="kwciy"><em id="kwciy"><optgroup id="kwciy"></optgroup></em></code>
    1. <center id="kwciy"></center>

      <code id="kwciy"></code>

      0712-2888027 189-8648-0214
      微信公眾號

      孝感風(fēng)信網(wǎng)絡(luò)科技有限公司微信公眾號

      當(dāng)前位置:主頁 > 技術(shù)支持 > Linux > CentOS Linux系統(tǒng)下查找webshell后門的常用命令

      CentOS Linux系統(tǒng)下查找webshell后門的常用命令

      時間:2018-11-30來源:風(fēng)信官網(wǎng) 點(diǎn)擊: 3206次
      檢測webshell后門,一般我們通過判斷文件修改的內(nèi)容,時間、匹配相應(yīng)的內(nèi)容等信息進(jìn)行判斷,Windows系統(tǒng)有專門針對性的軟件,如:D盾,支持win2003/win2008/win2012/win2016等系統(tǒng),為IIS設(shè)計的一個主動防御的保護(hù)軟件,以內(nèi)外保護(hù)的方式防止網(wǎng)站和服務(wù)器給入侵,在正常運(yùn)行各類網(wǎng)站的情況下,越少的功能,服務(wù)器越安全的理念而設(shè)計! 限制了常見的入侵方法,讓服務(wù)器更安全!

      Linux系統(tǒng)我們利用find命令、grep命令進(jìn)行查找

      # find ./ -name “*.php” |xargs egrep “phpspy|c99sh|milw0rm|eval(gunerpress|eval(base64_decoolcode|spider_bc))” > /tmp/php.txt

      將查找的結(jié)果寫入/tmp/php.txt文件,我們可以查看該文件得到結(jié)果

      grep -r –include=*.php  ‘[^a-z]eval($_POST’ . > /tmp/eval.txt

      將查找的結(jié)果寫入/tmp/eval.txt文件,我們可以查看該文件得到結(jié)果

      grep -r –include=*.php  ‘file_put_contents(.*$_POST[.*]);’ . > /tmp/file_put_contents.txt

      將查找的結(jié)果寫入/tmp/file_put_contents.txt文件,我們可以查看該文件得到結(jié)果

      find ./ -name "*.php" -type f -print0 | xargs -0 egrep "(phpspy|c99sh|milw0rm|eval(gzuncompress(base64_decoolcode|eval(base64_decoolcode|spider_bc|gzinflate)" | awk -F: '{print $1}’ | sort | uniq

      組合型查找

      另外,我們可以查找最近一天被修改的php文件來判斷

      find -mtime -1 -type f -name *.php

      查找網(wǎng)站修改的權(quán)限來判斷

      find -type f -name *.php -exec chmod 444 {} ;

      find ./ -type d -exec chmod 555{} ;
      熱門關(guān)鍵詞: CentOS Linux webshell 后門 常用命令
      欄目列表
      推薦內(nèi)容
      熱點(diǎn)內(nèi)容
      展開