The escalating frequency and sophistication of malicious encryption attacks have required the development of more effective detection mechanisms. The Dynamic Encryption Pattern Analysis (DEPA) framework introduces a novel approach that focuses on real-time monitoring and analysis of encryption behaviors, enabling the identification of ransomware activities with high accuracy and minimal false positives. Through a modular architecture, DEPA seamlessly integrates into existing cybersecurity infrastructures, offering scalability and adaptability across various organizational environments. Empirical evaluations demonstrate DEPA's efficacy in detecting a wide range of ransomware variants, including those employing advanced obfuscation techniques, while maintaining efficient resource utilization. The findings demonstrate the potential of behavior-based detection methodologies in enhancing defenses against evolving ransomware threats.