Abstract
Polymorphic malware is hard to stop because it can continuously change its code while keeping the same harmful behavior. In this paper, we introduce an adaptive ordinary differential equation (ODE) model and use Lyapunov-based stability tools to understand how polymorphic threats spread and evolve under defensive pressure. The key idea is to treat mutation as an adaptive, environment-driven mechanism and to track how it reshapes the basic reproduction number (R 0) and can induce bifurcations that change both the number and the stability of equilibria. Our model follows multiple variants, a time-varying mutation pressure, and an adaptive antivirus response. We derive R 0 via the next-generation matrix method and obtain conditions that separate persistence from eradication. We also prove a conditional global stability result for the disease-free equilibrium, valid when the mutation subsystem satisfies a reversible (detailed-balance) structure. We then illustrate the resulting dynamics through numerical simulations. Overall, the framework clarifies which parameter regimes and defensive strategies can drive the system toward a disease-free state.

This publication has 12 references indexed in Scilit: