4 ms·
Imagine how much money you'd be able to syphon if you could access the javascript that serves these pages!
by chii 8y ago
Imagine how much money you'd be able to syphon if you could access the javascript that serves these pages!
- doikor 8y agoFrom my banks web site? Effectively zero. Nothing will happen unless you validate the transactions using two factor authentication (user id + code app/single use paper code) (In my experience all bank web sites work like above here in Finland)
- slig 8y agoOne possible attack is to change the details of a transaction before the page post it. To the user it would appear as she's transferring money to Bob, but it'd go to Eve.
- magicalhippo 8y agoMy bank has two-factor using some special applet thingy on my phone (not a regular app, it's tied into the SIM card somehow). It shows me the details (amount and destination account) which I have to confirm using my password (in combination with a key from the SIM). Much more difficult to circumvent, assuming the user pays attention...
- chii 8y agoThen, the malicious script can just pop up an official looking dialog box with a message saying that they are 'testing' the confirmation system, and please accept/agree to the next sms/alert from the app. Having direct control of the user interface is very powerful.
- magicalhippo 8y agoOf course one has to have a minimum of awareness for any protection mechanism to work.
- moviuro 8y agoEve should be among the known receivers though, which is a world of slow (~72hours to add an IBAN to my list for instance). There are banks that try to make it faster though, with MFA, though the MFA system is usually SMS.
- JeremyBanks 8y agoThe banks I've used in Canada allow you to send transfers (uip to $3000) to other domestic bank accounts without reautenticating. Fortunately, they don't seem to use any third-party JavaScript.
- jacquesm 8y agoYou can't get at the $ but you can get at the individual transaction data. They really should not have third party js on banking and medical sites, especially not for logged in users.
- chopin 8y agoAre you absolutely sure about this (would love a reference)? Letting another party running code removes at least many layers of defence. I would not trust a bank which is doing that it's just a sign of gross incompetence.
- jacquesm 8y ago2FA should at least in theory stop them from doing that. But if the script rewrites the page then maybe there are interesting ways around that.
- nostoc 8y agoThird party code within your banking website has access to anything you can do from the UI. That includes siphoning money from your account.
- jacquesm 8y agoI have a hardware token and a chipcard to stop that from happening, still, there may be some way to do it that I'm not aware of. One way I can think of is to display one set of destination details for a transfer to the user and use another for the actual transfer.
- chopin 8y agoThe hardware token I use shows amount and recipient. At least you could notice.
- tnolet 8y agoNothing. That is not how online banking works. At all. Payments need validation, check and balances (quite literally) at multiple stages before any money changes hands.