Results 1 to 5 of 5

Thread: Buffer Overflow คืออะไร

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    0


    Buffer Overflow คืออะไร

    อยากทราบค่ะว่าคืออะไร แล้วถ้าเกิดขึ้นจะป้องกันยังไงค่ะ

  2. #2
    Junior Member
    Join Date
    Jan 2004
    Location
    Thailand
    Posts
    0


    Re: Buffer Overflow คืออะไร

    คืออาการเครื่องล้นครับ

    มีผลทำให้ เครื่องเราทำงานได้ช้าลงอย่างมาก หรือหยดทำงานไปชั่วระยะนึง รุนแรงสุด คงต้องเริ่มระบบใหม่เลย

    เป็นปัญหาที่แก้ไม่ได้ง่ายฮะ

  3. #3
    Junior Member
    Join Date
    Sep 2002
    Location
    United States
    Posts
    0


    Re: Buffer Overflow คืออะไร

    A buffer overflow occurs when a program or process tries to store more data in a buffer (temporary data storage area) than it was intended to hold. Since buffers are created to contain a finite amount of data, the extra information which has to go somewhere can overflow into adjacent buffers, corrupting or overwriting the valid data held in them. Although it may occur accidentally through programming error.

  4. #4
    Senior Member newsbot's Avatar
    Join Date
    Sep 2002
    Location
    Thailand
    Posts
    3,766


    Re: Buffer Overflow คืออะไร

    เหมือนที่คุณ rx7 ตอบนะครับแต่เสริมอีกนิดนึงว่า สาเหตุส่วนใหญ่ของการเกิด buffer overflow นี้ส่วนใหญ่นั้นเป็นความผิดพลาดของ

    โปรแกรมเมอร์เองเช่น การที่ไม่ได้จำกัดจำนวนตัวอักษร username แล้วเมื่อผู้ไม่หวังดีใส่ค่าเกินจำนวนมหาศาลก็จะทำให้หน่วยความจำ buffer

    ที่มารองรับนั้นเกิดการล้น จนข้อมูลที่ล้นบางส่วนเกิดไปทับข้อมูลของโปรแกรมส่วนอื่นๆไป จากดังกล่าวทำให้เกิดปัญหาได้หลายทาง
    -กรณีของ unix หรือ linux อาจจะเปิดสร้างให้เกิดช่องโหว่ในการเข้าถึงสิทธิของ Root ได้
    -กรณีของระบบ Router ก็อาจจะทำให้ผู้ไม่หวังดีทำการเข้าถึงสิทธิในการเปลี่ยนเส้นทางการเดินทาง Traffic ได้
    -กรณีของ Windows ก็เป็นที่รู้ๆกันอยู่คือไม่ว่าจะเป็น Worm Blaster หรือ Sasser ที่เป็นที่โดงดังไปทั่วโลกต่างก็อาศัยข้อบกพร่อง Buffer

    Overflow เช่นกัน
    อื่นๆอีกมากมาย

    วิธีการแก้ไข
    แก้ที่ต้นเหตุ 1: ต้องแก้จากตัวของโปรแกรมเมอร์ก่อนให้ พยายามเขียนโค้ดให้รัดกุมที่สุด
    แก้ที่ต้นเหตุ 2: ควรจะพัฒนาระบบ address memory ใน CPU ใหม่ดังเช่นชิป Crusoe ของ Transmeta ที่มีระบบ NX (no execute)ซึ่งเป็น

    ส่วนสำคัญในการขัดขวางการเกิดปัญหานี้
    แก้ที่ปลายเหตุ: ติดตั้ง patch ต่างๆให้กับระบบตามที่มมีการแจ้งเตือน (วัวหายแล้วล้อมคอก)
    clone 'em all

  5. #5
    Junior Member
    Join Date
    Oct 2006
    Posts
    1


    Suchas :::
    ReceiveBufferOverflow หมายถึง ขนาดของบัฟเฟอร์ด้านรับเข้าข้อมูล (Receuve Buffer) ไม่เพียงพอกับขนาดของข้อมูลที่รับเข้ามา



    Transmit Buffer Overflow หมายถึง บัฟเฟอร์ด้านส่งออกข้อมูลเต็ม ในขณะที่พยายามจัดเก็บข้อมูลใหม่ลงในบัฟเฟอร์
    Attached Images Attached Images

Similar Threads

  1. Replies: 0
    Last Post: 09-09-2009, 12:06 AM
  2. ABB PCU400 Buffer Overflow
    By newsbot in forum Exploits
    Replies: 0
    Last Post: 30-09-2008, 04:51 PM
  3. Buffer Overflow คืออะไร (ภาษาไทย)
    By asylu3 in forum Hacking, Exploit Articles/Tutorial/Techniques
    Replies: 0
    Last Post: 14-11-2007, 08:30 AM
  4. เรียนรู้ buffer overflow
    By xecool in forum Hacking, Exploit Articles/Tutorial/Techniques
    Replies: 0
    Last Post: 11-02-2007, 08:12 AM
  5. เรียนรู้ buffer overflow
    By attaporn11 in forum Hacking, Exploit Articles/Tutorial/Techniques
    Replies: 0
    Last Post: 02-12-2006, 01:32 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •