HackTricks
Searchโ€ฆ
๐Ÿ‘ฝ
Network Services Pentesting
8333,18333,38333,18444 - Pentesting Bitcoin
Support HackTricks and get benefits!

Basic Information

  • The port 8333 is used by Bitcoin nodes in the mainnet to communicate between them.
  • The port 18333 is used Bitcoin nodes in the testnet to communicate between them.
  • The port 38333 is used Bitcoin nodes in the signet to communicate between them.
  • The port 18444 is used Bitcoin nodes in the regtest (local) to communicate between them.
Default port: 8333, 18333, 38333, 18444
1
PORT STATE SERVICE
2
8333/tcp open bitcoin
Copied!

Shodan

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

Enumeration

Bitcoin nodes will give you some information if they think that you are another valid bitcoin node. Nmap have some script to extract this information:
1
sudo nmap -p 8333 --script bitcoin-info --script bitcoin-getaddr 170.39.103.39
2
PORT STATE SERVICE
3
8333/tcp open bitcoin
4
| bitcoin-info:
5
| Timestamp: 2022-04-08T22:33:58
6
| Network: main
7
| Version: 0.7.0
8
| Node Id: 1bea074ea4f6eca3
9
| Lastblock: 731027
10
|_ User Agent: /Satoshi:0.19.1/
11
โ€‹
12
sudo nmap -p 8333 --script bitcoin-getaddr 170.39.103.39
13
PORT STATE SERVICE
14
8333/tcp open bitcoin
15
| bitcoin-getaddr:
16
| ip timestamp
17
| 2a02:c7e:486a:2b00:3d26:db39:537f:59f2:8333 2022-03-25T07:30:45
18
| 2600:1f1c:2d3:2403:7b7d:c11c:ca61:f6e2:8333 2022-04-08T07:16:38
19
| 75.128.4.27:8333 2022-04-02T08:10:45
20
[...]
Copied!
Support HackTricks and get benefits!