# Gaining access inside the Windows RDP

Now I'm in the windows RDP. I try to open the root.txt to see what it was saying

![](https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FqyRPcRJC8oew6B82AbyF%2FInitially%20i%20dont%20have%20access%20to%20view%20root%20file.PNG?alt=media\&token=a3fbe3c1-52e7-40dc-baa5-e2745c0b5ffe)

Clearly not the owner and I dont have permissions.

![](https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FJ5GV9AGeOSelTWOx75wc%2Fgot%20admin%20privileges%20on%20the%20account%20now.PNG?alt=media\&token=b4db6ad2-a86f-4a47-b052-562f1b46387e)

Checked what permissions the nekrotic account had

![](https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FvKJfar2KNyq8PIN27v79%2Fchanging%20my%20permissions%20so%20I%20can%20look%20at%20the%20file.PNG?alt=media\&token=c702f601-84da-4c56-a08b-08d80defcd97)

Chaning the properties and ownership of the file to include nekrotic.

![](https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2Fkf7QtUbMdlMhesbXZNwu%2Fgiving%20account%20all%20the%20permissions.PNG?alt=media\&token=822f414a-cf89-4a74-9c19-d697c30f76f3)

Giving Nekrotic full control.

![root flag](https://2022164620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtzurpgroDJSMn9AFVmQP%2Fuploads%2FkZnJuLNHXGdHrRMJO4AA%2Froot%20flag.png?alt=media\&token=e90a2bb2-fe28-4c07-a954-ba12c20faede)
