LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 11-02-2009, 01:11 PM   #1
WebsiteCaptain
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Have I been hacked?


I posted this a few days ago on a cPanel forum website, but nobody has given me any feed back. I'm hoping that viewers here can let me know.

A few days ago I was getting hourly reports that two of the sub-domains on my CENTOS 5.4 server running cPanel 11.24.4 under WHM 11.24.2 had suspicious processes running. I couldn't figure out what they were, so I rebooted the server. Those messages have not returned.

However, in my Logwatch email, in the Named section, I have the following messages;


**Unmatched Entries**
/etc/named.conf:13: using specific query-source port suppresses port randomization and can be insecure.: 1 Time(s)
adjusted limit on open files from 1024 to 1048576: 1 Time(s)
network unreachable resolving './NS/IN': 2001:500:2f::f#53: 1 Time(s)
network unreachable resolving '1.115.74.204.sbl.spamhaus.org/TXT/IN': 2001:7b8:3:1f:0:2:53:2#53: 1 Time(s)
network unreachable resolving '1.193.124.98.sbl.spamhaus.org/TXT/IN': 2001:7b8:3:1f:0:2:53:1#53: 1 Time(s)

... 1,071 more entries in between ...

network unreachable resolving 'zupuctv.cn/NS/IN': 2001:dc7:1000::1#53: 1 Time(s)
network unreachable resolving 'zupuctv.cn/NS/IN': 2001:dc7::1#53: 1 Time(s)
the working directory is not writable: 1 Time(s)
using default UDP/IPv4 port range: [1024, 65535]: 1 Time(s)
using default UDP/IPv6 port range: [1024, 65535]: 1 Time(s)
using up to 4096 sockets: 1 Time(s)

I don't understand what's happening or what I should do about it. Any suggestions will be deeply appreciated.
 
Old 11-02-2009, 01:28 PM   #2
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Quote:
network unreachable resolving './NS/IN': 2001:500:2f::f#53: 1 Time(s)
That appears to be the signature of a DDOS attack against an authoritative nameserver, and I believe your servers are participating in that attack:

Quote:
"...is actively under a DOS where lots of people's dns servers around the world are being queried with bogus sourced dns requests not from port 53 for 'NS? .'. This then bounces back to their authoritative nameservers which are getting traffic overload."
http://markmail.org/message/ydiqnztzmz5qmusf
More discussion here.

Quote:
adjusted limit on open files from 1024 to 1048576: 1 Time(s)
If you didn't do this, or can't justify it, then it was most likely done by a hacker, possibly to support their use of your servers in a DDOS attack.
 
Old 11-02-2009, 01:58 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
probably some sort of malware that launnches a DDOS.
get your server offline ASAP.
 
Old 11-02-2009, 02:00 PM   #4
WebsiteCaptain
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Jim,

Thanks for the reply. I did not adjust the limit of the open files, so I guess the hackers did. I read through the links you provided and about BCP 38, but this stuff is really over my head.

I am wondering if there is an IP address that I could ban which would stop my participation in the DoS attacks, or if there's a port I can exclude.

I want to be a good citizen in the Internet community, as long as I have the skill set to accomplish this. I did run a grep looking for a file that had one of the IP addresses that was in the warning message, but never found one. Do you think this list of "network unreachable resolving" is stored somewhere on my system?
 
Old 11-02-2009, 02:04 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
Quote:
I am wondering if there is an IP address that I could ban which would stop my participation in the DoS attacks, or if there's a port I can exclude.
i doubt it, i figure the attacker downloaded a auto DDOS program to your computer.
are there any odd processes if you type ps at the terminal?
 
Old 11-02-2009, 02:08 PM   #6
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Quote:
I am wondering if there is an IP address that I could ban which would stop my participation in the DoS attacks, or if there's a port I can exclude.
Since the DDOS seems to be targeting an authoritative DNS nameserver, blocking that nameserver's IP address would also block your user's access to the domains served by that nameserver. Better to find and kill the malware. And make sure the hackers can't sneak back in by the same door they used last time.
 
