Bitcoin Forum
May 03, 2024, 02:41:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Antminer Hack S9 /S15 / S17 / Sx aso. SSH and so on for free  (Read 3304 times)
kasner
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
October 24, 2019, 12:37:36 PM
Last edit: October 25, 2019, 12:40:25 AM by frodocooper
 #41

Ive connected to S15 ok. But SSH service doesn't starts after reboot. If i run it from command line service starts fine.

Code:
/usr/sbin/dropbear -r /config/dropbear_rsa_host_key -p 22

How to fix that ?

TNX
Kasner
1714704104
Hero Member
*
Offline Offline

Posts: 1714704104

View Profile Personal Message (Offline)

Ignore
1714704104
Reply with quote  #2

1714704104
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714704104
Hero Member
*
Offline Offline

Posts: 1714704104

View Profile Personal Message (Offline)

Ignore
1714704104
Reply with quote  #2

1714704104
Report to moderator
1714704104
Hero Member
*
Offline Offline

Posts: 1714704104

View Profile Personal Message (Offline)

Ignore
1714704104
Reply with quote  #2

1714704104
Report to moderator
fubly (OP)
Hero Member
*****
Offline Offline

Activity: 561
Merit: 521


Trustless IceColdWallet


View Profile WWW
October 24, 2019, 01:24:18 PM
 #42

next hint:
"cam"  Grin

each time you send a transaction don't forget to use a new address, each time you receive one also!
kasner
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
October 24, 2019, 01:39:46 PM
 #43

next hint:
"cam"  Grin

??
Hache
Jr. Member
*
Offline Offline

Activity: 36
Merit: 5

CEO - Krater.io


View Profile WWW
November 30, 2019, 04:44:59 PM
Last edit: November 30, 2019, 05:12:48 PM by Hache
Merited by frodocooper (3)
 #44

hi everyone!

I managed to log into the miner over serial. After that I created the RSA Key without the -y argument, because the file didn't previously exist. That created the dropbear_rsa_host_key succesfully. However upon reboot I am unable to SSH into the miner. I can SSH into the miner if I do
Code:
dropbear -r /config/dropbear_rsa_host_key -p 22
and then ssh into the miner from another computer in the network.

I started investigating and found /etc/default/dropbear and /config/dropbear. Those two files contain only a line "NO_START=1". I changed both to "NO_START=0" but it didn't work. After restarting the miner, both files will show "NO_START=1" again.

I cannot for the life of me find out what other process or init script is chaging those files and making the dropbear not start appropriately.

Can someone give me a hand, please?

EDIT: I tried editing /etc/init.d/bitmainer_setup.sh and comment out all the lines referring to dropbear and the config files. Doesn't work. After reboot it gets back to the original state.

I cannot find the init script that makes that file go back to its original state disabling dropbear init script.

Krater.io helps Data Centers to better monetize their infrastructure through automation, invoicing and payments processing
dctech81
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 19, 2019, 03:15:02 PM
 #45

So, all the exploits I knew of are now patched in the latest firmware. So I'm trying the FTDI method. Can I get some help here?

HACK FIRMWARE and SSH and EXPLOIT for free



I got the exact FTDI board linked here. Using an S9 for testing, but not getting any data over serial. I've tried different computers (2x Windows 10, 1x Linux running inside a VM) and different USB cables, no dice so far.

Could be my FTDI board is bad, but I want to make sure I have the setup correct:

- Does the square hole on the board correspond to DTR or GND? When I connect DTR, the control board lights up even with PSU off.
- Are we supposed to use 3.3v or 5v? 3.3v does nothing for me, but the above works on 5v.

Any suggestions?
cfbtcman
Member
**
Offline Offline

Activity: 264
Merit: 16


View Profile
January 14, 2020, 12:19:59 AM
Last edit: January 14, 2020, 01:11:34 AM by frodocooper
 #46

What about exploit file?

It seems the 1st exploit was just a file that explored a bug by http access, someone sent me the file, but gives me some error testing, someone can tryit using a linux computer that can run anything even in the case could have virus?

This is supposed to work just running the command and giving the IP of machine we want to activate SSH as parameter, i dont have success because there is some error, but other guys i passed this they get another errors, this is supposed to run in Ubuntu, someone can try in a closed environment for the possibility of virus and give feedback?

https://gofile.io/?c=Xblcbq
jnctky
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 30, 2020, 04:35:32 PM
 #47

Hi all,

I managed to unlock a new S17 antimner to run SSH.
If you are running light http 14.3.2 it will work. If I get enough requests I will do a medium post to show how it's done.

In a nutshell the SSH service that ant miner has installed is called dropbear and is automatically re-activated if you manage to create a SSH key.
This version of light http allow you to create files directly on the system.

