Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.security > #5276

Re: Different MD5 from same kernel module tun.ko on different servers same distro

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Paul Wise <pabs@debian.org>
Newsgroups linux.debian.security
Subject Re: Different MD5 from same kernel module tun.ko on different servers same distro
Date Sun, 03 Sep 2017 04:30:01 +0200
Message-ID <ulsPD-2xW-1@gated-at.bofh.it> (permalink)
References <uls3f-1WP-9@gated-at.bofh.it>
X-Mailbox-Line From debian-security-request@lists.debian.org Sun Sep 3 02:22:58 2017
Old-Return-Path <paul.is.wise@gmail.com>
X-Amavis-Spam-Status No, score=-7.499 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=mCkvgXPTbqA72UMzFQuqDOpFSb9UhnFjGyIh7K51w/s=; b=BdAIl5gC6sjmXyROmHAaj9vMAzUxxgbPgGew0KZcv9aUuBQ7x6Gn8N6A8Nzo17TeB1 Ciwxaml5snkBSxydP0xI1QxFW7oy9nTsg4uMYVxe9JmCBapt5DsJN9LNKfI9F/hzVcjC oDLV2EhVB9PWfw3Z92jk27F3QoX30I7iuCu4FJtc+Xli+foNtqqoM74beHztoYOrnUYe 6Io8GYiVXc4vxcDvee4uEppjlo0115/NYihsAQPHwIZD5IcRNpEJAZ3yCKsZr+g4M/6Y rvBKnpXpjWpnZEUixqJc+9+zTympCvapW1vkx5TglkVJ1KOwf6wofMRFuHNtp6vmk9oi WCuQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=mCkvgXPTbqA72UMzFQuqDOpFSb9UhnFjGyIh7K51w/s=; b=MbDpuewZma+bYpmOdQBzxQgOiku74slOcpYntCmAIa1eYxKzgB364l4vpCvtOV/gve 4RPkVAszPN4rNS7s96YXDrYuFxzPwYnLiWV+/B2jhkz+ontLjfBTtuynYPkXYkruw7fo CxHsmSSYbqrPcfHqQdIhBg8Hoan7pflcMhjAipqaYsIMkAqDG/QDPxs7tjq3GZbgZIcq PsVrpR8MPOpaKlH6QT2ohHYunJay1IYu7EtsevqTcG1UGKXKiPkbXIEWtkbIaJ5JEK+5 qne6Pt7uBjouwTbPpU0GRvPET8wA7b5XVkkblzMMwSWTHX9cdjON3kVDuejMA3cp5ZGD /nhA==
X-Gm-Message-State AHPjjUg6lTAj4fwpQ0ifwxutawkNjFCZV+DF5DVPu4B4rXdx41ss/Nmj HdWfVwIPHKvCzU63cstQMwYkGQRvMw==
X-Google-SMTP-Source ADKCNb79DgHw6f4yvK/hRm1aqeEqpmS+q9DUypIqoOPvGwkqJO4YXcnTeNiIjp+W/1SMqGMVrudBECxPC3EZWSASKYk=
X-Received by 10.202.78.151 with SMTP id c145mr7322334oib.200.1504405349368; Sat, 02 Sep 2017 19:22:29 -0700 (PDT)
MIME-Version 1.0
Sender robomod@news.nic.it
X-Google-Sender-Auth eyBvLxN6irTlAPmeCQshFwlGgHE
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-security@lists.debian.org> archive/latest/28355
List-ID <debian-security.lists.debian.org>
List-URL <https://lists.debian.org/debian-security/>
List-Archive https://lists.debian.org/msgid-search/CAKTje6E1nCkFoOKXU7muQo8kmR=KGHxLyfTy0__L1KZBvnowRQ@mail.gmail.com
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
X-Original-Cc debian-security@lists.debian.org
X-Original-Date Sun, 3 Sep 2017 10:22:28 +0800
X-Original-Message-ID <CAKTje6E1nCkFoOKXU7muQo8kmR=KGHxLyfTy0__L1KZBvnowRQ@mail.gmail.com>
X-Original-References <197732dcf1798bb66013349212e3a04c.squirrel@127.0.0.1>
X-Original-Sender paul.is.wise@gmail.com
Xref csiph.com linux.debian.security:5276

Show key headers only | View raw


On Sun, Sep 3, 2017 at 9:17 AM, x9p wrote:

> the differences between both files doesn't look that much (vimdiff on xxd
> output below), just wondering what might have caused such differences
> between the same kernel module, from the same package, same distribution.

A better tool to compare binaries is diffoscope, it can disassembles
ELF binaries and compare the assembly.

Please upload the two tun.ko files to the trydiffoscope website so
that we can investigate the differences more closely:

https://try.diffoscope.org/

>   00037a0: 2f62 7569 6c64 2f6c 696e 7578 2d31 774a  /build/linux-1wJ   |
> 00037a0: 2f62 7569 6c64 2f6c 696e 7578 2d63 6835  /build/linux-ch5
>   00037b0: 4f58 392f 6c69 6e75 782d 332e 3136 2e34  OX9/linux-3.16.4   |
> 00037b0: 3366 412f 6c69 6e75 782d 332e 3136 2e34  3fA/linux-3.16.4
>
>   0003870: 696e 7578 2d31 774a 4f58 392f 6c69 6e75  inux-1wJOX9/linu   |
> 0003870: 696e 7578 2d63 6835 3366 412f 6c69 6e75  inux-ch53fA/linu
>
>   00038a0: 2f62 7569 6c64 2f6c 696e 7578 2d31 774a  /build/linux-1wJ   |
> 00038a0: 2f62 7569 6c64 2f6c 696e 7578 2d63 6835  /build/linux-ch5
>   00038b0: 4f58 392f 6c69 6e75 782d 332e 3136 2e34  OX9/linux-3.16.4   |
> 00038b0: 3366 412f 6c69 6e75 782d 332e 3136 2e34  3fA/linux-3.16.4

These look like they are two different builds of the Debian Linux
kernel package. If you or your cloud provider did not rebuild the
Debian Linux kernel package, then it is possible your cloud server has
been compromised and tun.ko modified with the version from a different
build of the package.

Are there any other modified files on the system? You can use debsums to check.

PS: I would suggest upgrading to Debian stretch at some point.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Back to linux.debian.security | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Different MD5 from same kernel module tun.ko on different servers  same distro "x9p" <debian-security@x9pneu.com> - 2017-09-03 03:40 +0200
  Re: Different MD5 from same kernel module tun.ko on different servers  same distro Paul Wise <pabs@debian.org> - 2017-09-03 04:30 +0200
    Re: Different MD5 from same kernel module tun.ko on different  servers same distro "x9p" <debian-security@x9pneu.com> - 2017-09-03 05:00 +0200

csiph-web