Skip to main content

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

Metadata

Release files for static-analysis-script 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for static-analysis-script 0.2.7
File Size Uploaded
static_analysis_script-0.2.7.tar.gz 390.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for static-analysis-script 0.2.7
File Interpreter ABI Platform
static_analysis_script-0.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 780.0 kB

Release files / static_analysis_script-0.2.7.tar.gz

Download URL static_analysis_script-0.2.7.tar.gz
Size 390.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0ff18e24b33c4a9dadfdef01b602e093e432de1599178e37b3eae911a242bd87
BLAKE2b-256 checksum
How to use checksums
ca2b380efa55302064b732f48307b264e680567ecdbc2d5405d06fc7a4eb6ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / static_analysis_script-0.2.7-py3-none-any.whl

Download URL static_analysis_script-0.2.7-py3-none-any.whl
Size 389.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a1e97c955e63bdb9b2a8515382a361a39516d21207cbabfe19bd65c520c69df
BLAKE2b-256 checksum
How to use checksums
ef9b389e60b5d1d7936d193e3d08e86c6d2b8f6ee1b0222420ffb4e8636780b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.4

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page