Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKuIq-0007Wy-8u for pgsql-general@arkaria.postgresql.org; Mon, 21 May 2018 23:33:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fKuIl-0000ZB-6p for pgsql-general@arkaria.postgresql.org; Mon, 21 May 2018 23:33:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKuIk-0000Z2-Sj for pgsql-general@lists.postgresql.org; Mon, 21 May 2018 23:33:15 +0000 Received: from mail-ot0-x244.google.com ([2607:f8b0:4003:c0f::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fKuIg-0005CG-Pv for pgsql-general@lists.postgresql.org; Mon, 21 May 2018 23:33:14 +0000 Received: by mail-ot0-x244.google.com with SMTP id h8-v6so18830902otb.2 for ; Mon, 21 May 2018 16:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=fojpVb2NHQdjv8PPyBQlx4teZpiy45o6ZZ5raFRwuFI=; b=esGQ2TKc8npnwpYAKmDqYfDn7Ds7HuKc6RSZEv9sH45m2VzmUW1FdkD8JEpb8ZXSAk 3PVsASIRFKI0sdLSZSyhPhkxHgy4QlBaVn1nUGRXMX0YHJRv6d1Owbd2QX2hyjrg1fqB KNmbKR3tAgvnI7x0XtsReQM2xhj5hfx8wBXoZbaizYZ52ukPtFhJlQMBVznWvlkLbE5Y 7mUbjeIVFT/HCAkLaltVYl5akHTUnlaqZpKgRXtiBEiIVvse3zVkFL/sN2tRJl/MJ/pW /6EQ6R+R48OB/xfKYq6XStMw8J33GA6KPrg/hjPIX5XElVI+QetCUOhIYBpi7+YG0SsQ grKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=fojpVb2NHQdjv8PPyBQlx4teZpiy45o6ZZ5raFRwuFI=; b=epnYL5fIv6Qbl0je19XK6eZhYMhoaoA/o5Rr4q4dnEw1hhb6+/oSgUNv1/GNW78Zut hl+cY56eDotJ7L8aa+2KvRWZBwfeJQWhUtLiD/VtOOSL2AMJfpznTbmMPyhkyc2jm/18 QBQemPEUo2muUTsnoAvCKSX+RLiXv9w3oB6y+i5fxwNjIaDWlUEjtLDF0ZKP3CPEc8l4 Zymzsgz6OI+kSQaiU4HXhKJi6xz35VlkTdAn+EDlPIKbhNjQAbIFtIyQrto4JnU19Vgv WgIKSlx41pSRjQ4A5FLlT4w68KjEf3hQipXAXl2Gkx5Tof+0GPvugnzjXfWNUJEEkqA8 cCsw== X-Gm-Message-State: ALKqPweQq3S+NEl4wDwlxO2A1JDuMCiCq9k/kFhc/RJkM++Fro2eppnS h3T60xdGsc9MKc8btafgahZBiw== X-Google-Smtp-Source: AB8JxZqW76BUGXxDhb6PQRb0x71xUHKQuW0CKbcRTyVGt6d3j9xHZ1LDU3dRimfLCJ0YA1gOwjKbdQ== X-Received: by 2002:a9d:1b4a:: with SMTP id l68-v6mr15590860otl.224.1526945588298; Mon, 21 May 2018 16:33:08 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id r129-v6sm8177111oig.26.2018.05.21.16.33.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 16:33:07 -0700 (PDT) Subject: Re: posgresql.log To: pgsql-general@lists.postgresql.org References: <020901d3f14c$512a46d0$f37ed470$@gmail.com> From: Ron Message-ID: <110ce6f8-82a5-2141-1114-ea6bcba9b478@gmail.com> Date: Mon, 21 May 2018 18:33:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <020901d3f14c$512a46d0$f37ed470$@gmail.com> Content-Type: multipart/alternative; boundary="------------0DA93AAD5F439D8CA5666842" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------0DA93AAD5F439D8CA5666842 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 05/21/2018 04:40 PM, Bartosz Dmytrak wrote: > > Hi Gurus, > > Looking into my postgresql.log on one of my test servers I found scary entry: > > --2018-05-19 05:28:21-- http://207.148.79.161/post0514/post > > Connecting to 207.148.79.161:80... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 1606648 (1.5M) [application/octet-stream] > > Saving to: ‘/var/lib/postgresql/10/main/postgresq1’ > > 0K .......... .......... .......... .......... ..........  3% 71.0K 21s > >     50K .......... .......... .......... .......... ..........  6% 106K 17s > >    100K .......... .......... .......... .......... ..........  9% 213K 13s > >    150K .......... .......... .......... .......... .......... 12% 213K 11s > [snip] > 1500K .......... .......... .......... .......... .......... 98% 11.8M 0s > >   1550K .......... ........ 100% 12.5M=2.6s > > 2018-05-19 05:28:25 (598 KB/s) - ‘/var/lib/postgresql/10/main/postgresq1’ > saved [1606648/1606648] > > Downloaded file is not posgresql but postgresq1(one). > > It was pure pg instalation without any contrib modules addons etc, > istalled on ubuntu box by apt manager using repos: > > http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main > > http://apt.postgresql.org/pub/repos/apt xenial-pgdg > > I have never seen such entry on other my other servers… > > Could you be so kind and explain me what is it? I am afraid my postgres > has been hacekd. > This looks like what happens when the adobe flash player package downloads the closed-source binary installer.  Thus, I wouldn't be surprised if the repository package isn't downloading the installation binaries from http://207.148.79.161/post0514/post. -- Angular momentum makes the world go 'round. --------------0DA93AAD5F439D8CA5666842 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 05/21/2018 04:40 PM, Bartosz Dmytrak wrote:

Hi Gurus,

Looking into my postgresql.log on one of my test servers I found scary entry:

 

--2018-05-19 05:28:21--  http://207.148.79.161/post0514/post

Connecting to 207.148.79.161:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1606648 (1.5M) [application/octet-stream]

Saving to: ‘/var/lib/postgresql/10/main/postgresq1’

 

     0K .......... .......... .......... .......... ..........  3% 71.0K 21s

    50K .......... .......... .......... .......... ..........  6%  106K 17s

   100K .......... .......... .......... .......... ..........  9%  213K 13s

   150K .......... .......... .......... .......... .......... 12%  213K 11s

[snip]
  1500K .......... .......... .......... .......... .......... 98% 11.8M 0s

  1550K .......... ........                                   100% 12.5M=2.6s

 

2018-05-19 05:28:25 (598 KB/s) - ‘/var/lib/postgresql/10/main/postgresq1’ saved [1606648/1606648]

 

Downloaded file is not posgresql but postgresq1(one).

 

It was pure pg instalation without any contrib modules addons etc, istalled on ubuntu box by apt manager using repos:

http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main

http://apt.postgresql.org/pub/repos/apt xenial-pgdg

 

I have never seen such entry on other my other servers…

Could you be so kind and explain me what is it? I am afraid my postgres has been hacekd.


This looks like what happens when the adobe flash player package downloads the closed-source binary installer.  Thus, I wouldn't be surprised if the repository package isn't downloading the installation binaries from http://207.148.79.161/post0514/post.

--
Angular momentum makes the world go 'round.
--------------0DA93AAD5F439D8CA5666842--