Reminds me of what some malware does. One malware "Betabot" would pretend to be a Microsoft program and ask users to click yes [0]. It is claimed it would work 80% of the time which isn't surprising if users have the ability to escalate the privilege. Not the most subtle approach to escalate privilege of course.
[0] https://www.ic3.gov/Media/PDF/Y2013/PSA130918.pdf