mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-25 14:10:41 +00:00
73 lines
3.7 KiB
Markdown
73 lines
3.7 KiB
Markdown
# 8333,18333,38333,18444 - Pentesting Bitcoin
|
|
|
|
{% hint style="success" %}
|
|
Learn & practice AWS Hacking:<img src="/.gitbook/assets/arte.png" alt="" data-size="line">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="/.gitbook/assets/arte.png" alt="" data-size="line">\
|
|
Learn & practice GCP Hacking: <img src="/.gitbook/assets/grte.png" alt="" data-size="line">[**HackTricks Training GCP Red Team Expert (GRTE)**<img src="/.gitbook/assets/grte.png" alt="" data-size="line">](https://training.hacktricks.xyz/courses/grte)
|
|
|
|
<details>
|
|
|
|
<summary>Support HackTricks</summary>
|
|
|
|
* Check the [**subscription plans**](https://github.com/sponsors/carlospolop)!
|
|
* **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.**
|
|
* **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
|
|
|
|
</details>
|
|
{% endhint %}
|
|
|
|
## Información Básica
|
|
|
|
* El **puerto 8333** es utilizado por nodos de Bitcoin en la **mainnet** para comunicarse entre ellos.
|
|
* El **puerto 18333** es utilizado por nodos de Bitcoin en la **testnet** para comunicarse entre ellos.
|
|
* El **puerto 38333** es utilizado por nodos de Bitcoin en la **signet** para comunicarse entre ellos.
|
|
* El **puerto 18444** es utilizado por nodos de Bitcoin en la **regtest** (local) para comunicarse entre ellos.
|
|
|
|
**Puerto por defecto:** 8333, 18333, 38333, 18444
|
|
```
|
|
PORT STATE SERVICE
|
|
8333/tcp open bitcoin
|
|
```
|
|
### Shodan
|
|
|
|
* `port:8333 bitcoin`
|
|
* `User-Agent: /Satoshi`
|
|
|
|
## Enumeración
|
|
|
|
Los nodos de Bitcoin te darán información si piensan que eres otro nodo de bitcoin válido. **Nmap** tiene un script para extraer esta información:
|
|
```
|
|
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
|
|
[...]
|
|
```
|
|
{% hint style="success" %}
|
|
Aprende y practica Hacking en AWS:<img src="/.gitbook/assets/arte.png" alt="" data-size="line">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="/.gitbook/assets/arte.png" alt="" data-size="line">\
|
|
Aprende y practica Hacking en GCP: <img src="/.gitbook/assets/grte.png" alt="" data-size="line">[**HackTricks Training GCP Red Team Expert (GRTE)**<img src="/.gitbook/assets/grte.png" alt="" data-size="line">](https://training.hacktricks.xyz/courses/grte)
|
|
|
|
<details>
|
|
|
|
<summary>Apoya a HackTricks</summary>
|
|
|
|
* Revisa los [**planes de suscripción**](https://github.com/sponsors/carlospolop)!
|
|
* **Únete al** 💬 [**grupo de Discord**](https://discord.gg/hRep4RUj7f) o al [**grupo de telegram**](https://t.me/peass) o **síguenos** en **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.**
|
|
* **Comparte trucos de hacking enviando PRs a los** [**HackTricks**](https://github.com/carlospolop/hacktricks) y [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) repositorios de github.
|
|
|
|
</details>
|
|
{% endhint %}
|