Skip to main content

A utility to perform static analysis on files.

Project description

Static-analysis-script

Welcome to the Static Analysis Script! This Python tool is crafted to extract emails, paths, files, URLs, and IPs from the specified file for analysis.

Purpose

This tool aids in the collection of data essential for static analysis, accelerating the detection of Indicators of Compromise (IOCs) and other potentially malicious activities executed by files.

Installation

option 1:

pip install from the pypi project

  python -m pip install static-analysis-script

please make sure to download the latest version, currently 0.2.3

option 2:

git clone the project. pip install local from the git directory

  git clone https://github.com/perzibel/static-analysis-script.git
  cd static-analysis-script
  python -m pip install .

Usage

image

Analysis of Executables and DLL Files

The tool employs strings.exe to pull strings from executable (EXE) and dynamic link library (DLL) files, analyzing these strings to pinpoint paths, files, IP addresses, and URLs.

NEW! extract WinApi commands in the file

Analysis of CSV Files

For Comma-Separated Values (CSV) files, the tool extracts relevant information by directly reading the contents of the files.

Analysis of Word Documents

Utilizing the zipfile library, the tool processes Word documents, extracting embedded emails and URLs from various sections.

Analysis of PDF Files

extract ALL visiable and hidden URIs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

static_analysis_script-0.2.6.tar.gz (390.7 kB view details)

Uploaded Source

Built Distribution

static_analysis_script-0.2.6-py3-none-any.whl (389.2 kB view details)

Uploaded Python 3

File details

Details for the file static_analysis_script-0.2.6.tar.gz.

File metadata

  • Download URL: static_analysis_script-0.2.6.tar.gz
  • Upload date:
  • Size: 390.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for static_analysis_script-0.2.6.tar.gz
Algorithm Hash digest
SHA256 73677aa3d7b531415e460b7bc61921b9a1d0316d240e464dde5d2771d4491f5d
MD5 1abb87229256a96a6d7237d5d0dd86a8
BLAKE2b-256 4a3e6cedcd4d270a0b96cd42bbd3b9b67dd80fdefa787809c4759c6bf58f410a

See more details on using hashes here.

File details

Details for the file static_analysis_script-0.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for static_analysis_script-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 16e7b2b95f58a232fe403bd6c0471c7a7b8fe7bf81bf9ec72d86525d751a4032
MD5 b44c319fbecf9c7767191f7120199651
BLAKE2b-256 695855ca6b620646c9d9c89684b6122d7e22efbcc6b8903919fce1f9713a95ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page