3 Open Ports

Questions about networking
Forum rules
Before you post please read this
User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

3 Open Ports

Postby Fred Barclay » Thu Oct 15, 2015 10:29 am

DISCLAIMER: I know almost nothing about networking, so this will probably be a ridiculous question, but...

Conky just showed me I have 3 outbound ports (it was 8 at one point) on my system. nmap returned the following:

Code: Select all

fred@aussie! ~ $ sudo nmap -sT -O localhost

Starting Nmap 6.47 ( http://nmap.org ) at 2015-10-15 10:25 EDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00087s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 997 closed ports
PORT    STATE SERVICE
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
631/tcp open  ipp
Device type: general purpose
Running: Linux 3.X
OS CPE: cpe:/o:linux:linux_kernel:3
OS details: Linux 3.7 - 3.15
Network Distance: 0 hops

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 3.78 seconds

Is this normal? I'm particularly concerned about port 445-the microsoft-ds service. *Puts on tinfoil hat.* I don't have any reason that I'm aware of to have open ports. I'm not a gamer, I don't connect anywhere remotely, and I don't remember doing anything that would open any ports. :?

Thanks for any advice! I'm sort of freaking out right now. :lol:
Last edited by Fred Barclay on Thu Oct 15, 2015 10:33 am, edited 1 time in total.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

User avatar
Fragezeichen
Level 3
Level 3
Posts: 115
Joined: Sat Sep 19, 2015 6:10 am

Re: 3 Open Ports

Postby Fragezeichen » Thu Oct 15, 2015 10:32 am

I think microsoft-ds is from samba... so you can share files with a windows computer in your network

Habitual
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: 3 Open Ports

Postby Habitual » Thu Oct 15, 2015 10:58 am

Fred:
have a look at the output of

Code: Select all

sudo dpkg -l samba

Output here describes
SMB/CIFS file, print, and login server for Unix


Do you have a router in front of your Internet Connection?
If you do, they may appear open locally, but in fact may also be closed from outside.
Last edited by Habitual on Thu Oct 15, 2015 11:02 am, edited 2 times in total.
Image

bigbenaugust
Level 3
Level 3
Posts: 107
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 919

Re: 3 Open Ports

Postby bigbenaugust » Thu Oct 15, 2015 10:58 am

Samba (smbd/nmbd) are running by default, so those ports will be open. You can disable the service if you won't need it, or firewall the ports off with ufw.

Also, 631 is for cups (printing). You can also firewall that one off if you are not sharing a printer.
--Ben

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Thu Oct 15, 2015 12:15 pm

Habitual--I do have a router. Maybe that explains it?

I'm starting to be a little...interested...now. :lol: Gufw is crashing every second time I launch it and does not show up in my menu (Cinnamon). By "crashing" I mean that the gufw window shuts down suddenly. When I launch it after that everything is turned off. When I enable it "in" and "out" have no values. And then when I set them correctly, close the window, and launch it again, it crashes. And so on...
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

Habitual
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: 3 Open Ports

Postby Habitual » Thu Oct 15, 2015 12:39 pm

Fred:
Did you change the "Status" to On in gufw?
Does doing so change how gufw handles your changes?
If it is already enabled, then IDK what else it could be.

If you want a scan from "outside", use http://www.yougetsignal.com/tools/open-ports/
or PM me the public IP of your host. and I'll nmap that and PM you the results.

Peace.
Last edited by Habitual on Thu Oct 15, 2015 12:46 pm, edited 2 times in total.
Image

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Thu Oct 15, 2015 12:45 pm

I have not directly interacted with ufw except through gufw. Anyway, here's what ufw says:

Code: Select all

fred@aussie! ~ $ sudo ufw status verbose
[sudo] password for fred:
WARN: /etc is group writable!
WARN: /lib is group writable!
Status: active
Logging: off
Default: deny (incoming), allow (outgoing)
New profiles: skip

Thanks Habitual!
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

Habitual
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: 3 Open Ports

Postby Habitual » Thu Oct 15, 2015 12:49 pm

Code: Select all

stat --printf "%a %n \n" /etc /lib

755 /etc
755 /lib
here for comparison.
Image

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Thu Oct 15, 2015 1:01 pm

Code: Select all

fred@aussie! ~ $ stat --printf "%a %n \n" /etc /lib
775 /etc
775 /lib
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

Habitual
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: 3 Open Ports

Postby Habitual » Thu Oct 15, 2015 2:36 pm

Fred Barclay wrote:

Code: Select all

fred@aussie! ~ $ stat --printf "%a %n \n" /etc /lib
775 /etc
775 /lib

you could change those and those "may" be the issue for the trouble, aside from the

Code: Select all

WARN: /etc is group writable!
WARN: /lib is group writable!

to do so,

Code: Select all

sudo chmod 755 /etc/ /lib


and check the output of

Code: Select all

sudo ufw status verbose


Have you mentioned what exact 'version' of LM you are using?

Code: Select all

inxi -S | tail -1


and then check gufw for resolution or lack of it. ;)
Image

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Thu Oct 15, 2015 3:02 pm

