i applied already the two patches SUPEE-5344 and SUPEE-1533, but how do i check, or how do i know my site and files are not already infected?
Thanks in advance.
i applied already the two patches SUPEE-5344 and SUPEE-1533, but how do i check, or how do i know my site and files are not already infected?
Thanks in advance.
You can check your website is VULNERABLE to the above bug at https://shoplift.byte.nl.
There are three things you can quickly check:
You can confirm your site has been successufully patched from the following site directly. http://magento.com/security-patch
Enter your store url & change admin path and then click on Test button.
And also you can check successfully patched list in your app/etc/ folder
For more information go for this post https://magento.stackexchange.com/a/64082/24348
There is no easy way to check if anything changed on your site. I learned from this, to put the whole magento into my git, not only the non-core files.
If you have everything in git, git status shows you all changes. If you don't use any version control yet, it is time to change this, and diff all your files agains originals downloaded freshly from magento.
I too recommend using Magento Shoplift Bug Tester v1.0 to check if your site is vulnerable. (As mentioned by others)
I would add to that a nifty trick to find recently modified files:
find . -type f \( -iname \*.php -o -iname \*.js \) -mtime -14 -exec stat -c "%n %y" {} \;
Above command will find all PHP and JavaScript files that have been modified within the last two weeks.
(Source: How to find recently modified files)
Oftentimes, compromised sites will have critical files modified to capture credit card data and other sensitive information.