SlideShare a Scribd company logo
A BLOCKCHAIN QUEST
INTRODUCTIONS
• Hacker Fantastic, Co-Founder Hacker House
• Security training and professional services
• Why listen?
• Talk contains a live demo, participation optional.
ⒶANARCHY VS WOLF $STREET
THIS ISN’T JUST ABOUT MONEY…
• Blockchains are a new
computer paradigm
• De-centralized Trust
• Peer-2-Peer
• Privacy orientated
• Secured with
Cryptography
• Censorship Resistant
• Open World Order vs New
World Order
• Machine-Aided Consensus
• Increased Connectivity
• Decreased Overheads
• Problem Solving Potential
REVOLUTION
CRYPTO CYBER CRIME WAVE
RAMPANT FRAUD, US-SEC & MONEY LAUNDERING
• ICO’s are dangerously misleading, often
solving no real problem
• Regulation tries to curb & control, questions
legitimacy
• Media hysteria, lack of understanding,
misinformed old television & young facebook
generations. #FAKEnews, Cambridge
Analytica, feeds of ”Get Rich, Bitcoin” scams.
Social capital.
• Fools & their money are easily parted
YOU ENTER THE TAVERN…
• Quest through lifecycles of “Mining”
• Proof-of-Work Puzzle Consensus Acceleration
• Digital Design, Modelling & Simulations
• Outputs
EQUIP YOUR PARTY WISELY!
• Electrical engineering primer is recommended, health &
safety 101, electricity is serious business +1
• Know Ohms law, Watts, Amps, kWh, IC’s, Maker etc.
• 1-10-100 mA rule, please avoid death!
• Avoid fires by using proper rated wiring, for ALL PARTS
OF INSTALLATION! Keep to 10A max per socket, don’t
overload the ring!
A Blockchain Quest - Hacker House
GPU …
... FPGA
DEVELOPMENT BOARD
• Terasic DE0-Nano Cyclone FPGA
• < $100 22K LE FPGA board
• Quartus II Version 13.0.1 Web Edition (Linux)
• JTAG SignalTap II
• Verilog design & JSON scripts for getWork (no stratum)
• Hashrate 3-28MH/s (25 – 450MHz)
https://github.com/cryptodashie/Open-Source-FPGA-
Bitcoin-Miner
FPGA – DIGITAL DESIGN & MODELLING
FPGA PIPELINING & PERFORMANCE ENHANCING IO
• Phase-locked Loop (PLL)
• High speed I/O (GPIO++)
• Fast data transfer
• OVERCLOCK DANGEROUS
FPGA OVERCLOCKING & WATER COOLING
• 50MHz XTAL
• 0-50 MHz (no cooling)
• 50-200 MHz (fan/heatsink)
• 200-450 MHz (water)
• OVERCLOCK AT OWN RISK
BITCOIN PROOF-OF-WORK BLOCK DIAGRAM
CHIP PLANNER BLOCK UTILIZATION
FPGA PROGRAM DE0-NANO VIA FLASH LOADER
SCALABLE R&D FOR PROOF-OF-WORK
ALGORITHMS
• Litecoin Core example available
• Pokemon your own!
• Keecak SHA-3? 1/2/3 from X11?
ASIC MINERS
A Blockchain Quest - Hacker House
MADE IN CHINA, HACKED IN UK!
HEALTH HAZARDS, BE SAFE.
A Blockchain Quest - Hacker House
BEAGLECLONE – PARTIAL POPULATED BLACK PCB
• L3+ / A3 / D3 model controllers
• Angstorm Linux
• Firmware easily dumped / downloaded
• No code signing, trivial to mod
• auth.minerlink.com remote manager
“antbleed”
• SSH / HTTP defaults ”root/root” “root/admin”
HACKING BITCOIN MINERS
• Shodan / Google Dork to identify miners
• Easy strings “antMiner Configuration” realm
• Exposed footprint has Pre-Auth information
leaks
• IP geolocate large remote mining farms
BITMAIN FIRMWARE HACKING
• https://github.com/cryptodashie/bitmain_hacking (reverse engineering data)
• 1.5% DEV FEE (pool switching)
• Blissz port cgminer-4.9 to cgminer-4.10
• Control individual boards in software, no need for hardware modifications (A++)
WAREZ JUAREZ REVOLUTION
SIACOIN/SIAFUND …
INTERPLANETARY FILE SYSTEM (IPFS)
http://ipfs.io/ (scan data) https://github.com/cryptodashie/ipfs
HOSTS NEONAZIS, MALWARE, PORN, BLOGS...
HARDWARE WALLETS
• Hardware + Firmware
• Supply chain attacks
• All three platforms had recent patches, props Saleem Rashid!
• Chrome WebUSB (?)
WEB3.JS – ENUMERATION & PROMISE EXAMPLE
Enumerate account details, interact with wallets or prompt unlocking….
RISE OF THE CRYPTONIGHT JAVASCRIPT MINER
• Cryptonight proof-of-work can mine Monero
(XMR)
• Replace captchas, adverts or monetize links
• Very low profit returns, $0.1 (users adapt)
A Blockchain Quest - Hacker House
INTERNET-OF-THINGS, PUBLIC SPACE, SHORT LINKS
MONERO-IN-THE-MIDDLE (XMR INJECTION)
• Use of WiFi enabled embedded device
• KARMA attack (hostapd-wpe)
• PAYG Internet Connectivity via (4G) LTE
• Supports multiple MITM modes of operation
DEMO
RECOMMENDED READING
• Verilog by example - Blaine C. Readler
• Mastering Bitcoin – Andreas Antonopoulos
• Introducing Ethereum and Solidity - Chris Dannen
A Blockchain Quest - Hacker House
Q&A?
THANK YOU #COINFESTUK FOR LISTENING
https://hacker.house

