Enhancing Mobile Security with ML-Driven Anomaly Detection