Someone cracked my test machine

NeilZhang
NeilZhang
管理员
140
文章
106.8千
浏览
Life Linux评论137字数 223阅读0分44秒阅读模式

I built a test environment in my MicroSever Gen8, while these days I found some strange things that one server would upload lots of data to some sites and consumed all of my upload bandwidth.

I tried to find what program caused this issue, while it was hard for me. I found some programs were executed frequently, while they changed very fast, and all of them were called by the process with pid 1, which meant they were called by init or by some service in the background.

I checked the service scripts, and did find one strange one. I searched the name with Google while no any information about it, so I deleted it. Oh, I got another one! I had to take great care of it now. I found it called something in the /etc/cron.hourly, which was a script. And when I run rpm -qaV, I found /etc/crontab was modified, then I found one job was created and also called the same job as in the cron.hourly.

So I did be attacked by someone!

I tried to remove all of them while failed, and finally I had to use the installation disc to enter the rescue mode to fix this issue.

OK, I got a good lesson learnt: Never use simple password, even this is a test environment.

 
  • 本文由 NeilZhang 发表于25/02/2016 04:34:36
  • Repost please keep this link: https://www.dbcloudsvc.com/blogs/life/someone-cracked-my-test-machine/
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定