Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Force 'Run as Admin' - ResHacker

Prerequisites:
ResHacker - http://www.angusj.com/resourcehacker/
RAT/Keylogger/File Stub

Tutorial:
Step One:
Once ResHacker has been installed, open it up.
Hit File -> Open, and choose the file you want to be forced to run as admin.
Depending on your version of ResHacker, it should look like this:
Spoiler (Click to View)

Step Two:
Next we are going to need to add a Manifest. Go ahead and hit this button:
Spoiler (Click to View)
From the dropdown choose "MANIFEST" then hit "Add Resource"

Step Three:
Scroll to the bottom of the new resource and before "</assembly>" add this:
Code
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
      <security>
      <requestedPrivileges>
      <requestedExecutionLevel
      level="requireAdministrator"
      uiAccess="false"/>
      </requestedPrivileges>
    </security>
   </trustInfo>

Note: Some crypters add the Manifest, so you can just edit the one already added by the crypter instead of adding one.


Step Four:
Hit the green arrow to add the Manifest to the .exe and then save the file. All done!

Edit:
(Jul 7, 2015 12:12 PM)FractumSeraph Wrote:  Replace "requireAdministrator" with "highestAvailable".

If the user is an admin, it will ask for admin rights. If the user is not, it will run normally.
Thanks! Works really good when i need victims to be admin ;)
Add me for free mentoring/help with ewhoring! ιиfσgα (herraman)#3900

nice tut, i think it must be renamed "Force 'Run as Admin' request - ResHacker"
nice tut but its not working for me

the application is failed to start because the app configuration is incorrect

any solution?
(Jul 4, 2015 09:10 PM)spleken001 Wrote:  nice tut but its not working for me

the application is failed to start because the app configuration is incorrect

any solution?

Upload your file to musleisbad.science and PM me the download link. I will tell you what you did wrong.
Nice tutorial, thanks for sharing!
Just a question, if i make this ADMIN. On Win8 will it byapass the SmartScreen or will it ask for permission? Thanks :)
Add me for free mentoring/help with ewhoring! ιиfσgα (herraman)#3900

(Jul 6, 2015 10:52 AM)ιиfσgα Wrote:  Just a question, if i make this ADMIN. On Win8 will it byapass the SmartScreen or will it ask for permission? Thanks :)

SmartScreen is just a warning. Not sure how to bypass it, but no.
Try removing ZoneID to bypass SmartScreen.
Damm well thank you very very much, works great!
[Image: 6r1GRmb.gif]
Glad this is useful to you guys.
I may use this in the near future, thank you.
What if user on the Computer isn't Administrator?
Add me for free mentoring/help with ewhoring! ιиfσgα (herraman)#3900

(Jul 7, 2015 11:02 AM)ιиfσgα Wrote:  What if user on the Computer isn't Administrator?

Then they won't be able to execute it. The best use of this is to send it to already User infected clients, hoping they will hit "Yes" on the Admin dialog.
Replace "requireAdministrator" with "highestAvailable".

If the user is an admin, it will ask for admin rights. If the user is not, it will run normally.
[Image: otioqRQ.png]
(Jul 7, 2015 12:12 PM)FractumSeraph Wrote:  Replace "requireAdministrator" with "highestAvailable".

If the user is an admin, it will ask for admin rights. If the user is not, it will run normally.

I added this to the OP. Thank you.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Soul CollectorOct 17, 2017 02:04 AM 132 3,000 Oct 17, 2017 02:04 AM
Last Post: uxsawsan
by UltimatePeterFeb 14, 2014 11:18 AM 6 703 Feb 14, 2014 11:18 AM
Last Post: cyphex183
by mafia_manMar 29, 2013 08:16 PM 1 229 Mar 29, 2013 08:16 PM
Last Post: sasue11