Forums / General Questions / Spam - fake customers

Spam - fake customers

Views: 33,012

Results 21 to 33 of 33
17 Apr 2019, 10:03 PM
#21
sjdeines avatar

sjdeines

New Zenner

Join Date:
Apr 2012
Posts:
37
Plugin Contributions:
1

Spam - fake customers

davewest:

The basic 155f-156a filters for preventing some fields from interning bad data or setting some limits to amount or lack of data is really good. Adding a eye testing CAPTCHA or Honey pot CAPTCHA works on bots.. Lest Google version 3 is working I think.. 2 has known walk around. Blocking IP's work, blocking bad bots helps, I placed some code above that helps with human bots.

In testing, I'm not getting accounts created with what is reported! I can create standard accounts without what's reported, but that's is not what the spammers are after. After adding non-CAPTCHA, the bots have yet to pick the right number! Which is why I ask for links, mods installed, basically, answers to the posting tips so folks here can better help figure out what to help you with...

@ianhg For logs created from admin, if you was not looking at or managing customers... you may have a problem, see this FAQ. If there created as you delete or edit accounts, then its due to the data in those fields, not the code.

I am running v1.5.5e with the Template 'Westminster New, Version 1.3' and have blacklisted all IP ranges, removed Ukraine from countries under Localization as that's what the bots were using as the country, remarked out the autoresponder 'welcome' email in the code, added a non-working (but visually there CAPTCHA as I'm still trying to figure out how to add a CAPTCHA to Westminster New. BTW - The IP stored in the created account is actually different than the IP being used as the account is being created. I know this for a fact, as I have logged and even blacklisted the IP being that's viewable in the 'Who's Online' admin tool. In other words, these things are not only spamming from false servers, but are also ghosting IP addresses. SO! If you know how to install a CAPTCHA in Westminster New, that's about all that I've left to try that might work.

18 Apr 2019, 1:36 AM
#22
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Spam - fake customers

sjdeines:

I am running v1.5.5e with the Template 'Westminster New, Version 1.3' and have blacklisted all IP ranges, removed Ukraine from countries under Localization as that's what the bots were using as the country, remarked out the autoresponder 'welcome' email in the code, added a non-working (but visually there CAPTCHA as I'm still trying to figure out how to add a CAPTCHA to Westminster New. BTW - The IP stored in the created account is actually different than the IP being used as the account is being created. I know this for a fact, as I have logged and even blacklisted the IP being that's viewable in the 'Who's Online' admin tool. In other words, these things are not only spamming from false servers, but are also ghosting IP addresses. SO! If you know how to install a CAPTCHA in Westminster New, that's about all that I've left to try that might work.

I disable countries I don't sell to. Yes, spoofing IP is normal, they some times forget the host line

  1. Westminster new does not modify the customer account page so dropping the tpl_modules_create_account.php file from Google reCAPTCHA should do the job unless its modified by something else. Check there support page if not working.
  2. Trace IP's host by the raw server access logs not zen whos online page..
  3. check template folder //includes/modules/YOUR_TEMPLATE/create_account.php and delete it if no other mods modified it.. then check the same file in //includes/modules/create_account.php and replace with a new one from a clean zc155e..

If after doing the above, and you still getting hit, follow this FAQ.

Dave
Always forward thinking... Lost my mind!

19 Apr 2019, 8:57 AM
#23
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Spam - fake customers

davewest:

adding reCAPTCHA or non-CAPTCHA can help fix issues with bots... with non-bots or human spammers, a simple regex line can help. Regex can also limit or hinder good account creation too..

The standard create account line for first name on a ZC156a page is

<?php echo zen_draw_input_field('firstname', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_firstname', '40') . ' id="firstname" placeholder="' . ENTRY_FIRST_NAME_TEXT . '"' . ((int)ENTRY_FIRST_NAME_MIN_LENGTH > 0 ? ' required' : '')); ?>
> 
> adding this in red blocks some characters not normal to names and limit the length to 20 characters.
> ```
<?php  echo zen_draw_input_field('firstname', '',  zen_set_field_length(TABLE_CUSTOMERS, 'customers_firstname', '40') . '  id="firstname" pattern="^[^±!@£$%^&*_+§¡€#¢§¶•ªº«\\/<>?:;|=.,]{' . ENTRY_FIRST_NAME_MIN_LENGTH . ',20}$" placeholder="' . ENTRY_FIRST_NAME_TEXT . '"' . ((int)ENTRY_FIRST_NAME_MIN_LENGTH > 0 ? ' required' : '')); ?>

This only works on humans, bots well walk right by it...

I would also check the template or mods you may be using that they meet current ZC filters.
@davewest Thanks for this.
I applied your excellent non-captcha and it has stopped spam coming from contact page on one particular site. It has also appeared to have stopped the spam bot setting up fake accounts on another site with links as described in this thread. I did get four fake accounts which I think may have been done by an actual spammer, as they came through with long first names and surnames so I have added the above tested and it appears to work. So I wait to see if anything happens later today, many thanks excellent help from you. Just one thing is it possible to only except UK postal codes in the correct format in postal code field.
Thanks again.

19 Apr 2019, 2:42 PM
#24
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Spam - fake customers

ianhg:

Just one thing is it possible to only except UK postal codes in the correct format in postal code field.
Thanks again.

I'm not sure what the UK pattern is, but on many of my pages I use jquery maskedinput script to format things like dates, phone numbers.. This could work if you only have one pattern only.. The script is tied to input class or id and script is placed at the bottom of the tpl_PAGE You can see how it works by looking at my map request page.. Google jquery maskedinput to get the latest version and instructions.. The UI script and css is used for the popup calendar.

<script src="<?php echo $template->get_template_dir('jquery-ui.min.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery-ui.min.js' ?>" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('jquery.maskedinput.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.maskedinput.js' ?>" type="text/javascript"></script>
<script type="text/javascript">
    $(function() {
        $("#date")
                .datepicker({ nextText: "", prevText: "", changeMonth: true, changeYear: true })
                .mask("99/99/9999");
    $(".phone")             .mask("999-999-9999");
    });
</script>

Dave
Always forward thinking... Lost my mind!

20 Apr 2019, 9:14 PM
#25
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Spam - fake customers

@davewest Thank you for your speedy response. Just one other point do you need to be using PHP7 or greater for your honey pot CAPTCHA to work?

21 Apr 2019, 3:02 AM
#26
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Spam - fake customers

ianhg:

@davewest Thank you for your speedy response. Just one other point do you need to be using PHP7 or greater for your honey pot CAPTCHA to work?

No.. not php version specific at all.. the only requirement is the slider! Its a HTML5 issue.. any current browser higher then IE9 is supportive, lesser browsers would only get an input field to figure out what to do. I think IE has a different idea how HTML5 should be so there may be some issues there conflicting with the scripting. Something I've been trying to fix without IE to go by, hoping IE get there act together with everyone else someday...

Dave
Always forward thinking... Lost my mind!

21 Apr 2019, 10:54 AM
#27
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Spam - fake customers

@davewest sorry to be a pain.. I noticed when testing this on one site if I answered the contact page correctly then went to the create account page incorrectly it went through, so would this be a caching issue with the browsers? Also once logged in then went to the contact us page the email went through even though the slider was incorrect. Is there a way of stopping caching on the contact us page?

26 Apr 2019, 4:32 PM
#28
sjdeines avatar

sjdeines

New Zenner

Join Date:
Apr 2012
Posts:
37
Plugin Contributions:
1

Re: Spam - fake customers

davewest:

I disable countries I don't sell to. Yes, spoofing IP is normal, they some times forget the host line

  1. Westminster new does not modify the customer account page so dropping the tpl_modules_create_account.php file from Google reCAPTCHA should do the job unless its modified by something else. Check there support page if not working.
  2. Trace IP's host by the raw server access logs not zen whos online page..
  3. check template folder //includes/modules/YOUR_TEMPLATE/create_account.php and delete it if no other mods modified it.. then check the same file in //includes/modules/create_account.php and replace with a new one from a clean zc155e..

If after doing the above, and you still getting hit, follow this FAQ.

OPTION # resolved the issue of the CAPTCHA not working, which was:
3) check template folder //includes/modules/YOUR_TEMPLATE/create_account.php and delete it if no other mods modified it.. then check the same file in //includes/modules/create_account.php and replace with a new one from a clean zc155e..

Respect!

27 Apr 2019, 10:32 AM
#29
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Spam - fake customers

ianhg:

@davewest sorry to be a pain.. I noticed when testing this on one site if I answered the contact page correctly then went to the create account page incorrectly it went through, so would this be a caching issue with the browsers? Also once logged in then went to the contact us page the email went through even though the slider was incorrect. Is there a way of stopping caching on the contact us page?
@davewest Both sites working well, thanks

26 Jun 2019, 1:16 PM
#30
toyseller avatar

toyseller

Zen Follower

Join Date:
Jun 2008
Location:
UK
Posts:
209
Plugin Contributions:
0

Re: Spam - fake customers

ZC154 - Responsive Sheffield Blue template

Having problems with fake customers with http in the name and Ukraine being set up in the Country
(although Ukraine isnt listed as an option in the pull-down list for customers to select) ... it is set to a red button in "Locations/Taxes"/Countries.

Please could you tell me what to change this line to ...

public_html/includes/templates/template_default/templates/tpl_modules_create_account.php

Line #57 : <?php echo zen_draw_input_field('firstname', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_firstname', '40') . ' id="firstname"') . (zen_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="alert">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?>

public_html/includes/templates/responsive_sheffield_blue/templates/tpl_account_edit_default.php

Line #35 : <?php echo zen_draw_input_field('firstname', $account->fields['customers_firstname'], 'id="firstname"') . (zen_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="alert">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?>

I have 5 similar lines in my website coding but Im assuming that only one or both of the above will need changing
The other 3 are in files ...

public_html/includes/templates/template_default/templates/tpl_account_edit_default.php
public_html/includes/templates/template_default/templates/tpl_modules_address_book_details.php
public_html/includes/templates/template_default/templates/tpl_modules_checkout_new_address.php

Apologies, Im not a coder but can change the code.

Have blocked a Ukraine, Finnish, German and Australian range of isps ... trying to shake off this person.

3 Nov 2019, 5:12 PM
#31
loveseesallcolors avatar

loveseesallcolors

New Zenner

Join Date:
Sep 2018
Location:
Minneapolis, Minnesota USA
Posts:
9
Plugin Contributions:
0

Re: Spam - fake customers

To bad Zen Cart members couldn't band together, pay a hacker a fee, and have the hacker go after these spammers. Reverse spam them if you will. Clog their servers. Denial of Service Attack. Give them a taste of their own medicine...times 2. Just saying :)

4 Nov 2019, 7:05 PM
#32
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,885
Plugin Contributions:
20

Re: Spam - fake customers

The problem is that the IP can easily be manipulated resulting in the wrongly accused being persecuted.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

4 Nov 2019, 9:15 PM
#33
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Spam - fake customers

loveSeesAllColors:

To bad Zen Cart members couldn't band together, pay a hacker a fee, and have the hacker go after these spammers. Reverse spam them if you will. Clog their servers. Denial of Service Attack. Give them a taste of their own medicine...times 2. Just saying :)

 	 	 	   Spam.. The art of sending ads to all and anyone you can.  After all, you want someone to buy from you right!  Constant Contacts, Google ads and other paid services are costly, the kid next door would do it for less and we call him out for spamming!  What about the others?  

The art of spam! You code to send ads, I code to stop ads, I learn form that which I just stopped! I code to send better ads, you code to stop better ads, you learn more… the cycle continues… After all, is it not the idea to get your ads around the wall whale others are still learning! So they buy from you not me!

Now if we all stopped buying from ads, would we still get spammed! Or would it just make it easier to get my ads in first…

So, if you already paid someone for sending ads, then you already clogged their servers if they didn’t learn to block the spam!

Just wanted to toss that out, for spamming is not hacking!

Dave
Always forward thinking... Lost my mind!