橡不正アクセスサーバ別詳細対策集.PDF

Similar documents
橡不正アクセス環境別詳細対策集.PDF

2004 SYN/ACK SYN Flood G01P014-6

1 Linux UNIX-PC LAN. UNIX. LAN. UNIX. 1.1 UNIX LAN. 1.2 Linux PC Linux. 1.3 studenta odd kumabari studentb even kumabari studentc odd kumabari student

2/11 ANNEX HATS HATS

guide.PDF

2 1: OSI OSI,,,,,,,,, 4 TCP/IP TCP/IP, TCP, IP 2,, IP, IP. IP, ICMP, TCP, UDP, TELNET, FTP, HTTP TCP IP

FileMaker Server Getting Started Guide

内閣官房情報セキュリティセンター(NISC)

Si-R30取扱説明書

Web STEPS Web Web Form Cookie HTTP STEPS Web

FirePass Edge Client TM Edge Client LAN Edge Client 7.0 Edge Client Edge Client Edge Client Edge Client Edge Client Edge Client LAN Edge Client VPN Wi

shibasaki(印刷用)


集中講義 インターネットテクノロジー 第5回

Mac OS X Server メールサービスの管理(バージョン 10.3 以降用)

お客様システムにおけるセキュリティ施策

untitled

FileMaker Server 9 Getting Started Guide

Windows と Linux のセキュリティ: 噂の真相

Mac OS X Server QuickTime Streaming Server 5.0 の管理(バージョン 10.3 以降用)

1. 2. ( ) Secure Secure Shell ssh 5. (xinetd TCP wrappers) 6. (IPsec) 7. Firewall 2

ヤマハ ルーター ファイアウォール機能~説明資料~

TCP/IP Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.3 Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.4 2

ヤマハ ルーター ファイアウォール機能~説明資料~

1 IPv6 WG OS SWG PCOSIPv6 Windows Vista 2 3 KAMEUSAGIMacOSX IPv6 2

Mac OS X Server Windows NTからの移行

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

Oracle Application Server 10g Release 3(10.1.3)Oracle HTTP Serverの概要

FileMaker Server Getting Started Guide

A/B WWW MTA/MSP sendmail POP/IMAP apache WWW 1 1 sendmail uw imap apache WWW host host subnet1: /24 IF1: router & server mail and

オンラインテスト

FileMaker Server Getting Started Guide

第2回_416.ppt

1 ARENA DNS CSR ID ( ).. I

PDF

SRT/RTX/RT設定例集

5. sendmail.cf

RouteMagic Controller( RMC ) 3.6 RMC RouteMagic RouteMagic Controller RouteMagic Controller MP1200 / MP200 Version 3.6 RouteMagic Controller Version 3

設定例集_Rev.8.03, Rev.9.00, Rev.10.01対応

intra-mart Web for SellSide ver /03/31 Oracle MS-SQL Server IBM DB2 MS-SQL Server IBM DB2 Client Side JavaScript Server Side JavaScript URL -

PDF

LAN

橡C12電子メール最新技術動向revisd.PDF

RouteMagic Controller RMC-MP200 / MP Version

RouteMagic Controller RMC-MP200 / MP Version

MUA (Mail User Agent) MTA (Mail Transfer Agent) DNS (Domain Name System) DNS MUA MTA MTA MUA MB mailbox MB

Epson Print Admin

Install.PDF


wide94.dvi

FileMaker Server 16 インストールおよび構成ガイド

FUJITSU Network Si-R Si-R Gシリーズ Webユーザーズガイド

スタートアップガイド《YSシリーズ》

shio_ PDF

ウイルスバスター ビジネスセキュリティ インストールガイド

CSV ToDo ToDo

FileMaker Server 15 入門ガイド

CAS Yale Open Source software Authentication Authorization (nu-cas) Backend Database Authentication Authorization Powered by A

Macintosh HD:Users:ks91:Documents:lect:nm2002s:nm2002s03.dvi

BIG‑IP Access Policy Manager | F5 Datasheet

Microsoft Windows, Windows CE, Microsoft Corporation Citrix ICA Citrix Presentation Server Citrix Systems, Inc IBM IBM Corporation

ohp.mgp

PLESK_START_UP_GUIDE.indd

rzakg.ps

atama.dvi

UsersGuide_INR-HG5497c_.doc

FileMaker Server 8 Advanced Web Publishing Installation Guide

FileMaker Server Help

untitled

IP Windows Word Excel Web Web Word Excel XHTML CSS Web Windows Word Excel Web XHTML CSS

