Yes, Gertrude knows King Hamlet was murdered by Claudius.
The ghost tells Hamlet: "The serpent that did sting thy father's life / Now wears his crown" (1.5). While Gertrude isn't present, the play implies she learns the truth — especially after the closet scene (3.4) where Hamlet confronts her.
By 4.1, she describes Hamlet as "mad as the sea and wind" to Claudius — protecting him, not expressing shock at patricide. Her loyalty shifts to Hamlet once she knows.
Key point: She may not know initially, but the narrative strongly suggests she learns and chooses her son.