Ethereum

หมายเหตุ: ข่าวนี้จะมีศัพท์เทคนิคค่อนข้างมาก ผมแนะนำให้อ่านบทความ Ethereum กันอีกสักรอบก่อนนะครับ

ระบบสัญญา (Contract) ใน Ethereum เปิดเผยให้ทุกคนสามารถมองเห็นสัญญาได้ว่าจะมีกระบวนการเป็นอย่างไร แต่การเปิดเผยกระบวนการดำเนินการเช่นนี้ไม่ได้แปลว่าสัญญาจะไม่มีช่องโหว่ เพราะสุดท้ายสัญญาเหล่านี้เป็นเพียงโค้ดที่มีโปรแกรมเมอร์เขียนขึ้นมา ล่าสุดสัญญา DAO ระบบระดมทุนเพื่อการโหวตสนับสนุนโครงการต่างๆ ได้รับเงินทุนมูลค่าถึง 150 ล้านดอลลาร์ กลับถูกแฮกออกไปอย่างรวดเร็วถึง 50 ล้านดอลลาร์ในวันเดียว สู่บัญชี TheDarkDAO

มีการแจ้งเตือนมาหลายวันก่อนหน้านี้ว่าโค้ดในสัญญาสำคัญๆ จำนวนมากมีความผิดพลาด รวมถึง DAO เอง แต่ทาง Slock.it ผู้พัฒนา DAO ระบุว่าช่องโหว่ไม่มีผลกระทบกับตัวกองทุนเอง แต่มีผลเฉพาะการยกเลิกการจ่ายเงินกองทุนเท่านั้น เมื่อแฮกเกอร์สามารถหาช่องทางในการสั่งจ่ายเงินออกไปได้อย่างต่อเนื่อง จึงสั่งจ่ายเงินถึง 3.6 ล้าน ETH เข้าบัญชีตัวเอง

ผู้ที่อ้างตัวว่าเป็นแฮกเกอร์ในครั้งนี้ให้สัมภาษณ์กับ CryptoCoin เขาระบุว่าตัวเขาเองไม่ใช่แฮกเกอร์ และการโอนเงินออกครั้งนี้เป็นการทำงานเป็นทีม พวกเขาหยุดที่ 3.6 ล้าน ETH เพราะตลาด Ethereum ยังไม่ใหญ่พอที่จะใช้เงินมากกว่านี้

ทาง Ethereum ออกมาแถลงถึงเรื่องนี้ ระบุว่าเงิน 3.6 ล้าน ETH นี้จะไม่สามารถออกสู่ตลาดไปอีก 27 วันตามกำหนดของโค้ด DAO เอง ระหว่างนี้ผู้ขุด Ethereum และตลาดรับแลกสามารถดำเนินการต่อไปได้ ส่วนผู้ลงทุนใน DAO ควรใจเย็นและรอการหาทางต่อไป ส่วนโปรแกรมเมอร์ผู้สร้างสัญญาควรระวังบั๊ก recursive call ที่แฮกเกอร์ใช้โจมตีครั้งนี้ และหลีกเลี่ยงการสร้างสัญญาที่มีมูลค่าเกินกว่า 10 ล้านดอลลาร์

ที่มา - Ethereum, CryptoCoin, CoinDesk

upic.me

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

มีบทเรียนหลายอย่างจากเรื่องนี้

  1. การที่บอกว่าระบบถูกควบคุมโดยโค้ด ทำให้ไม่ต้องกลัวมนุษย์จะฉ้อโกง แต่ในความเป็นจริง โค้ดเองก็มีปัญหาได้
  2. การโอเพนซอร์สไม่ได้แปลว่าโค้ดจะไม่มีช่องโหว่ DAO เปิดซอร์สมาตลอดและอ้างความเป็นโอเพนซอร์สกับความปลอดภัย
  3. ความเข้าใจใน EVM/Ethereum ยังมีจำกัด ยังไม่มีการศึกษามากพอว่ารูปแบบการแฮกที่เป็นไปได้มีอะไรบ้าง โปรแกรมเมอร์ที่เขียนโปรแกรมบน EVM เป็น (ซึ่งก็น้อยอยู่แล้ว) ไม่เข้าใจข้อจำกัดของ function ต่างๆ ใน EVM เพียงพอ
  4. การที่บอกว่าระบบ blockchain ไม่สามารถ "ย้อนกลับ" ได้ แปลว่าเวลาเงินโดยขโมยอย่างกรณีนี้ ก็ย้อนกลับไม่ได้เช่นกัน

ระหว่างนี้ Ethereum ยอมรับว่าควรจำกัดปริมาณเงินที่แต่ละสัญญาจะจัดการได้ไว้ที่ 10 ล้านดอลลาร์