Ninjafishleg
Posts: 5
Joined: Sun Aug 18, 2013 6:07 pm

What is Kaiten? Virus?

Tue Sep 20, 2016 8:03 pm

Recently, my Pi CPU usage has been locked at about 95% constantly, despite the fact that I'm only running a small-ish python script. After a quick top command, I found that a programme called "kaiten" was using 90% of the CPU. After killing kaiten, everything seems to work fine and the CPU usage drops down to where it should be. A google search would suggest that Kaiten is a Trojen. How should I go about removing this and how worried should I be?
P.S. The Pi is also running as a server.
P.P.S The Kaiten programme was running under root. :shock:

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26659
Joined: Sat Jul 30, 2011 7:41 pm

Re: What is Kaiten? Virus?

Tue Sep 20, 2016 8:09 pm

Re-image the SD card, or get a new one.

(i.e. Nuke it from orbit, it's the only way to be sure)
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: What is Kaiten? Virus?

Tue Sep 20, 2016 8:26 pm

Where did you get your SD card image from?

According to Symantec:

"The Trojan must be manually installed and executed by the user"

So either you have done this or your SD card provider has.

https://www.symantec.com/security_respo ... 18-2341-99
Memory in C++ is a leaky abstraction .

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: What is Kaiten? Virus?

Tue Sep 20, 2016 9:06 pm

Heater wrote:Where did you get your SD card image from?

According to Symantec:

"The Trojan must be manually installed and executed by the user"

So either you have done this or your SD card provider has.

https://www.symantec.com/security_respo ... 18-2341-99
Or the OP has opened a port to the public internet without hardening the security on the system. Userid=pi with password=raspberry and allowed to use sudo with no protection is a very simple infection vector.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: What is Kaiten? Virus?

Tue Sep 20, 2016 9:15 pm

That would do it.
Memory in C++ is a leaky abstraction .

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: What is Kaiten? Virus?

Wed Sep 21, 2016 3:44 pm

Well, in Japanese kaiten(回転) means spinning, and it uses up CPU, it sounds like some kind of pressure test program to me.

Anyway, re-image would help.

User avatar
karrika
Posts: 1124
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: What is Kaiten? Virus?

Wed Sep 21, 2016 4:42 pm

Some time ago there was this shellshock vulnerability in bash. There were reports where the vulnerability downloaded the source code of kaiten and compiled it with gcc for the target platform.

http://www.lucadonettidontin.it/blog/sh ... urce-code/

The bad thing is that if raspbian was not patched for shellshock you could infect the pi during the boot from the dhcp server.

The moral of the story: update security patches frequently.

Graymalk
Posts: 55
Joined: Wed Nov 11, 2015 8:33 pm

Re: What is Kaiten? Virus?

Thu Sep 22, 2016 2:30 am

Heh, I've always wondered what would get installed on my web serving Pi if I ever let the constant onslaught of daily attacks succeed.

Return to “General discussion”