When an elephant in a dream attacks you it has to do with tyranny and uncontrollable powers.
It could mean that someone is trying to hurt you.