More Related Content

PPTX
Presentation1
PPTX
On Mining Bitcoins - Fundamentals & Outlooks
PDF
Blockchain and Cyber Defense Strategies in new genre times
PPTX
Bitcoin: A Peer-to-Peer Electronic Cash System
PDF
Bitcoin & Blockchain
PDF
Bitcoin and blockchain engineering
PDF
IoT exploitation: from memory corruption to code execution - Marco Romano - C...
PDF
IoT exploitation: from memory corruption to code execution by Marco Romano
Presentation1
On Mining Bitcoins - Fundamentals & Outlooks
Blockchain and Cyber Defense Strategies in new genre times
Bitcoin: A Peer-to-Peer Electronic Cash System
Bitcoin & Blockchain
Bitcoin and blockchain engineering
IoT exploitation: from memory corruption to code execution - Marco Romano - C...
IoT exploitation: from memory corruption to code execution by Marco Romano

Similar to A Blockchain Quest - Hacker House (20)

PDF
Task of Bitcoin Miners, a module for Bitcoin .pdf
PDF
Raspberry pi overview
PDF
Practical IoT Exploitation (DEFCON23 IoTVillage) - Lyon Yang
PDF
Hardware Hacking
PDF
Raspberry Pi Computer Architecture Essentials Dennis Andrew K
PPTX
Advanced SOHO Router Exploitation XCON
PDF
Bitcoin - Beyond the basics
PDF
Basics of Block Chain
PPTX
Raspberry Pi meetup
PDF
Part 3 Introduction to Cryptocurrency.pdf
PDF
State of Ethereum, and Mining
PPTX
PLNOG 21: Patryk Wojtachnio - Od_zera_do_farmera
PPTX
Crytomining hacking
PPTX
BlockchainConf.tech - Build a private blockchain workshop
PPTX
Bitcoins, blockchains and beyond
PDF
Blockchain beyond bitcoin
PDF
Blockchain overview, use cases, implementations and challenges
PPTX
Mining
PDF
Blockchain for IoT
ODP
Bugs Aren't Random
Task of Bitcoin Miners, a module for Bitcoin .pdf
Raspberry pi overview
Practical IoT Exploitation (DEFCON23 IoTVillage) - Lyon Yang
Hardware Hacking
Raspberry Pi Computer Architecture Essentials Dennis Andrew K
Advanced SOHO Router Exploitation XCON
Bitcoin - Beyond the basics
Basics of Block Chain
Raspberry Pi meetup
Part 3 Introduction to Cryptocurrency.pdf
State of Ethereum, and Mining
PLNOG 21: Patryk Wojtachnio - Od_zera_do_farmera
Crytomining hacking
BlockchainConf.tech - Build a private blockchain workshop
Bitcoins, blockchains and beyond
Blockchain beyond bitcoin
Blockchain overview, use cases, implementations and challenges
Mining
Blockchain for IoT
Bugs Aren't Random

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPT
Teaching material agriculture food technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
1. Introduction to Computer Programming.pptx
PDF
Approach and Philosophy of On baking technology
PDF
August Patch Tuesday
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Getting Started with Data Integration: FME Form 101
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Mushroom cultivation and it's methods.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
Programs and apps: productivity, graphics, security and other tools
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
TLE Review Electricity (Electricity).pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Heart disease approach using modified random forest and particle swarm optimi...
Teaching material agriculture food technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
1. Introduction to Computer Programming.pptx
Approach and Philosophy of On baking technology
August Patch Tuesday
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
Getting Started with Data Integration: FME Form 101
SOPHOS-XG Firewall Administrator PPT.pptx
Encapsulation theory and applications.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A comparative study of natural language inference in Swahili using monolingua...
Mushroom cultivation and it's methods.pdf
Group 1 Presentation -Planning and Decision Making .pptx

