McCann London won the business after a pitch, which kicked off in February, against OgilvyOne and Glue Isobar.
The previous global incumbent on the account was M&C Saatchi, but the agency did not repitch.
McCann will now create a global digitally focused campaign for Kaspersky, encompassing digital display, online video, social media, print and outdoor.
Recent Kaspersky activity has used the martial arts star Jackie Chan as its brand spokesman. In one global spot, Chan explores a virtual world wearing a helmet with the Kaspersky logo on it.
Another global ad, which launched last year, depicted Chan navigating through a treacherous wave with his Kaspersky-emblazoned surfboard. The company also runs several global sponsorships, including the Scuderia Ferrari racing team.
Founded in 1997, Kaspersky's consumer products include internet security, anti-virus and mobile security software.
Kaspersky has its headquarters in Moscow, with 29 regional offices in markets including the UK, Australia, Austria, Benelux, Canada, China, France, Germany, Hong Kong, India, Italy and Japan.