decalage2/oletools

oletools - python tools to analyze MS OLE2 files (Structured Storage, Compound File Binary Format) and MS Office documents, for malware analysis, forensics...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 59 minutes ago
Added to GitGenius on September 20th, 2026
Created on May 21st, 2016
Open Issues & Pull Requests: 519 (+0)
GitHub issues: Enabled
Number of forks: 605
Total Stargazers: 3,418 (+0)
Total Subscribers: 98 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 24
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 985 days
Stale 30+ days: 22
Stale 90+ days: 21

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • :+1: enhancement (13)
  • olevba (9)
  • :bug: bug (8)
  • clsid (4)
  • ftguess (3)
  • mraptor (2)
  • msodde (2)
  • oleobj (2)

Detailed Description

oletools is a Python library for analyzing Microsoft OLE2 files and Office documents for malware analysis, forensics, and debugging.

The tool addresses the need to inspect potentially malicious Office documents and related file formats by parsing their internal structure. It works by reading OLE2 compound files, RTF files, and OpenXML-based formats to expose their contents and metadata. The library can detect, extract, and analyze VBA macros, OLE objects, Excel 4 macros, and DDE links—features commonly exploited in document-based attacks.

Analysts and security researchers investigating suspicious Office documents should choose this tool if they need to programmatically inspect file contents without opening them in Office applications. It suits forensic workflows, automated malware scanning pipelines, and debugging of document structure. The tool handles legacy Microsoft Office 97-2003 formats as well as modern Office 2007+ documents, MSI files, Outlook messages, XPS, and MSIX files, making it broadly applicable across Microsoft document ecosystems.

The project maintains steady activity with regular updates addressing new Office file formats and emerging threats. Issues and pull requests receive responses, indicating active engagement with users. The codebase remains focused on its core parsing and analysis mission without scope creep into unrelated functionality.