Skip to content

SamXavii902/IntelliPass-Hybrid-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 IntelliPass: Hybrid AI Password Security Engine

Python AI Fuzzy Status

📖 Overview

IntelliPass is an advanced password analysis framework that moves beyond traditional, easily bypassed regular expression (Regex) checks. It implements a Hybrid Thinker architecture, fusing a data-driven Multi-Layer Perceptron (MLP) neural network with a rule-based Mamdani Fuzzy Inference System.

By evaluating credentials from both a statistical pattern-matching perspective and a human-logic expert perspective, IntelliPass provides a nuanced security score that accounts for entropy, character diversity, and known breach patterns.


🚀 Key Technical Features

🛡️ 1. Dual-Perspective Aggregator

The system evaluates strength through two distinct "brains":

  • The MLP Brain (Data-Driven): A neural network trained on millions of password samples to recognize subtle patterns and common human habits in password creation.
  • The Fuzzy Brain (Rule-Based): An expert system using 10+ linguistic rules to judge passwords based on mathematical entropy and character diversity.
  • Conservative Scoring: The final verdict is reached using min-pooling—if either model identifies a critical flaw, the final score reflects that weakness to ensure maximum user safety.

🔒 2. Multi-Layer Security Audit

  • Breach Intelligence: Instantly cross-references inputs against a local database of 14.3 million leaked credentials.
  • Similarity Gating: Uses Cosine Similarity to compare new passwords against a history of recently used credentials, preventing predictable "incremental" changes (e.g., changing Summer2025! to Summer2026!).
  • Shannon Entropy Analysis: Calculates the cryptographic randomness of the string to ensure it is resilient against dictionary and brute-force attacks.

📊 3. Interactive Telemetry & Coaching

  • Character Heatmaps: Visualizes the "security weight" of each character in the password.
  • AI Suggestions: Provides dynamic, context-aware advice on how to improve specific weaknesses identified by the fuzzy rules.

🛠️ System Architecture

1. Feature Engineering Layer

The system transforms raw strings into an 8-dimensional numerical feature vector:

  • Length: Total character count.
  • Character Ratios: Distribution of Upper, Lower, Digits, and Symbols.
  • Shannon Entropy: Measure of informational randomness.
  • Pattern Score: Detects sequential characters (abc, 123) and repetitions.
  • Diversity Score: Engineered feature representing the richness of the character set domains used.

2. The Neural Network (MLP)

  • Architecture: Two hidden layers (100, 50 neurons).
  • Activation: ReLU.
  • Optimization: Trained with Adam optimizer and early stopping to prevent overfitting.

3. The Fuzzy Inference System

  • Membership Functions: Trapezoidal functions defining "Short/Medium/Long" and "Low/High Entropy".
  • Inference Rules: 10 expert-defined rules that simulate a human security auditor's reasoning.

💻 Installation & Usage

1. Requirements

  • scikit-learn
  • scikit-fuzzy
  • pandas, numpy
  • colorama, lz4, joblib

2. Training the Model

To re-train the MLP on your local feature dataset:

python train_model.py

3. Running a Real-Time Audit

To analyze a password and see the full hybrid report:

python predict.py "YourP@ssw0rd123!"

📈 Performance Analysis

By aggregating the MLP and Fuzzy models, IntelliPass achieves:

  • High Interpretability: Unlike "black box" AI, the Fuzzy layer explains why a password is weak.
  • High Sensitivity: The inclusion of breach intelligence and entropy analysis ensures a "Very Strong" verdict is only given to truly cryptographic-grade credentials.

Project developed as part of Soft Computing and AI Research.


About

"Hybrid AI Password Strength Analyzer combining Multi-Layer Perceptrons (MLP) and Fuzzy Logic. Features 14.3M breach intelligence, cosine-similarity history checks, and Shannon entropy audits."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages