/The-Good-Bad-Code

Pushing the limits of bad programming practices. Abusing APIs. Destroying utility programs.

Primary LanguageAssembly

The-Good-Bad-Code

Pushing the limits of bad programming practices. Abusing APIs. Destroying utility programs.

Table of Contents

ForceAdmin.asm

Abuseses the fact that UAC prompt (consent.exe) doesn't allow the user to do anything besides answer the question. We can see what the user presses. If they don't select yes, then we keep looping until they accept. This endless loop traps the user and "forces" them to click yes.