The document presents two Adaboost-based algorithms for intrusion detection in wireless sensor networks that adapt to dynamic network environments. The first algorithm utilizes traditional online Adaboost with decision stumps, while the second employs improved online Adaboost with Gaussian mixture models for better detection rates and lower false alarms. A distributed framework is also proposed combining local and global detection models, demonstrating improved performance over existing systems.