开年第一案 被盗8000万美元的Orbit Chain事件是怎么一回事?

币圈资讯 阅读:41 2024-04-22 11:10:18 评论:0
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

北京时间2024年1月1日,据Beosin旗下EagleEye安全风险监控、预警与阻断平台监测显示,Orbit_Chain项目遭受攻击损失至少约为8000万美元,经Beosin Trace分析,黑客地址(0x27e2cc59a64d705a6c3d3d306186c2a55dcd5710)早在1天以前就发起了小规模的攻击,并且将盗取的ETH作为了本次攻击的其余5个地址的转账手续费来源。

Orbit Chain是一个跨链桥平台,用户可以在一条链上使用不同区块链的各种加密资产。现项目方已经暂停跨链桥合约并与黑客进行沟通。关于本次安全事件,Beosin安全团队第一时间进行以下分析。

事件分析

此次事件主要是攻击者直接调用Orbit Chain: Bridge合约的withdraw函数将资产转移出去。

通过进一步分析withdraw函数的代码,我们可以发现该函数采用了验证签名的方式来确保放款的安全性和合法性。

在区块链交易中,验证签名是一种常见的安全机制,用于确认交易的发起者是否具有足够的权限和控制权。在withdraw函数中,通过验证签名的方式,可以确保只有经过授权的用户或合约才能成功调用该函数并进行资产转移。

进入签名验证函数(_validate)后,我们可以观察到该函数返回了owner签名的数量,这一信息对于验证交易的合法性和安全性至关重要。

通过返回owner签名数量,可以在一定程度上验证交易的合规性和真实性。根据具体的实现方式,owner签名数量可能会与预先设定的阈值进行比较,以确定是否满足执行交易的条件。

随后判断该数量是否大于等于required,如果满足条件,便进行放款。

可以通过链上数据得知,管理该合约的owner一共有10个地址。required值为7,说明要想提取资产,需要70%的管理员签署提取交易。

总结来说,事件发生的原因倾向于保存管理员私钥的服务器被欺骗攻击。

攻击流程

根据链上数据显示,黑客早在2023-12-30 03:39:35 PM +UTC开始就陆续发起了对Orbit_Chain项目的攻击,黑客盗取的ETH数额相对较小,并且将盗取的ETH发送给其余的数个黑客地址作为交易手续费。

其余数个黑客地址在2023-12-31 9:00 PM +UTC先后对Orbit_Chain项目的DAI、WBTC、ETH、USDC、USDT进行了攻击。

资金追踪

截止发稿,被盗资金转移情况如下图所示 ,黑客正式发起攻击后,将被盗资金转移到上述五个地址。在五笔独立的交易中,每笔交易都发送到一个新的钱包,Orbit Bridge 发送了 5000 万美元的稳定币(3000 万  Tether 、 1000 万 DAI 和 1000 万 USDC)、 231 枚 wBTC(约 1000 万美元)和 9500 枚 ETH(约 2150 万美元)。

Beosin Trace追踪资金流向图

本次跨链桥安全事件再次给我们安全启示,提醒着我们在设计和实施区块链系统时,安全性应该始终是首要考虑的因素。

首先,我们需要注重代码的安全性。合约代码是区块链系统的核心组成部分,因此在编写和审查合约代码时,应该遵循最佳实践和安全标准,避免常见的安全漏洞和攻击向量。

其次,鉴权和身份验证是至关重要的。在区块链系统中,确保只有授权的用户或合约能够执行关键操作是防止未经授权访问和资产流失的关键。采用强大的身份验证机制、多重签名和权限管理等措施,可以有效地限制访问权限,并确保只有经过授权的实体能够进行敏感操作。


According to the monitoring of its security risk monitoring, early warning and blocking platform, Beijing time, the project suffered an attack loss of at least about $10,000. According to the analysis, the hacker's address launched a small-scale attack as early as days ago, and the source of the transfer fee for the other addresses stolen was a cross-chain bridge platform. Users can use various encrypted assets of different blockchains on one chain. Now the project has suspended the cross-chain bridge contract and communicated with hackers about this security incident. The security team conducted the following analysis at the first time. The incident analysis was mainly that the attacker directly called the function of the contract to transfer the assets. Through further analysis of the code of the function, we can find that the function adopted the method of verifying the signature to ensure the security and legality of the loan. Verifying the signature is a common security mechanism in blockchain transactions to confirm whether the initiator of the transaction has sufficient authority and control. In the function, it can be ensured that only the signature can be verified. Only authorized users or contracts can successfully call this function and transfer assets. After entering the signature verification function, we can observe that the function returns the number of signatures, which is very important for verifying the legality and security of the transaction. By returning the number of signatures, the compliance and authenticity of the transaction can be verified to a certain extent. According to the specific implementation, the number of signatures may be compared with a preset threshold to determine whether the conditions for executing the transaction are met, and then the number can be judged. Whether the amount is greater than or equal to the loan if the conditions are met can be known from the data on the chain that there are a total of address values for managing the contract. In summary, the reason for the incident is that the server that tends to keep the administrator's private key is cheated. According to the data on the chain, hackers have launched attacks on the project as early as the beginning, and the amount stolen by hackers is relatively small and will be sent to the remaining hacker addresses. As a transaction fee, several other hacker addresses have successively attacked the project, tracked the funds as of press release, and transferred the stolen funds to the above five addresses as shown in the following figure. In five independent transactions, each transaction was sent to a new wallet, with a stable currency of 10,000 US dollars, 10,000 pieces of about 10,000 US dollars and 10,000 pieces of about 10,000 US dollars to track the flow of funds. This cross-chain bridge security incident once again gives us security enlightenment and reminds us that we are setting up. Security should always be the primary consideration when considering and implementing the blockchain system. First, we need to pay attention to the security of the code. Contract code is the core component of the blockchain system. Therefore, when writing and reviewing contract code, we should follow the best practices and security standards to avoid common security vulnerabilities and attack vectors. Secondly, authentication and identity verification are very important. In the blockchain system, ensuring that only authorized users or contracts can perform key operations is to prevent unauthorized access and asset flow. The key to the loss is to adopt powerful authentication mechanism, multi-signature and authority management, which can effectively limit access rights and ensure that only authorized entities can conduct sensitive operations. 比特币今日价格行情网_okx交易所app_永续合约_比特币怎么买卖交易_虚拟币交易所平台

文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明 网址:https://netpsp.com/?id=61925

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
可以去百度分享获取分享代码输入这里。
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
关注我们

若遇到问题,加微信客服---清歌

搜索
排行榜
扫一扫,加我为微信好友加我为微信好友