DeepSurface: Resetting the DSADMIN password

Documentation
Installation Guide
Overview
Let DeepSurface Host For You
Getting Started
System Requirements
Self Hosted Quick Start - Installing to Cloud Platforms
Self Hosted - Installation Using an OVA
Registration, Package Installation, and Initialization
First Steps After Initialization of the Console
Deployment Options
Main and Subordinate Consoles
Agent-Based Deployment
User Managed Scan Deployment
Credentialed Scanning Deployment
Mixed Environment
Deployment Tools
Active Directory Group Policy
Microsoft Endpoint Configuration Manager (part of InTune)
Tanium Deploy
HCL BigFix
Ivanti
Virtual Machines
VMWare
Virtual Box
VirtualBox Guest Additions
AWS EC2 (BYOL)
AWS EC2 (Usage Based)
Azure Cloud
Google Cloud
Additional Items to Consider
Main Console Server Certificates
LDAP
TOFU
Clock Sync
DeepSurface Commands
Multiple Vulnerability Sources
API Documentation
User Guide
Reporting
Dashboards
Exports
Risk Insight
Hosts
Patches
Vulnerabilities
Vulnerability Instances
Users
Remediation Workflow Manager
Plans
Settings
Integrations
Workflow
Exporting
Accepted Risk Plans
Accepted Risk Workflow
Explore
Model
Paths
Activity
Tasks
Configuration Alerts
Scan Logs
Notification Settings
Scanning
Status
Agents
User Managed
Credentialed Scanning Settings
Credentials
Scan Groups
General Settings
Cloud Scanning
Network Connectivity
Subordinates
Vulnerability Sources
Setup
Sensitive Assets: Polices
Sensitive Assets: Manual
Admin Settings
SMTP Settings
Certificates
Outbound Proxy
Authentication Providers
Users
Tags
Integrations Guide
Vulnerability Sources
CrowdStrike Spotlight
SentinelOne
Carbon Black Cloud
Microsoft Defender for Endpoint
Wazuh
Lansweeper Cloud
Nessus API
Tenable.io API
Security Center/Tenable.sc API
Rapid7 InsightVM API
Qualys API
Nozomi Guardian
Eclypsium
AWS Inspector
Remediation
Jira Software
Tanium (BETA)
Authentication Providers
LDAP (Active Directory)
SAML (Azure Active Directory)
SAML (Google)
SAML (Okta)
PAM
CyberArk
Delinea (Thycotic)
Microsoft LAPS
Security Guide
Firewall Configuration
Base Network Requirements
Agent Network Requirements
Credentialed Scanning Network Requirements
API Network Requirements
How DeepSurface Scans Work
Domain (LDAP) Scanning
Host Scanning Routine
Reasons for the Administrative Access Requirement
Endpoint Protection Considerations
Other Items
Scope of Data Storage and Retention
IPS/IDS Considerations
Logging
Resetting the DSADMIN password
Product Information
Changelogs
Open source Licenses
End User License Agreement (EULA)

The DeepSurface RiskAnalyzer is built on the Linux operating system, using Ubuntu 20.04, Focal Fossa. As such, the resetting of any user’s password on that platform when the root password is unknown requires booting the system into what is known as ‘single user mode’.

You must have direct access to the keyboard and console attached to the DeepSurface appliance, or equivalent ‘console’ access to effect this procedure. It cannot be done over the network via SSH.

  1. The first step is to reboot into the GRUB menu. GRUB is the ‘Grand Unified Boot’ loader that marshals up the Ubuntu kernel and provides the basic bootstrapping code that allows the file system and other Ubuntu utilities to run. Keep pressing SHIFT as the system boots for the GRUB menu to show up. Next, while your Ubuntu boot menu is highlighted press 'e' to edit the Grub’s boot prompt.

Reset dsadmin password

  1. Using your navigational arrows locate the line containing the following string ro quiet splash $vt_handoff.

Reset dsadmin password

  1. Replace the string ro quiet splash $vt_handoff with the following text: rw init=/bin/bash. Once you have made the change press F10 or Ctrl + x to initiate the regular boot sequence.

Reset dsadmin password

  1. After the successful boot you should be welcomed with a root’s shell without a need to enter the root password

  2. Confirm that the root (/) partition is mounted as rw. To do so execute the command mount | grep -w /. You will see the status of the root partition as (rw, realtime) as shown below:

Reset dsadmin password

  1. At this point we are ready to reset the dsadmin password. To do so simply execute the command passwd dsadmin and follow the prompts.
  2. All done. Your dsadmin password should be now reset. All that remains is to reboot your DeepSurface appliance. To do so execute the command exec /sbin/init.