Skip to main content

Posts

Showing posts from March, 2016

How to remap exe to another exe file??? (Image Hijack)

Do you ever wonder how can you map one exe file to another exe file ?? For example, if you try to open calc.exe then it will open cmd.exe automatically.

You can easily do it by executing a simple batch program and can read the inline comments in the code to understand the code.











Image Hijack Code

@echo off Rem For any doubts please visit www.secsavvy.com. Rem Purpose: to remap a exe to another exe file. Rem It is used for commenting in Program. Rem Echo off means you dont want to display prompt like "C:". Rem to insert blank line Echo. Rem It displays the text on cmd. Echo Image Hijack Program Echo -------------------- Echo. Rem It will set the title of window. Title Image Hijack v 1.0 by Ayush (www.secsavvy.com) Echo. Echo 1. Remap a exe Echo 2. Delete previous entries Echo. Echo Enter your choice(1/2): Rem This command it set the variable "exename" to the value entered by user. Rem For more info type set /? in cmd SET /P option= Rem goto transfer the control …