1. A method of performing an antivirus task in a mobile wireless device, the method comprising: replacing a reference to an original entry list with a reference to a replacement entry list in a kernel data structure of an embedded operating system running in the mobile wireless device, the replacement entry list including a reference to an antivirus function code; redirecting a call to an original function code to the antivirus function code by way of the replacement entry list; performing an antivirus task with the antivirus function code; and forwarding the call to the original function code after performing the antivirus task.