Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
backdoor in IRC code #1
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
n4ru
commented
Jan 15, 2016
|
Too little too late, sadly. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
BitpopCoin
Jan 15, 2016
First of all, are they retarded and not put each shitcoin in a vm? Second vern probably stole it and is now in China.
No vm and no manual compiling of random shitcoin? Vern cant keep his lies straight. I segregated my own bitpopcoin even when I compiled it myself. DO is only $5/month.
This Trojan is just a story vern found after the fact to facilitate his lies.
BitpopCoin
commented
Jan 15, 2016
|
First of all, are they retarded and not put each shitcoin in a vm? Second vern probably stole it and is now in China. No vm and no manual compiling of random shitcoin? Vern cant keep his lies straight. I segregated my own bitpopcoin even when I compiled it myself. DO is only $5/month. This Trojan is just a story vern found after the fact to facilitate his lies. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
presstab
commented
Jan 15, 2016
|
good find dooglus |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
creativecuriosity
commented
Jan 15, 2016
....
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
ofeefee
commented
Jan 15, 2016
|
Whoa! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
n4ru
commented
Jan 15, 2016
|
@creativecuriousity That's about a year after the theft took place. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
presstab
Jan 15, 2016
First post I can find about this backdoor is from BCT mods https://bitcointalk.org/index.php?topic=935898.0
presstab
commented
Jan 15, 2016
|
First post I can find about this backdoor is from BCT mods https://bitcointalk.org/index.php?topic=935898.0 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
saddam213
Jan 15, 2016
That's actually quite clever, added this one to my exploit scanner script
Good spotting sir
saddam213
commented
Jan 15, 2016
|
That's actually quite clever, added this one to my exploit scanner script Good spotting sir |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
zrsmith75
Jan 15, 2016
So disappointing such code was not reviewed by Vern and team before running it on the server where damage could result. I mean, seems since a 'newbie' on btctalk with an account one day old would warrant some review at a minimum when dealing with such a serious topic. I feel for all in the crypto community that lost coins due to either greed, fraud or incompetence.
zrsmith75
commented
Jan 15, 2016
|
So disappointing such code was not reviewed by Vern and team before running it on the server where damage could result. I mean, seems since a 'newbie' on btctalk with an account one day old would warrant some review at a minimum when dealing with such a serious topic. I feel for all in the crypto community that lost coins due to either greed, fraud or incompetence. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
dooglus
Jan 15, 2016
Apparently this is the theft transaction, included In block 313009 (2014-07-29), 8 months before my bug report.
Good spotting sir
I can't take any credit for spotting it. I originally heard of this backdoor in this forum post (January 25, 2015), was curious how the exploit worked, and ended up posting the macro code here so others could more easily understand it, and also to warn others who might fork this codebase.
dooglus
commented
Jan 15, 2016
|
Apparently this is the theft transaction, included In block 313009 (2014-07-29), 8 months before my bug report.
I can't take any credit for spotting it. I originally heard of this backdoor in this forum post (January 25, 2015), was curious how the exploit worked, and ended up posting the macro code here so others could more easily understand it, and also to warn others who might fork this codebase. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sidhujag
Jan 15, 2016
Interesting that the coins havent moved? Would be funny if he accidentily sent to an address he didnt own lol
sidhujag
commented
Jan 15, 2016
|
Interesting that the coins havent moved? Would be funny if he accidentily sent to an address he didnt own lol |
zrsmith75
commented
Jan 15, 2016
|
HAHA, that would be well deserved @sidhujag ~~ least the scum would not profit and still have an army of crypto fans hunting his head. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
saddam213
Jan 15, 2016
Cryptsy never should have had that much in hot wallets, 300k LTC and 16K in hot wallet, ridiculous
So any head hunting should be directed at them IMO
saddam213
commented
Jan 15, 2016
|
Cryptsy never should have had that much in hot wallets, 300k LTC and 16K in hot wallet, ridiculous So any head hunting should be directed at them IMO |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
dooglus
Jan 15, 2016
Would be funny if he accidentily sent to an address he didnt own
Actually 11 different addresses that he didn't own...
Who steals 11k BTC and takes the time to split them up into 11 separate addresses in the theft transaction? That is just bizarre.
dooglus
commented
Jan 15, 2016
Actually 11 different addresses that he didn't own... Who steals 11k BTC and takes the time to split them up into 11 separate addresses in the theft transaction? That is just bizarre. |
zrsmith75
commented
Jan 15, 2016
|
@dooglus so true, could see it happening to one address, but 11 mistakes is highly improbable. I wonder if anyone has went through the LTC blockchain to see if 300k happened the same or near the same time. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sidhujag
commented
Jan 15, 2016
|
maybe 11 people were involved lol |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
StarenseN
commented
Jan 15, 2016
|
dooglus you nailed it. Waw. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jwg4
commented
Jan 15, 2016
|
Closing this as WONTFIX. This is a feature not a bug people. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
BitpopCoin
commented
Jan 15, 2016
|
Correct won't fix, busy on permanent vacation |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
doged
Jan 15, 2016
noticed this was also placed in torcoin
https://github.com/torcoindev/torcoin/blob/419f77729f1bf7fc0c3543d7e88e9c6a12e401a2/src/irc.cpp
doged
commented
Jan 15, 2016
|
noticed this was also placed in torcoin https://github.com/torcoindev/torcoin/blob/419f77729f1bf7fc0c3543d7e88e9c6a12e401a2/src/irc.cpp |
doged
commented
Jan 15, 2016
|
@jwg4 XD |
DanielJoyce
referenced this issue
in torcoindev/torcoin
Jan 15, 2016
Open
THIS TORCOIN SOURCE BACKDOORED IN SAME MANNER AS Lucky7Coin #3
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
DanielJoyce
Jan 15, 2016
also torcoin on reddit was created around the same time all of these backdoors were landing in various ignored/defunct/marginal cryptocurrencies
DanielJoyce
commented
Jan 15, 2016
|
also torcoin on reddit was created around the same time all of these backdoors were landing in various ignored/defunct/marginal cryptocurrencies |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
DanielJoyce
Jan 15, 2016
Looks all the torcoin accounts went silent after the cyptsy hack was successful.
https://cryptocointalk.com/topic/13084-torcoin-tor-information/
Check the twitter links. Dead since july 2014
DanielJoyce
commented
Jan 15, 2016
|
Looks all the torcoin accounts went silent after the cyptsy hack was successful. https://cryptocointalk.com/topic/13084-torcoin-tor-information/ Check the twitter links. Dead since july 2014 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
shinohai
commented
Jan 15, 2016
|
^LOL |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Meler-Andy
Jan 15, 2016
No way Why always poor people have to loose :( I m so sad now lost plenty of coins from that backdoors now Cryptsy wont give them back :( sad angry and feel like i wanna start being a thief !!!!
Meler-Andy
commented
Jan 15, 2016
|
No way Why always poor people have to loose :( I m so sad now lost plenty of coins from that backdoors now Cryptsy wont give them back :( sad angry and feel like i wanna start being a thief !!!! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
ctrlcctrlv
Jan 16, 2016
@BitpopCoin At least segregate coins in different VMs depending on their total value - it's absurd that Vern would run random shitcoin wallet on the same machine as a private key with thousands of BTC. Also, that makes it a hot wallet, not cold storage as Vern claimed.
Cryptsy incompetent since day 1.
ctrlcctrlv
commented
Jan 16, 2016
|
@BitpopCoin At least segregate coins in different VMs depending on their total value - it's absurd that Vern would run random shitcoin wallet on the same machine as a private key with thousands of BTC. Also, that makes it a hot wallet, not cold storage as Vern claimed. Cryptsy incompetent since day 1. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Frankenmint
Jan 16, 2016
ITT a shiton of people who come here after the fact when the OP found this nearly a year ago
Frankenmint
commented
Jan 16, 2016
|
ITT a shiton of people who come here after the fact when the OP found this nearly a year ago |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
dooglus
Jan 16, 2016
@ctrlcctrlv We don't know for sure that the lucky7coin and Bitcoin wallets were on the same server. It's possible the lucky7 backdoor was used to gain entry to the 'shitcoin' VM, and from there access was somehow gained to other servers.
dooglus
commented
Jan 16, 2016
|
@ctrlcctrlv We don't know for sure that the lucky7coin and Bitcoin wallets were on the same server. It's possible the lucky7 backdoor was used to gain entry to the 'shitcoin' VM, and from there access was somehow gained to other servers. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
BitpopCoin
commented
Jan 16, 2016
|
This thread has no moderators hahaha. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
bolivarcoin
Jan 16, 2016
lucky7 still hosted on cryptsy servers, so if really has a backdoor the scammers are very happy that cryptsy havnt de-listed https://www.cryptsy.com/markets/view/LK7_BTC
bolivarcoin
commented
Jan 16, 2016
|
lucky7 still hosted on cryptsy servers, so if really has a backdoor the scammers are very happy that cryptsy havnt de-listed https://www.cryptsy.com/markets/view/LK7_BTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
dooglus
commented
Jan 16, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Javihache
Jan 16, 2016
So TorCoin person/group and Lucky7Coin person/group might be the same... all trying to hit the jackpot with their Backdoor. They hit the Jackpot and disappeared, abandoning their shitcoin projects behind them. So far so good. Now why haven't the BTC Funds been moved? Have the guys been living on the LTC funds this far?
Javihache
commented
Jan 16, 2016
|
So TorCoin person/group and Lucky7Coin person/group might be the same... all trying to hit the jackpot with their Backdoor. They hit the Jackpot and disappeared, abandoning their shitcoin projects behind them. So far so good. Now why haven't the BTC Funds been moved? Have the guys been living on the LTC funds this far? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
doged
Jan 16, 2016
@dooglus @Javihache paul mentioned on the cryptsy blog that he had alot of "open communication" with special agent shaun bridges, who is now in prison for scamming silk road out of btc.. so if we see those coins move when he gets out, we know who did it.. timeline coincides.
doged
commented
Jan 16, 2016
|
@dooglus @Javihache paul mentioned on the cryptsy blog that he had alot of "open communication" with special agent shaun bridges, who is now in prison for scamming silk road out of btc.. so if we see those coins move when he gets out, we know who did it.. timeline coincides. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
R32
commented
Jan 16, 2016
|
mark |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
shevegen
Jan 17, 2016
See the good side about it - more prying eyes and people seeing and discussing this, so perhaps they will be able to more easily find deliberate backdoors like that (and perhaps even less so deliberate ones or better hidden ones too).
What strikes me the most is how simple it is in irc.cpp, even non-programmers can almost understand it as-is.
shevegen
commented
Jan 17, 2016
|
See the good side about it - more prying eyes and people seeing and discussing this, so perhaps they will be able to more easily find deliberate backdoors like that (and perhaps even less so deliberate ones or better hidden ones too). What strikes me the most is how simple it is in irc.cpp, even non-programmers can almost understand it as-is. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
BitpopCoin
commented
Jan 17, 2016
|
Or we can all just concentrate our efforts on Bitcoin and stop shitcoining |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
doged
commented
Jan 17, 2016
|
says the guy named after a shitcoin, and has a couple shitcoins in his repo XD |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
BitpopCoin
Jan 17, 2016
Lol that was 2013, the shitcoin phase is done, fuck litecoin and paycoin. Also I abandoned BPC long ago.
BitpopCoin
commented
Jan 17, 2016
|
Lol that was 2013, the shitcoin phase is done, fuck litecoin and paycoin. Also I abandoned BPC long ago. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Javihache
Jan 17, 2016
Litecoin is cool. Better Conf Times and all, scrypt... I like Litecoin, find it cool to have the "silver" and the "gold". But I still would like to know from you programming guys (I mean real programmers not like me), if there is a way to find out who that alerj78 is and how can be tracked down. Cause through stealing from Cryptsy, he stole from me and many others. And that is not cool.
Javihache
commented
Jan 17, 2016
|
Litecoin is cool. Better Conf Times and all, scrypt... I like Litecoin, find it cool to have the "silver" and the "gold". But I still would like to know from you programming guys (I mean real programmers not like me), if there is a way to find out who that alerj78 is and how can be tracked down. Cause through stealing from Cryptsy, he stole from me and many others. And that is not cool. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
doged
Jan 17, 2016
@Javihache it was most likely not this coin that is responsible, as i tested this and the way cryptsy is set up, it would not have been possible to steal bitcoins using this backdoor. this daemon would have to have been run as root, and not in its own vm.. so most likely this backdoor is not how cryptsy's bitcoin went missing.
doged
commented
Jan 17, 2016
|
@Javihache it was most likely not this coin that is responsible, as i tested this and the way cryptsy is set up, it would not have been possible to steal bitcoins using this backdoor. this daemon would have to have been run as root, and not in its own vm.. so most likely this backdoor is not how cryptsy's bitcoin went missing. |
dooglus
commented
Jan 18, 2016
|
@doged Why do you say the daemon would need to have been run as root? I don't think that is the case. |
doged
commented
Jan 18, 2016
|
@dooglus you're correct, it would have to have been on the same machine as the cold storage bitcoin wallet though, and had permissions. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jwg4
Jan 18, 2016
@doged: Typically a backdoor like this is used to get the first toehold on a target system. Once that has been done, different privilege escalation bugs or attacks to various services can be used to get admin access and/or access to other systems on the target network. This might include traditional software vulnerabilities, or things like searching emails for plaintext passwords, spying on terminal sessions, searching for code repositories or databases for critical data. Unless the system is built to be very robust internally, with security planned on the basis that backdoors like this one will exist, these attempts will usually succeed. People often don't secure their systems from attackers who have partial privileges, and they often don't monitor systems and check logs effectively, which should enable you to find an attacker during this process.
Cryptsy claim that it took several months from the time they installed this code for the attacker to be able to take over their BTC and LTC wallets. This could have been the time taken to go from a single backdoor executing as a non-privileged user on an isolated VM running this coin, to having access to the most secret and valuable information held by Cryptsy.
jwg4
commented
Jan 18, 2016
|
@doged: Typically a backdoor like this is used to get the first toehold on a target system. Once that has been done, different privilege escalation bugs or attacks to various services can be used to get admin access and/or access to other systems on the target network. This might include traditional software vulnerabilities, or things like searching emails for plaintext passwords, spying on terminal sessions, searching for code repositories or databases for critical data. Unless the system is built to be very robust internally, with security planned on the basis that backdoors like this one will exist, these attempts will usually succeed. People often don't secure their systems from attackers who have partial privileges, and they often don't monitor systems and check logs effectively, which should enable you to find an attacker during this process. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
pceccato
Jan 20, 2016
pardon my ignorance, but why would a crypocoin node require an IRC connection?
pceccato
commented
Jan 20, 2016
|
pardon my ignorance, but why would a crypocoin node require an IRC connection? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
BitpopCoin
commented
Jan 20, 2016
|
To find nodes to connect to |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
karel-3d
commented
Feb 9, 2016
|
Even bitcoin has that |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
BitpopCoin
commented
Feb 9, 2016
|
No bitcoin stopped that. Also it was never used in that direction. |
dooglus commentedMar 8, 2015
There's a backdoor in the IRC code that gives the attacker the ability to run arbitrary commands on the victim's host.
In src/allocators.h we see these macros being defined, in an attempt to hide 'popen' and 'pclose' calls:
Then in irc.cpp they are used to implement the backdoor:
I expect this is a known issue since this kind of thing doesn't happen accidentally.