You can remember the meaning of 攻击 with this easy mnemonic:
Utter chaos ensued from an attack (攻) that began from stone launchers that hit (击) the castle walls.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.