Git Product home page Git Product logo

assemblyline-service-frankenstrings's Introduction

FrankenStrings Service

NOTE: This service does not require you to buy any licence and is preinstalled and working after a default installation.

When not in deep scan mode, this AL service will skip detection modules based on a submitted file's size (to prevent service backlog and timeouts). The defaults are intentionally set at low sizes. Filters can be easily changed in the service configuration, based on the amount of traffic/hardware your AL instance is running.

Service Configuration

  • max_size: Maximum size of submitted file for this service
  • max_length: String length maximum. Used in basic ASCII and UNICODE modules
  • st_max_size: String list maximum size. List produced by basic ASCII and UNICODE module results, and will determine if patterns.py will only evaluate network IOC patterns
  • bb_max_size: BBcrack maximum size of submitted file to run module

Service Details

  1. String Extraction:

    • ASCII and unicode string IOC checking. (see patterns.py)
    • Balbuzard's bbcrack level 1 (level 2 for deep scan) XOR transform modules. Matches specific IOCs only (see patterns.py, bbcrack.py)
    • Base64 string extract
  2. File Extraction:

    • Balbuzard's bbcrack level 1 (level 2 for deep scan) XOR transform modules. (Searches for PE files only)
    • Base64 module search for file types of interest (see frankenstrings.py)
    • Embedded PE file extraction
    • Unicode, Hex, Ascii-Hex extraction modules (for possible shellcode)

Result Output

  1. Static Strings (ASCII, UNICODE, BASE64):
    • Tag strings matching IOC patterns of interest
    • Decoded BASE64. Extract content over 200 bytes, otherwise combine all decoded content and extract in single text file
  2. Embedded PE files:
    • Extract PE files embedded in the file
    • Extract reversed PE files embedded in the file
  3. ASCII Hex Strings:
    • Content extraction of ascii hex data successfully decoded (any data over 500 bytes)
    • Tag IOC pattern matching for any successfully decoded data
    • Tag URI pattern matching after custom brute force xor module (see bbcrack.py for added module)
  4. BBCrack XOR Strings:
    • Tag all strings matching IOC patterns of interest
    • Extract decoded XOR'd PE File

Licences

FIREEYE FLARE-FLOSS: See flarefloss/LICENSE.txt

BALBUZARD: BSD 2-Clause Licence, see top of balbuzard code files

assemblyline-service-frankenstrings's People

Contributors

cccs-dawson avatar cccs-douglass avatar cccs-jh avatar cccs-kevin avatar cccs-rs avatar cccs-rushi avatar cccs-sgaron avatar ekkerri-cse avatar ethanljf avatar gdesmar avatar nfora avatar

Stargazers

 avatar  avatar  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.