Transcription:

13 3

1.... 1 1.1.... 1 1.1.1.... 1 1.1.2.... 1 1.1.3.... 2 2.... 5 2.1.... 5 2.1.1.... 5 2.1.2.... 5 2.1.3.... 6 2.1.4.... 6 2.1.5.... 7 2.2. SENDMAIL... 8 2.2.1. sendmail... 8 2.2.2.... 9 2.2.3.... 9 2.2.4....11 2.3. IMAP... 13 2.3.1. IMAP... 13 2.3.2. IMAP... 13 2.4. POP... 14 2.4.1. POP... 14 2.4.2. POP... 14 3. WEB... 16 3.1. WEB... 16 3.1.1.... 16 3.1.2.... 16 3.2.... 19 i

3.2.1. Web... 19 3.2.2.... 19 3.2.3.... 19 3.3. WEB... 20 3.3.1. Web... 20 3.3.2. Web... 20 3.3.3.... 21 3.3.4.... 21 3.3.5.... 21 3.3.6. CGI... 22 3.3.7. ASP... 22 3.3.8. php... 22 3.3.9. SSI... 23 3.3.10.... 23 3.3.11.... 24 3.4.... 25 3.4.1. DoS... 25 3.4.2. DDoS... 26 3.4.3. DDoS... 27 3.4.4. DDoS... 28 3.5. IIS... 33 3.5.1. IIS 4.0... 33 3.5.2. IIS 5.0... 33 3.5.3.... 36 3.6. APACHE... 41 3.6.1. Apache... 41 3.6.2. Apache... 42 4.... 45 4.1.... 45 4.2.... 45 4.3.... 46 4.4.... 47 4.4.1.... 47 ii

4.4.2.... 47 4.4.3.... 47 4.5.... 48 5.... 50 5.1. DNS... 50 5.1.1.... 50 5.1.2. BIND... 50 iii

1. Web 1.1. 1.1.1. 1 1 Web 1.1.2. 1

IP DNS OS 1.1.3. OS 2

1. ( ) ( ) 2. ( ) OS ( ) 2 2 3. 4. 5. 6. ( ) OS ( ) OS ( ) OS ( ) 7. ( ) ( ) ( ) 8. RFC2196 http://www.ipa.go.jp/security/rfc/rfc2196-00ja.html RFC2504 http://www.ipa.go.jp/security/rfc/rfc2504ja.html Steps for Recovering from a UNIX or NT System Compromise http://www.cert.org/tech_tips/root_compromise.html 3

The World Wide Web Security FAQ http://www.w3.org/security/faq/001031wwwsfj.ja.sjis.html#q96 4

2. 2.1. 2.1.1. 2.1.2. ISP Web ML 5

2.1.3. RCPT TO: sendmail RECIPIENT sendmail 8.8.x check_relay 2.1.4. 6

sendmail MTA Mail Transfer Agent SMTP 7 ASCII Web 2.1.5. 2 7

2.2. sendmail sendmail MTA sendmail sendmail 8 sendmail 2.2.1. sendmail sendmail sendmail sendmail 5.x sendmail R5 sendmail 8.x.x sendmail R8 sendmail sendmail-8.8.x check_relay 8.8.8 sendmail sendmail sendmail-8.9.0 sendmail.cf 8.9.0 sendmail Bugtraq http://www.securityfocus.com 8

2.2.2. sendmail sendmail 1 sendmail sendmail sendmail sendmail sendmail.cf sendmail.cf CF 2.2.3. sendmail VRFY EXPN R5 sendmail R8 sendmail mail.cf debug 5.58 debug CA88-01 CA93-14 BID:1 CVE-1999-0095 mail from rcpt to 5.58 5.59 8.6.10 SMTP mail from rcpt to CVE-1999-0203 ident 8.6.9 IDENT BID:2311 9

MIME 8.8.0 8.8.1 8.8.3 8.8.4 8.8.0 8.8.1 MIME 8.8.3 8.8.4 CVE-1999-0206 CVE- 1999-0047 mail.local 8.9.3 sendmail mail.local. n 2047 mail.local LMTP sendmail CVE-2000-0319 10

2.2.4. sendmail NetWin DMail ETRN CVE-2000-0490 Dmail 260 ETRN DMail 2.7r 2.8k Netwin DMailWeb and CWMail Server CVE-2000-0610 2.6j Lotus Domino Server ESMTP CVE-2000-0452 ESMTP rcpt to saml from soml from FROM 4KB Lotus Domino Version 5.0.5 Lotus Domino Server ESMTP CVE-2000-0452 ESMTP rcpt to saml from soml from FROM 4KB 11

