• Index
  •  » ISE
  •  » ATM Transactions are halted

#1 2008-07-25 09:35:10

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

ATM Transactions are halted

I can't give much detail at this time, but I have had to pull the ATM and halt ATM transactions.  I promise more detail is coming.  I have also halted all companies since the ATM's are not functional.  I will give out more information once I have enough detail to do so.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#2 2008-07-25 13:18:45

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

Here is a quick status update.  Someone has figured out a very serious security exploit in SL and based on talks with Linden Labs it won't be acknowledged or fixed any time soon.   Unfortunately we are not the only ones that have been affected and unfortunately others will be impacted.  I'll write up the security exploit and supporting information later.

What this means for you is ATM's will have to stay down.  I need to set up an alt, put money into it, and conduct manual transactions through the alt.  The reason for the alt is in case there are any ATM's I missed, it's not safe for the Cocky Dagger account to carry L$.  It will take me several days to figure this out and I will publish procedures on in-world L$ transactions.  I apologize for this inconvenience but exchanging Lindens through scripts is not safe in SL at this time.


If anyone needs Lindens immediately let me know.  At this time, no deposits will be taken until procedures and feasibility of running a non automated business is determined or LL fixes the problem.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#3 2008-07-25 15:00:59

InsouciantYue
Moderator
From: Network 23
Registered: 2008-02-27
Posts: 2105

Re: ATM Transactions are halted

Yikes!  Thanks for being on top of things as usual!  I'm sure you have some unattended failsafes in place (behaviour, unusual activity/runs) but when in doubt freeze for a moment to assess what's going on and keep our resources safe!  Thanks!  I appreciate that you are making our Lindens on deposit available manually - I don't need any right now, but it is comforting to know that they can be had if needed.


"People who work for a living should live better than those who don't."

Offline

 

#4 2008-07-25 15:30:24

sanliadis
Day Trader
Registered: 2008-02-27
Posts: 21

Re: ATM Transactions are halted

Take your time Cocky.
I can wait

Offline

 

#5 2008-07-25 15:44:45

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

Here is a little information about what happened.  In the ATM there is an event called money().  This event triggers if someone gives you money.  When the event fires, it kicks off a chain of instructions that updates the back-end database of this exchange.  What happened this morning is someone was able to trigger that event but no money was exchanged between my avatar and the other avatar.   Linden scripting language has no check that my avatar actually received the money.   This event was triggered but the actual money transaction did not take place, the system just thought the transaction did.  Also disturbing, there was an object on the land of the ISE even though permissions were set for only me to build.

How do I know this event triggered and no money was exchanged?  There is only one place that the call to the trading system can originate from, money().  If someone could see the script then they could obviously originate the call from somewhere else but this appears to not have happened.  There are checks for where the call originates from.  The ip address of the originating call was from the LL server for Kailua, I checked.  All of the meta information for a call coming from an LL server was correct and I have one other check that is trivial but was satisfied.  This means that the call had to originate from the script on the ISE land.  So were they able to make a copy of the script and execute it that way, meaning that the money went to them or another alt?  I don't know because I can't get Linden Lab representatives to help.  They won't discuss or let me talk to anyone.  So I am left in a situation where it appears that someone has figured out a very serious security exploit and LL has decided to just ignore me.  What is even more bothersome is that other people have now been victims of the exploit. 

If LL would help out, then the exploit could be tracked down.  Right now I have to conclude that someone is able to either copy scripts or is able to trigger the money event without money exchanging hands.  Either option worries me greatly and the handling of this by Linden Labs is even more discouraging.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#6 2008-07-25 17:40:01

elialemorigi
Long Term Investor
From: Milan - Italy
Registered: 2008-02-27
Posts: 670
Website

Re: ATM Transactions are halted

all exchanges are now closed....

Offline

 

#7 2008-07-26 09:39:39

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

I would like to thank everyone who has been giving me information.  Without disclosing too much information I have been given information and evidence that there is an exploit that allows people to copy objects and the scripts associated with those objects.  I had speculated on two different ways someone could have compromised the ATM's, one was being able to copy the script, and that appears to be the case. 

I will try to post and keep everyone updated.  Unfortunately ATM's will stay down until I can get information from LL that this exploit has been patched.  I have modified the ATM's to change the security settings but deploying the ATM's makes no sense if someone can copy the scripts.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#8 2008-07-26 19:04:43

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

Trading will open at 6pm SLT time.  There will be no ATM transactions at this time.  I believe sufficient time has passed that panic selling will be in check.  Trading will open at 6pm SLT time.  I believe enough people have reported and confirmed the exploit that LL will do something about it.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#9 2008-07-26 21:49:57

