You might remember the meaning of the character 攻 with this easy mnemonic:
The villagers were working (工) in the forest when they heard an army slashing (丿) through the terrains for a sneak attack.
Using mnemonics to remember the meaning of Chinese characters like has a huge impact on how long to learn Mandarin it takes.