A Blockchain Quest - Hacker House

  • 2. INTRODUCTIONS • Hacker Fantastic, Co-Founder Hacker House • Security training and professional services • Why listen? • Talk contains a live demo, participation optional.
  • 4. THIS ISN’T JUST ABOUT MONEY… • Blockchains are a new computer paradigm • De-centralized Trust • Peer-2-Peer • Privacy orientated • Secured with Cryptography • Censorship Resistant • Open World Order vs New World Order • Machine-Aided Consensus • Increased Connectivity • Decreased Overheads • Problem Solving Potential REVOLUTION
  • 6. RAMPANT FRAUD, US-SEC & MONEY LAUNDERING • ICO’s are dangerously misleading, often solving no real problem • Regulation tries to curb & control, questions legitimacy • Media hysteria, lack of understanding, misinformed old television & young facebook generations. #FAKEnews, Cambridge Analytica, feeds of ”Get Rich, Bitcoin” scams. Social capital. • Fools & their money are easily parted
  • 7. YOU ENTER THE TAVERN… • Quest through lifecycles of “Mining” • Proof-of-Work Puzzle Consensus Acceleration • Digital Design, Modelling & Simulations • Outputs
  • 8. EQUIP YOUR PARTY WISELY! • Electrical engineering primer is recommended, health & safety 101, electricity is serious business +1 • Know Ohms law, Watts, Amps, kWh, IC’s, Maker etc. • 1-10-100 mA rule, please avoid death! • Avoid fires by using proper rated wiring, for ALL PARTS OF INSTALLATION! Keep to 10A max per socket, don’t overload the ring!
  • 11. DEVELOPMENT BOARD • Terasic DE0-Nano Cyclone FPGA • < $100 22K LE FPGA board • Quartus II Version 13.0.1 Web Edition (Linux) • JTAG SignalTap II • Verilog design & JSON scripts for getWork (no stratum) • Hashrate 3-28MH/s (25 – 450MHz) https://github.com/cryptodashie/Open-Source-FPGA- Bitcoin-Miner
  • 12. FPGA – DIGITAL DESIGN & MODELLING
  • 13. FPGA PIPELINING & PERFORMANCE ENHANCING IO • Phase-locked Loop (PLL) • High speed I/O (GPIO++) • Fast data transfer • OVERCLOCK DANGEROUS
  • 14. FPGA OVERCLOCKING & WATER COOLING • 50MHz XTAL • 0-50 MHz (no cooling) • 50-200 MHz (fan/heatsink) • 200-450 MHz (water) • OVERCLOCK AT OWN RISK
  • 16. CHIP PLANNER BLOCK UTILIZATION
  • 17. FPGA PROGRAM DE0-NANO VIA FLASH LOADER
  • 18. SCALABLE R&D FOR PROOF-OF-WORK ALGORITHMS • Litecoin Core example available • Pokemon your own! • Keecak SHA-3? 1/2/3 from X11?
  • 21. MADE IN CHINA, HACKED IN UK!
  • 24. BEAGLECLONE – PARTIAL POPULATED BLACK PCB • L3+ / A3 / D3 model controllers • Angstorm Linux • Firmware easily dumped / downloaded • No code signing, trivial to mod • auth.minerlink.com remote manager “antbleed” • SSH / HTTP defaults ”root/root” “root/admin”
  • 25. HACKING BITCOIN MINERS • Shodan / Google Dork to identify miners • Easy strings “antMiner Configuration” realm • Exposed footprint has Pre-Auth information leaks • IP geolocate large remote mining farms
  • 26. BITMAIN FIRMWARE HACKING • https://github.com/cryptodashie/bitmain_hacking (reverse engineering data) • 1.5% DEV FEE (pool switching) • Blissz port cgminer-4.9 to cgminer-4.10 • Control individual boards in software, no need for hardware modifications (A++)
  • 28. INTERPLANETARY FILE SYSTEM (IPFS) http://ipfs.io/ (scan data) https://github.com/cryptodashie/ipfs
  • 29. HOSTS NEONAZIS, MALWARE, PORN, BLOGS...
  • 30. HARDWARE WALLETS • Hardware + Firmware • Supply chain attacks • All three platforms had recent patches, props Saleem Rashid! • Chrome WebUSB (?)
  • 31. WEB3.JS – ENUMERATION & PROMISE EXAMPLE Enumerate account details, interact with wallets or prompt unlocking….
  • 32. RISE OF THE CRYPTONIGHT JAVASCRIPT MINER • Cryptonight proof-of-work can mine Monero (XMR) • Replace captchas, adverts or monetize links • Very low profit returns, $0.1 (users adapt)
  • 35. MONERO-IN-THE-MIDDLE (XMR INJECTION) • Use of WiFi enabled embedded device • KARMA attack (hostapd-wpe) • PAYG Internet Connectivity via (4G) LTE • Supports multiple MITM modes of operation
  • 36. DEMO
  • 37. RECOMMENDED READING • Verilog by example - Blaine C. Readler • Mastering Bitcoin – Andreas Antonopoulos • Introducing Ethereum and Solidity - Chris Dannen
  • 39. Q&A? THANK YOU #COINFESTUK FOR LISTENING https://hacker.house