InsouciantYue
Moderator
From: Network 23
Registered: 2008-02-27
Posts: 2105

Re: ATM Transactions are halted

Thanks for the updates!  No panic selling... my portfolio value actually went up since the other day!


"People who work for a living should live better than those who don't."

Offline

 

#10 2008-07-27 02:36:11

jfej2000juran
Day Trader
From: Spain
Registered: 2008-02-27
Posts: 37

Re: ATM Transactions are halted

Thanks a lot Cocky.
I will continue trading.
LL makes me very nervous. I do not trust their tricks. Any day they closed the "chiringuito"
Good luck to all

Offline

 

#11 2008-07-27 16:09:24

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

Just a quick Sunday update.  I think everyone by now is aware that any script, object, texture, etc. can be copied, regardless of the permissions, by some individuals.  Obviously a lot of security deals with hiding keys and passwords and in the short term, I have to assume that advantage no longer exists.  Right now I am approaching SL with the belief that any key or password in any script, notecard, etc is not secure.  With this in mind there is one sure method and probably two methods to secure an ATM.  Obviously I am starting work on the method that is sure but this doesn't mean that SL is secure.  The problem going forward is if there are other exploits that can allow someone to take your money, any avatar I create is a target.  So even if I create a secure ATM, knowing that anyone can have open access to the code of the ATM, the owning avatar will still always be a target.   It is extremely important to see how LL handles this situation before proceeding and right now I am just waiting to see what unfolds.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#12 2008-07-28 19:21:51

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

Just a quick Monday update.  No contact from LL and the JIRA that IntLibber started was closed as resolved because it couldn't be replicated.  This is very disheartening.  I know the issue has been reported by other people and they have been victims.  My belief is that LL can not fix the issue since they can't even roll out a new server release therefor they are going to try to moderate the problem, unfortunately it isn't working very well.   The shame is I have looked back at history and the slightest hint of this problem caused a grid wide shutdown, it looks like those days are over.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#13 2008-07-29 02:38:47

itchygamba
Long Term Investor
Registered: 2008-02-27
Posts: 282

Re: ATM Transactions are halted

Hi Cocky,

over at ace I found this posted:

On the ATM transactions script:
a) php script checks the owner of the ATM against the key of ACE BnT
b) php script checks the node number against the list of approved nodes and ignores deposit requests from unlisted/unapproved nodes.
c) php script logs into secondlife.com to check ACE BnT's xml transactions history file for evidence of actual funds transfer before crediting amount to their account on the website.

as a fix for the problem to allow ATM's to run successfully.

Could you please give your thoughts on whether this would fix the problem.

Thanks

Offline

 

#14 2008-07-29 14:32:37

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

I'll answer questions later and don't have time to go into detail but I will say this, my discouragement on Friday and the last few days with Linden Labs was premature and they have handled the situation exactly as they should have.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#15 2008-07-29 19:09:14

InsouciantYue
Moderator
From: Network 23
Registered: 2008-02-27
Posts: 2105

Re: ATM Transactions are halted

watching! thanks for the updates!


"People who work for a living should live better than those who don't."

Offline

 

#16 2008-07-30 07:25:37

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

itchygamba wrote:

Hi Cocky,

over at ace I found this posted:

On the ATM transactions script:
a) php script checks the owner of the ATM against the key of ACE BnT
b) php script checks the node number against the list of approved nodes and ignores deposit requests from unlisted/unapproved nodes.
c) php script logs into secondlife.com to check ACE BnT's xml transactions history file for evidence of actual funds transfer before crediting amount to their account on the website.

as a fix for the problem to allow ATM's to run successfully.

Could you please give your thoughts on whether this would fix the problem.

Thanks

Sorry, yesterday was extremely busy and I have been trying to answer all questions asked and forgot to answer this one.

a) This won't stop all exploits only make it a little more difficult if someone can see the script.  This will stop in-world exploits but that doesn't mean that someone won't by pass in-world and go out of world.  With the ability to view the script,  example a nothing but in-world exploits.  It makes things more difficult, which is good, but with the ability to view the script still leaves you open to exploit from out of world.

b)  Same thing as a.

c)  Yes, this will stop any exploit in-world and out-of-world.  If someone can see the script they still have to get a money transaction to appear in SL and this is what I will be implementing.  There  is probably one other effective method of stopping that I am working through the details now but c is the sure thing and what I am developing.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#17 2008-07-30 09:56:02

HairAkebono
Day Trader
Registered: 2008-02-27
Posts: 54
Website

