root/nepenthes/trunk/README

Revision 524, 24.6 kB (checked in by common, 3 years ago)

nepenthes
- notes about bad formatting

  • Property svn:keywords set to id rev
Line 
1                 Nepenthes
2         - the finest collection -
3
4
5 Our documentation and installation instructions is available online at
6
7         http://nepenthes.sourceforge.net/documentation:readme
8
9
10
11 ( if you are offline and need a README file scroll down, there is a paste of the online version)
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30                Nepenthes
31        - the finest collection -
32
33
34 IMPORTANT NOTE
35 the same README in a better readable format can be found on
36 http://nepenthes.sourceforge.net/documentation:readme
37 not to mention the online doc is updatet more often.
38
39
40
41
42
43 Table of Contents
44
45     * Nepenthes Readme
46     * 1. What is Nepenthes?
47     * 2. How does Nepenthes work?
48           o 2.1 Why would one want to run Nepenthes?
49     * 3. Installing Nepenthes
50           o precompiled binaries/prebuild setups
51           o from source
52                 + linux
53                 + Mac OSX
54                 + BSD
55                 + cygwin/Windows
56           o getting the code
57                 + svn repository
58                 + release packages
59           o patching the source
60                 + 0.1.3 patches
61                 + 0.1.4 patches
62           o compiling the source
63                 + linux
64                 + Mac OSX
65                 + NetBSD
66                 + OpenBSD
67                 + cygwin
68           o adjust the configuration
69           o update an existing configuration
70                 + the lazy way
71                 + diff it
72           o run it
73     * 4. Current Status
74           o 4.1 Nepenthes core
75           o 4.2 Nepenthes Modules
76                 + 4.2.1 download handler
77                 + 4.2.2 submit Handler
78                 + 4.2.3 shellcode handler
79                 + 4.2.4 vulnerability modules
80                 + 4.2.5 ShellEmulation modules
81                 + 4.2.6 eXample modules
82                 + 4.2.7 GeoLocationHandler
83                 + 4.2.8 DNSHandler
84     * 5. Modules Interface
85     * 6. Contribute to Nepenthes
86     * 7. Trouble Shooting
87     * 8. FAQ
88
89
90
91
92
93
94
95
96
97
98
99 Nepenthes Readme
100 1. What is Nepenthes?
101
102 Nepenthes is a low interaction honeypot like honeyd or mwcollect. Low Interaction Honeypots emulate _known_ vulnerabilities to collect information about potential attacks. Nepenthes is designed to emulate vulnerabilties worms use to spread, and to capture these worms. As there are many possible ways for worms to spread, Nepenthes is modular. There are module interface to
103
104     * resolve dns asynchronous
105     * emulate vulnerabilities
106     * download files
107     * submit the downloaded files
108     * trigger events (sounds abstract and it is abstract but is still quite useful)
109     * shellcode handler
110
111 Refer to FIXME for more information about the Module Interface.
112 2. How does Nepenthes work?
113
114 Nepenthes vulnerability modules require knowledge about weaknesses so one can draft a Dialogue how the virus will exploit the weakness, gain the needed information to download the file and send the attacker just enough information he does not notice he gets fooled.
115 On the other hand Nepenthes is quite usefull to capture new exploits for old vulnerabilities.
116 As Nepenthes does not know these exploits, they will appear in the logfiles.
117 By running these captures against a real vulnerable machine one can gain new information about the exploit and start writing an Nepenthes Dialogue.
118 2.1 Why would one want to run Nepenthes?
119
120 The first argument is, its free. The software is free, the viruses you can capture are free. You can collect this annoying stuff like stamps without paying a diam. The rest of the arguments are security related an discussable. Setting up a host running Nepenthes can improve network security drastically, as you can see who scans for which known vulnerabilities.
121 3. Installing Nepenthes
122
123 If you update an existing install, please read this, else you may miss something and screw your install.
124 precompiled binaries/prebuild setups
125
126 Check the download section before trying to compile nepenthes from source, there are prebuild or preconfigured packages for
127
128     * gentoo
129     * debian
130     * FreeBSD
131
132 from source
133
134 Nepenthes will use automake to verify your system satisfies the needed depencies.
135
136     * g++ do not use g++ 4.0.* it wont work properly) (g++ 4.0.2 may work ) 2.9? wont work too, as these versions are not c99 compatible
137     * libcurl
138     * libmagic
139     * libpcre
140     * libadns
141
142 linux
143 Debian
144
145 On debian just do
146
147 apt-get install libcurl3-dev
148 apt-get install libmagic-dev
149 apt-get install libpcre3-dev
150 apt-get install libadns1-dev
151
152 or ( paste it in one line )
153
154 apt-get install  libcurl3-dev libmagic-dev libpcre3-dev libadns1-dev
155
156 SuSE
157
158 SuSE (10) needs you to
159
160 apt-get install libadns
161 apt-get install libadns-devel 
162 apt-get install file-devel
163 apt-get install pcre-devel
164 apt-get install pcre
165 apt-get install curl
166 apt-get install curl-devel
167
168 and once again the single line for easy pasting
169
170 apt-get install libadns libadns-devel file-devel pcre-devel pcre curl curl-devel
171
172 Fedora Core 4
173
174 pretty easy again.
175
176 yum install pcre-devel pcre adns adns-devel curl curl-devel file
177
178 Mac OSX
179
180 You need to install updated autotools with darwinports:
181
182 sudo port install libtool  # libtoolize
183 sudo port install autoconf
184 sudo port install automake
185
186 Install the dependencies as well:
187
188 sudo port install adns
189 sudo port install pcre
190 sudo port install file  # for libmagic
191 sudo port install curl
192
193 BSD
194 FreeBSD
195
196 Installing the depencies from ports
197
198 dns/adns
199 ftp/curl
200 devel/pcre
201
202 worked for me
203 OpenBSD
204
205 file & libmagic
206 OpenBSD lacks libmagic, the file utility is not linked against libmagic, it was compile including the magic source. So there is no way but to install (gnu) file from source, so you can link against libmagic. But apart from file everything could be taken from ports, (gnu) file with libmagic is missing on OpenBSD.
207
208 stdint.h
209 And please do
210
211 echo "#include <inttypes.h>" > /usr/include/stdint.h
212
213 else OpenBSD won\u2019t have stdint.h
214
215 So 2 ways to install on openbsd, either get all but file from ports, or build every depency from source, without using ports.
216 ports
217
218 taking
219
220 net/adns
221 net/curl
222 devel/pcre
223
224 from ports worked, but the pcre version used in OpenBSD 3.8 was pretty old (version 4.3 where 6.4 is current), so you you may want to install pcre from source too, please install file from source to get libmagic.
225 plan b
226
227 Installing the depencies from source
228
229 file
230 adns
231 curl
232 pcre
233
234 to /opt and specify their path with the configure flags worked for me.
235 NetBSD
236
237 Installing the depencies adns curl pcre file from pkg worked for me
238 cygwin/Windows
239
240 Compiling nepenthes >= 0.1.6 on windows using cygwin is possible . Installing
241
242     * autoconf2.5
243     * automake1.9
244     * bzip2
245     * curl-devel
246     * file
247     * gcc-core 3.3.3-3
248     * gcc-g++ 3.3.3-3
249     * gzip
250     * inetutils
251     * libcurl3
252     * libtool1.5
253     * make
254     * openssl-devel
255     * pcre-devel
256     * tar
257     * wget
258     * zlib
259
260 from cygwin worked for me. Some packages will install its specific depencies.
261 Installing adns in cygwin
262
263 Get it
264
265 wget http://www.chiark.greenend.org.uk/~ian/adns/adns.tar.gz
266
267 unpack it
268
269 tar xfz adns.tar.gz
270 cd adns-1.1
271
272 configure & compile
273
274 ./configure --prefix=/usr
275 make
276
277 this will fail when linking the adns client, we have to copy the created library by hand
278
279 cd dynamic
280 cp libadns.so libadns.dll
281 cd ..
282 make
283
284 for d in src dynamic client regress; do make -C $d install; done
285 cp dynamic/libadns.dll /bin/libadns.dll
286
287 create /etc/resolv.conf
288
289 Now adns needs the /etc/resolv.conf file we have to create it, first check your nameservers ip
290
291 ipconfig /all | grep DNS-Server
292
293 will give you something like
294
295 DNS-Server. . . . . . . . . . . . : 194.25.2.129
296
297 I recommend you use your real nameserver and not just take this examples values.
298
299 echo nameserver 194.2.25.129 > /etc/resolv.conf
300
301 test adns
302
303 adnshost kernel.org
304
305 kernel.org A INET 204.152.191.5
306 kernel.org A INET 204.152.191.37
307
308 getting the code
309
310 You can download a source package, or get the latest code from the svn repository.
311
312 Svn will offer the latest version, but may not build properly, have bugs, requires some additional time reading the install guide, and additional software.
313 svn repository
314
315 If you think you can handle it, we recommend using svn, if you hit a bug, you can help us fixing it by filing a bug report. But using svn is not that easy, as the svn snapshot does not contain preconfigured autoconf files, you have to create them yourself with the help of
316
317     * libtool (1.5.20)
318           o libtoolize
319     * automake (1.9.6)
320           o aclocal
321     * autoconf (2.59)
322           o autoheader
323
324 Some operating systems (FreeBSD 6.0 for example) ship broken autotools, I was unable to get the shipped autotools create the required files, so using svn may be tricky on some operating systems.
325 Others (debian for example) make using autotools very easy
326
327 apt-get install autoconf automake1.9 autotools-dev libtool
328
329 For more information about autoconf I can recommend the autoconf docs.
330 get it down now
331
332 if you \u201csvn checkout\u201d a repository, you can update this checkout incremental with \u201csvn update\u201d, so you don\u2019t need to download the complete source again when just some lines were changes.
333
334 \u201csvn export\u201d does not allow incremental updates, but uses less diskspace as an export, as the export stores some additional data (local private copy of the whole source).
335
336 So whatever you want to run, its up to you.
337
338 svn checkout svn://svn.mwcollect.org/nepenthes/trunk/
339 cd trunk
340
341 autobreak it
342 *any* non freebsd operting system
343
344 Now we have to run the famous autotools to get the \u201c./configure\u201d file we\u2019ll need to install it.
345
346 autoreconf -v -i --force
347
348 What happens when doing this is ... sometimes a picture says more than words.
349
350 configure.ac --.
351                |   .------> autoconf* -----> configure
352 [aclocal.m4] --+---+
353                |   `-----> [autoheader*] --> [config.h.in]
354 [acsite.m4] ---'
355
356 (taken from the autoconf 2.57 manual)
357
358 the configure on the right side indicates we get this as a result.
359 Mac OSX
360
361 /opt/local/bin/autoreconf -v -i --force
362
363 FreeBSD
364
365 As you can imagine, this does not work everywhere, FreeBSD is special, that special that I was unable to autoreconf svn on a FreeBSD host myself for a long time, that special that I had no real motivation looking for it, as everything automake depended really sucks .....
366
367 But today I got mail, mail how to get it working on FreeBSD.
368
369 For what it's worth, here's what I did to build the current SVN code on
370 FreeBSD 6.0. I thought we might want to add this to the wiki:
371
372 # -- checkout code && cd to src directory --
373 # /usr/local/bin/libtoolize --copy --force
374 # /usr/local/bin/aclocal19 --force
375 # cat /usr/local/share/aclocal/libtool.m4 >>aclocal.m4
376 # /usr/local/bin/autoheader259 --force
377 # /usr/local/bin/automake19 -ai
378 # /usr/local/bin/autoconf259 -f
379 # ./configure
380 # make
381
382 I'm sure this isn't the minimal set of operations, but it works ;)
383
384 release packages
385
386 Check the projects file releases repository on sourceforge and download the latest version.
387 unpacking the source
388
389 Unpack your source tarball.
390
391 if you got a bzip2 package use
392
393  
394 tar vxjf nepenthes-VERSION.tar.bz2
395
396 else
397
398  
399 tar vxzf nepenthes-VERSION.tar.gz
400
401 patching the source
402
403 from time to time things show up, that have to be fixed
404
405 patches are run against /, so you can apply them with
406
407 cd nepenthes-VERSION
408 cat ../example_patch.diff | patch -p0
409
410 0.1.3 patches
411 bugfixes
412
413 you need them as we did mistakes :\
414
415     * nepenthes 0.1.3 logging path patch
416     * nepenthes 0.1.3 download-nepenthes connection close patch
417
418
419
420 features
421
422 patches that add additional features, we recommend them
423
424     * nepenthes 0.1.3 advanced xor and bindshell patch ( highly recommended )
425
426 0.1.4 patches
427
428 none yet
429 compiling the source
430
431 Starting with 0.1.6 every depencie can be resolved with its own specific path. If you got everything in its normal path (we ignore FreeBSDs definition of normal path here), you won\u2019t need this, but if you need it, you dont want to miss it.
432
433 For example
434
435 ./configure \
436 --with-curl-include=/opt/curl/include/ \
437 --with-curl-lib=/opt/curl/lib/ \
438 --with-adns-include=/opt/adns/include/ \
439 --with-adns-lib=/opt/adns/lib/ \
440 --with-pcre-include=/opt/pcre/include/  \
441 --with-pcre-lib=/opt/pcre/lib/ \
442 --with-magic-include=/opt/file/include/ \
443 --with-magic-lib=/opt/file/lib/ \
444 --prefix=/opt/nepenthes
445
446 check
447
448 ./configure --help
449
450 If you rely on user defined pathes.
451 linux
452
453 This worked for debian, Fedora Core 4 and SuSE 10 for me.
454
455 ./configure --prefix=/opt/nepenthes
456 make
457 make install
458
459 Mac OSX
460
461 ./configure \
462 --libdir=/opt/local/lib \
463 --includedir=/opt/local/include/ \
464 --prefix=/opt/nepenthes
465
466 make
467 make install
468
469 NetBSD
470
471 Some depencies ( curl, pcre ) hide in /usr/pkg/, so we have to include this path, including the path once is enough.
472
473 ./configure --prefix=/opt/nepenthes \
474 --with-curl-include=/usr/pkg/include --with-curl-lib=/usr/pkg/lib
475
476 make
477 make install
478
479 OpenBSD
480
481 We assume you followed the advice and installed (gnu) file to /opt/file, and got a shell understanding \ escapes ...
482 ports
483
484 ./configure \
485 --with-curl-include=/usr/local/include/ --with-curl-lib=/usr/local/lib/ \
486 --with-magic-include=/opt/file/include/ --with-magic-lib=/opt/file/lib/ \
487 --prefix=/opt/nepenthes
488
489 plan b
490
491 If you want plan b, ...
492
493 ./configure \
494 --with-curl-include=/opt/curl/include/ --with-curl-lib=/opt/curl/lib/ \
495 --with-adns-include=/opt/adns/include/ --with-adns-lib=/adns/lib/ \
496 --with-pcre-include=/opt/pcre/include/ --with-pcre-lib=/opt/pcre/lib/ \
497 --with-magic-include=/opt/file/include/   --with-magic-lib=/opt/file/lib/ \
498 --prefix=/opt/nepenthes
499
500 cygwin
501
502 cygwin g++ is a little special, won\u2019t compile the sourc out of the box, so we have to tweak it.
503
504 ./configure --prefix=/opt/nepenthes --with-adns-lib=/bin
505 make
506
507 this *will* quit with
508
509 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_uninitialized.h: In membe
510 r function `virtual int32_t nepenthes::VFSCommandCMD::run(std::vector<std::string, std::allocator<std::string> >*)':
511 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_uninitialized.h:82: warning: '__cur' might be used uninitialized in this function
512 make[3]: *** [VFSCommandCMD.lo] Error 1
513 make[3]: Leaving directory `/home/foobar/Svn/nepenthes/trunk/modules/shellemu-winnt'
514 make[2]: *** [all-recursive] Error 1
515 make[2]: Leaving directory `/home/foobar/Svn/nepenthes/trunk/modules'
516 make[1]: *** [all-recursive] Error 1
517 make[1]: Leaving directory `/home/foobar/Svn/nepenthes/trunk'
518 make: *** [all] Error 2
519
520 actually this is not nepenthes fault, but cygwins g++, and the error is not critical, it just fails as the compiler wants to warn us about a *possible* problem, and the Makefile.am says -Werror ( handle warnings as errors )
521
522 So, open modules/shellemu-winnt/Makefile.am with editor of your choice, and change
523
524 AM_CXXFLAGS = -Wall -Werror
525
526 to
527
528 AM_CXXFLAGS = -Wall
529
530 this will still show the warning, but won\u2019t treat it as error any longer.
531
532 then finish it
533
534 make
535 make install
536
537 adjust the configuration
538
539 cd /opt/nepenthes
540
541 less etc/nepenthes/nepenthes.conf
542
543 less etc/nepenthes/submit-norman.conf
544
545 less etc/nepenthes/log-irc.conf
546
547 \u2019less\u2019 means you should have a look in the config file, and edit it using an editor of your choice.
548
549 If something fails, check the Trouble Shooting section. Compiling nepenthes can take some time, here it takes 1:20 minutes on an amd64 3500 cpu with one gb ram.
550 update an existing configuration
551
552 nepenthes won\u2019t overwrite your existing config files on make install that means if you update to a new version, and don\u2019t care about updating the configs, you may break your install.
553
554 As of 0.1.7 there is a real need to do this.
555
556 There are at least 2 ways of verifiying your config works
557 the lazy way
558
559 If you run the default config without any changes, just remove the etc/nepenthes dir, and make install again, it will copy all new versions of all config files.
560 diff it
561
562 this is the way to go if you tweaked your config.
563
564 get this shellscript, and call it like
565
566 ./diffconfigs.sh /tmp/nepenthes-0.1.7 /opt/nepenthes
567
568 #!/bin/sh
569  
570 SRCDIR=$1
571 INSTALLDIR=$2/etc/nepenthes
572  
573 for i in $(find $SRCDIR | grep conf.dist$ | grep -v svn);
574   do CFGNAME=$( basename $i| sed "s/\.dist$//");
575   THEDIFF=$(diff $i $INSTALLDIR/$CFGNAME);
576   DIFFLINES=$(echo $THEDIFF | wc -c)
577   if [ $DIFFLINES -gt 1 ]; then
578     echo -e "\x1b[31mdiff $i $CFGNAME ($DIFFLINES bytes difference) \x1b[0m";
579     diff $i $INSTALLDIR/$CFGNAME
580   fi
581 done
582
583 run it
584
585 If everything went fine, run nepenthes.
586
587 bin/nepenthes
588
589 4. Current Status
590
591 All in all Nepenthes is stable code,
592 but some things are ... lets say a little raw
593 Current status is everything which is marked \u201cwork\u201ding runs fine.
594 4.1 Nepenthes core
595 Component       Status  Comment
596 Config File     works   -
597 SocketManager   works   tcp and udp connections nonblocking, bufferd, no real rawsocket support
598 ShellcodeManager        works   -
599 SubmitManager   works   -
600 EventManager    works   -
601 LuaInterface    planned?/dropped?       -
602 ModuleManager   works   unloading modules at runtime is not really possible as its really hard to make sure there is no shared code left
603 DNSManager      works   i love this one
604 GeoLocationManager      works   was a hack to draw some maps with dots where the attacker may be located, but the homies love it
605
606 4.2 Nepenthes Modules
607 4.2.1 download handler
608 Name    Protocol        Status  comment
609 download_csend  csend   works   
610 download_curl   http/ftp        works   not recommended
611 download_tftp   tftp    works   
612 download_nepenthes      own     works   
613 download_ftp    ftp     works   can even do active ftp behind nat
614 download_http   http    works   
615 download_rcp    rcp     should work     the protocol sucks
616 download_link   linkbot         works   pretty smart thing
617 download_creceive       creceive        works   
618
619 4.2.2 submit Handler
620 Name    status  description
621 submit_file     works   writes viri files to local disk
622 submit_norman   works   submits files to normans online sandbox
623 submit_nepenthes        works   submits files to some other box running nepenthes
624 submit_postgres removed         removed due to issues with nonblocking postgres api
625 submit_xmlrpc   works   submit files to a xmlrpc server
626 submit_gotek    works   submit files to a gotek server
627
628 4.2.3 shellcode handler
629 Name    status  comment
630 sch_generic_createprocess       old     to be removed
631 sch_generic_url         old     to be removed
632 sch_generic_xor         old     to be removed
633 sch_generic_linkxor     old     to be removed
634 sch_generic_stuttgart   old     to be removed
635 sch_generic_link_trans  old     to be removed
636 sch_generic_link_bind_trans     old     to be removed
637 sch_namespace   testing tomorrow today
638 sch_engine_unicode      testing tomorrow today
639
640 4.2.4 vulnerability modules
641 Port    Vulnerbility    Module  a free field
642 42      MS04-006        vuln_wins       
643         MS04-045               
644 80      MS03-007        vuln_asn1       
645         MS03-051               
646         MS04-011       
647 135     MS03-039        vuln_dcom       
648         MS04-012               
649 139             vuln_netbiosname       
650         MS04-031        vuln_netdde     
651 443     FIXME   vuln_iis       
652 445     FIXME   vuln_asn1       
653         MS04-011        vuln_lsass     
654         MS04-012        vuln_dcom       
655         MS03-039               
656 1023            vuln_sasserftpd
657 1025    FIXME   vuln_dcom       
658 1434    MS02-039        vuln_mssql     
659 2103    MS05-017        vuln_msmq       
660 2105    MS05-017        vuln_msmq       
661 2107    MS05-017        vuln_msmq       
662 2745            vuln_bagle     
663 3127            vuln_mydoom     
664 3140            vuln_optix     
665 5000    MS01-059        vuln_upnp       
666 5554            vuln_sasserftpd
667 17300           vuln_kuang2     
668 27347           vuln_sub7       
669
670 4.2.5 ShellEmulation modules
671 4.2.5.1 shellemu-winnt
672
673 status: works
674
675 description:
676
677 provides a windows nt shell supporting all commands one needs to download a file.
678 4.2.6 eXample modules
679 Name    Status  Feature
680 eXample 1       works   writing a module
681 eXample 2       works   accepting connections, creating dialogues, *the module to write a vuln emu*
682 eXample 3       works   download handler example, downloads files from /dev/urandom
683 eXample 4       works   submit handler example, hexdumps downloaded files to stdout
684 eXample 5       works   eventhandler example, hooks some events
685 eXample 6       works   dnscallback example, resolve some async
686 eXample 7       dropped         raw sockets example, dropped
687 eXample 8       works   geolocation example, resolve some ips geolocation
688
689 4.2.7 GeoLocationHandler
690 Name    status  comment
691 geolocation_hostip             
692 geolocation_geoip               
693 geolocation_ip2location         
694
695 4.2.8 DNSHandler
696 Name    status  comment
697 dnsresolve_adns works   resolve ips using libadns
698 dnsresolve_uns  planned         resolve ips using libudns
699
700 5. Modules Interface
701
702 Refer to the online doxygen documentation of the eXample modules on FIXME.
703 6. Contribute to Nepenthes
704
705 Post suggestions, bugs, patches, new modules to nepenthes.sf.net or mail them to nepenthesdev@gmail.com
706 If you want to donate hardware, ipranges, whatever, mail us.
707 7. Trouble Shooting
708 7.1
709
710 P: It does not work!
711 S: find out why it does not work
712
713 7.2
714
715 P: the makefiles suck
716 S: send us a patch using the auto(conf|make) foobar we are unable to use.
717
718 7.3
719
720 P: compiling fails
721 S: google for it, if this does not help out, file a bugreport and mention your
722     - operating system version
723     - g++ version
724     - libcurl version
725     - libpcre version
726     - libmagic version
727    and paste the compilererror too.
728
729 7.4
730
731 P: nepenthes leaks memory
732 S: first verify it _is_ a memoryleak
733    currently all files downloaded are kept in memory until they are downloaded and submittet.
734    then
735    run nepenthes with     
736    valgrind --num-callers=12 --tool=memcheck --leak-check=yes --leak-resolution=high --show-reachable=yes -v  --logfile=valg bin/nepenthes
737    and mail us the valgrind logfiles to nepenthesdev@gmail.com
738    or
739    fix the memleak and post the patch to http://sf.net/projects/nepenthes
740
741 7.5
742
743 P: i dont have any connection incoming!
744 S: verify you are not firewalled.     
745
746 8. FAQ
747 8.0
748
749 Q: Is this the official FAQ?
750 A: Yes.
751
752 8.1
753
754 Q: Why choose Nepenthes as the name?
755 A: read http://en.wikipedia.org/wiki/Nepenthes
756
757 8.2
758
759 Q: What do you do with the samples committed to the nepenthes central server?
760 A: We collect them.
761    All samples are committed to clamav.
762    Some samples get analysed.
763
764 8.3
765
766 Q: Can I get access to your malware database?
767 A: In general No.
768    If you think you will be able to persuade us that you should have access as you are an AV product vendor,
769    or do research in this field, mail us at samples@stargazer.at
770    Currently we _lack_ hardware and connection for a central server.
771
772 8.4
773
774 Q: I want to write my own modules, will you publish them?
775 A: Depends. If the module adds new features
776    - shellcodehandler
777    - downloadhandler
778    - submithandler
779    - vulnerability module
780    and you are willing to accept the gpl license, there is a really good chance that we will.
781    Of course, the feature also has to be useful.
782    Submitting files to /dev/null can't be considered a good feature.
783
784 8.5
785
786 Q: Why don't you write the whole documentation in english?
787 A: Although we know our English is poor, we think it's more useful to write poor English
788    than to write good Russian.
789    Send us patches fixing this issue.
790
791 8.6
792
793 Q: is autocommiting files to sandbox.norman.no not a bad idea?
794 A: so far we have committed about 400 files and nobody has complained yet.
795    and we like getting the results via mail.
796
797 8.7
798
799 Q: how can i autocommit to clamav?
800 A: clamav does not want to be the victim of autocommits
801    if you use the submit-nepenthes, our central server will commit the files for you.
802
803 8.8
804
805 Q: how can i see whether the file i submitted to your central server has got a clamav signature?
806 A: wait some time and then scan the file using clamscan
807
808 8.9
809
810 Q: why should i run nepenthes?
811 A: you improve security in various ways which we can discuss over a beer.
812
813 8.10
814
815 Q: there is nothing in the cvs repository on sourceforge.net
816 A: we use svn as we don't like cvs
817
818 8.11
819
820 Q: can i get access to the svn?
821 A: so far no as the svn is 'hosted' on a dialup.
822
823 8.12
824
825 Q: i get
826    Got signal 25
827    Exit 'cause of 25
828 A: signal 25 is SIGFSZE, that means filesize exceeded, and mainly referrs to the logfiles
829    located in log/, rm them, rotate them, just get rid of it, and it will work again, fixed in 0.1.1
830
831 8.13
832
833 Q: my avscanner complains about a virus in the nepenthes source package.
834    like:
835    clamscan nepenthes-0.1.1.tar.gz: Trojan.Downloader.FTP.Gen-4 FOUND
836 A: actually this is not a false positive, but on the other hand it is a false positive ...
837    the tarball contains a file in doc/README.VFS containing wide used batchjobs viri use to download and execute themselves
838    on a remotehost once the gained a shell for documentation purposes.
839    so your virusscanner is cool if he recognizes the file as a virus, but this single file does not make nepenthes a virus.
840    as we dont want to sap av scanners we wont ask them to remove this signature.
841
842    in my opinion the signature is very good, using such av  signature on a snort_inline firewall can stopp attacks in the
843    last state, after successfull exploitation, before infecting the host.
844
845 8.14
846
847 Q: whats the problem with g++ 4.0.1?
848 A: it will compile, and maybe even start, but it will fail if you resolve dns async.
849    for some reason the destructor of list<unsigned long> segfaults the programm.
850    to me this is a g++ 4 bug.
851
852 8.15
853
854 Q: what about OS X, or _any_ other big endian architecture?
855 A: we guess it will compile, but we never had a look on endianess in any shellcodehandler.
856    actually we can't say if it will work on big endian boxes, and as we do not own any big endian machine, we cant debug&fix it.
857    if you want to donate a osx box so we can support big endian, mail us for a delievery address.
858
859
860
861    
862
Note: See TracBrowser for help on using the browser.