Analyzing Resource Exhaustion Attack On The Blockchain

in PussFi 🐈2 months ago

circle-5090539_1280 (10).jpg
Source

INTRODUCTION

A resource exhaustion attack is deemed a type of Denial of Service (DoS) attack, which seeks to use a particular resource of the attacked system so much that no other requests can be processed. With regards to blockchain networks, these attacks involuntarily target nodes, validators or the mode of operation of the system and lead the performance to a sub-optimal level or complete failure of the network. They make use of the loopholes in allocation of resources creating undue load in the system making it scramble to use more power or memory than is required.

Resource exhaustion attacks are effective against decentralized systems like blockchains. They focus on the flawed aspect of resource distribution, which is the decentralization of the network. In the case of a blockchain, there are no dedicated servers to manage the resources, but resources are shared through nodes that are all synchronized using consensus methods. This gives rise to possible risk exposure when some parts of the network are expiried.

Things like delay of the network, higher cost of transaction, and in more severe situation the network of the concerned blockchain may be rendered offline for a cut period may be witnessed. Especially, this is troubling for PoS and PoW blockchains where exhaustion of resources has to do with the network’s security and user’s transaction activities.

OVERLOADING NETWORK NODES

An attack that exploits the resources of the blockchain network utilizes a specific strategy known as ‘targeted nodes’. Here, the attackers target one particular node or a select class of nodes, and launch numerous requests with the intention of over stretching the resources of the target node. This may lead to increased latency, inability to serve legitimate transactions, and threats against the integrity of the network.

For example, concentrator attack methods prevent the validation process in PoS and PoW based blockchains. Transaction verification is an activity that validation or mining personnel must undertake, and excess load curtails the efficiency of block creation. In such cases, a node that has more information may be unable to send out any blocks at all or may broadcast only some blocks causing outages or split in the network.

Alleviating this kind of attack includes network redundancy and provision of sufficient capacity to all the nodes in the network to respond to largely concentrated requests. Moreover, load-balancing strategies can be applied to move people around the nodes evenly in order to minimize the chances of the centers being saturated.

EXPLOITING SMART CONTRACTS

There are also threats of resource exhaustion attacks on smart contracts hosted on blockchain systems like the Ethereum platform. These contracts demand a certain level of resource in the system to be executed, and so bad actors may make use of it by embedding loops in contracts or making calls of high gas consuming transactions too much so that they run out of resources. This leads to increased running costs for normal users and increased time to execute the contracts.

The advanced features embedded in smart contracts make it hard to estimate the level of resources that is expected to be used in completing any transaction of the contract accurately. Such weaknesses are exploited by attackers through submitting a lot of transactions to the contract so that it runs out of computation power or knee-deep in tremendous calculations, ultimately lagging the entire system. These kinds of attacks are frustratingly difficult to mitigate because smart contracts begin working automatically once put out live.

internet-3592056_1280 (12).jpg
Source

To thwart such attacks, it is important to conduct vulnerabilities assessments of smart contracts and assign risks limits to smart contracts. By imposing gas requirements for each transaction, the level of any such operations will be commensurate to the level of resources available in the network, therefore, not straining the network to the point of running out of gas.

CONSENSUS MECHANISM EXPLOITATION

In some cases, the consensus mechanism is made a target of resource exhaustion attacks on its own. For example, in PoW networks, attackers may create an excessive number of dishonest transactions, or they may deploy intentionally difficult blocks that cause miners to waste additional computing resources unnecessarily. In PoS networks, a validator may simply be flooded with too many transactions or too many requests causing a delay in the time it takes to confirm a block.

In a PoW system, resource stress has the effect of increasing both mining efficiency and electricity consumption. This not only lowers profitability from mining activities but also affects the network’s capacity to handle genuine transactions. In PoS, validators are only required to process a certain level of transactions on their stake, but if their limits are exceeded, efficiency and security within the network suffer.

To secure a consensus mechanism from such attacks some of the blockchain protocols allow for transaction throttling where the maximum number of transactions thate are allowed to be processed is fixed within a certain duration. Again, broadening the possibilities of enhancing the efficiency of the able to decrease the amount of resources needed in doing transactions and also avoiding resource exhaustion.

TARGETING BLOCKCHAIN STORAGE

There is also another type of resource consolidation drawback attack that targets the storage capacity of the blockchain systems. Since all the transactions done in the blockchain networks are stored permanently, they can also be used for nefarious activities where the network is inundated with useless information or too much information. This not only adds additional content onto the blockchain but also compels the nodes to increase the spare disk space leading to loss of efficiency.

In terms of blockchain evolution, it is worth to mention that hardware dependency increases with usability improvements. At some point, nodes will likely become inactive if they have space restrictions, affecting decentralization and security. This kind of problem negatively impacts the further economic efficiency of the blockchain, as every node has to bear the heavy financial burden of holding a full copy of the ledger.

The way to fight against storage-based exhaustion attacks is, for instance, eliminating data that can be safely deleted at predetermined time intervals. In addition, in order to deter spam, established protocols can also institute minimum charges/fees for transactions, ensuring that only those that meet the required standards are processed into blocks.

CONCLUSION

security-5043368_1280 (4).jpg
Source

Resource exhaustion attacks mainly emanating from the targeting of nodes, smart contracts, consensus mechanisms and storage capacity are quite dangerous to blockchain networks. These types of assaults take advantage of the decentralized features of blockchains in which there is a distribution of the processing and validation of transactions amongst the nodes.

Sort:  

Upvoted! Thank you for supporting witness @jswit.

 2 months ago 
CategoryInput
X - Promotion
Plagiarism Free
Image
AI Free
10% to puss.coin

Note:- ✅

JvFFVmatwWHRfvmtd53nmEJ94xpKydwmbSC5H5svBACH81UYm5Vq1rdAwVSKUrDeFX52vG5v7tXPSv1VnxnHhtkxEYgpQn3qmLcvo8uSSoJSu3YSA6xDC9dVAKY1XA5DS1K2BKt42i.png

KINDLY JOIN PUSSFI DISCORD SERVER FOR MORE DETAILS!

Regards,
@jueco

Coin Marketplace

STEEM 0.24
TRX 0.25
JST 0.040
BTC 93863.56
ETH 3421.99
USDT 1.00
SBD 3.30