Re: ATM Transactions are halted

What sort of timescales are we looking at to implement the fix?

Offline

 

#18 2008-07-30 10:42:29

InsouciantYue
Moderator
From: Network 23
Registered: 2008-02-27
Posts: 2105

Re: ATM Transactions are halted

One thing about "c" bothers me and that is the security of having the script "log into" SL.  I know that's the script on the server (purportedly under your full control) and not the "LSL script in the ATM in SL" (whose visibility is now comprimized), but I guess over all it's a good sanity check/solution.  Will that mean "you" (av holding the finances) will be "online in SL" full time? (watchdog/timeout to keep av alive or a delay for ATM transactions to log in to SL and check?  probably log in if not logged in then stay online for a while to speed up the next transactions if they happen soon afterward.)

Then again, I've used SLeek and other clients to log in so that can't be too hard to script in PHP (on your server).  Thanks for the ongoing commentary!  It's a clever little attack vector not directly taking L$ but tricking you into crediting the criminal's account.

"c" also seems to just be double checking "DEPOSITS" into ISE by an av - to make sure a transaction shows (paid the ATM) before crediting the user's account at ISE, whereupon if not really paid into the ATM but the command given (by spying and writing an alternative fraudulent script carrying any "credentials" [copied from the real script and supposedly secret]) the av requests the "money" (tricked into being "deposited" by Cocky into a user account at ISE without real payment) then a regular withdrawl from "their funds" at ISE into the SL av committing the fraud.  (The more direct "request a withdraw" fraud is where the transaction record won't show a fraudulent transaction until that's already happened (and too late)... but that relies upon the user security of what av walks up to the ATM to do the withdrawl.)  Actually, I think I'd agree that "a" and "b" aren't really going to help.  They'd stop someone from playing with an altered LSL script talking to the backend ISE server, but not an out-of-world attack (mimicing the traffic of a real ATM transaction with commands, data, and credentials read from the comprimized script) and spoofing the node/location and other info passing this directly into the (now revealed) back-end ISE server.

There's really (to my thinking so far) no way to validate the "script (LSL, in ATM or faked)" or "out-of-world spoofed transaction command" itself - if it can be seen, any validation method can be comprimised (and security by obscurity is not reliable anyway) so using a crypto token isn't going to help.  It seems that indeed the only sane way is to do the checking/validation of any transaction on the backend/server side under your full control... and have THAT (while logged in to SL) do the "pay or money transfer" (I know it can) or crediting the user's ISE account.  Sure, it's "easier" to do it all in LSL (in the ATM) but that just won't be secured.  This would leave an attack vector of a traffic sniffer (between your server and LL), but I think that's sufficiently remote to the end user/abuser, and isn't the log-in page at the SL web site to your account (transaction history) https as well?


"People who work for a living should live better than those who don't."

Offline

 

#19 2008-07-30 11:13:58

cockydagger
Administrator
From: Simpsonville, SC
Registered: 2008-02-24
Posts: 2389
Website

Re: ATM Transactions are halted

HairAkebono wrote:

What sort of timescales are we looking at to implement the fix?

August 1st or 2nd, after the current server release goes out.  If anyone needs a withdrawl contact me in-world.  The reason for taking my time is I don't want this to ever happen again. So I am going to take a little time and also I want to wait for the next server release to finish rolling out.

Insouciant, I think you hit the nail on the head with your analysis.  The one check to take it further from in-world is to check the ip address of the incoming server and make sure it is in LL's ip address range.  But the ip can and probably will change.  Although difficult it is probably possible to trick my server on the ip too so it is not failsafe but difficult enough that it probably secures the script.  I doubt anyone would go far enough to spoof the ip and  therefore checking ip would probably be pretty close to solid.   But the solid choice is item c.  Option C would be invalid if someone knew the controlling ATM avatar's password.  But if that were to happen then that person is just going to go directly to the avatar and do it the easy way.

So if C is implemented I feel safe that the ATM will be secure even if the script can be seen.


I don't want to achieve immortality through my work... I want to achieve it through not dying.

Woody Allen

Offline

 

#20 2008-07-30 23:40:18

InsouciantYue
Moderator
From: Network 23
Registered: 2008-02-27
Posts: 2105

Re: ATM Transactions are halted

heehee -- what I didn't mention was the DNS vulnerability where I might be able to trick the IP....  [I hate dynamic IPs and dynamic DNS lookups, but it's a fact of life on the Internet]


"People who work for a living should live better than those who don't."

Offline

 
  • Index
  •  » ISE
  •  » ATM Transactions are halted



Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

Web Hosting and Web Design by SLB Development