I mean, you can easily bypass the UAC dialog by duplicating the token of a already elevated process. Here is an example of this I saw before in powershell: https://gist.github.com/tyranid/9ffef5962a642d4a1bb8e4ee7e3b...
0: https://www.reddit.com/r/netsec/comments/6e1uft/a_poc_demons...