โ† Back to Portofolios

DataLogger

Enterprise Serial Data Logging with AES-256 Encryption Production

๐Ÿ” Project Overview

A sophisticated Windows-based data logging application designed for high-performance serial port data capture with enterprise-grade security. DataLogger combines AES-256 encryption, hardware-locked licensing, and a comprehensive Windows Service + WPF architecture to provide secure, reliable data logging for mission-critical applications.

  • Multi-Channel Serial Support - Concurrent logging from multiple serial ports with 1000+ chars/sec throughput
  • AES-256 Encryption - Military-grade encryption for all logged data at rest
  • Hardware-Locked Licensing - RSA-4096 signature verification with machine binding
  • Windows Service Architecture - Background service for continuous data logging
  • WPF Desktop Interface - Rich UI for log viewing, configuration, and monitoring
  • Secure Key Management - Windows Credential Manager integration for encryption keys
  • Encryption Key Recovery - Comprehensive system for data recovery in hardware failure scenarios
  • Tamper-Evident Audit Logging - AES-256-GCM encrypted security event tracking

๐ŸŽฏ Key Features

  • ๐Ÿ“ก
    Multi-Channel Serial Logging - Capture data from multiple serial ports simultaneously with independent configuration
  • ๐Ÿ”
    AES-256 Encryption - Real-time encryption of all logged data with minimal performance impact (<5% overhead)
  • ๐Ÿ”‘
    Hardware-Locked Licensing - RSA-4096 license validation tied to machine fingerprint for license enforcement
  • ๐ŸชŸ
    Windows Service - Runs as system service for unattended, continuous data logging operations
  • ๐Ÿ“Š
    WPF Desktop Application - Rich interface for real-time monitoring, log viewing, and configuration management
  • ๐Ÿ“…
    Daily Partitioning - Automatic log file rotation organized by date for easy archival and management
  • ๐Ÿ”
    Tamper-Evident Audit Logging - Encrypted security event tracking for compliance and forensic analysis
  • ๐Ÿ’พ
    Encryption Key Recovery System - Secure recovery workflow for data access after hardware changes or key loss

๐Ÿ—๏ธ Architecture & Technology

Application Architecture

.NET Stack

.NET 10.0 C# 12 Windows Service WPF

Security

AES-256-GCM RSA-4096 NTFS ACL Credential Manager

Data & Storage

File-Based Storage Daily Partitioning Encrypted at Rest Hardware Binding

Architecture

Service-Based Contract-Driven Modular Design SOLID Principles

Core Components

  • DataLoggerCore - Shared library with all business logic, service implementations, and interfaces
  • DataLoggerService - Windows service handling background serial data logging and encryption
  • DataLoggerViewer - WPF application for log viewing, system configuration, and monitoring
  • DataLoggerManagement - Support tool for encryption key recovery and data re-encryption

Service Interfaces

  • ISerialPortService - Manages serial port communication and data reception
  • IEncryptionService - Handles AES-256 encryption and decryption with GCM mode
  • ILoggingService - Manages log file creation, writing, and daily rotation
  • IConfigurationService - Handles application configuration and settings persistence
  • IKeyManagementService - Manages encryption key generation, storage, and recovery
  • IFileSecurityService - Manages NTFS ACL security for encryption keys
  • ILicenseService - Validates hardware-locked licenses using RSA-4096

๐Ÿ“Š Performance & Specifications

1000+
Chars/Sec Per Channel
<5%
Encryption Overhead
4096
RSA Key Size (bits)
256
AES Key Size (bits)

Technical Specifications

  • Framework: .NET 10.0 with C# 12.0
  • Platform: Windows 10/11 with Windows Service support
  • Throughput: 1000+ characters/second per channel minimum
  • Encryption: AES-256-GCM with secure key management
  • Licensing: RSA-4096 hardware-bound signatures
  • Storage: File-based with daily automatic partitioning
  • Security: NTFS ACL protection for encryption keys

๐Ÿ” Security Features

Encryption & Key Management

  • AES-256-GCM Encryption - Authenticated encryption for data integrity and confidentiality
  • Hardware-Bound Keys - Encryption keys tied to machine hardware for secure storage
  • Windows Credential Manager - Secure storage of sensitive encryption keys
  • NTFS ACL Security - File system level access control for key files
  • Key Rotation Support - Capability for encryption key rotation without data loss

License & Compliance

  • Hardware-Locked Licensing - RSA-4096 signatures tied to machine fingerprint
  • Tamper-Evident Audit Logging - AES-256-GCM encrypted security event tracking
  • License Activation Dialog - Secure, user-friendly license management
  • Graceful Degradation - Service continues with reduced functionality without license

Recovery & Disaster Recovery

  • Encryption Key Recovery System - Comprehensive workflow for data recovery
  • Hardware Migration Support - Tools for recovering data when hardware changes
  • Support Integration - Management tools for data re-encryption and recovery
  • Complete Audit Trail - All recovery operations logged and tracked

๐Ÿงช Testing & Quality

Comprehensive Test Coverage

  • Contract Tests - Validate interface implementations and service contracts
  • Integration Tests - Test service interactions and end-to-end functionality
  • Performance Tests - Validate throughput requirements and encryption overhead
  • Unit Tests - Test individual components, utilities, and business logic

Quality Assurance

  • 100% interface contract compliance testing
  • Performance validation at 1000+ chars/sec
  • Encryption and key management testing
  • Windows service lifecycle testing
  • Security and tamper detection testing

๐Ÿ“‹ Development Roadmap

Phase 1: Core Components โœ… COMPLETE

  • โœ… Machine ID Generator for hardware fingerprinting
  • โœ… RSA License Validator with signature verification
  • โœ… Secure Key Storage with Credential Manager integration
  • โœ… Tamper Audit Logger with AES-256-GCM encryption
  • โœ… Integration Tests (100% passing)

Phase 2: UI & Service Integration ๐Ÿ”„ IN PROGRESS

  • License Activation Dialog (WPF)
  • Settings page for license information
  • Service graceful degradation without license
  • Application hard exit requirement for DataLoggerViewer
  • User-friendly error handling and feedback

Phase 3: DCM License Generator ๐Ÿ“‹ PLANNED

  • Console application for license generation
  • RSA key pair management tools
  • License database and tracking system

๐ŸŽ“ What This Project Demonstrates

DataLogger showcases expertise in:

  • โœ… Enterprise-Grade Security - AES-256-GCM encryption and RSA-4096 licensing
  • โœ… Windows Service Development - Robust background services for continuous operations
  • โœ… Encryption & Key Management - Secure key storage and hardware-binding
  • โœ… WPF Desktop Applications - Rich user interfaces for system management
  • โœ… Performance Optimization - 1000+ chars/sec throughput with minimal overhead
  • โœ… Licensing Systems - Hardware-locked, tamper-evident activation
  • โœ… Disaster Recovery - Comprehensive key recovery and data protection
  • โœ… Test-Driven Development - Contract, integration, performance, and unit testing
  • โœ… .NET Architecture - Service-oriented, SOLID principles, modular design
  • โœ… Compliance & Security - Audit logging and tamper-evident tracking

๐Ÿ“‹ Project Status

DataLogger is a production-ready application with core functionality complete and active development on Phase 2 UI integration.

  • โœ… Core encryption and licensing complete
  • โœ… Windows Service architecture stable
  • โœ… Performance validated (1000+ chars/sec)
  • โœ… All integration tests passing
  • ๐Ÿ”„ Phase 2 UI implementation in progress
  • ๐Ÿ“‹ Phase 3 license generation tool planned