The alleged attackers were aged 17 and 18 and one left a note containing "generalised hate rhetoric", investigators say.