Trusted computing is an effective means of system security protection, encompassing various security solutions. However, these solutions exhibit individual shortcomings, such as the co-location of protective code and system, a singular metric determination standard, and discontinuity in trusted measurements. Consequently, they fail to meet security requirements. Hence, we propose a Behavior-Based Dynamic Trusted Measurement scheme (BBDTM). Firstly, the scheme designs a dynamic measurement framework based on a dual-body architecture, segregating protective code from the operating system code to overcome the reliance of protective code on the host system. Subsequently, we assign corresponding weights to behaviors based on their impact on the system using information entropy theory, rendering the metric determination standards more rational. Next, a time window mechanism is designed to achieve a comprehensive trusted measurement of system behavior, addressing issues of trust decay and discontinuity in metric behavior. Finally, relevant experiments demonstrate that our scheme can achieve superior protective results.