So, first thing first, we had some trouble with a ransomware getting into our file server, encrypting everything. The shadow copy was on a different drive, and crypto missed that, so we have a copy from everything.
We have copied the infected server to a sandbox for further testing, and restored the server from a previous backup.
Since the guys who have configured the servers left the company in a “hurry”, and we didnt really had the time to get familiar to this system, we kinda missed the check the permissions part. That was a huge mistake.
There is a shared folder, lets call it A, with only 1 AD group permission, everything else is removed, including SYSTEM. Owner is BultIn Administrators.
The data we restored from the backup is missing files ( because of the insufficient permissions… )
We have to restore the shadow copy from the infected server, (we cleaned the executeable parts of the ransomware, so it is not running anymore, theoretically)
What we tried is:
Mounting the VSS in every way
Restoring with a local user in Administrators group
Restoring the shadow copy as Builtin Administrator and System
Copying a DC under the Sandbox and desperately trying to force the Fileserver to communicate with it ( no luck )
We are still trying to somehow mount VSS under linux
Is there any way to remove the permissions, or restore the files?