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
  Search this Thread
Old 03-17-2007, 02:07 PM   #1
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Rep: Reputation: 86
Nepenthes: low interaction honeypots


I've setup Nepenthes 0.1.7 and have been running it for a couple days now and have only gotten one random connection attempt (no exploit was attempted). I thought the Internet was much more hostile than this. It's listening on around 30 ports, yet when I scan it from the Internet, nepenthes only shows 8 connection attempts for some reason. Even still I would think I would of gotten some malware by now. Is something misconfigured or should I keep on waiting?

Here is the output when I run it.

Code:
[ info mgr ] Loaded Nepenthes Configuration from "/etc/nepenthes/nepenthes.conf".
[ info down handler ] download-ftp nat settings; uses 75.110.96.164 for external ip and ports 62001->63000 for transferr
[ info sc module ] Loading signatures from file /var/nepenthes/cache/nepenthes/signatures/shellcode-signatures.sc
[ debug info fixme ] Cache Path is '/var/nepenthes/cache/nepenthes/geolocation/'
[ info mgr ] Changed logfile /var/nepenthes/log/nepenthes.log owner to 0:0 (root:wheel)
[ crit mgr ] Compiled without support for capabilities, no way to run capabilities
Even though it has a crit mgr message, it still shows connection attempts and I've only gotten one so far.
 
Old 03-18-2007, 03:59 AM   #2
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Hello, you need to install libcap and then ./configure it with capabilities. Just do ./configure --help so you can see what options are available.

And Nepenthes 2.0 has been released, you should upgrade to that version.

/////
 
Old 03-18-2007, 09:17 AM   #3
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Original Poster
Rep: Reputation: 86
I've just installed 0.2.0 on FreeBSD 6.2 before I read your post. Nepenthes documentation says that libcap is optional so I'm not sure I need that? libpcap version 0.9.4 is installed though... I didn't compile it with --enable-capabilities yet but ./configure --help says "Enable capabilities default=auto" However I'm still getting the compiled without capabilities error. Is it a serious error? Since upgrading to 0.2.0 I got someone who attempted to login via FTP, but that was it.

Edit: When I tried ./configure --enable-capabilities in the summary it provides it says - Support capabilities : no (check failed)

Last edited by OlRoy; 03-18-2007 at 09:40 AM.
 
Old 03-18-2007, 02:15 PM   #4
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by OlRoy
I've just installed 0.2.0 on FreeBSD 6.2 before I read your post.
As far as I know you can then ignore that message, only linux needs libcap.

You can test your Nepenthes with this service scan.
http://centralops.net/co/DomainDossier.aspx

It should show hits on couple of ports.
If there is no hits (hexdump messages) in logs then something is for sure wrong.
 
Old 03-18-2007, 02:42 PM   #5
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Original Poster
Rep: Reputation: 86
Yeah I had scanned it with a couple different website based port scanners before and it only showed 8 connections yet I have around 30 ports listening. Is the internet really that much less hostile than people make it seem? I've been running nepenthes for a while now and have only gotten some basic port scans. I'm monitoring the traffic in Ethereal which confirms that I'm not getting much attack traffic. If I can't get malware from nepenthes, is there any other way to get it? I really want to do some behavior analysis.
 
Old 03-18-2007, 03:44 PM   #6
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by OlRoy
I'm monitoring the traffic in Ethereal which confirms that I'm not getting much attack traffic. If I can't get malware from nepenthes, is there any other way to get it? I really want to do some behavior analysis.
That sounds kinda odd, I mean that I just made wc -l to my 24h log file and it had over 6k lines (spam, viruses etc .. ) and my Nepenthes listens just one (home)ip.

nepenthes.log (24h) 6,6k lines and without spam 4,3k
logged_downloads.log (24h) 300 lines
logged_submissions.log (24h) 131 lines

Maybe your ISP is doing good work against viruses.

Do you just need different malware for tests?
There is public malware libraries where you can dl lots of different virii if you need some, but I suspect that you want live virus traffic and I cant help with that.

////
 
Old 03-18-2007, 04:00 PM   #7
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Original Poster
Rep: Reputation: 86
Yeah I'd definitely like to get nepenthes working, but in the mean time I'd like to play around with some even if I have to download it manually. I'm not aware of any malware libraries, is there some that you recommend?
 
Old 03-18-2007, 04:09 PM   #8
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
There is 66k viruses at this moment.
Edit: Url removed

Code:
I'm checking it out now, thanks for your help!
np

Last edited by //////; 03-18-2007 at 04:33 PM.
 
Old 03-18-2007, 04:25 PM   #9
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Original Poster
Rep: Reputation: 86
I'm checking it out now, thanks for your help!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NCS Introduces Ultra-Compact, Low-Cost, Low-Power and Super-Quiet Set-top Server Appliance Platforms LXer Syndicated Linux News 0 01-29-2006 08:01 PM
Honeypots metallica1973 Linux - Security 9 11-11-2005 09:50 PM
Firewalls - IPTABLES and Honeypots metallica1973 Linux - Security 8 09-05-2005 02:53 PM
python os interaction help JoeUser11 Programming 6 06-22-2005 11:46 PM
Honeypots af_dave Linux - Security 2 09-02-2004 01:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration