Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🛡️ Secure Android Malware Detection

Next-Gen Security via Blockchain & Deep Learning

Python PyTorch Blockchain License


⚡ Overview

What is this?
A high-precision system that detects Android malware by analyzing app permissions.

Why is it different?
It doesn't just train a model. It secures the entire training pipeline using a Custom Blockchain Ledger. This ensures that the "DNA" of the malware used for training is immutable, preventing data poisoning attacks.


🚀 The 4-Stage Pipeline

We transform raw chaos into pure predictive signal.

Stage Name Method Goal Status
1 The Filter XAI (Random Forest) Discard irrelevant noise (0-impact features). 🔒 Block #1
2 The Verifier Fisher Score (FDS) Ensure statistical separation of classes. 🔒 Block #2
3 The Selector RFE (Recursive) Identify the "Elite 30" predictors. 🔒 Block #3
4 The Brain Deep Learning (NN) Train on the verified "Elite 30" dataset. 🎯 90% Acc

🛠️ Technology Stack

  • Core Engine: Python 3.10+
  • Deep Learning: PyTorch (Neural Networks)
  • Data Processing: Pandas, NumPy, Scikit-Learn
  • Security Architecture:
    • SHA-256 Hashing for block integrity.
    • Proof-of-Work (PoW) mining simulation.
    • Linked-List Blockchain structure.

� Quick Start

One command to run them all.

1. Installation

pip install -r requirements.txt

2. Ignition

python run_pipeline.py

3. Observe

Watch as the system autonomously:

  • ⛏️ Mines new blocks for each feature set.
  • 🔗 Links the cryptographic history.
  • 🧠 Trains the Neural Network on the secured data.

🔒 Security Architecture

"You can't learn the truth from lies."

In cybersecurity, Data Integrity > Model Accuracy. If an attacker modifies your training data, your AI becomes their puppet.

Our Solution:

  1. Hash every dataset state.
  2. Seal it in a block.
  3. Link it to the previous state.
  4. Verify the chain before training.

The AI refuses to train if the data's signature doesn't match the blockchain ledger.


Built with ❤️ for Secure AI

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages