If this is your first visit, check our documentation. To post, register or login.
Forums / Business Issues / Fraud Prevention / Thieves who understand zen cart..help!

Thieves who understand zen cart..help!

Started by muah on 25 Aug 2010, 1:45 AM · Views: 494

Results 1 to 13 of 13
25 Aug 2010, 1:45 AM
#1
muah avatar

muah

Zen Follower

Join Date:
Dec 2008
Location:
USA, North East
Posts:
226
Plugin Contributions:
0

Post #1 by muah

Can a customer discover coupon codes without being told them? I have a customer who guessed at a code and got it! Is there a way for someone with extensive Zen knowledge to uncover a code outside of hacking into the cart or guessing at it?

25 Aug 2010, 3:18 AM
#2
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Post #2 by samar777

Probably not!

Thieves, or at least tech savvy thieves don't shop for bargains, they steal : )

You must have given it to someone to probably passed it alone to someone else.

I am sure you still made money on the order, or you wouldn't have made that discount code in the first place. nonetheless, You can always cancel the order if you like.

Automation is Godliness

8 Jan 2011, 4:04 AM
#3
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Post #3 by tj1

I think they can just create an automated script and keep checking for valid codes.

For discount codes they just use the discounts page index.php?main_page=discount_coupon&action=lookup

For gift vouchers, they have to log in first, but of course they can create a fake account easily, they just ran the automated script.

A good idea would be to:

  • If they enter 3 invalid codes in a row, a Captcha should be shown, if then again they enter 3 invalid codes in a row the offending ip should be banned for a period of time

Does anyone know if currently exists a mod like or similar to this?

9 Jan 2011, 9:13 AM
#4
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Post #4 by tj1

Was the previous message just something nearly impossible that no one would bother to try?

I mean I don't know much about that and how many requests a script could make per second. I'm guessing at least look up 2 codes per second.

I use codes that are 5 characters long. So theoretically that would take a script looking up 2 codes per second almost a year to run all the possible codes.

9 Jan 2011, 9:30 AM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #5 by rodg

tj1:

Was the previous message just something nearly impossible that no one would bother to try?

I mean I don't know much about that and how many requests a script could make per second. I'm guessing at least look up 2 codes per second.

I use codes that are 5 characters long. So theoretically that would take a script looking up 2 codes per second almost a year to run all the possible codes.

Ever heard of DDOS attacks? Think several thousand attempts per second and you'll be getting close to the worst possible (but quite realistic) scenario.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

10 Jan 2011, 8:10 AM
#6
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Post #6 by tj1

So it's still a good idea to use a Captcha?

I use a ton of discount codes that are for a fixed amount and do not require any minimum purchase, I give these as sort of cash back.

10 Jan 2011, 12:50 PM
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #7 by rodg

tj1:

So it's still a good idea to use a Captcha?

Who said that Captcha was a good idea to begin with?

It can only aggravate the situation in regards to DDOS attacks as it increases traffic demands, and these days it is pretty ineffective as a form of spam control.

It also annoys the heck out of most end users,

Captcha techniques were somewhat effective at reducing spam when it was first introduced many years ago, but the spamming software has evolved a lot since then and they easily decypher most Captcha's.

Nonetherless, many people still swear by this technique ... personally, I swear at it.

tj1:

I use a ton of discount codes that are for a fixed amount and do not require any minimum purchase, I give these as sort of cash back.

Not really relevent.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

10 Jan 2011, 1:08 PM
#8
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #8 by vger

Who said that Captcha was a good idea to begin with?

Well, me for one.

Yes, the original Captcha's were broken, and some reCattcha's have been broken now - but all that means is that you have to upgrade to a newer version - just as you do with Zen Cart. An unbroken reCaptcha will at least prevent Spam Bots from mass automated sign-ups. If they can create automated sign-ups and login en-masse then they can misuse the Tell-A-Friend feature even if people are required to be logged in to make use of it.

Vger

11 Jan 2011, 2:06 AM
#9
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #9 by rodg

Vger:

Well, me for one.