Old 11-02-2009, 02:36 PM   #7
WebsiteCaptain
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
When I type ps in a PuTTY window, The response is pretty limited;

PID TTY TIME CMD
10534 pts/0 00:00:00 bash
10579 pts/0 00:00:00 ps

These are the Running Processes listed in WHM. I replaced some IPs and website names. I know this list is messy.

Pid 6 Name File Current Directory Command Line
1 (init) /sbin/init / init [3]
2 (migration/0) /
3 (ksoftirqd/0) /
4 (watchdog/0) /
5 (events/0) /
6 (khelper) /
7 (kthread) /
10 (kblockd/0) /
11 (kacpid) /
86 (cqueue/0) /
89 (khubd) /
91 (kseriod) /
156 (kswapd0) /
157 (aio/0) /
320 (kpsmoused) /
343 (ata/0) /
344 (ata_aux) /
347 (kjournald) /
372 (kauditd) /
396 (cpsrvd-ssl) /usr/local/cpanel/cpsrvd-ssl /usr/local/cpanel/base cpsrvd - waiting for connections
405 (udevd) /sbin/udevd / /sbin/udevd -d
697 (kgameportd) /
1137 (kmpathd/0) /
1162 (kjournald) /
1164 (kjournald) /
1680 (syslogd) /sbin/syslogd / syslogd -m 0
1683 (klogd) /sbin/klogd / klogd -x
1713 (courierlogger) /usr/sbin/courierlogger / /usr/sbin/courierlogger -pid=/var/spool/authdaemon/pid -facility=mail -start /usr/libexec/courier-authlib/authdaemond
1714 (authdaemond) /usr/libexec/courier-authlib/authdaemond / /usr/libexec/courier-authlib/authdaemond
1738 (authdaemond) /usr/libexec/courier-authlib/authdaemond / /usr/libexec/courier-authlib/authdaemond
1739 (authdaemond) /usr/libexec/courier-authlib/authdaemond / /usr/libexec/courier-authlib/authdaemond
1740 (authdaemond) /usr/libexec/courier-authlib/authdaemond / /usr/libexec/courier-authlib/authdaemond
1741 (authdaemond) /usr/libexec/courier-authlib/authdaemond / /usr/libexec/courier-authlib/authdaemond
1742 (authdaemond) /usr/libexec/courier-authlib/authdaemond / /usr/libexec/courier-authlib/authdaemond
1789 (mysqld_safe) /bin/bash / /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/hosting.cobblestone-marketing.com.pid
1807 (sshd) /usr/sbin/sshd / /usr/sbin/sshd
1813 (mysqld) /usr/sbin/mysqld /var/lib/mysql /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/hosting.cobblestone-marketing.com.pid --skip-external-locking
1841 (courierlogger) /usr/sbin/courierlogger / /usr/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 143 /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
1842 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd / /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 143 /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
1848 (courierlogger) /usr/sbin/courierlogger / /usr/sbin/courierlogger -pid=/var/run/imapd-ssl.pid -start -name=imapd-ssl /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 993 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
1849 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd / /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 993 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
1854 (courierlogger) /usr/sbin/courierlogger / /usr/sbin/courierlogger -pid=/var/run/pop3d.pid -start -name=pop3d /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 110 /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
1855 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd / /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 110 /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
1860 (courierlogger) /usr/sbin/courierlogger / /usr/sbin/courierlogger -pid=/var/run/pop3d-ssl.pid -start -name=pop3d-ssl /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 995 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
1861 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd / /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -maxperip=30 -nodnslookup -noidentlookup 995 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
1873 (authProg) /usr/local/cpanel/bin/courier-auth / /etc/authlib/authProg
3453 (spamd) /usr/bin/perl / spamd child
3490 (spamd) /usr/bin/perl / spamd child
4690 (named) /usr/sbin/named /var/named /usr/sbin/named -u named
5113 (exim) /usr/sbin/exim6] (deleted) /var/spool/exim /usr/sbin/exim -bd -q60m
5117 (exim) /usr/sbin/exim6] (deleted) /var/spool/exim /usr/sbin/exim -tls-on-connect -bd -oX 465
5160 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
5178 (pure-ftpd) /usr/sbin/pure-ftpd / pure-ftpd (SERVER)
5180 (pure-authd) /usr/sbin/pure-authd / /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
5193 (crond) /usr/sbin/crond /var/spool crond
5375 (cpdavd) /usr/bin/perl / cpdavd - accepting connections on 2077 and 2078
5379 (cpanellogd) /usr/bin/perl / cpanellogd - sleeping for logs
5414 (tailwatchd) /usr/bin/perl / tailwatchd
5438 (portsentry) /usr/sbin/portsentry / /usr/sbin/portsentry -tcp
5956 (smartd) /usr/sbin/smartd / /usr/sbin/smartd -q never
5959 (mingetty) /sbin/mingetty / /sbin/mingetty tty1
5960 (mingetty) /sbin/mingetty / /sbin/mingetty tty2
5961 (mingetty) /sbin/mingetty / /sbin/mingetty tty3
5962 (mingetty) /sbin/mingetty / /sbin/mingetty tty4
5963 (mingetty) /sbin/mingetty / /sbin/mingetty tty5
5964 (mingetty) /sbin/mingetty / /sbin/mingetty tty6
6017 (authProg) /usr/local/cpanel/bin/courier-auth / /etc/authlib/authProg
6131 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
6253 (authProg) /usr/local/cpanel/bin/courier-auth / /etc/authlib/authProg
6291 (authProg) /usr/local/cpanel/bin/courier-auth / /etc/authlib/authProg
8649 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9289 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9291 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9382 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9384 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9461 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9463 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9753 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
9754 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
10532 (sshd) /usr/sbin/sshd / sshd: root@pts/0
10534 (bash) /bin/bash /root -bash
10703 (cpsrvd-ssl) /usr/local/cpanel/cpsrvd-ssl /usr/local/cpanel/whostmgr/docroot whostmgrd - serving 76.88.xxx.xxx
10704 (cpsrvd-ssl) /usr/local/cpanel/cpsrvd-ssl /usr/local/cpanel/whostmgr/docroot whostmgrd - serving 76.88.xxx.xxx
10705 (cpsrvd-ssl) /usr/local/cpanel/cpsrvd-ssl /usr/local/cpanel/whostmgr/docroot whostmgrd - serving 76.88.xxx.xxx
10710 (cpsrvd-ssl) /usr/local/cpanel/cpsrvd-ssl /usr/local/cpanel/whostmgr/docroot whostmgrd - serving 76.88.xxx.xxx
10711 (couriertls) /usr/lib/courier-imap/bin/couriertls / /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
10712 (imapd) /usr/lib/courier-imap/bin/imapd /home/marina/mail/website2.com/mhannan /usr/lib/courier-imap/bin/imapd /home/marina/mail/website2.com/mhannan
10717 (cpsrvd-ssl)
10720 (couriertls) /usr/lib/courier-imap/bin/couriertls / /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
10721 (whostmgr) /usr/local/cpanel/whostmgr/bin/whostmgr /usr/local/cpanel/whostmgr/docroot /usr/local/cpanel/whostmgr/bin/whostmgr ./simpleps
10722 (simpleps) /usr/bin/perl /usr/local/cpanel/whostmgr/docroot /usr/bin/perl /scripts/simpleps --html
17988 (authProg) /usr/local/cpanel/bin/courier-auth / /etc/authlib/authProg
18711 (gam_server) /usr/libexec/gam_server /home/vineyard/mail/website1.com/dsmerlo /usr/libexec/gam_server
18712 (couriertls) /usr/lib/courier-imap/bin/couriertls / /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
18713 (imapd) /usr/lib/courier-imap/bin/imapd /home/vineyard/mail/website1.com/dsmerlo /usr/lib/courier-imap/bin/imapd /home/vineyard/mail/website1.com/dsmerlo
19651 (pdflush) /
23242 (gam_server) /usr/libexec/gam_server /home/marina/mail/website2.com/mhannan /usr/libexec/gam_server
23243 (couriertls) /usr/lib/courier-imap/bin/couriertls / /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
23244 (imapd) /usr/lib/courier-imap/bin/imapd /home/marina/mail/website2.com/mhannan /usr/lib/courier-imap/bin/imapd /home/marina/mail/website2.com/mhannan
28581 (lfd) /usr/bin/perl /etc/csf lfd - sleeping
29198 (pdflush) /
29382 (httpd) /usr/local/apache/bin/httpd / /usr/local/apache/bin/httpd -k start -DSSL
32558 (spamd) /usr/bin/perl / /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5
 
