π MalwareBytesExtractor: Bridging AI & Cybersecurity
MalwareBytesExtractor is a lightweight, intelligent, and open-source console tool that securely connects to the MalwareBytes Nebula API, extracts real-world attack detections, and stores them into either SQL Server or PostgreSQL. This data can be visualized and queried by PeopleWorks GPT or any dashboard tool.
π‘ Why This Matters
Security professionals and AI developers rarely work side by side. This project aims to bridge that gap by giving access to real-time cybersecurity data for analysis, training, and visualization. Using this tool, any team can:
- Connect securely to the MalwareBytes API
- Choose your database engine via
appsettings.json
- Extract detailed detections with country geolocation
- Visualize attacks in dashboards using ECharts
- Seed prompt examples for AI models (like PeopleWorks GPT)
π¦ Features at a Glance
- π OAuth2 Client Credentials authentication
- π Geolocation enrichment with source country latitude/longitude
- π Optional HTML dashboard export with ECharts
- π€ Prompts table to integrate with AI engines
- π§ Mermaid-based architecture documentation
- π MIT license and fully documented setup
π Architecture Overview
graph TD A[Console App] -->|Reads| B[appsettings.json] A --> C{Database Engine} C -->|SQL Server| D[MalwareDetections Table] C -->|PostgreSQL| D A --> E[NebulaService] E --> F[MalwareBytes API] A --> G[PromptSeeder] A --> H[HtmlDashboardGenerator] D --> H
π Example Use Cases
- Train your AI chatbot to explain security breaches
- Create world maps showing attack patterns by country
- Correlate detection trends over time with dashboard widgets
π§ Configuration Sample
{ "Database": { "Provider": "SqlServer", "SqlServer": "Server=.;Database=SecurityIT;Integrated Security=true;", "PostgreSql": "Host=localhost;Database=SecurityIT;Username=postgres;Password=yourpassword" }, "MalwareBytes": { "ClientId": "your-client-id", "ClientSecret": "your-client-secret", "Scope": "read", "BaseUrl": "https://api.malwarebytes.com", "AccountId": "your-account-id" } }
π Project Repository
The full project is available at: github.com/peopleworks/MalwareBytesExtractor
© 2025 PeopleWorks GPT β Built with β€οΈ to make security data accessible.

Software engineer, passionate about data and information, immersed in a total transformation with artificial intelligence.