Well, the inxi command you listed doesn't show anything

Code: Select all

fred@aussie! ~ $ inxi -S | tail -1
fred@aussie! ~ $
but this is LMDE 2 Cinnamon 64-bit, to which I've added both Mate via mint-meta-debian-mate and dwm.

Code: Select all

fred@aussie! ~ $ sudo ufw status verbose
Status: active
Logging: off
Default: deny (incoming), allow (outgoing)
New profiles: skip


gufw is still not showing up in my menu. :(
Here's an example of it crashing when I run it in terminal:

Code: Select all

fred@aussie! ~ $ sudo gufw
[sudo] password for fred:

(process:10253): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(gufw.py:10158): Gtk-CRITICAL **: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
/usr/share/gufw/gufw/view/guiGufw.py:52: Warning: g_object_set_property: assertion 'G_IS_VALUE (value)' failed
  Gtk.main()
/usr/share/gufw/gufw/view/guiGufw.py:52: Warning: g_value_unset: assertion 'G_IS_VALUE (value)' failed
  Gtk.main()

(gufw.py:10158): Gtk-CRITICAL **: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(gufw.py:10158): Gtk-CRITICAL **: gtk_list_store_get_path: assertion 'iter->stamp == priv->stamp' failed

(gufw.py:10158): Gtk-CRITICAL **: gtk_tree_path_to_string: assertion 'path != NULL' failed
Segmentation fault
and Boom! It disappears.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

User avatar
Crewp
Level 9
Level 9
Posts: 2522
Joined: Sat Dec 01, 2012 8:36 pm
Location: Connecticut,USA

Re: 3 Open Ports

Postby Crewp » Thu Oct 15, 2015 3:08 pm

Fred Barclay wrote:I have not directly interacted with ufw except through gufw. Anyway, here's what ufw says:

Code: Select all

fred@aussie! ~ $ sudo ufw status verbose
[sudo] password for fred:
WARN: /etc is group writable!
WARN: /lib is group writable!
Status: active
Logging: off
Default: deny (incoming), allow (outgoing)
New profiles: skip

Thanks Habitual!


Fred I may not be the sharpest knife in the drawer, but it looks to me as if the firewall will not allow any incoming on your ports. Also, I run LMDE2 64 bit also and have had the same trouble with gufw.
Image

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Thu Oct 15, 2015 3:14 pm

Well, this is interesting:

Code: Select all

fred@aussie! ~ $ sudo rkhunter -c -sk
[sudo] password for fred:
[ Rootkit Hunter version 1.4.2 ]

Checking system commands...

  Performing 'strings' command checks
    Checking 'strings' command                               [ OK ]

  Performing 'shared libraries' checks
    Checking for preloading variables                        [ None found ]
    Checking for preloaded libraries                         [ None found ]
    Checking LD_LIBRARY_PATH variable                        [ Not found ]

  Performing file properties checks
    Checking for prerequisites                               [ Warning ]
    /usr/sbin/adduser                                        [ Warning ]
    /usr/sbin/chroot                                         [ Warning ]
    /usr/sbin/cron                                           [ Warning ]
    /usr/sbin/groupadd                                       [ Warning ]
    /usr/sbin/groupdel                                       [ Warning ]
    /usr/sbin/groupmod                                       [ Warning ]
    /usr/sbin/grpck                                          [ Warning ]
    /usr/sbin/nologin                                        [ Warning ]
    /usr/sbin/pwck                                           [ Warning ]
    /usr/sbin/rsyslogd                                       [ Warning ]
    /usr/sbin/tcpd                                           [ Warning ]
    /usr/sbin/useradd                                        [ Warning ]
    /usr/sbin/userdel                                        [ Warning ]
    /usr/sbin/usermod                                        [ Warning ]
    /usr/sbin/vipw                                           [ Warning ]
    /usr/bin/awk                                             [ Warning ]
    /usr/bin/basename                                        [ Warning ]
    /usr/bin/chattr                                          [ Warning ]
    /usr/bin/curl                                            [ Warning ]
    /usr/bin/cut                                             [ Warning ]
    /usr/bin/diff                                            [ Warning ]
    /usr/bin/dirname                                         [ Warning ]
    /usr/bin/dpkg                                            [ Warning ]
    /usr/bin/dpkg-query                                      [ Warning ]
    /usr/bin/du                                              [ Warning ]
    /usr/bin/env                                             [ Warning ]
    /usr/bin/file                                            [ Warning ]
    /usr/bin/find                                            [ Warning ]
    /usr/bin/GET                                             [ Warning ]
    /usr/bin/groups                                          [ Warning ]
    /usr/bin/head                                            [ Warning ]
    /usr/bin/id                                              [ Warning ]
    /usr/bin/killall                                         [ Warning ]
    /usr/bin/last                                            [ Warning ]
    /usr/bin/lastlog                                         [ Warning ]
    /usr/bin/ldd                                             [ Warning ]
    /usr/bin/less                                            [ Warning ]
    /usr/bin/locate                                          [ Warning ]
    /usr/bin/logger                                          [ Warning ]
    /usr/bin/lsattr                                          [ Warning ]
    /usr/bin/lsof                                            [ Warning ]
    /usr/bin/mail                                            [ Warning ]
    /usr/bin/md5sum                                          [ Warning ]
    /usr/bin/mlocate                                         [ Warning ]
    /usr/bin/newgrp                                          [ Warning ]
    /usr/bin/passwd                                          [ Warning ]
    /usr/bin/perl                                            [ Warning ]
    /usr/bin/pgrep                                           [ Warning ]
    /usr/bin/pkill                                           [ Warning ]
    /usr/bin/pstree                                          [ Warning ]
    /usr/bin/rkhunter                                        [ Warning ]
    /usr/bin/rpm                                             [ Warning ]
    /usr/bin/runcon                                          [ Warning ]
    /usr/bin/sha1sum                                         [ Warning ]
    /usr/bin/sha224sum                                       [ Warning ]
    /usr/bin/sha256sum                                       [ Warning ]
    /usr/bin/sha384sum                                       [ Warning ]
    /usr/bin/sha512sum                                       [ Warning ]
    /usr/bin/size                                            [ Warning ]
    /usr/bin/sort                                            [ Warning ]
    /usr/bin/ssh                                             [ Warning ]
    /usr/bin/stat                                            [ Warning ]
    /usr/bin/strace                                          [ Warning ]
    /usr/bin/strings                                         [ Warning ]
    /usr/bin/sudo                                            [ Warning ]
    /usr/bin/tail                                            [ Warning ]
    /usr/bin/telnet                                          [ Warning ]
    /usr/bin/test                                            [ Warning ]
    /usr/bin/top                                             [ Warning ]
    /usr/bin/touch                                           [ Warning ]
    /usr/bin/tr                                              [ Warning ]
    /usr/bin/uniq                                            [ Warning ]
    /usr/bin/users                                           [ Warning ]
    /usr/bin/vmstat                                          [ Warning ]
    /usr/bin/w                                               [ Warning ]
    /usr/bin/watch                                           [ Warning ]
    /usr/bin/wc                                              [ Warning ]
    /usr/bin/wget                                            [ Warning ]
    /usr/bin/whatis                                          [ Warning ]
    /usr/bin/whereis                                         [ Warning ]
    /usr/bin/which                                           [ Warning ]
    /usr/bin/who                                             [ Warning ]
    /usr/bin/whoami                                          [ Warning ]
    /usr/bin/gawk                                            [ Warning ]
    /usr/bin/lwp-request                                     [ Warning ]
    /usr/bin/mail.mailutils                                  [ Warning ]
    /usr/bin/telnet.netkit                                   [ Warning ]
    /usr/bin/w.procps                                        [ Warning ]
    /sbin/depmod                                             [ Warning ]
    /sbin/fsck                                               [ Warning ]
    /sbin/ifconfig                                           [ Warning ]
    /sbin/ifdown                                             [ Warning ]
    /sbin/ifup                                               [ Warning ]
    /sbin/init                                               [ Warning ]
    /sbin/insmod                                             [ Warning ]
    /sbin/ip                                                 [ Warning ]
    /sbin/lsmod                                              [ Warning ]
    /sbin/modinfo                                            [ Warning ]
    /sbin/modprobe                                           [ Warning ]
    /sbin/rmmod                                              [ Warning ]
    /sbin/route                                              [ Warning ]
    /sbin/runlevel                                           [ Warning ]
    /sbin/sulogin                                            [ Warning ]
    /sbin/sysctl                                             [ Warning ]
    /bin/bash                                                [ Warning ]
    /bin/cat                                                 [ Warning ]
    /bin/chmod                                               [ Warning ]
    /bin/chown                                               [ Warning ]
    /bin/cp                                                  [ Warning ]
    /bin/date                                                [ Warning ]
    /bin/df                                                  [ Warning ]
    /bin/dmesg                                               [ Warning ]
    /bin/echo                                                [ Warning ]
    /bin/ed                                                  [ Warning ]
    /bin/egrep                                               [ Warning ]
    /bin/fgrep                                               [ Warning ]
    /bin/fuser                                               [ Warning ]
    /bin/grep                                                [ Warning ]
    /bin/ip                                                  [ Warning ]
    /bin/kill                                                [ Warning ]
    /bin/less                                                [ Warning ]
    /bin/login                                               [ Warning ]
    /bin/ls                                                  [ Warning ]
    /bin/lsmod                                               [ Warning ]
    /bin/mktemp                                              [ Warning ]
    /bin/more                                                [ Warning ]
    /bin/mount                                               [ Warning ]
    /bin/mv                                                  [ Warning ]
    /bin/netstat                                             [ Warning ]
    /bin/ping                                                [ Warning ]
    /bin/ps                                                  [ Warning ]
    /bin/pwd                                                 [ Warning ]
    /bin/readlink                                            [ Warning ]
    /bin/sed                                                 [ Warning ]
    /bin/sh                                                  [ Warning ]
    /bin/su                                                  [ Warning ]
    /bin/touch                                               [ Warning ]
    /bin/uname                                               [ Warning ]
    /bin/which                                               [ Warning ]
    /bin/kmod                                                [ Warning ]
    /bin/dash                                                [ Warning ]

Checking for rootkits...

  Performing check of known rootkit files and directories
    55808 Trojan - Variant A                                 [ Not found ]
    ADM Worm                                                 [ Not found ]
    AjaKit Rootkit                                           [ Not found ]
    Adore Rootkit                                            [ Not found ]
    aPa Kit                                                  [ Not found ]
    Apache Worm                                              [ Not found ]
    Ambient (ark) Rootkit                                    [ Not found ]
    Balaur Rootkit                                           [ Not found ]
    BeastKit Rootkit                                         [ Not found ]
    beX2 Rootkit                                             [ Not found ]
    BOBKit Rootkit                                           [ Not found ]
    cb Rootkit                                               [ Not found ]
    CiNIK Worm (Slapper.B variant)                           [ Not found ]
    Danny-Boy's Abuse Kit                                    [ Not found ]
    Devil RootKit                                            [ Not found ]
    Dica-Kit Rootkit                                         [ Not found ]
    Dreams Rootkit                                           [ Not found ]
    Duarawkz Rootkit                                         [ Not found ]
    Enye LKM                                                 [ Not found ]
    Flea Linux Rootkit                                       [ Not found ]
    Fu Rootkit                                               [ Not found ]
    rainbows`it Rootkit                                          [ Not found ]
    GasKit Rootkit                                           [ Not found ]
    Heroin LKM                                               [ Not found ]
    HjC Kit                                                  [ Not found ]
    ignoKit Rootkit                                          [ Not found ]
    IntoXonia-NG Rootkit                                     [ Not found ]
    Irix Rootkit                                             [ Not found ]
    Jynx Rootkit                                             [ Not found ]
    KBeast Rootkit                                           [ Not found ]
    Kitko Rootkit                                            [ Not found ]
    Knark Rootkit                                            [ Not found ]
    ld-linuxv.so Rootkit                                     [ Not found ]
    Li0n Worm                                                [ Not found ]
    Lockit / LJK2 Rootkit                                    [ Not found ]
    Mood-NT Rootkit                                          [ Not found ]
    MRK Rootkit                                              [ Not found ]
    Ni0 Rootkit                                              [ Not found ]
    Ohhara Rootkit                                           [ Not found ]
    Optic Kit (Tux) Worm                                     [ Not found ]
    Oz Rootkit                                               [ Not found ]
    Phalanx Rootkit                                          [ Not found ]
    Phalanx2 Rootkit                                         [ Not found ]
    Phalanx2 Rootkit (extended tests)                        [ Not found ]
    Portacelo Rootkit                                        [ Not found ]
    R3dstorm Toolkit                                         [ Not found ]
    RH-Sharpe's Rootkit                                      [ Not found ]
    RSHA's Rootkit                                           [ Not found ]
    Scalper Worm                                             [ Not found ]
    Sebek LKM                                                [ Not found ]
    Shutdown Rootkit                                         [ Not found ]
    SHV4 Rootkit                                             [ Not found ]
    SHV5 Rootkit                                             [ Not found ]
    Sin Rootkit                                              [ Not found ]
    Slapper Worm                                             [ Not found ]
    Sneakin Rootkit                                          [ Not found ]
    'Spanish' Rootkit                                        [ Not found ]
    Suckit Rootkit                                           [ Not found ]
    Superkit Rootkit                                         [ Not found ]
    TBD (Telnet BackDoor)                                    [ Not found ]
    TeLeKiT Rootkit                                          [ Not found ]
    T0rn Rootkit                                             [ Not found ]
    trNkit Rootkit                                           [ Not found ]
    Trojanit Kit                                             [ Not found ]
    Tuxtendo Rootkit                                         [ Not found ]
    URK Rootkit                                              [ Not found ]
    Vampire Rootkit                                          [ Not found ]
    VcKit Rootkit                                            [ Not found ]
    Volc Rootkit                                             [ Not found ]
    Xzibit Rootkit                                           [ Not found ]
    zaRwT.KiT Rootkit                                        [ Not found ]
    ZK Rootkit                                               [ Not found ]

  Performing additional rootkit checks
    Suckit Rookit additional checks                          [ OK ]
    Checking for possible rootkit files and directories      [ None found ]
    Checking for possible rootkit strings                    [ None found ]

  Performing malware checks
    Checking running processes for suspicious files          [ None found ]
    Checking for login backdoors                             [ None found ]
    Checking for suspicious directories                      [ None found ]
    Checking for sniffer log files                           [ None found ]
    Suspicious Shared Memory segments                        [ None found ]

  Performing Linux specific checks
    Checking loaded kernel modules                           [ OK ]
    Checking kernel module names                             [ OK ]

Checking the network...

  Performing checks on the network ports
    Checking for backdoor ports                              [ None found ]
    Checking for hidden ports                                [ Skipped ]

  Performing checks on the network interfaces
    Checking for promiscuous interfaces                      [ None found ]

Checking the local host...

  Performing system boot checks
    Checking for local host name                             [ Found ]
    Checking for system startup files                        [ Found ]
    Checking system startup files for malware                [ None found ]

  Performing group and account checks
    Checking for passwd file                                 [ Found ]
    Checking for root equivalent (UID 0) accounts            [ None found ]
    Checking for passwordless accounts                       [ None found ]
    Checking for passwd file changes                         [ Warning ]
    Checking for group file changes                          [ Warning ]
    Checking root account shell history files                [ OK ]

  Performing system configuration file checks
    Checking for an SSH configuration file                   [ Not found ]
    Checking for a running system logging daemon             [ Found ]
    Checking for a system logging configuration file         [ Found ]
    Checking if syslog remote logging is allowed             [ Not allowed ]

  Performing filesystem checks
    Checking /dev for suspicious file types                  [ None found ]
    Checking for hidden files and directories                [ Warning ]


System checks summary
=====================

File properties checks...
    Required commands check failed
    Files checked: 141
    Suspect files: 141

Rootkit checks...
    Rootkits checked : 365
    Possible rootkits: 0

Applications checks...
    All checks skipped

The system checks took: 3 minutes and 3 seconds

All results have been written to the log file: /var/log/rkhunter.log

One or more warnings have been found while checking the system.
Please check the log file (/var/log/rkhunter.log)

fred@aussie! ~ $

I've never seen so many warnings from rkhunter in my life! I don't know what you guys think, but I'm getting outta here until I hear more! At least I have triple-boot. :D Back soon!
EDIT: I also can't log out. Hmmm....

EDIT2: I just booted into Kali and had a similar (though not identical) result. After running "rkhunter --propupd" the warnings were gone. I still don't trust it right now, though. Fortunately, my install of Betsy reconfigured to use Devuan is reporting clean.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

Habitual
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: 3 Open Ports

Postby Habitual » Thu Oct 15, 2015 3:59 pm

Image

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Thu Oct 15, 2015 6:57 pm

Thanks Habitual. The only trouble is I'm afraid to boot back into that installation until I figure out what those warnings were about! I'd dismiss 'em as false positives if it weren't for:
(a). I run rkhunter a good bit and I've never seen anything like this before. I've definitely run it multiple times on this installation and it's always come back clean.
(b). My not being able to log out was also slightly suspicious.
I'm a tad worried now I've got a "friend" in my system. :lol:
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

bigbenaugust
Level 3
Level 3
Posts: 107
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 919

Re: 3 Open Ports

Postby bigbenaugust » Fri Oct 16, 2015 10:55 am

One wishes that rkhunter would be a little more verbose about its warnings. A legitimate update could have changed all of those binaries and their database could just be a little behind the times.

https://en.wikipedia.org/wiki/Rkhunter
--Ben

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Fri Oct 16, 2015 4:55 pm

Habitual wrote:http://portchecker.co/canyouseeme

They seem to be closed from the outside.
Thanks Habitual!
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

Habitual
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: 3 Open Ports

Postby Habitual » Fri Oct 16, 2015 5:21 pm

Fred Barclay wrote:Thanks Habitual. The only trouble is I'm afraid to boot back into that installation until I figure out what those warnings were about! I'd dismiss 'em as false positives if it weren't for:
(a). I run rkhunter a good bit and I've never seen anything like this before. I've definitely run it multiple times on this installation and it's always come back clean.
(b). My not being able to log out was also slightly suspicious.
I'm a tad worried now I've got a "friend" in my system. :lol:


You have a router!
Goto http://portchecker.co/canyouseeme and scan for all ports.
If all your computers are using the router, then you can go to http://portchecker.co/canyouseeme
from any OS/host/toaster ;) that is using the same router.

and scan the router to see if anything is open.
If they are not, You won't need [g]ufw for the current situation.

See you Monday'ish Cobber.
Have a good weekend.
Image

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Fri Oct 16, 2015 5:45 pm

Yeah, sorry, I started a new thread a few hours ago about this. I was just letting you know that the link you sent did not show any open ports. :D

But as far as rkhunter itself goes, I do believe that the trouble was my not running the --propupd just as you mentioned. :oops: If you want to look at that thread, it's viewtopic.php?f=242&t=207441 I'll post there in a moment with /var/log/rkhunter.log

EDIT: Wait...what??? I was responding to a post by you that doesn't seem to be there. :? :lol:
Last edited by Fred Barclay on Fri Oct 16, 2015 5:56 pm, edited 1 time in total.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

User avatar
Fred Barclay
Level 11
Level 11
Posts: 3976
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: 3 Open Ports

Postby Fred Barclay » Fri Oct 16, 2015 5:49 pm

Habitual wrote:You have a router!
Goto http://portchecker.co/canyouseeme and scan for all ports.
If all your computers are using the router, then you can go to http://portchecker.co/canyouseeme
from any OS/host/toaster ;) that is using the same router.

and scan the router to see if anything is open.
If they are not, You won't need [g]ufw for the current situation.

See you Monday'ish Cobber.
Have a good weekend.

Same to you!

I'll check that link ASAP. Meanwhile, I do need a firewall of some sort since this is a lappy and I travel with it a good deal--or am I wrong? This means connecting to untrusted wifi's, unfortunately.

Edit: I've already used that link. All ports are closed, or so it says. Thanks! :)
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein


Return to “Networking”