Common dream images of being attacked are physical attack, and verbal attack. However, its latent meaning for waking life are about physical hardship, psychological stress from mental and emotional attack, and attacking oneself. This dream could have been triggered by knowledge of real attacks in waking hours. Perhaps somebody criticized you, or put obstacles in your path, or actively fought against you. If you had resisted advances to harm you, then your inner consciousness knows you were under attack.