5.0.5 MsgCore/NT CVE-2000-0075 smtp ( ) HELO/ MAIL FROM/ RCPT TO / DATA MsgCore 2.x 12

2.3. IMAP IMAP Internet Message Access Protocol IMAP POP IMAP 2.3.1. IMAP IMAP IMAP IMAP IP IMAP IMAP CRAM-MD5 SSH 2.3.2. IMAP IMAP SuSE IMAP CVE-2000-0233 IMAP imap 13

2.4. POP POP Post Office Protocol POP sendmail MTA PC POP POP 3 POP3 2.4.1. POP POP IP POP POP APOP APOP SSH 2.4.2. POP POP vpopmail CVE-2000-0583 vpopmail vchkpw vsprintf() USER PASS vpopmail 4.8 14

Netwin DMailWeb CWMail Server CVE- 2000-0611 POP3 SMTP SMTP 2.6g DMailWeb DmailWeb - force_primary = true - valid_pop = { POP } POP MDaemon 2.8.5.0 POP UIDL CVE-2000-0501 POP pass UIDL 2.8.6.0 Qualcomm Qpopper fgets CVE-2000-0320 qpopper n fgets() mfgets() 1024 n 1023 n 1023 n 15

3. WEB Web Web 3.1. Web Web API CGI Web Web Web Web 3.1.1. Web Web CGI Web Web httpd CGI / 3.1.2. 16

Web Web Web Anonymous FTP httpd Web CGI SSI exec include chroot root Web 17

Web syslog Web access_log error_log 18

3.2. Web Web 3.2.1. Web GET CGI 3.2.2. index.html 3.2.3. Web Web 19

3.3. Web CGI Web Web Web Web Web 3.3.1. Web Web CGI testcgi phf 3.3.2. Web Web Web 20

3.3.3. C strcpy() strcat() strncpy() strncat() 3.3.4. 3.3.5. URL Cookie data.csv 21

3.3.6. CGI Common Gateway Interface test-cgi phf Irix webdist.cgi CGI CGI CERT http://www.cert.org/advisories/ca-1997-25.html W3C WWW FAQ http://www.w3.org/security/faq/www-security-faq.html http://www.w3.org/security/faq/001031wwwsfj.ja.sjis.html 3.3.7. ASP ASP Active Server Pages Microsoft VBScript HTML IIS3.0 4.0 ASP IIS IIS ASP Linux ChiliSoft ASP forlinux 3.0/3.5/3.5.2 Bugtraq http://www.securityfocus.com/bid/978 http://www.securityfocus.com/bid/2454 http://www.securityfocus.com/bid/2407 http://www.securityfocus.com/bid/2409 http://www.securityfocus.com/bid/2410 http://www.securityfocus.com/bid/2376 http://www.securityfocus.com/bid/2334 3.3.8. php PHP HTML php.cgi CGI Apache CERT W3C php.cgi cgi-bin 22

Web PHP CERT http://www.cert.org/advisories/ca-1996-11.html W3C WWW FAQ http://www.w3.org/security/faq/www-security-faq.html http://www.w3.org/security/faq/001031wwwsfj.ja.sjis.html PHP http://www.php.net/manual/en/ http://www.php.net/manual/ja/ 3.3.9. SSI SSI Server Side Include HTML SSI exec include CGI SSI HTML SSI exec cmd mail SSI SSI.shtml SSI 3.3.10. hidden hidden 1 hidden <INPUT TYPE="hidden" NAME=" " VALUE="2000"> <INPUT TYPE="hidden" NAME=" " VALUE="173"> 23

HTML 173 VALUE 2 hidden <INPUT TYPE="hidden" NAME=" " VALUE="help@target_com.com"> HTML sendmail hiddden HTML 3.3.11. JavaScript SSI exec SSI 24

3.4. DoS Denial of Service Web 3.4.1. DoS OS WWW FTP DNS SMTP 2 SYN flood SYN SYN-ACK SYN / Linux 2.0.30 SYN Cookie Ping of Death 65536 ping OS 1996 25

OS e-mail bombing WinNuke Win9x Win NT SP2 NETBIOS TCP 139 OOB/URG Out of Bounds/ Windows OOB Window Windows 3.4.2. DDoS DDoS Distributed Denial of Service DDoS / 1 Web Web DDoS DDoS PC 26

