Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Need help with anti-hack
Need help with anti-hack
Apr 28 2010, 4:29 am
By: Leeroy_Jenkins  

Apr 28 2010, 4:29 am Leeroy_Jenkins Post #1



Does anyone know a good anti-hack method?
I was looking for an anti-hack that defends against any kind of hack, not just map hack; similar to the one in Phantom BGH 4.4



None.

Apr 28 2010, 4:38 am rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

Play with friends you know and can trust. In other words, no.

This topic has been beaten to death. If you found something you like, then copy the way they did it. If you want to create a specific anti-hack, then figure out how to stop it. Maphacks themselves are difficult to stop unless you specifically drop an EUD on them (which can be patched with ease), litter the map with a crashing sprite that isn't already blocked by maphack (again patched with ease), or somehow manage to find the location of the minimap/fog of war in the memory (variable location utilizing a pointer, virtually impossible to find every time, but difficult to patch). Other hacks you can attempt to detect their actions (mineral hacks: detect specific changes in minerals, etc...) or drop an EUD like with the maphack (also note it's not always easy to find the location of the memory).



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

Apr 28 2010, 8:27 pm Cinolt Post #3



Map vision data is allocated dynamically so there's too many places where it could be stored, and it's not like we can dereference pointers with EUDs. I'm not sure about minimap colors though.

I remember one phantom map tried to detect automine probably using timers and if they got minerals before a certain time it banned the person. It's probably not too reliable because it false positive'd on me. Maybe EUD order destinations would be more reliable, but I haven't tested it. Something to experiment with.

atm the only reliable anti-hack I know of is the desync banning system which prevents hackers from staying in-game after being defeated. Good thing is it's impossible to prevent it with any program.

EDIT:
I found a static area(s) in memory that can be utilized to desync a map hacker. It'll be quite easy for someone like zynastor to patch since I think he can already parse the game's triggers, so PM me if you want it and I'll tell you if I'm convinced that you're not zynastor.

Post has been edited 1 time(s), last time on Apr 28 2010, 11:21 pm by NudeRaider. Reason: merged posts



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[02: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
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
Please log in to shout.


Members Online: Dem0n, IlyaSnopchenko