Git Product home page Git Product logo

strings2's Introduction

strings2

Strings2 is a Windows 32bit and 64bit command-line tool for extracting strings from binary data. On top of the classical Sysinternals strings approach, this improved version is also able to dump strings from process address spaces and also reconstructs hidden assembly local variable assignment ascii/unicode strings. Currently, the ASM-string extracting approach only supports the x86 instruction set.

I am maintaining a public binary release download page for this project at: http://split-code.com/strings2.html

Flags

The command-line flags for strings2 are as follows:

 -f
Prints the filename/processname before each string.

 -r
Recursively process subdirectories.

 -t
Prints the type before each string. Unicode,
ascii, or assembly unicode/ascii stack push.

 -asm
Only prints the extracted ascii/unicode
assembly stack push-hidden strings.

 -raw
Only prints the regular ascii/unicode strings.

 -l [numchars]
Minimum number of characters that is
a valid string. Default is 4.

 -nh
No header is printed in the output.

 -pid
The strings from the process address space for the
specified PID will be dumped. Use a '0x' prefix to
specify a hex PID.
 
 -system
Dumps strings from all accessible processes on the
system. This takes awhile.

Example Usage

From the command prompt:

  • strings2 malware.exe
  • strings2 *.exe > strings.txt
  • strings2 *.exe -nh -f -t -asm > strings.txt
  • strings2 -pid 419 > process_strings.txt
  • strings2 -pid 0x1a3 > process_strings.txt
  • strings2 -system > all_process_strings.txt
  • cat abcd.exe | strings2 > out.txt

Contributing

Contributions are welcome. Some possible contribution directions are as follows:

  • Only print unique strings.
  • Add flag support for dumping process strings by process/window title matching.
  • Add x64 assembly support for extracting ASM stack pushed strings.

strings2's People

Contributors

glmcdona avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.