Over 3,739 apps on average are published per day on the Google Play store [1]. A handful of the applications contain advertisement malware referred to as malvertising. As a result, Android advertisement malware has been a growing multi-billion-dollar problem. It constantly assaults many of the major advertising libraries such as the Google, Facebook, and Amazon. This paper presents an effective strategy for countering advertising malware using dynamic and static analysis techniques and the Soot compiler framework. Our research aims to detect malvertising click fraud in Android applications using the Soot compiler framework and blockchain technology. But the approach and the framework can be used to counter mobile malware families.