Ok. After some research, I made this:
FLOATING DRONE HACK - Create locations over invalid terrain to detect and destroy drones on invalid terrain.
Anti-hack level: B
MAP HACK - If you're making something like an anti-hack melee, then do this: Make several(depending on your map, I'd say about 9-12 on a 256x256 map) rectangle locations(about 25x20 tiles, or 800x640 in size). Next, is for the triggers. It doesn't matter who they belong to. The first two triggers are for an anti-crash involving a scanner sweep. (Assuming Force 1 are the players, you have a computer player in another force, and the "unit" is a good unit chosen, when disabled, will crash any Starcraft[it can also include the disable-enable trick as well])
[TRIGGER 1: [CONDITIONS: Command Force 1 at least 1 Comsat Station., Switch 1 is clear.] [ACTIONS: Set Switch 1., Remove all unit(that you will use for anti-maphack) for computer player., Preserve trigger.]]
[TRIGGER 2: [CONDITIONS: Command Force 1 at most 0 Comsat Station., Switch 1 is set.] [ACTIONS: Clear Switch 1., Preserve trigger.]]
> Now these triggers are to prevent an innocent soul from crashing for scanning in a random place with a scanner sweep.
> Next, we copy the next two triggers for every location we made, replacing 'location' with the location you actually used.
[TRIGGER 1: [CONDITIONS: Bring Force 1 at most 0 any unit to 'location'., Bring Computer player at most 0 unit to 'location'., Switch 1 is clear.] [ACTIONS: Create 1 unit(that you will use for anti-maphack) at 'location' for computer player., Disable doodad state for unit owned by computer player at 'location'., Preserve trigger.]]
[TRIGGER 2: [CONDITIONS: Bring Force 1 at least 1 any unit to 'location'., Bring Computer player at least 1 unit to 'location'., Switch 1 is clear.] [ACTIONS: Remove 1 unit(that you will use for anti-maphack) at 'location' for computer player., Preserve trigger.]]
> You can also add another action to enable the unit after being disabled, depending on what you used.
Anti-hack level: B
UNIT ALERT - This is easy to "block". All you do is create and remove three different units with hyper triggers. Guardian, Carrier, and Battlecruiser. What you do is make four actions, 3 to create each unit once for a computer player, the fourth to remove them all. Then copy those actions for the whole trigger and preserve it. There shouldn't be any change in "lag", and if the hacker still has the unit alert enabled, his screen will be flooded with messages like "Computer player has 1 Battlecruiser", etc.
Anti-hack level: A
DISABLE UNIT UNPLACABLE WARNING HACK - This is funny, because it's a very simple hack, unrelated to gameplay, but if you really intend to stop hackers, you can try this. This is suppose to disable unit warning messages right? Well it turns out, warning messages decide to fight back. Have this trigger timed, because it could get annoying. Do one simple create 255 units at invalid location for computer, two if you are unhappy with the numerical value of "one", and display a text message after, skipping about 12 lines to make it look nice. Now, if the hacker has the disable warning thing enabled, his Starcraft will crash.
Anti-hack level: A
I'll make triggers for you to create an anti-unit suicide hack when I feel like it.