Announcement

Collapse
No announcement yet.

rkhunter remove destroys my Neon desktop!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [DESKTOP] rkhunter remove destroys my Neon desktop!

    Yesterday I saw an article about a new Linux root kit (which requires that the user manually download and install! )

    Out of curiosity I opened a Konsole and ran sudo rkhunter -c.

    In the past it has taken less than 2 minutes for rkhunter to do its work and finish. The first time I rant it I shut it down after 10 minutes, figuring it was hung. Just before I went to bed last night I ran it again. This morning it reported that it took more than 23 minutes to do its tasks. There were LOADS of whitelists and other warnings. When I went to check /var/log/rkhunter.log it was not there. The log.1 backup was and it contained the overnight run results, which is why I knew about the whitelist and other warnings.

    I also used the "--propupdate" , "--update" and "-c-sk" parameters as well. They didn't change anything.

    I have been concerned about my installation since trying qumu/kvm/virt-manager last week. While running them, and since I purged them, my system has been sluggish. Normally Konsole would snap open when I clicked its launcher in my quicklaunch tray. Now it takes 5 to 10 seconds, as do most apps. KMonitor does not show any other apps consuming time or cycles. I used the purge option to uninstall them and noted afterward that LOTS of config files and other detritus remained, which I remove manually. The failure of the purge option is important. For example, even purged, the kvm-qemu-system-x86_64, continued to install during bootup. I removed those from systemd and other places, and while I was at it I purged Tor and the Tor-Browser. All warnings I usually got during the boot up were cleared. But, the sluggishness remained.

    After the faulty behavior of rkhunter yesterday I decided to purge it, reinstall it and run it again this morning. When I selected it for purge in Muon it reported that rkhunter and 10 other packages will be removed. I checked through the list and did not notice any important packages among the list. Certainly nothing related to the plasma desktop or Neon. I clicked OK and Muon then reported that it was removing 27 packages! There was no point in stopping the removal because it would not allow Muon to populate the History, and that is what I planned to use to reinstall the deleted apps.
    Here is an image of part of the list:
    Click image for larger version

Name:	Screenshot_20160907_113228.jpg
Views:	1
Size:	107.0 KB
ID:	649131
    The Konsole in the rear is busy reinstalling the removed packages.

    The purge option should have removed the config and data files for those apps, but it did not. After re-installing Kpgp my kpgp keyring was intact. Checking the repository I found that the authentication keys for Kubuntu and Neon were still listed.

    IF my system is infected a possible route could be the WINE installation, which I am using to run a Windows dev program.

    Now that the manual re-installation of the deleted packages has finished I am going to reboot. If the sluggishness remains I am going putsz around a few days to try and locate the bottle neck and if I can't I will reinstall both Kubntu 16.04 and Neon.
    Last edited by GreyGeek; Sep 07, 2016, 11:20 AM.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    #2
    Wow, odd. It even removed one of it's own utilities - unhide.

    Please Read Me

    Comment


      #3
      I recovered my desktop, rebooted, and it is as slow is ever. Rkhunter only took 28 minutes to run this time, compared to the 23 minutes last night, or the typical 2 minutes normally.

      Top and Htop reveal nothing funny, but hidden stuff normally doesn't show in standard utilities. I was thinking that the slowness began when I installed qemu/kvm/virt-manager but after more reflections I realized that it began earlier, about the time I started experimenting with p2p networks like NetZero and IPFS. I had deleted NetZero but left ipfs installed, although I ran it only once. After deleting ipfs and rebooting nothing changed.

      The biggest problem that I've seen is that when using Muon to purge an app not everything related to the app is deleted. A Muon problem?

      There is no unusually network activity and netstat -lp shows nothing unusual. KSysGuard doesn't show a common thread of slowness (some utility or app being called before a triggered app shows). It is just that everything STARTS slowly. Once running they appear to run well enough. Stellarium and Universe Sandbox^2 runs as fast as it usually does but it, too, is slow to start. So, except for rkhunter, once an app gets going it runs fast.

      So, I cannot say with any certainly what is causing my system to lag. If it is systemic then reinstalling won't change anything. So I am between a rock and a hard place in this decision. Thankfully I'm retired, and with lots of spare time.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Breakthrough?

        I ran htop as root and sorted by tree. I definite pattern immerged.

        Plasmashell--shut-up logged more than 1 hour and 20 minutes of the 3 hours of my uptime since I rebooted. Next biggest time hoggers was Akonadi and its processes, mysql, and kmail, all used between 20-20 minutes. Akonadi had dozens of process id's. Mysql and kmail about half as many. So, LOTS of threads by a few apps eating up processor time. I'm using 8GB of RAM but I do not have a swap file because btrfs doesn't use one. Mmmm... I just remembered that I had some HD problems about the same time I was testing the p2p stuff. And, I notice a LOT of processes pause with <disk sleep> in KSysGuard when doing things like installing an app or switching between processes.

        Re-install or not? Quandry.
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment

        Working...
        X