{"id":443,"date":"2010-10-19T21:51:52","date_gmt":"2010-10-19T19:51:52","guid":{"rendered":"http:\/\/www.dmelody.com\/?p=443"},"modified":"2010-10-19T21:51:52","modified_gmt":"2010-10-19T19:51:52","slug":"rootkit-on-my-website","status":"publish","type":"post","link":"https:\/\/www.dmelody.com\/?p=443","title":{"rendered":"Rootkit on my website"},"content":{"rendered":"<p>Well, apparently, some &#8220;script-kiddies&#8221; succeeded implanting a rootkit on my webserver, which is awesome \ud83d\ude42 I noticed it, accidentally performing a regular cleaning of my website for some unrequired files&#8230; Anyway, found few tar files inside \/. With netstat -atunp I saw a strange connection performed automatically to few IRC servers with port 6667 and 7000, after I run few tcpdump and tcpflow sessions, I saw that it is a bot running on my server, cool! A Linux bot! Nice to meet you Linux bot! It took me an hour to find it and remove it, the most interesting shit, the bot used a backdoor located on Linux PAM patches or updates then it replaced bash env + lsof command so lsof command output displayed an illusion&#8230; That&#8217;s why it took me so long to locate and disable this shit. I started to look some further, found a user named user inside my passwd file, the shadow file had two root entries and exactly the same entry for user user&#8230; Apparantly, as I changed the root password it was automatically applied to user too \ud83d\ude42 Very nice piece of software guys! Anyway, you should try harder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, apparently, some &#8220;script-kiddies&#8221; succeeded implanting a rootkit on my webserver, which is awesome \ud83d\ude42 I noticed it, accidentally performing a regular cleaning of my website for some unrequired files&#8230; Anyway, found few tar files inside \/. With netstat -atunp I saw a strange connection performed automatically to few IRC servers with port 6667 and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[221,219],"tags":[],"class_list":["post-443","post","type-post","status-publish","format-standard","hentry","category-english","category-hacker-stuff-allek"],"_links":{"self":[{"href":"https:\/\/www.dmelody.com\/index.php?rest_route=\/wp\/v2\/posts\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dmelody.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dmelody.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dmelody.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dmelody.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=443"}],"version-history":[{"count":1,"href":"https:\/\/www.dmelody.com\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/www.dmelody.com\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions\/444"}],"wp:attachment":[{"href":"https:\/\/www.dmelody.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dmelody.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dmelody.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}