Results 1 to 4 of 4

Thread: Finding some string in executables and dlls Share/Save - My123World.Com!

  1. #1
    ... I am no Expert b0nd.g4h@gmail.com b0nd's Avatar
    Join Date
    Jul 2010
    Location
    irc.freenode.net #g4h
    Posts
    746

    Finding some string in executables and dlls

    Scenario:
    You see an application popping some text on you and you wish to find which among the many dlls and executable that string is coming from.
    Surely many ways would be there.
    Today a friend of mine suggested use of 010 Editor for it.

    010 Editor -> Search -> Find in Files

    Put the directory path where you would like the editor to search dlls and exe for your string. Choose among the various formats like ASCII/Unicode/ANSI for the string and go ahead.

    It helped me; might help you some day. Cheers!
    [*] To follow the path: look to the master, follow the master, walk with the master, see through the master,
    ------> become the master!!! <------
    [*] Everyone has a will to WIN but very few have the will to prepare to WIN
    [*] Invest yourself in everything you do, there's fun in being serious

  2. #2
    Network Security Administrator Hackuin's Avatar
    Join Date
    Apr 2011
    Location
    10011001 10011001
    Posts
    105

    Smile Quick python script :]

    Code:
    import re
    import os
    from sys import argv
    
    try:
        my_script, folder, my_sting = argv
    except ValueError:
        print ("Usage(): python path_0f_folder your_string")
        exit()
    
    os.chdir(folder)
    crawl = os.listdir(folder)
    
    for files in crawl:
        with open(files, 'rU') as f:
            string = set(re.findall("[\x1f-\x7e]{4,}", f.read()))
            if my_sting in string:
                print my_sting + ' Exists in ' + files
    "Free software" is a matter of liberty, not price. To understand the concept, you should think of "free" as in "free speech," not as in "free beer."
    "Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the answer."
    "Ubuntu - Linux For Human Beings."

    Currently reading books:
    Integrating Forensic Investigation Methodology into eDiscovery -- by Colin Chisholm.
    Digital Forensics with Open Source Toolss -- by Cory Altheide && Harlan Carvey.

  3. #3

    Are there any tools for finding events(function code)

    Hi bond,

    Do u know any tools for finding the events functions in a stripped binary like onClick,onOk events as such.

  4. #4
    ... I am no Expert b0nd.g4h@gmail.com b0nd's Avatar
    Join Date
    Jul 2010
    Location
    irc.freenode.net #g4h
    Posts
    746
    Quote Originally Posted by avidengineer View Post
    Hi bond,

    Do u know any tools for finding the events functions in a stripped binary like onClick,onOk events as such.
    Hey sorry I got no clue on that.

    Cheers!
    [*] To follow the path: look to the master, follow the master, walk with the master, see through the master,
    ------> become the master!!! <------
    [*] Everyone has a will to WIN but very few have the will to prepare to WIN
    [*] Invest yourself in everything you do, there's fun in being serious

Tags for this Thread

Posting Permissions

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