Hi Chris,
Thanks for the sharing but I could not see what decoded password will be after replacing the string? I think if you share default password of imperva user at here, it will be better for not to seek another place.
In addition, there is another way for changing password of imperva user for versions lower than 12.0 below:
To change this password:
1. Login with user imperva and default password "secure" (or imperva user's current password) to gw's IP port 443 -->
https://10.1.1.10:443/
2. In the menu (see below), select change gateway's login password.
Internal Gateway functions:
* View the Gateway's status file
* View the Gateway's counters (user-space)
* Generate a Gateway dump
* Set Log Level to warning
* Set Log Level to debug
* Log configuration updates
* Don't log configuration updates
* Log events
* Don't log events
* Log auditor requests
* Don't log auditor requests
* Change the Gateway's login password
* Configuration Manager Page
* Request full configuration from the Server
--------------------------------------------------------------------
Viewing external file on the Gateway:
* The Hades proc directory
* The Gateway's working directory
NOTE:You will need to re-register all agents and type in the new password. ------------------------------
cezmi çal
technical expert
Barikat Cyber Security
------------------------------
Original Message:
Sent: 10-30-2019 15:10
From: Christopher Detzel
Subject: ⭐Imperva Insights: Reset Imperva GW user to default password for versions lower than 12.0
Hello Impervians!
For today's #impervainsights we wanted to add to the insight we shared on Monday, how to reset your Imperva GW user to default password for versions 12.0 and above, and share the step-by-step process for versions lower than 12.0.
How do you reset an Imperva GW user to default password? (For versions lower than 12.0)
What do our product experts have to say?
1. Connect to the Gateway via SSH using root account.
2. Before any changes, make a backup of the existing configuration.
cp /opt/SecureSphere/etc/bootstrap.xml /opt/SecureSphere/etc/bootstrap.xml.old
3. Modify the file (/opt/SecureSphere/etc/bootstrap.xml) using an editor such as VI.
Replace the current password string with the string below:
<users>
<user name="imperva"
password="j6UY/4PIpaqDLBBsH78f1RGU72/wahBqz12P2suryCIVKy8RwxQRg5KZyo0/a/pFEb8TXVBFt9+NB8sHn0aouw==" type="2"/>
</users>
4. Save the file.
5. Restart the Gateway.
impctl gateway restart
6. After restart is completed, check the gateway to make sure it's in running state
impctl status
[root@GW~]#impctl status
gateway registered, running
watchdog running
NOTE: You will need to re-register all agents and type in the new password.
What additional On-Prem tips and tricks that you have found useful?
#On-PremisesWAF(formerlySecuresphere)
#AllImperva
------------------------------
Christopher Detzel
Community Manager
Imperva
Dallas TX
------------------------------