Yes, the original Captcha's were broken, and some reCattcha's have been broken now - but all that means is that you have to upgrade to a newer version - just as you do with Zen Cart. An unbroken reCaptcha will at least prevent Spam Bots from mass automated sign-ups. If they can create automated sign-ups and login en-masse then they can misuse the Tell-A-Friend feature even if people are required to be logged in to make use of it.

Vger

Say and do what you will, but after running various eCommerce stores since way back in 1997 it has been my experience that Captchas of any type annoy and frustrate the customers far more than they annoy and frustrate the spammers, I don't beleive it is a good idea to needlessly frustrate our customers.

I don't know of any end user or customer that would say they LIKE having to use a Captcha, it is only the merchants that like it because it gives them less spam and bogus accounts to deal with, but lets face it, customers don't care about this problem that merchants might have, nor should they. I'd rather have one real customer and a dozen bogus ones than no customers at all as a result of adding captchas to our store.

Do captchas really cost sales you may ask? Unless I am the exception to the rule, yes they do... If I'm required to enter captcha code in order to make a purchase I will make TWO atttempts. No more. If my second attempt fails I'll shop elsewhere

True story:.
Shortly before Xmas my wife and I were in the market for new mobile phones, she wanted the Iphone, I wanted the new Nokia N8 (total value, almost $2000AU)... Our online shopping narrowed us down to 3 stores with similar pricing. The first store didn't accept our captcha code input on the 1st two attempts... They lost a $2000 sale.

The second store also used a Captcha... so before even putting the items in the cart we had anotther look at the 3rd store ... No Captcha .. They got the sale.

I don't think I'm that unique ... people do give up on Captchas and will shop elsewhere.

I don't know about you, but I don't like the idea of letting spammers have a detrimental affect on my sales, and that is ALL the Captchas really do.

This doesn't even touch on the other negative side of them, namely the DDOS attacks. Captcha technology aggravates this rather than reducing it due to the simple fact that they don't/cannot affect the rate of the incoming requests, and if those requests require the generation of a Captcha it means increased traffic, which makes the attack so much more effective.

Fortunely, most of our stores and businessess are so small and insignificant that most of us are unlikly to experience a DDOS attack in the first place otherwise this negative aspect would probably get a lot more attention than it does.

Anyway, this is clearly another of my 'hobby horses' . I don't expect you to change your opinion Vger (after all, we do seem to be forever at odds with each other, which isn't necessarily a bad thing), but again, I don't think I'm so unique that my opionions and experience is worthless.. Two out of three stores that I recently shopped with lost a $2000 sale due thier (pointless) use of a Captcha.

I would like ALL merchants to take this into consideration when thinking using them.... You really dont/won't have any idea how many sales you are losing because of it.
DON'T make things hard for your customers because they WILL shop elsewhere.

http://theoatmeal.com/comics/shopping_cart

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

11 Jan 2011, 4:05 AM
#10
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Post #10 by kiddo

tj1:

I think they can just create an automated script and keep checking for valid codes.

For discount codes they just use the discounts page index.php?main_page=discount_coupon&action=lookup

For gift vouchers, they have to log in first, but of course they can create a fake account easily, they just ran the automated script.

A good idea would be to:

  • If they enter 3 invalid codes in a row, a Captcha should be shown, if then again they enter 3 invalid codes in a row the offending ip should be banned for a period of time

Does anyone know if currently exists a mod like or similar to this?

 if ($_SESSION['some_bad_thing_happened'] > 2) {
    $ip = $_SERVER['REMOTE_ADDR'];
    $ban = "deny from " . $ip;
    $handle = fopen("/path/to/your/.htaccess", "a");
    fwrite($handle, "$ban" . "\n");
    fclose($handle);
    $exit();
    }

You will just need to ++ a session var when something you deem as abuse happens.

11 Jan 2011, 2:05 PM
#11
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #11 by vger

RodG - Yes you're right, we won't agree on this one - but I wasn't aware that we routinely disagreed on things.

As for DOS or DDOS attacks - that's for the server admins and firewall to filter out. The firewall should routinely deal with a lot of it and if the server admins know their jobs then a DOS or DDOS attack can be quickly brought under control. It's not the responsibulity of a site owner to deal with and they're not responsible for it.

