I have developed this tool a few years ago and only recently i have made it available for download. Basically IFEO is the abreviation of Image File Execution Options, a registry key that allow the blocking of executables by name.
Here is the thread where it can be downloaded:
http://dubioushacker.xobor.com/t928623f ... chine.html
Here is the source code, i wonder if anyone has some tips on how to improve it...
Code: Select all
@echo off
@title IFEO Tool
:start
echo .....................................................
echo . IFEO Tool .
echo . .
echo . Block EXEs from running in the machine .
echo . .
echo . (This program requires admin privileges to run) .
echo .....................................................
echo (1) Add registry key .
echo (2) Remove registry key .
echo .....................................................
set /p choice=Choose what you like to do (1/2) :
if "%choice%"=="1" goto 1
if "%choice%"=="2" goto 2
cls
goto start
:1
cls
echo .....................................................
echo . IFEO Tool .
echo . .
echo . Block EXEs from running in the machine .
echo . .
echo . (This program requires admin privileges to run) .
echo .....................................................
set /p id1="Write EXE: "
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\%id1%" /v Debugger /t REG_SZ /d "ntsd -d" /f
pause
cls
goto start
:2
cls
echo .....................................................
echo . IFEO Tool .
echo . .
echo . Block EXEs from running in the machine .
echo . .
echo . (This program requires admin privileges to run) .
echo .....................................................
set /p id1="Write EXE: "
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\%id1%" /f
pause
cls
goto start