logcomptechs Posted March 29, 2009 Share Posted March 29, 2009 Wondering if anyone had any ideas on how to overload a .exe and crash it. I do not want to use ProcessClose and I was looking into _WinAPI_WriteProcessMemory but not sure how to use it. If anyone else has any ideas that would be awesome. Thanks! Link to comment Share on other sites More sharing options...
sias Posted March 29, 2009 Share Posted March 29, 2009 Wondering if anyone had any ideas on how to overload a .exe and crash it. I do not want to use ProcessClose and I was looking into _WinAPI_WriteProcessMemory but not sure how to use it. If anyone else has any ideas that would be awesome.Thanks!Why exactly are you wanting to do this? What legit reason could you possibly have for wanting to crash an .exe? "The true measure of a man is how he treats someone who can do him absolutely no good." Link to comment Share on other sites More sharing options...
logcomptechs Posted March 29, 2009 Author Share Posted March 29, 2009 Why exactly are you wanting to do this? What legit reason could you possibly have for wanting to crash an .exe?To recreate a error, for testing purposes, but I am not sure how to make it crash every time. Was thinking about filling up the memory with random numbers or something, but I do know. Link to comment Share on other sites More sharing options...
Xand3r Posted March 29, 2009 Share Posted March 29, 2009 search the forum... it's been done before Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
Yashied Posted March 29, 2009 Share Posted March 29, 2009 Wondering if anyone had any ideas on how to overload a .exe and crash it. I do not want to use ProcessClose and I was looking into _WinAPI_WriteProcessMemory but not sure how to use it. If anyone else has any ideas that would be awesome.Thanks!http://www.autoitscript.com/forum/index.php?showtopic=90837 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 29, 2009 Share Posted March 29, 2009 The problem with trying to crash an application is that it really depends on the application itself. Many applications will prevent out-of-process memory writes. Why not figure out what is causing the crash and then tracing the program through that kind of problem. Link to comment Share on other sites More sharing options...
monoceres Posted March 29, 2009 Share Posted March 29, 2009 Use CreateRemoteThread and pass NULL as the start address of the new thread. Should crash most apps. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
logcomptechs Posted March 29, 2009 Author Share Posted March 29, 2009 Thanks for all the suggestions guys!Use CreateRemoteThread and pass NULL as the start address of the new thread. Should crash most apps.Where is this found in the Help File? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 29, 2009 Developers Share Posted March 29, 2009 Thanks for all the suggestions guys!Where is this found in the Help File?nowhere.... SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
logcomptechs Posted March 29, 2009 Author Share Posted March 29, 2009 Did not think so, been looking couldn't find anything even close to that. Any other suggestions? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 29, 2009 Developers Share Posted March 29, 2009 Did not think so, been looking couldn't find anything even close to that. Any other suggestions?Why would you even think it should be in the helpfile?The Helpfile is about explaining AutoIt3, its Keywords, Functions and Standard UDF's , not about crashing programs which is questionable in the first place as far as I am concerned.Jos SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
monoceres Posted March 29, 2009 Share Posted March 29, 2009 Did not think so, been looking couldn't find anything even close to that. Any other suggestions?http://www.autoitscript.com/forum/index.ph...ateRemoteThreadLots of post containing info about using CreateRemoteThread. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
logcomptechs Posted March 29, 2009 Author Share Posted March 29, 2009 DllCall("binkw32.dll", "int", "CreateRemoteThread", "null","null")I did that, but it does not do anything, any thoughts? Link to comment Share on other sites More sharing options...
Authenticity Posted March 29, 2009 Share Posted March 29, 2009 HANDLE CreateRemoteThread( HANDLE hProcess, // handle to process to create thread in LPSECURITY_ATTRIBUTES lpThreadAttributes, // address of thread security attributes DWORD dwStackSize, // initial thread stack size, in bytes LPTHREAD_START_ROUTINE lpStartAddress, // address of thread function LPVOID lpParameter, // address of argument for new thread DWORD dwCreationFlags, // creation flags LPDWORD lpThreadId // address of returned thread identifier ); It's failing to preform the call so it's not calling anything, and 'null' is meant to be [type:value] 'ptr', '', I guess. Link to comment Share on other sites More sharing options...
Yashied Posted March 29, 2009 Share Posted March 29, 2009 http://www.autoitscript.com/forum/index.php?s=&showtopic=26849&view=findpost&p=190906 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Valuater Posted March 29, 2009 Share Posted March 29, 2009 Why would you even think it should be in the helpfile?The Helpfile is about explaining AutoIt3, its Keywords, Functions and Standard UDF's , not about crashing programs which is questionable in the first place as far as I am concerned.Jos@monoceres and Authenticity.... Why would you even think it should be in the helpers/MVP's spectrum!... after a post like that from JosI could see this one from the start! Threads like this can create MORE problems with malicious programs and Anti-Virus companies... There is enough problems already, That I am fighting everyday!Yes, EVERYDAY!8) Link to comment Share on other sites More sharing options...
Valik Posted March 29, 2009 Share Posted March 29, 2009 Come on guys, use your brains. Here's your first clue: Arbitrarily crashing a program is not the same thing as reproducing an error rendering the whole idea pointless. Anyway, thread locked, we don't need this shit discussed here. Link to comment Share on other sites More sharing options...
Recommended Posts