PC IP DDoS 3.4.3. DDoS PC DDoS DDoS DDoS DDoS DDoS DDoS DDoS PC 27

( ) ( ) ( ) ( ) PC ( ) 3.4.4. DDoS DDoS smurf ICMP flood IP DDoS smurf IP ping ICMP echo IP 28

fraggle UDP flood IP UDP 7 echo UDP ICMP UDP smurf OS ICMP echo trinoo/trin00 DDoS UDP UDP flood trinoo UDP UDP ICMP port unreachable trinoo IP UDP trinoo Solaris Linux UNIX Windows WinTrin00 trinoo 1999 UNIX RPC trinoo UDP IP IP UDP trinoo trinoo http://www.fbi.gov/nipc/trinoo.htm. UDP 17 27655 TCP 6 telnet 29

TFN TFN Tribal Flood Network trinoo / DDoS TFN UDP flood ICMP flood ICMP SYN flood TFN IP SYN flood DoS UDP flood trinoo ICMP smurf ICMP flood ICMP echo ICMP echo-reply ping TFN TFN ICMP echo-reply 16 ID ICMP TFN IP Blowfish TFN td tfn TFN ICMP echo-reply TFN ICMP TFN2K TFN2K TFN TFN2K TFN 30

TCP UDP ICMP 1 IP Stacheldraht Stacheldraht ( ) TFN trinoo / Stacheldraht rcp Stacheldraht DoS IP Stacheldraht UDP flood TCP SYN flood ICMP echo request flood ICMP directed broadcast Stacheldraht ICMP echo echo-reply ICMP echo echo-reply Stacheldraht ping IP Blowfish 2 sniffer ID 666 skillz ICMP echo-reply 667 ID ficken 31

Stacheldraht 3.3.3.3 ICMP spoofworks Stacheldraht ICMP echo-reply ICMP Stacheldraht David Dittrich C http://staff.washington.edu/dittrich/misc/ddos_scan.tar 32

3.5. IIS 3.5.1. IIS 4.0 IIS 4.0 Windows NT4.0 Server /Web IP /DNS IIS SSL (Secure Sockets Layer) Index Server Microsoft Certificate Server Web ASP IISADMPWD RDS <FORM> IIS ACL SSI #exec.. 3.5.2. IIS 5.0 IIS 5.0 Windows2000 Server Windows2000 Advanced Server (1) OS Windows 2000 Service Pack 1 (2) MS00-086 Web (3) MDAC RDS RDS MSADC 33

IISAdmin Scripts IISHelp IISSamples MSADC Printers _vti_bin (4) WWW 3 (5) Administrator Administrator (6) 9 8 7 (7) Hisecweb.inf Microsoft (8) IPSec IPSec IPSecPol (9) ACL 34

(10) W3C Extended (11) (12).. dot dot Inetpub 35

3.5.3. 2000 IIS IIS 4.0 Hit-Highlighting CVE-2000-0097 hit-highlighting WebHits ISAPI hit-highlight Web MS00-006 Internet Data Query CVE-2000-0098 Internet Data Query Web Web MS00-006 CVE-2000-0226 POST PUT Web MS00-018 Link View CVE-2000-0260 Dvwssr.dll.dll 36

Dvwssr.dll MS00-025 URL CVE-2000-0858 IIS INETINFO.EXE NT IIS MS00-063 IIS NT4.0 SP6a UNICODE CVE-2000-0884 UNICODE /../ dot dot directory traversal IUSR_machinename IUSR_machinename MS00-078 NT 4.0 SP5 IUSR_machinename Everyone User IIS 4.0 IIS 5.0 UNC CVE-2000-0246 IIS UNC URL ISAPI UNC ( ) Web.ASP MS00-019 37

CVE-2000-0258 URL CPU Web MS00-023.HTR CVE-2000-0304 ISAPI.HTR inetinfo.exe MS00-031 URL CVE-2000-0408 URL URL MS00-030 HTR CVE-2000-0630.asp (.asa.ini ) +.htr ISM.DLL HTR HTR MS00-044 CVE-2000-0631 CPU 3.0 HTR HTR 38

MS00-044 CVE-2000-0770 CGI ISAPI Web URL Web MS00-057 CVE-2000-0886.bat.cmd OS cmd.exe OS IUSR_machinename IUSR_machinename / / / MS00-086 2000 11 30 IIS5.0 NT 4.0 SP5 Windows 2000 SP1 SP2.bat.cmd Web IUSR_machinename cmd.exe ID CVE-2000-0970 Web ID SSL Web ID Web Web MS00-080 39