Old 11-02-2009, 03:04 PM   #8
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Here's a list of the unique process names from that list...does anything look unusual?

aio
ata
ata_aux
authdaemond
authProg
bash
courierlogger
couriertcpd
couriertls
cpanellogd
cpdavd
cpsrvd-ssl
cqueue
crond
events
exim
gam_server
httpd
imapd
init
kacpid
kauditd
kblockd
kgameportd
khelper
khubd
kjournald
klogd
kmpathd
kpsmoused
kseriod
ksoftirqd
kswapd0
kthread
lfd
migration
mingetty
mysqld
mysqld_safe
named
pdflush
portsentry
pure-authd
pure-ftpd
simpleps
smartd
spamd
sshd
syslogd
tailwatchd
udevd
watchdog
whostmgr

Your first post indicated that the messages were found in the Named section...which of these processes could (or should) be making DNS calls?
 
Old 11-02-2009, 03:15 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 20,993
Blog Entries: 44

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
Quote:
Originally Posted by Jim Bengtson View Post
That appears to be the signature of a DDOS attack
Please take a few steps back and realise the OP indicated his lack of knowledge of GNU/Linux. He only presented a shred of information in his OP. I suggest you don't dwell on that for too long as none of it adheres to the kind of information we would like to see used in a default examination of a (perceived) compromised system. If you don't know what I'm talking about feel free to search the Linux Security forum for any incident handling threads and feel free to ask.