Cool!
Did you unlocked S17 with 0524 firmware or  with latest firmware?
Could you please let us know which security issue of lighttpd is being used? Do u have the exploit or cve number?
Thank you in advance!!!
cdmkultra
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 04, 2020, 06:23:52 AM
Last edit: February 08, 2020, 02:29:56 AM by frodocooper
 #48

thank you for the post and the help here. I followed these directions below and had a little trouble but ultimately was able to get "almost" all of it working for an S9.

I am using the following Firmware

Code:
Miner Type	                              Antminer S9
Hostname                             antMiner
Model                                     GNU/Linux
Hardware Version                     30.0.1.3
Kernel Version                             Linux 3.14.0-xilinx-ga36f3af-dirty #90 SMP PREEMPT Thu Jun 20 15:01:47 CST 2019
File System Version             Tue Jul 30 20:37:39 CST 2019
Logic Version                             V1.3.56
BMminer Version                     2.0.0

Problems I noticed:

It appears that Bitmain has taken some precautions to confuse us a bit more

- Changed the ownership of many directories away from root
- Changed Read,Write,Execution settings for certain import files (including some dropbear related files)

Results:

After giving ownership back to root and allowing those particular dropbear files to be executed, I was able to get the RSA Key created!! SUCCESS KIND OF ;(

However, dropbear will not start and I cannot figure out why. So I was hoping that someone could give me a couple commands to try and I will post the results back here.



*****UPDATE*****

Finally I was able to get this to work.

Please DM me if you would like the solution. Not charging anything, its just better this way.
dms1984
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 11, 2020, 02:34:13 PM
Last edit: March 18, 2020, 02:00:32 PM by dms1984
 #49

*****UPDATE*****

Finally I was able to get this to work.

Please DM me if you would like the solution. Not charging anything, its just better this way.

cdmkultra, mate I would love to get the solution you've mentioned but you have recieving messages from "Newbie" rank blocked so I can't contact you via PM. Please set it differently (it has to be done explicitly with checking "Allow newbies to send you PMs." option in the Personal Message Options in your Profile settings. Or contact me via PM.
fubly (OP)
Hero Member
*****
Offline Offline

Activity: 561
Merit: 521


Trustless IceColdWallet


View Profile WWW
January 07, 2021, 11:23:15 PM
Last edit: January 10, 2021, 11:29:51 PM by frodocooper
 #50

File: /www/pages/cgi-bin/activate_ssh_again.cgi

Code:
#!/bin/sh
##############################################################################
 #category "BitCain5.com for Bitmain Antminer's "
 #package "BitCain5.com custom Firmware"
 #author Miguel Padilla <miguel.padilla@zwilla.de>
 #copyright (c) 2013 - 2021 Miguel Padilla
 #link "https://shop.zwilla.de"
 #github "https://github/zwilla"
 #twitter "https://twitter.com/mytokenwallet"
 #license: closed
##############################################################################

set -x

fuser -vk 22/tcp | sh /etc/init.d/network.sh | /etc/init.d/avahi restart > /dev/null | sh /etc/init.d/dropbear start | /usr/sbin/lighttpd -f /etc/lighttpd.conf

cat <<-EOH
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="3; url=minerStatus.cgi">
 <script type="text/javascript">
window.location.href = "minerStatus.cgi"
</script>
<title>SSH is activated!</title>
</head>
<H1>Enable SSH</H1>
<body>
<p>If you are not redirected automatically, follow the</p>
<a href='minerStatus.cgi'>link</a>
</body>
</html>
EOH
exec 2>&1
exit 0;

each time you send a transaction don't forget to use a new address, each time you receive one also!
Ryanyehan23
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 27, 2021, 07:34:56 PM
 #51

hello pls help..my S9 signature lock 2019, then have missing chip. beside sd card slot..I buy USB to uArt from amazon from this link. I try connect my s9 board from usb s9 board Rx to Tx, Tx to Rx,then Ground, I used cool term. i follow the instruction above, then I power my board I got a reading..continuously...no stopping I cant log in cause continues reading...or receiving from my board..pls help to unlock my s9 i try everything from GUI Sd card but nothing happen I thought the USB to TTL is working here..https://www.amazon.com/gp/product/B00LZVEQEY/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
GrahamBam
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 20, 2021, 06:10:33 AM
 #52

Does this still work? Will it work on a S19J Pro?

Thanks Smiley
thierry4wd
Sr. Member
****
Offline Offline

Activity: 446
Merit: 347



View Profile WWW
December 26, 2021, 12:22:42 AM
 #53

19 series containe Efuse  Grin

Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!