CVE-2000-1089 IIS URL IUSR_machinename IWAM_machinename MS00-094 Front Page Server Extension CAN-2001-0096 FrontPage Server Extensions (FPSE) FPSE browse-time Web IIS IIS 5.0 MS00-100 FPSE IIS 5.0 Translate:f CVE-2000-0778 HTTP GET Translate: f ASP MS00-058 40

3.6. Apache Apache UNIX / Web Linux Web Apache 3.6.1. Apache Apache Apache Web Web <option> Indexes CGI httpd.conf CGI CGI CGI SSI CGI SSI SSI SSI shtml SSI SSI exec include 41

SSI SSI 3.6.2. Apache Apache Apache Apache 1.3.19 BID:2503 PHP3 PHP Apache1.3 Web Apache 1.3.6 CAN-2001-0042 BID:2060 XF:apache-php-disclose-files(5659) Rewrite Apache 1.2 mod_rewrite RewriteRule Apache 0.8.11 Apache 0.8.14 Apache 1.0 Apache 1.0.2 Apache 1.0.3 Apache 1.0.5 Apache 1.1 Apache 1.1.1 Apache 1.3.11win32 Apache 1.3.12 BID:1728 CVE-2000-0913 XF:apache-rewrite-view-files(5310) SuSE Apache WebDAV WebDAV PROPFIND HTTP Apache 1.3.12 BID:1656 CVE-2000-0869 Windows Apache 42

config index IBM HTTP Server 1.3.3 win32 IBM HTTP Server 1.3.6.2 win32 Apache 1.3.12 win32 BID:1284 CVE:CVE-2000-0505 ScriptAlias ScriptAlias DocumentRoot cgi-bin Apache 0.8.14 NSCA httpd 1.5a-export BID:2300 CVE:CVE-1999-0236 MIME 8000 MIME Web Apache 1.2.5 Apache 1.3.1 MessageMedia UnityMail 2.0 BID:1760 GET / GET Apache 1.2.5 BID:2216 CVE:CAN-1999-0107 mod_cookies Apache httpd mod_cookies.c make_cookie Apache 1.1.1 NAI:NAI-2 XF:http-apache-cookie BID:1821 CVE-1999-0071 43

nph-test-cgi nph-test-cgi NCSA NSCA httpd 1.5.2a Apache 1.1 Netscape Commerce Server 1.12 Netscape Communications Server 1.1/1.12 Netscape Enterprise Server 2.0a CERT:CA-97.07.nph-test-cgi_script CVE:CVE-1999-0045 XF:http-cgi-nph BID:686 test-cgi test-cgi NCSA NSCA httpd 1.5.2a Apache 1.0.5 XF:http-cgi-test BID:2003 CVE:CVE-1999-0070 phf CGI phf Apache 1.0.3 NSCA httpd 1.5a-export CERT:CA-96.06.cgi_example_code XF:http-cgi-phf CVE:CVE-1999-0067 BID:629 44

4. 4.1. 1 4.2. 2 2 IP IP IP TCP UDP IP HTTP FTP 45

TCP/UDP socks, udprelay, plug-gw 4.3. 2 46

4.4. 4.4.1. Web DNS ICMP UDP Web DNS 4.4.2. DCOM Distributed Component Object Model 4.4.3. 47

CD-R PPP 4.5. Check Point Firewall-1 CVE-2000-0482 Check Point Firewall-1 100% Firewall-1 Firewall-1 CPU Firewall-1 4.1 service pack 2 FireWall-1 module $FWDIR/bin/fw ctl debug -buf $FWDIR/bin/fw/fwstart Checkpoint Firewall-1 CVE-2000-0181 CheckPoint Firewall-1 CPU 40% 200 Firewall-1 48

IPFilter Firewall Race Condition CVE-2000-0553 "return-rst", "keep state" 49

5. 5.1. DNS DNS 5.1.1. DNS DNS DNS DNS IP HINFO OS Windows NT DNS TCP 53 HINFO 5.1.2. BIND DNS UNIX BIND BIND BIND DNS PTR IP BIND BIND Transaction CAN-2001-0010 transaction signature (TSIG) TSIG 50

named root SU BIND 4.9.8 BIND 8.2.3 8.2.3 9.1 nslookupcomplain CAN-2001-0011 syslog DNS DNS DNS BIND 4.9.7 51