attack has 18 distinct synonyms spread across 9 of its 15 senses. Each sense below keeps its own list, because a synonym belongs to a meaning and not to a word: swapping one sense's substitute into another sense's sentence is how a thesaurus makes writing worse. Its one recorded opposite is defend.
Counts are distinct word forms across every sense. A synonym that appears under three senses is counted once here and shown three times below, under each sense it belongs to.
(military) an offensive against an enemy (using weapons)
“the attack began at dawn”
an offensive move in a sport or game
“they won the game with a 10-hit attack in the 9th inning”
ideas or actions intended to deal with a problem or situation
“his approach to every problem is to draw up a list of pros and cons”
a decisive manner of beginning a musical tone or phrase
a sudden occurrence of an uncontrollable condition
“an attack of diarrhea”
the onset of a corrosive or destructive process (as by a chemical agent)
“the film was sensitive to attack by acids”
Synonyms, antonyms and the broader and narrower relations for attack come from Princeton University’s WordNet. Full sources and licences.
set to work upon; turn one's energies vigorously to a task
“I attacked the problem as soon as I got out of bed”
begin to injure
“The cancer cells are attacking his liver”