linux伺服器中毒利用Find尋找病毒例子

來源:互聯網
上載者:User

例子

 代碼如下 複製代碼

find wwwroot/* -type f -name “*.php” |xargs grep “eval(” > wwwroot/eval.txt

find wwwroot/* -type f -name “*.php” |xargs grep “udp:” > wwwroot/udp.txt

find wwwroot/* -type f -name “*.php” |xargs grep “tcp:” > wwwroot/tcp.txt

下面補充一下

網上流行在用的特徵碼是:(PS:不過一定有遺留)

後門特徵->cha88.cn
後門特徵->c99shell
後門特徵->phpspy
後門特徵->Scanners
後門特徵->cmd.php
後門特徵->str_rot13
後門特徵->webshell
後門特徵->EgY_SpIdEr
後門特徵->tools88.com
後門特徵->SECFORCE
後門特徵->eval("?>

可疑代碼特徵->system(
可疑代碼特徵->passthru(
可疑代碼特徵->shell_exec(
可疑代碼特徵->exec(
可疑代碼特徵->popen(
可疑代碼特徵->proc_open
可疑代碼特徵->eval($
可疑代碼特徵->assert($
危險MYSQL代碼->returns string soname
危險MYSQL代碼->into outfile
危險MYSQL代碼->load_file
加密後門特徵->eval(gzinflate(
加密後門特徵->eval(base64_decode(
加密後門特徵->eval(gzuncompress(
加密後門特徵->gzuncompress(base64_decode(
加密後門特徵->base64_decode(gzuncompress(
一句話後門特徵->eval($_
一句話後門特徵->assert($_
一句話後門特徵->require($_
一句話後門特徵->require_once($_
一句話後門特徵->include($_
一句話後門特徵->include_once($_
一句話後門特徵->call_user_func("assert"
一句話後門特徵->call_user_func($_
一句話後門特徵->$_POST/GET/REQUEST/COOKIE[?]($_POST/GET/REQUEST/COOKIE[?]
一句話後門特徵->echo(file_get_contents($_POST/GET/REQUEST/COOKIE
上傳後門特徵->file_put_contents($_POST/GET/REQUEST/COOKIE,$_POST/GET/REQUEST/COOKIE
上傳後門特徵->fputs(fopen("?","w"),$_POST/GET/REQUEST/COOKIE[
.htaccess插馬特徵->SetHandler application/x-httpd-php
.htaccess插馬特徵->php_value auto_prepend_file
.htaccess插馬特徵->php_value auto_append_file

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.