8333,18333,38333,18444 - Pentesting Bitcoin

💡 学习提示: 本文档介绍 8333,18333,38333,18444 - Bitcoin 的渗透测试方法,适合信息安全初学者和从业人员参考。

⚠️ 法律声明: 本文档仅供学习和授权测试使用。未经授权的系统测试可能违反法律法规。


8333,18333,38333,18444 - Pentesting Bitcoin

基本信息

  • 端口 8333: Bitcoin 主网 (mainnet) 节点通信
  • 端口 18333: Bitcoin 测试网 (testnet) 节点通信
  • 端口 38333: Bitcoin 签名网 (signet) 节点通信
  • 端口 18444: Bitcoin 本地测试网 (regtest) 节点通信

默认端口: 8333, 18333, 38333, 18444

PORT      STATE SERVICE
8333/tcp open  bitcoin

Shodan

  • port:8333 bitcoin
  • User-Agent: /Satoshi

信息收集

Bitcoin 节点如果认为你是有效的 Bitcoin 节点,会提供相关信息。Nmap 有以下脚本可以提取这些信息:

sudo nmap -p 8333 --script bitcoin-info --script bitcoin-getaddr 170.39.103.39
PORT     STATE SERVICE
8333/tcp open  bitcoin
| bitcoin-info:
|   Timestamp: 2022-04-08T22:33:58
|   Network: main
|   Version: 0.7.0
|   Node Id: 1bea074ea4f6eca3
|   Lastblock: 731027
|_  User Agent: /Satoshi:0.19.1/

sudo nmap -p 8333 --script bitcoin-getaddr 170.39.103.39
PORT     STATE SERVICE
8333/tcp open  bitcoin
| bitcoin-getaddr:
|   ip                                            timestamp
|   2a02:c7e:486a:2b00:3d26:db39:537f:59f2:8333   2022-03-25T07:30:45
|   2600:1f1c:2d3:2403:7b7d:c11c:ca61:f6e2:8333   2022-04-08T07:16:38
|   75.128.4.27:8333                              2022-04-02T08:10:45
[...]

搜索引擎语法

FOFA

# FOFA 搜索语法
port="8333"

Shodan

# Shodan 搜索语法
port:8333 bitcoin
User-Agent: /Satoshi

ZoomEye

# ZoomEye 搜索语法
port:8333

📖 参考资料