Attacking someone in your dream may be interpreted as a warning that there is some strong inner conflict within yourself which makes you extremely nervous and agitated. Tension, unsolved problems, restrained feelings and emotions from your waking life are gathered in your subconscious and break the surface of dreams. Try to become more open and learn how to express all that eats you up inside - this will release you of all negative energy accumulated inside and will restore a general equilibrium in your life.
If you yourself are attacked in a dream, this speaks about your insecurity, reluctance and hesitation to face problems in your waking life. You feel like a victim, hopeless, fearless and vulnerable when it comes to dealing with real problems in the real world.
Being attacked by an individual in your dream represents your feelings of guilt and your need to defend yourself in front of the others.
On the other hand, being attacked by an animal means that you should be very careful about whom you trust and think twice before taking an important decision. Animals attacking you in your dream may represent people around you which are untrustworthy and constantly feed off you.
The wild animal which pursues you in dreams may also stand for your subconscious which threatens to overcome reason and bring to 'surface' the 'beast' of primitive desires and urges. If the animal attacks and hurts you this means that you are quite unable to tame the 'beast' inside. But if you eventually manage to defend yourself and kill the animal, then you will also succeed in keeping all instincts and primitive urges in place.