Quote:
Originally Posted by smeezekitty View Post
probably some sort of malware that launnches a DDOS.
get your server offline ASAP.
This is the Linux Security forum, not your /General playground: we deal with facts, not guesswork. If you want to contribute to an investigation in a way that is constructive for the OP please read some incident response threads/docs, ask what you should do or else please don't post. Thanks for understanding.


Quote:
Originally Posted by WebsiteCaptain View Post
A few days ago I was getting hourly reports that two of the sub-domains on my CENTOS 5.4 server running cPanel 11.24.4 under WHM 11.24.2 had suspicious processes running. I couldn't figure out what they were, so I rebooted the server. Those messages have not returned. (..) I don't understand what's happening or what I should do about it.
If you don't understand things then the best thing to do is to do nothing. Ask for advice before doing anything. By rebooting you wilfully destroyed volatile user, process and network data. Also do not wait days before asking for advice.

Last edited by unSpawn; 11-02-2009 at 03:18 PM.
 
Old 11-02-2009, 03:23 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 20,993
Blog Entries: 44

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
Quote:
Originally Posted by Jim Bengtson View Post
Here's a list of the unique process names from that list...does anything look unusual?
Note it would be trivial to modify argv[0] to make a process appear as if it is running as something else. Most current toolkits come with a default tool to do just that.

What would be in order would be to:
- contain the situation by shutting down all unnecessary services (one only needs SSH access) and raising the firewall to only allow traffic to and from the administration IP (or range),
- a complete filesystem integrity check (Aide, Samhain or even tripwire, else the package management tools that come with the distribution, else verification against packages from a trusted repo),
- a scan of everything else installed outside of the scope of package management, temp dir files, auth, logs.
 
Old 11-02-2009, 03:39 PM   #11
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Quote:
...none of it adheres to the kind of information we would like to see used in a default examination of a (perceived) compromised system. If you don't know what I'm talking about feel free to search the Linux Security forum for any incident handling threads and feel free to ask.
OK, I did a little browsing, and see that you've expressed this frustration before:

Quote:
I have little time to spend but I also realize LQ is low on members with proper background knowledge and Incident Response capability (considering only those members who have demonstrated it and as I want to see it, namely: helpful, structured and of a certain quality).
http://www.linuxquestions.org/questi...1/#post3691804
I'm amenable to helping where I can, but I'm still learning too. I know enough to be dangerous, and try not to post where my lack of knowledge exceeds my knowledge. Perhaps this would be a good time to compile a "best practice" incident response procedure?
 
Old 11-02-2009, 03:57 PM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 20,993
Blog Entries: 44

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
Quote:
Originally Posted by Jim Bengtson View Post
OK, I did a little browsing, and see that you've expressed this frustration before
+1, good you've found that post! The thread kind of outlines what we would like to know from the OP.


Quote:
Originally Posted by Jim Bengtson View Post
I'm amenable to helping where I can, but I'm still learning too.
...which is an excellent starting point. That's why I'm just offering you remarks and pointers. I'd figure you'd be able to get things going from there, right?


Quote:
Originally Posted by Jim Bengtson View Post
Perhaps this would be a good time to compile a "best practice" incident response procedure?
Sadly enough we're still pointing to the http://web.archive.org/web/200801092...checklist.html (which I'd appreciate people pointing to if they do not have any IR caps or wait for help), the rest is pretty much "documented" (heh) in the threads we've posted here since 2001 ;-p Collating it seems useful but time isn't on my side (even the Rootkit Hunter 1.3.6 release deadline keeps slipping back). If you feel up for doing it I'll help you with it.
 
Old 11-02-2009, 04:07 PM   #13
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Quote:
If you feel up for doing it I'll help you with it.
I'll do what I can, as time allows. This looks like a good starting point:

Quote:
In any type of incident the investigator should be focused on obtaining the following information:
1. System date and time
2. Who is logged in to the system (including remote-access users, if applicable)
3. Open network ports
4. Applications associated with the open ports
5. All running processes
6. Timestamps and checksums on all files
7. Systems that have current or had recent connections to the system
8. System event logs
9. Possible forensic duplication of system hard drive and/or physical memory

It is very important to preserve and not destroy or alter any evidence obtained during the initial response. While it is preferred that no changes occur to the system, depending on the tools that are used, there are times when footprints are left by the investigator. Complete documentation of the steps taken must be kept in order to verify the data that was obtained.

--Procedure for Unix Incident Response
http://www.infosec.ucf.edu/Procedure...t_Response.pdf
 
Old 11-02-2009, 04:14 PM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 20,993
Blog Entries: 44

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
Maybe we should break this out of the current conversation and create a LQ Wiki page for it? Continuing here might confuse the OP we're trying to help.
 
Old 11-02-2009, 04:20 PM   #15
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Quote:
Maybe we should break this out of the current conversation and create a LQ Wiki page for it?
?? - Lead on, my friend!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hacked? jukebox55 Linux - Security 12 03-19-2008 05:29 PM
think i got hacked phatbastard Linux - Security 7 12-01-2007 02:36 PM
hacked? WRSpithead Linux - Security 2 08-30-2006 04:21 AM
Have I been hacked? af_dave Linux - Security 3 07-14-2004 03:02 PM
HELP I think i got hacked spank Linux - Newbie 5 03-24-2004 09:59 AM


All times are GMT -5. The time now is 12:22 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration