Michael Jennings opened the scoring in the 12th minute after scooping up a loose Daly Cherry-Evans pass and racing 95 metres to score.
The visitors should have increased their lead through Boyd Cordner and Shaun Kenny-Dowall but both dropped the ball when in great positions to score, before Maloney added a penalty to give his side an 8-0 lead at the break.
Steve Matai hit back for Manly after the interval when he rose high to haul in a Cherry-Evans kick, as the hosts laid siege to the Roosters line.
However, they were unable to break through for a second try, despite looking the favourites to win the game after the Waerea-Hargreaves send off.
The Roosters relieved the pressure with a Maloney penalty after Brenton Lawrence was caught offside, and Friend wrapped up a famous win in the last minute when he got the final touch to a bouncing ball.
Friend had earlier been placed on report for a high shot on Brent Kite.
- AAP