Gang Attacks will only unlock once you have reached Rank 18. After hitting this Rank, you will receive a phone call from Martin informing you of local gangs hanging around San Andreas. Your goal is to terminate these gangs from their hideouts.
Gang Attacks are indicated by large, yet faint, red circles on your mini-map. Take note that these red circles DO NOT appear on the world, so keep your eyes peeled when cruising around Los Santos and Blaine County. Once you enter the circle, the Gang Attack will begin as AI gang members will start attacking you. You will need to eliminate the entire group of gang members - ranging anywhere from 15 to 30 enemies - until the area is clear. Simply survive the entire assault without dying and get at least ten kills.
While this can be done on your own, it would be beneficial to work on this with at least one other player. This way, your partner can take all the damage and clear out the rest of the gang hideout once you have obtained your ten kills. The achievement will unlock once the Gang Attack is complete. If you need help locating the Gang Attacks, please visit THIS LINK.