flat assembler
Message board for the users of flat assembler.

Index > Heap > Breaking windows task manager

Author
Thread Post new topic Reply to topic
Pinecone_



Joined: 28 Apr 2008
Posts: 180
Pinecone_
I was writing a project the other day, and experimenting with .manifest files, i found that a blank .manifest file would cause an error message and prevent the application from opening. I then began wondering what would happen if every application in system32 folder, and explorer.exe and taskmgr.exe had these blank manifest files, so i wrote a batch script to test it:

Code:
cd %systemroot%
set /p =<nul>explorer.exe.manifest
set /p =<nul>taskmgr.exe.manifest
cd system32
for %%x in (*.exe) do if not exist "%%x.manifest" set /p =<nul>"%%x.manifest"    

(Note the above is intended for a batch script, not to be run in cmd.exe directly)

after running that, i then rebooted and found, unsurprisingly that windows no longer worked. booting to safe mode, or even safe mode with command prompt no longer worked at all.

anyway, after i fixed it through booting to ubuntu (thank god for dual booting Smile ) i booted back to windows again and just made the manifest for task manager, and found that task manager no longer worked when i tried to open it, i don't even get an error message. after testing this on a heap of computers at school, the results are the same.

i was hoping someone could test this on some other versions of windows, particularly vista and windows 7 and see if they have this problem too. maybe a report to microsoft should be submitted, as this could be considered a security issue, couldn't it?
Post 28 Apr 2009, 03:46
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17271
Location: In your JS exploiting you and your system
revolution
I doubt it is a security issue. You need to be an admin to mess about in the system folders. So if you are already an admin then you have full control and can do whatever you want anyway.

But more to the point, if you deliberately try to break something then don't be surprised when it breaks!
Post 28 Apr 2009, 05:26
View user's profile Send private message Visit poster's website Reply with quote
asmcoder



Joined: 02 Jun 2008
Posts: 784
asmcoder
[content deleted]
Post 28 Apr 2009, 10:24
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.