This paper presents a trust and reputation framework designed to identify malicious users in peer-to-peer (P2P) streaming systems. It addresses challenges such as dishonest feedback and strategic altering behaviors by utilizing a two-layered overlay model that captures peer behavior and evaluates trust correlations. Simulation results indicate that this framework successfully filters out dishonest feedback and defends against security threats, thereby enhancing the efficiency of P2P streaming systems.