Git Product home page Git Product logo

sus_strings_extractor's Introduction

SUS STRING EXTRACTOR

It is recomended to run this script inside a virtual environment in order to install the required dependencies. Prototype for a command line interface for further analysing text files containing strings extracted from malware samples. The idea is to symplify malware analysis. The strings that are searched for are patterns belonging to the following categories:

  • Wanacry Indicators
  • Windows Directories
  • URLs
  • Binaries & Executables
  • Possible base 64 strings (there is an option to decode the strings if found)
  • IP Addresses
  • Calls to golang's API
  • Indicators of programs compiled in Nim
  • Possible requests to github repositories
  • Known malitious addresses

About input and output file names

Any pattern if finds will be written to classified_strings.txt by default. This option can be changed with the corresponding flag (-o). Similary, by default, the input file must be named strings.txt, and this can be changed using the flag -i.

Usage

Linux

./sus_string_extractor.py --input_file <something.txt> --output_file <something.txt> --verbose --decode

Windows

python3 sus_string_extractor.py --input_file <something.txt> --output_file <something.txt> --verbose --decode

NOTES

I will update it as I discover other common patterns (the most likely next update is a more refined XML search). This tool does not completely automate the malware string analysis task. Although it may find some revealing strings, it is still recommended to look manually at the file since the script is not perfect (like most tools) and prone to miss some patterns.

sus_strings_extractor's People

Contributors

q-b1t avatar

Watchers

 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.