EUD exe
Jan 10 2014, 12:17 am
By: iCCup.xboi209  

Jan 10 2014, 12:17 am iCCup.xboi209 Post #1



So I'm interested in running an .exe file located inside a map....where would I start?(yes I know I need EUD actions and already know the basics of EUDs)

Post has been edited 1 time(s), last time on Jan 10 2014, 12:23 am by iCCup.xboi209.



None.

Jan 10 2014, 1:21 am Roy Post #2

An artist's depiction of an Extended Unit Death

This has been discussed on a theoretical level, but as far as I know nobody has actually come up with a solution for running an executable through EUDAs. I can immediately see potential permissions issues depending on the current player's OS for running an executable through another program (SC), let alone actually finding a way to write values to cause the execution to happen (just pointing at the .exe file wouldn't be enough, would it?).

What executable is in the map that you want to run? It's more than likely what you want to accomplish can be done more easily and reliably through a mod.




Jan 10 2014, 2:30 am trgk Post #3



It's possible,. EUD is powerful enought.
Change return address at stack to location of your shellcode with EUD.
Your shellcode should be located in executable region, which won't be that hard to find. (ex : STR Section - SMemAlloc sucks)
It's even possible to merge DLL into your map. (MPQ has 512 byte boundary, so put your vector map behind some DLL and rename it to .scx.)

But it seems very undesirable for the map I'm playing to execute some kind of shellcode.
Map shouldn't do anything what I wouldn't expect. (EX : Saving game by changing computer registery or rwing file or something, Self-injecting mod plugin, ...)

Post has been edited 1 time(s), last time on Jan 10 2014, 9:13 am by trgk.



EUD

Jan 15 2014, 3:18 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

I would think you need to know assembly, but that's about all I can come up with. Heinermann probably knows more about starcraft than anyone else, so he would be the one to ask. I think he was the one who initially found that eud actions could run an exe file.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: Symmetry, Rawflesh0615