aeSecure - QuickScan
PHP script to install on your site (preferably in localhost for better performance) to scan files for viruses.
aeSecure QuickScan already RECOGNIZE MORE THAN 45.000 VIRUSES (November 2018) and use whitelist hashes to avoid to scan WordPress and Joomla native files (all versions). Thanks these hashes aeSecure QuickScan already detect more than 700.000 files as healthy.
----> Installation: you just need to get a copy of
aesecure_quickscan.php and nothing else; please read installation guide.
Table of Contents
aeSecure QuickScan will automatically download the files he needs, so the only thing you need to do is get a copy of the file
aesecure_quickscan.php and nothing else.
- Click on the following link to open the file in a new window: get a copy of the script
- Save the file at the root of your website (preferably a local website for performance reasons)
Note: you're not obliged to name the file aesecure_quickscan, you can f.i. name it
In principle, you do not need to recover any other files, only the script
aesecure_quickscan.php is sufficient.
So, in the root folder of your website, you've the
aesecure_quickscan.php file (or
scan.php). To run it, just start a browser and access the file by URL f.i.
When the interface is displayed
aeSecure Quickscan will automatically download three or four files:
aesecure_quickscan_lang_en-GB.json(can also be fr-FR or nl-BE) which is the file for your language. The preferred language will be detected from your browser's configuration;
aesecure_quickscan_pattern.jsoncontains configuration's items for the scanner;
aesecure_quickscan_supported_cms.jsoncontains a list of CMS software recognized by the scanner.
If your website is running a supported CMS like f.i.
Joomla and a supported version, a file called
aesecure_quickscan_XXXXXX.json will be downloaded (where
XXXXXX is f.i.
If something goes wrong with the automatic download (no
CURL support f.i.), you'll be prompted to download these files manually.
When 'Getting the file list' is fired
aeSecure Quickscan will automatically three or four more files:
aesecure_quickscan_blacklist.jsoncontains md5 hash of viruses;
aesecure_quickscan_edited.jsoncontains md5 hash of files where viruses have been added;
aesecure_quickscan_other.jsoncontains md5 hash of files that are considered as cleaned (like well known Joomla's components);
aesecure_quickscan_whitelist.jsoncontains md5 hash of files that are considered as cleaned (manually processed file by file by Christophe, author of QuickScan);
Discover the interface
A few things:
- If the website is running a supported CMS, his name and version number will be displayed at the top the interface (this also means that a .JSON file has been downloaded for that CMS and that version),
- You have an extended menu at the left side of the interface. Click on the hamburger icon to show it,
- A few texts statements are displayed (click on the
xicon to close them) and,
- The interface has mainly four action buttons:
- Clean the cache and temp folders
To improve speed of the scan,
/temp folders will be first emptied.
You need to click on this button first.
- Getting the file list
Before starting the scan, QuickScan needs to know how many files he needs to scan. The
Getting the file list action will get the list of all files of your site and all whitelisted files will be ignored. A whitelisted file is a file that QuickScan knows he's clean. How? Because the md5 hash of the file is mentioned in a whitelist file like the
aesecure_quickscan_J!3.9.0.json (or any other whitelist files).
In other words:
Getting the file list will only retrieve files that need to be scanned. In a fresh Joomla or Wordpress installation, you'll have a very few files to scan since the native, core, files are whitelisted (if unchanged of course).
As you can see here below, on a fresh installation of Joomla 3.9.0, the number of files to scan is: zero. This because nothing was added to the site and thus 100% of files are in our whitelist.
- Scan the site
Remaining files will be scanned and if something is found based on
- our patterns (stored in
- our blacklist hash (
- our edited hash (
Then the file will be displayed and you'll be able to whitelist him (if the file is clean (i.e. false positive)), ignore the file (just close the item) or kill the file.
Note: you can kill the file only when you're running in the expert mode of QuickScan.
- Remove this script from the server
Once you've scanned your site; don't forget the kill the
aesecure_quickscan.php script and all related JSON files. The
Remove this script button will do this for you.
By clicking on the hamburger icon at the top left of the interface, you'll show a menu where, f.i., you can enable the expert mode.
In that mode, you'll be able to specify a path (like making a scan of a subfolder) and you'll be able to kill a detected file. A
Delete this file button will be displayed in the scan results.
You'll have another options: