From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Did I just get hacked???
Date: Sat, 10 Feb 2007 20:11:52 -0800 [thread overview]
Message-ID: <49bf44f10702102011jf5b401gc3cc76ebd237f82b@mail.gmail.com> (raw)
In-Reply-To: <200702102206.40008.mcbrides9@comcast.net>
> > The contents of my /home/grant/vmware folder have suddenly
> > disappeared. I haven't noticed anything else strange yet. I did
> > configure and start shorewall for the first time yesterday instead of
> > using a few iptables commands from the Gentoo Home Router Guide. I'm
> > also running PenguinTV (a video RSS aggregator with an ebuild in
> > bugs.gentoo.org) and transmission (a bittorrent client in portage) for
> > the first time. My shorewall config is here:
> >
> > http://archives.gentoo.org/gentoo-user/msg_108375.xml
> >
> > What should I do next?
> >
> > - Grant
>
> 1 - if you aren't sure, then take it off the net untill you are sure.
> 2 - view the log files in /var/log
> 3 - look at the contents and the file dates... see anything "not rigt"
I haven't spent much time in /var/log before unless I was looking for
something specific so it all looks pretty foreign as I look over it
now. What type of things should I be looking for?
> 4 - from a "rescue disk" of some merit and run chkrootkit or simiar tool.
Here is the output of chkrootkit. It looks fine to me but there is
some stuff at and near the end that I don't understand.
ROOTDIR is `/'
Checking `amd'... not found
Checking `basename'... not infected
Checking `biff'... not found
Checking `chfn'... not infected
Checking `chsh'... not infected
Checking `cron'... not infected
Checking `date'... not infected
Checking `du'... not infected
Checking `dirname'... not infected
Checking `echo'... not infected
Checking `egrep'... not infected
Checking `env'... not infected
Checking `find'... not infected
Checking `fingerd'... not found
Checking `gpm'... not infected
Checking `grep'... not infected
Checking `hdparm'... not infected
Checking `su'... not infected
Checking `ifconfig'... not infected
Checking `inetd'... not tested
Checking `inetdconf'... not found
Checking `identd'... not found
Checking `init'... not infected
Checking `killall'... not infected
Checking `ldsopreload'... not infected
Checking `login'... not infected
Checking `ls'... not infected
Checking `lsof'... not found
Checking `mail'... not found
Checking `mingetty'... not found
Checking `netstat'... not infected
Checking `named'... not found
Checking `passwd'... not infected
Checking `pidof'... not infected
Checking `pop2'... not found
Checking `pop3'... not found
Checking `ps'... not infected
Checking `pstree'... not infected
Checking `rpcinfo'... not infected
Checking `rlogind'... not infected
Checking `rshd'... not infected
Checking `slogin'... not infected
Checking `sendmail'... not infected
Checking `sshd'... not infected
Checking `syslogd'... not tested
Checking `tar'... not infected
Checking `tcpd'... not infected
Checking `tcpdump'... not infected
Checking `top'... not infected
Checking `telnetd'... not found
Checking `timed'... not found
Checking `traceroute'... not found
Checking `vdir'... not infected
Checking `w'... not infected
Checking `write'... not infected
Checking `aliens'... no suspect files
Searching for sniffer's logs, it may take a while... nothing found
Searching for HiDrootkit's default dir... nothing found
Searching for t0rn's default files and dirs... nothing found
Searching for t0rn's v8 defaults... nothing found
Searching for Lion Worm default files and dirs... nothing found
Searching for RSHA's default files and dir... nothing found
Searching for RH-Sharpe's default files... nothing found
Searching for Ambient's rootkit (ark) default files and dirs... nothing found
Searching for suspicious files and dirs, it may take a while... nothing found
Searching for LPD Worm files and dirs... nothing found
Searching for Ramen Worm files and dirs... nothing found
Searching for Maniac files and dirs... nothing found
Searching for RK17 files and dirs... nothing found
Searching for Ducoci rootkit... nothing found
Searching for Adore Worm... nothing found
Searching for ShitC Worm... nothing found
Searching for Omega Worm... nothing found
Searching for Sadmind/IIS Worm... nothing found
Searching for MonKit... nothing found
Searching for Showtee... nothing found
Searching for OpticKit... nothing found
Searching for T.R.K... nothing found
Searching for Mithra... nothing found
Searching for OBSD rk v1... nothing found
Searching for LOC rootkit... nothing found
Searching for Romanian rootkit... nothing found
Searching for Suckit rootkit... nothing found
Searching for Volc rootkit... nothing found
Searching for Gold2 rootkit... nothing found
Searching for TC2 Worm default files and dirs... nothing found
Searching for Anonoying rootkit default files and dirs... nothing found
Searching for ZK rootkit default files and dirs... nothing found
Searching for ShKit rootkit default files and dirs... nothing found
Searching for AjaKit rootkit default files and dirs... nothing found
Searching for zaRwT rootkit default files and dirs... nothing found
Searching for Madalin rootkit default files... nothing found
Searching for Fu rootkit default files... nothing found
Searching for ESRK rootkit default files... nothing found
Searching for anomalies in shell history files... nothing found
Checking `asp'... not infected
Checking `bindshell'... not infected
Checking `lkm'... chkproc: nothing detected
Checking `rexedcs'... not found
Checking `sniffer'... ath0: PF_PACKET(/sbin/wpa_supplicant)
vmnet8: not promisc and no PF_PACKET sockets
Checking `w55808'... not infected
Checking `wted'... chkwtmp: nothing deleted
Checking `scalper'... not infected
Checking `slapper'... not infected
Checking `z2'... chklastlog: nothing deleted
Checking `chkutmp'... The tty of the following user process(es) were not found
in /var/run/utmp !
! RUID PID TTY CMD
! root 4450 tty7 /usr/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth vt7
chkutmp: nothing deleted
> 5 - did/are you running any internet services? Look at their log files with a
> magnifying glass for "any" discrepancy...
I am running bittorrent on the affected machine as of yesterday with
tcp and udp ports 6881:6999 forwarded to that machine from the
firewall/router via shorewall. Here is the shorewall config.
/etc/shorewall/zones:
fw firewall
net ipv4
loc ipv4
/etc/shorewall/interfaces:
net eth0 detect tcpflags,routefilter,nosmurfs,logmartians
loc ath0 detect tcpflags,detectnets,nosmurfs
/etc/shorewall/policy:
loc net ACCEPT
loc $FW ACCEPT
loc all REJECT info
$FW net REJECT info
$FW loc REJECT info
$FW all REJECT info
net $FW DROP info
net loc DROP info
net all DROP info
all all REJECT info
/etc/shorewall/rules:
DNS/ACCEPT $FW net
Ping/REJECT net $FW
ACCEPT $FW loc icmp
ACCEPT $FW net icmp
DNAT net loc:192.168.0.3 tcp 6881:6999
DNAT net loc:192.168.0.3 udp 6881:6999
/etc/shorewall/masq:
eth0 ath0
/etc/shorewall/routestopped:
ath0 -
Please let me know if you have any further advice. I'm completely
puzzled as to what happened to the contents of ~/vmware.
- Grant
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-02-11 4:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-11 2:27 [gentoo-user] Did I just get hacked??? Grant
2007-02-11 3:06 ` Jerry McBride
2007-02-11 4:11 ` Grant [this message]
2007-02-11 3:38 ` Albert Hopkins
2007-02-11 4:06 ` Chris Nolan
2007-02-11 4:29 ` [gentoo-user] " Grant Edwards
2007-02-11 21:16 ` James
2007-02-12 0:31 ` Grant
2007-02-12 6:02 ` Paul Sebastian Ziegler
2007-02-12 13:30 ` Shawn Singh
2007-02-12 13:35 ` Shawn Singh
2007-02-12 3:58 ` Grant
2007-02-12 15:32 ` Dan Farrell
2007-02-12 16:33 ` Willie Wong
2007-02-12 18:05 ` Grant
2007-02-13 8:07 ` nicolas.cornu
2007-02-22 23:34 ` [gentoo-user] " Grant
2007-02-23 0:51 ` Neil Bothwick
2007-02-23 17:48 ` Andrey Gerasimenko
2007-02-23 18:47 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49bf44f10702102011jf5b401gc3cc76ebd237f82b@mail.gmail.com \
--to=emailgrant@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox