APT Groups

OSINT Methodology for Cryptocurrency

Learn the OSINT methodology for cryptocurrency: how blockchain analysis works, how blocks form in Bitcoin and Ethereum, and how to use block explorers.

Updated 5 Min Read

OSINT methodology for cryptocurrency starts with blockchain analysis, which means reading the public record of blocks and transactions. This post explains how blocks are formed in Bitcoin and Ethereum, why a blockchain is hard to alter, and how public explorers let anyone view the transactions on a chain.

This blog post comes from the “Tracking Threat Actors on Blockchain” by the Brandefense Research Team. For more details about the analysis, download the report.

Introduction

A “blockchain” is a decentralized database in which a number of computers communicate with each other on a distributed basis. All transactions that take place in this database are recorded in groups of data called “blocks”. Each block has a unique ID (“Block hash value”) that, together with the previous block, forms a chain, and all blocks contain the full transaction history.

How does a blockchain form blocks?

Every blockchain network has specific conditions for the creation of a block.

In Ethereum, block formation adheres to a target time frame, typically aimed at an average of 12 seconds. However, this duration can vary depending on network congestion and transaction demands. The number of transactions that can be included in blocks is determined by a concept expressed as “gas.” Gas is a unit in the Ethereum network that measures the computational and resource use of executing a transaction. Each transaction consumes a specific amount of gas, and the amount of gas consumed can vary based on the complexity of the transaction and the computational resources required.

Each block has a targeted size of 30 million gas, which means miners aim to fit transactions up to a total of 30 million gas into a block. However, based on network demands, the block size can expand up to a maximum limit of 60 million gas

In Bitcoin, a block is formed by completing a 10-minute duration or when the block size reaches 1 MB.

Block formation: Bitcoin vs Ethereum
TopicBitcoinEthereum
Block time10 minutesAbout 12 seconds on average
SizeUp to 1 MBTarget of 30 million gas, up to 60 million gas
Size measured inMegabytesGas, the cost of the computation in a transaction

How does a blockchain stay secure?

Since all computers in a blockchain network have a copy of the blockchain ledger, they can verify any transaction that takes place on the blockchain. This means that all participants in the blockchain network can verify transactions without the need for a central authority or intermediary. This way, everyone involved in the blockchain network can be sure that any transaction on the blockchain network has not been altered.

In the blockchain, transactions are verified by mathematical operations performed by many computers in the network. As a result of these operations, it is very difficult to change the transaction history. Therefore, instead of relying on a centralized authority, the blockchain network creates a secure database in a decentralized way.

A blockchain network uses public key cryptography. Each user has a public key and a private key. The public key is the key used to authenticate transactions, while the private key is the key that allows the user to make transactions.

Blockchains work in an open and transparent way, allowing anyone to track transactions and blocks. Blockchains record each transaction as a block, and each of these blocks references the previous block. This creates a chain between blocks, and when any block is changed, the rest of the blocks in the chain are also changed. This increases the security of blockchains.

What is a blockchain explorer?

Many blockchain technologies provide explorers to track blocks and transactions. For example, blockchain.com for Bitcoin, etherscan.io for Ethereum, and Hyperledger Explorer explorer for IBM Hyperledger Fabric (used to provide enterprise solutions and is open source) can view real-time transactions and blocks on blockchains.

Explorers by blockchain
Bitcoin
blockchain.com
Ethereum
etherscan.io
IBM Hyperledger Fabric
Hyperledger Explorer (open source)
block1 result2 - OSINT Methodology for Cryptocurrency
Figure 1: Informationonblock780126ofBitcoin[1].

How do you use an explorer for blockchain analysis?

Most blockchain technologies provide as much transparency as they provide anonymity to users. Using Explorer, we can view “every transaction” that happens on the blockchain.

There are two different ways to use Explorer. The first is to rely on third-party sources such as Etherscan.io and Blockchain.com. The second is to become an archive node of a blockchain and view the transactions on your own computer. The sites Etherscan.io and Blockchain.com are able to provide this information because they are archive nodes. The second option is the most reliable and accurate, but it requires running or designing a local explorer to view the data. Since not all blockchain technologies are the same, different explorers are required for different blockchain technologies.

In the world of blockchains and cryptocurrency, there are blockchain technologies that are both traceable and nearly impossible to trace.

This blog post comes from the “Tracking Threat Actors on Blockchain” by the Brandefense Research Team. For more details about the analysis, download the report.

Frequently Asked Questions.

What is a blockchain?

A blockchain is a distributed ledger kept by many computers without a central authority. NIST describes blockchains as tamper evident and tamper resistant digital ledgers, where no transaction can be changed once published under normal operation.

How long does it take to create a block in Bitcoin and Ethereum?

The post says a Bitcoin block forms after a 10-minute period or at 1 MB. Ethereum documentation gives a block time of 12 seconds when all validators are online.

What is gas in Ethereum?

Gas is the unit that measures the computational effort needed to run operations on the Ethereum network. Each block has a gas target and a limit of twice that target.

How do you view transactions on a blockchain?

Use a block explorer such as blockchain.com for Bitcoin or etherscan.io for Ethereum. You can also run an archive node and view the data on your own computer.

Sources

  1. 1 NIST: Blockchain Technology Overview (NISTIR 8202)
  2. 2 Ethereum.org: Blocks
  3. 3 Ethereum.org: Gas and fees
  4. 4 Bitcoin developer reference: Block chain
Share