Tue Nov 19 13:23:48 EET 2019

Mitigating malicious packages in gnu/linux

Mitigating malicious packages in gnu/linux

As end user and contributor of gnu/linux, I am concerned about malicious packages (either hostile developers or hacked developers or another reason) and have two questions:

  • What do linux vendors to avoid malicious packages?

  • As end user what can I do to mitigate malicious packages?

Some thoughts and rants:

  1. This already happened in 2003 with the micq package in debian: unnoticed easter egg causing DOS, see [1].

  2. This already happened to Redhat in 2008? see [5], Red Hat OpenSSH Backdoor Vulnerability

  3. In 2015 Microsoft issued weird update, see [6],[7].

  4. Portable malware in portable languages (Java, Javascript), taking the worst from windoze.

  5. Google play. Google play has about 2.8M packages [2] for android. Debian has about 31K packages [3] XXXold_stat. To our surprise google play is only about 90 times bigger than debian per number of packages and the metrics is unclear for size of binary packages or lines of code. Google scans for malware, not sure how effective is this.Google's permissions of applications are mitigating factor.

  6. The art of backdooring: sufficiently sophisticated backdoor is indistinguishable from secure code, see Obfuscation contest [4].

  7. Getting root vs reading $HOME vs euid == DAEMON. Getting root is important, but there is more interesting in user's $HOME.

1 2 3 4 5 6 7


Posted by toor | Permanent link