Even with my glasses my eyesight isn't that great and small or obscure print defeats me sometimes - but in general I have no problem with Captcha's. Occasionally one is so obscure that I generate a new one, but that's rare.

$2000 for an iPhone or Nokia n8? They cost less than half that in the UK, and I did check the currency rates for Australian Dollars to UK Pounds. Did you get yours gold-plated?

Vger

12 Jan 2011, 5:33 AM
#12
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #12 by rodg

Vger:

RodG - Yes you're right, we won't agree on this one - but I wasn't aware that we routinely disagreed on things.

Hey, I even had you in my banned list for quite a while.. Nothing really personal, but I simply couldn't help dissagreeing with you on so many occasions that not seeing your posts saved us both a lot of time :-)

Vger:

As for DOS or DDOS attacks - that's for the server admins and firewall to filter out. The firewall should routinely deal with a lot of it and if the server admins know their jobs then a DOS or DDOS attack can be quickly brought under control.

I agree with you on this...... BUT.......

Vger:

It's not the responsibulity of a site owner to deal with and they're not responsible for it.

I dissagree with you on this one, if the site owner installs software that can aggravate this kind of attack then they do have some responsibilty for it.
Otherwise it is like saying that site owners are not responsible for keeping thier sites up to date to prevent the server from being compromised and hopefully you don't dissagree with this.

Vger:

Even with my glasses my eyesight isn't that great and small or obscure print defeats me sometimes - but in general I have no problem with Captcha's. Occasionally one is so obscure that I generate a new one, but that's rare.

So, are you telling us that as an end user you actually LIKE Captcha's?
That certainly makes you in the minority.

Vger:

$2000 for an iPhone or Nokia n8? They cost less than half that in the UK, and I did check the currency rates for Australian Dollars to UK Pounds. Did you get yours gold-plated?

Nah.... 32Gb Iphone ~AU$1100 plus the N8 ~AU$650, plus a few accessories.. ok, I did exaggerate, two ecommerce stores lost an AU$1850 sale soley due to their use of Captcha. The 3rd store, with no Captcha got the sale.

I'll bet the two store owners that missed the sale would be pretty peeved if they knew why they missed out, but I can't easily tell them, because to send them a message means I need to use their stupid Captchas.

The point I'm really trying to make here is that any given store/merchant simply wouldn't know if they are missing sales due to this or not, and they've put themselves in the position where no one can easily tell them either. As I stated in my previous post, I'd rather get 10 bogus signups and one sale, than no signups and no sales. Captcha technology is like throwing the baby out with the bathwater, or worse... Can you imagine a brick and mortar store that places a combination lock on their door, with the very badly scribbled combination written on a piece of paper stuck to the window. How many people would even attempt to enter this store when the store next door lets you walk straight in? Answer, None, or perhaps someone that is very keen... the store then needs to offer something more than the others. to get people to enter. Is YOUR store (speaking to all store owners here) so 'unique' that people are willing to jump through hoops to make a purchase? Some are. Most aren't.

I stand by my claims that Captchas reduce sales with no benefit to the merchants.

Cheers
Rod.

ps. I will add that I am only anti Captcha when it comes to Ecommerce sites.
For Blogs, and other similar sites where no sales are involved there is nothing for the site owner to lose, but they will gain the benefit of having less spam to deal with, so in this case it is a worthy system to use, and I suspect it was developed with blogs in mind.. It simply isn't suitable for ecommerce though.. where there is sometnhig to lose (sales).

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Jan 2011, 7:08 AM
#13
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Post #13 by tj1

RodG:

Who said that Captcha was a good idea to begin with?

It can only aggravate the situation in regards to DDOS attacks as it increases traffic demands, and these days it is pretty ineffective as a form of spam control.

It also annoys the heck out of most end users...
Rod

I don't like Captcha's either. If you go back to my first posts you'll see I meant only showing them after a few failed attempts. If the failed attempts then continue the offending ip should be temporarily banned.