With the help of the Web Application Firewall module, the admin can secure the web store from hackers. The admin can restrict any particular file type to get uploaded on the website and can ban the website for any country and IP address.
The admin will get notifications of any brute force attack. Validation for the customer email address option is available.
Features
- Admin can enable the unrecognized login notification.
- Master Password feature to block all sub-users accounts.
- Allow admin to get each file upload notification in the system.
- Admin can prevent file types to be upload.
- Ban any country from login into the admin panel.
- Admin can prevent the admin panel from Brute Force attack.
- Brute force logs available to admin.
- Admin blacklist/whitelist IPs.
- AbuseIPDB integrated to block and report IP.
- Mailboxlayer integrated to validate emails for customers.
- Admin can enable real-time email validation for customers.
- Admin is allowed to create custom email templates for each action.
Installation
Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.
After the successful installation, you have to run these commands in the Magento2 root directory.
First Command –
php bin/magento setup:upgrade
Second Command –
php bin/magento setup:di:compile
Third Command –
php bin/magento setup:static-content:deploy
After running the commands, you have to flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below.
Multilingual Support
For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which admin want to translate his store content).
Module Translation
If you want to translate their module language from English to German then follow the path src/app/code/Webkul/WebApplicationFirewall/i18n in their unzipped Magento2_customer_credit_system folder. Then you will get a CSV file with the name “en_US.csv”.
Now, rename that CSV as to your region code and language code “de_DE.csv” and translate all right side content in your language.
After editing the CSV, save it and then upload it where you have installed Magento 2 on the server.
The module will get translated into your desired Language. It also supports RTL and LTR languages.
Admin Configuration
General Setting
The admin needs to configure the following sections as mentioned below to integrate the web application firewall into the Magento 2 website.
Under the general setting section, the admin will configure the following fields:
- Enable Magento Security: The admin needs to select “Yes” for enabling the following Magneto 2 Security.
- Get Alerts about Unrecognized Admin Logins: The admin will get alerts each time admin logins through unrecognized means.
- Select CMS Page for Blocked IPs: The admin can select the CMS pages for IPs that are blocked by the user.
Send Password Reset Request
If the admin selects this option, all the sub-admin or users will be blocked and will be shared an email with the reset password link.
Malicious File Security
The admin will be able to secure the website from malicious files by configuring the following as mentioned below.
- Get Notification if Any File Uploads by Magento: The admin will get the notification for all the files uploaded on the Magento website.
- Prevent Uploading File With Extension(s): Add the extensions that you want to prevent uploading on your website or want to get a notification for after the upload.
- Receive File Malicious Notification on Email Address: Set the Email Address on which the notification will be shared when the malicious file is uploaded.
Enable Country Ban
The admin can even configure to ban the country where the admin panel will not be accessible as mentioned below.
- Enable: The admin can enable or disable this country ban functionality.
- Select Specific Countries: If enabled, the admin can select the country for which ban will be enabled.
IPs Allowed Setting
The admin will be able to configure the whitelisted and blacklisted IPs through the following fields as mentioned below.
- Blacklist IP(s): The admin will be able to list all the blacklisted IPs by mentioning them in the following section. The admin can even block IPs for the complete classes like 192.168.1.*, 101.22.*.*
- Whitelist IP(s): The admin will be able to list all the whitelisted IPs by mentioning them in the following section. The admin can even whitelist IPs for the complete classes like 192.168.1.*, 101.22.*.*
- Enable IP Debug Log: The admin will be able to maintain the debug logs for enabling IP.
Frontend Two Step Authentication
This functionality will allow the store owner to have two-step authentication for the login. The admin will be able to configure the following module:
- Enable Google Two Factor Auth: The admin can enable or disable the two-factor authentication.
- Enable “trust this device” option: If this option is enabled then you can set the trust device option.
Note: The trust this device will work with the HTTPS website only.
Protect Against Brute-force
The admin can configure the website against proxy login attacks by configuring the following sections as mentioned below.
- Enable: The admin enable or disable the proxy login or brute force
- Send Warning Emails To: Add the email address to which warning emails will be shared.
- Send Alert on Each Login Failed: To receive alerts on every failed login.
- Admin User Locked Alert: If enabled, the admin can send alert mail when an admin user is locked(Admin User Lock Setting: Advanced->Admin->Security)
Abuse IPDB
The admin can report IP abuse through the following module by configuring as mentioned below.
- Activate: The admin needs to activate the following section.
- API Key: Please add the API Key that you will get on creating the account on Abuse IPDB.
- Max Days: Enter the number of days between 1-365 to determines how far back in time we go to fetch reports.
- Report IPs If Brute Force Attempt Detected: If the proxy login attack is detected then the IP will be auto reported if enabled.
- Block IP Based on Abuse Confidence Score: The admin can enable IP block based on the confidence score of the abuse.
- Block IPs If Minimum Abuse Confidence Score: The admin can define the fixed score as to above which IP will be rejected.
Note: You need to signup for the Abuse IPDB and select a suitable plan. To know more, please visit the following link: HERE
MailBox Layered Email Verification
The admin can enable the mailbox real-time layered email address verification
- API Key: The admin can add the API keys as fetched on creating the account at mailboxlayer.com
- Enable for Customer: The admin can set the following mailbox to be enabled at the customer end.
Note: You need to select the plan for the MailBox layer. To know more visit the following link: HERE
Email Sender and Templates
The admin can set different templates that will be shared with the sub-user and admin in the following scenario as mentioned below.
The admin can select the sender to whom the notification will be shared and assign different template for different scenarios.
Admin Login Logs
All the admin’s login logs will be displayed under the following section as shown in the image below.
View Permissions
The admin will be able to identify the Magento store is on Production, Developer, and Default mode.
The admin needs to select the server hosting whether shared or private and based on the same the directories will be visible as shown in the image below.
The admin will be able to view all the files and their permission. The admin will get the status error if the permission is not ideal.
This will help the admin to optimize the file permissions and protect the websites for any vulnerability of the site.
Brute Force Login Logs
This section will display all the brute force login logs so that the store owner can view all the IP and their login URL, browser and even the login time details can be fetched.
This will help the admin to detect the frauds and can even report them or can blocklist the frauds.
Customer Front End
Email Address Validation
If the mailbox real-time layered email address verification is enabled for the customer then the customers have to enter a valid email address during registration.
If the valid email address is not added, the following error message will be displayed as shown in the image below.
Two Factor Authentication
If the admin enables the two-factor authentication then each time the customer will log in an OTP generated through the Google Authenticator is needed to be input for the login.
After the first time registration, the customer will navigate to the dashboard where the customer will register for two-step authentication as shown in the image below.
On registering, the customer will be navigated to the QR code page where the customer will scan the QR through the Google Authenticator. Please check the below screenshot
After the authentication, the customer will add the OTP in the respective field. The OTP valid notification will display as shown in the image below. The customer can now enable or disable Google Authentication
If Two Factor Authentication is enabled, the customer will visit the OTP section again. The customer can now choose to add the device as a trusted device. If selected, the customer does not have to scan the QR code.
So, that’s all for the module, for any question/query, please raise a Ticket at our HelpDesk system. We are always happy to help you out. You can also get back to us via mail support@webkul.com.