Great article, thanks. Does sysdig ready for production servers? tested so it does not introduce new issues?
I'm one of of the sysdig creators. Sysdig is a pretty young project (we released it around a month ago), so I can't promise it will be flawless in a production environment. However, we've had many installations under several different environments, and during the month after the release we had extremely few crash reports, which we've worked to fix right away.
Fishing for Hackers: Analysis of a Linux Server Attack
31–40 of 53 posts
Re: Fishing for Hackers: Analysis of a Linux Server Attack
#32Earlier quoted context omitted.
I'm one of of the sysdig creators. Sysdig is a pretty young project (we released it around a month ago), so I can't promise it will be flawless in a production environment. However, we've had many installations under several different environments, and during the month after the release we had extremely few crash reports, which we've worked to fix right away.
By 'crash reports' do you mean the kernel/host?
Kernelwise, the main thing to report is a couple of crashes on non-mainline kernels like openVZ.
Re: Fishing for Hackers: Analysis of a Linux Server Attack
#33So a DO/Rackspace/AWS VPS with a guessable root password can expect to be cracked in ~4 hours? That's terrible! AFAIK, AWS defaults to ssh-key logins with password logins disabled. Can someone comment about Rackspace/DO?
$ uptime
22:09:07 up 30 days, 12:19, 2 users, load average: 0,17, 0,09, 0,07
$ sudo fail2ban-client status ssh-iptablesPassword:
Status for the jail: ssh-iptables
|- filter
| |- File list: /var/log/messages
| |- Currently failed: 1
| `- Total failed: 1757
`- action
|- Currently banned: 0
| `- IP list:
`- Total banned: 242
1757 attempts from 242 IP address in the past 30 days...Re: Fishing for Hackers: Analysis of a Linux Server Attack
#34OP may also benefit from the use of an SSH honeypot. I use kippo ( https://code.google.com/p/kippo/ ) with great success. It tracks all commands run, as well as keeps copies of all downloaded files. In addition, it limits available commands to a certain predefined subset, allowing the host to prevent damage caused (e.g. a DoS attack in this case) by the system being compromised.
That's an interesting project. Would it have recorded also statistics like the connection activity? Seeing all the UDP traffic, and being able to trace its origin to the "@udp1 39.115.244.150 800 300" command, received not via shell but via a TCP connection, was pretty cool.
Rather, his server connected to some IRC server and joined a channel with all his other bot friends. The owner then sent the command to the IRC channel, and it is then broadcasted to all bots by whatever IRC server he is using.
(This is why lots of IaaS providers will forbid you from hosting an IRC server, and sometimes block all IRC traffic (by port anyway) on their networks)
Re: Fishing for Hackers: Analysis of a Linux Server Attack
#35Wow a Romanian script kiddie at work. This kind of modus operandus is so 2004. Nice tool showcased though.
Re: Fishing for Hackers: Analysis of a Linux Server Attack
#36Great article, thanks. Does sysdig ready for production servers? tested so it does not introduce new issues?
Re: Fishing for Hackers: Analysis of a Linux Server Attack
#37Re: Fishing for Hackers: Analysis of a Linux Server Attack
#38OP may also benefit from the use of an SSH honeypot. I use kippo ( https://code.google.com/p/kippo/ ) with great success. It tracks all commands run, as well as keeps copies of all downloaded files. In addition, it limits available commands to a certain predefined subset, allowing the host to prevent damage caused (e.g. a DoS attack in this case) by the system being compromised.