SysCheck for Zen Cart

SysCheck is a Zen Cart™ contribution which allows a shopowner to perform a quick system scan of their cart. It searches for vulnerabilities which could leave you open to attack and known artifacts of successful attacks.

Donate! Show your appreciation by supporting my efforts.

Relevance: Zen Cart™ 1.3.7 and forward

Current Version: 1.0.3

Support Thread: SysCheck Support Thread

Cost: Free, but donation appreciated

Location: Zen Cart Downloads page, under Troubleshooting Tools.

Download: Download SysCheck from the Zen Cart Downloads Page

FAQ: click here

osCommerce User? This is a Zen Cart page. Look at SysCheck for osCommerce for osCommerce help.


Overview:

SysCheck lists the following:
  • unique IP addresses that have been active in your admin
  • admin ids
  • php scripts in the images directory
  • directories with permissions other than 0x755
  • php files which include "eval" (this is an known exploit vector).
  • files with permissions other than 0x644


Access to SysCheck

SysCheck on Admin panel

SysCheck appears as a link at the top right hand corner of your admin panel.

SysCheck results on a hacked site

SysCheck Results

More Reading

Major Versions

  • 1.0.4 11/21/2009 - Skip log file writable test
  • 1.0.3 11/15/2009 - Look for scripts other than php; show hostname accessing admin.
  • 1.0.1a 09/21/2009 - Get admin dir name using dirname.
  • 1.0.1 09/19/2009 - In case of mod_php style installation, do more complete test for writability; report admin users and accesses.
  • 1.0 09/13/2009 - First Release

FAQ

Q: I'm getting eval matches on files I know are ok. How can I suppress these?
A: In the file admin/syscheck.php, look for the array $eval_ok_files. You can follow the pattern and add to this list as appropriate for the mods you have installed.

Q: I was hacked, and I deleted all the files SysCheck reported. Am I ok now?
A: NO! SysCheck is just a starting point. You need to follow all the recommendations in my blog post Recovering from a hack. In particular, you need to reload from a known good backup. If you don't and another file was tampered with (for instance, spammy links were added to your footer, or the credit card details are being recorded), you will never know it. You must restore from a known good backup.