Description
On an Ubiquiti UniFi controller, reads the system.properties configuration file and downloads the backup and autobackup files. The files are then decrypted using a known encryption key, then attempted to be repaired by zip. Meterpreter must be used due to the large file sizes, which can be flaky on regular shells to read. Confirmed to work on 5.10.19 - 5.10.23, but most likely quite a bit more. If the zip can be repaired, the db and its information will be extracted.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use post/multi/gather/ubiquiti/unifi_backupmsf undefined(unifi_backup) > show actions ...actions...msf undefined(unifi_backup) > set ACTION < action-name >msf undefined(unifi_backup) > show options ...show and set options...msf undefined(unifi_backup) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub