Skip to content

mancity142/cyber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

cyber

Kerala Startup Mission Hackathon

Youtube channels after few hours of research which seems to be great in the field of AI

  • Matt Wolfie
  • Deeplearning.AI
  • AI Explained
  • 2 minute paper
  • AI Advantage
  • Mattvid

The link for the limited GEN AI video sources available out there

  1. https://www.youtube.com/watch?v=a29lyTt1fgY&t=38995s

Autonomous Cognitive Attack Surface Mapper Using Behavioral AI and Markov Chain Attack Prediction

Core Idea

Instead of only mapping an organization's attack surface or only predicting attacks, the system does both:

  1. Discovers assets automatically.
  2. Builds an attack graph of possible attack paths.
  3. Learns attacker behavior from historical data.
  4. Predicts the attacker's next move using Markov Chains.
  5. Continuously updates risk scores.
  6. Provides autonomous security recommendations.

Problem Statement

Current attack surface management tools can identify assets and vulnerabilities but typically cannot answer:

  • Which asset is most likely to be attacked next?
  • How is the attacker likely to move through the network?
  • Which vulnerabilities create the most dangerous attack paths?
  • What should defenders prioritize fixing first?

This system answers these questions using behavioral analytics.


System Architecture

Internet/Internal Network
           │
           ▼
Attack Surface Discovery
           │
           ▼
Asset Inventory
           │
           ▼
Vulnerability Analysis
           │
           ▼
Attack Graph Generator
           │
           ▼
Behavioral AI Engine
           │
           ├── Markov Chain Model
           ├── Risk Prediction
           ├── Path Forecasting
           └── Recommendation Engine
           │
           ▼
Dashboard

Module 1: Autonomous Attack Surface Mapping

The scanner discovers:

Network Assets

  • Servers
  • Routers
  • Switches
  • Workstations
  • IoT Devices

Open Services

192.168.1.10
 ├─ 22 SSH
 ├─ 80 HTTP
 └─ 443 HTTPS

Technologies

  • Nmap
  • Python
  • Scapy

Module 2: Vulnerability Intelligence

Correlates services with known vulnerabilities.

Example:

Server A
 ├─ Apache 2.4.49
 └─ CVE-2021-41773

Risk:

Critical
CVSS: 9.8

Module 3: Attack Graph Generation

Creates possible attack paths.

Internet
   │
   ▼
Web Server
   │
   ▼
Database Server
   │
   ▼
Domain Controller

Represent as graph:

Node = Asset
Edge = Possible Exploit Path

Libraries:

networkx
graphviz

Module 4: Behavioral AI Engine

This is where the Markov model enters.

States

Reconnaissance
Port Scan
Enumeration
Exploitation
Privilege Escalation
Lateral Movement
Persistence
Exfiltration

Historical attack logs create transition probabilities.

Example:

Current Next Probability
Port Scan Enumeration 0.75
Enumeration Exploitation 0.81
Exploitation Priv Esc 0.62

Module 5: Cognitive Prediction Layer

Suppose the attacker has:

Recon
↓
Port Scan
↓
Enumeration

The model predicts:

82% Exploitation
11% Additional Enumeration
7% Exit

Security team receives:

HIGH RISK
Likely exploitation attempt within next phase.

Module 6: Dynamic Risk Scoring

Traditional risk:

CVSS = 9.8

Your system computes:

Behavioral Risk
=
CVSS
×
Attack Probability
×
Asset Criticality

Example:

CVSS = 9.8
Attack Probability = 0.82
Criticality = 10

Risk Score = 80.36

This is much more useful than CVSS alone.


Module 7: Autonomous Recommendation Engine

The AI suggests actions:

Predicted Path:
Web Server
↓
Database Server
↓
Domain Controller

Recommendations:

Patch CVE-2021-41773
Disable SMBv1
Restrict Lateral Movement
Enable MFA

Dashboard Features

Attack Surface View

Assets Found: 152
Open Ports: 943
Critical Hosts: 12

Attack Graph

Visual graph of network paths.

Threat Prediction

Current State:
Enumeration

Next Likely State:
Exploitation (82%)

Risk Heatmap

Red = Critical
Orange = High
Yellow = Medium

AI Enhancements (Final Year / Research Level)

Reinforcement Learning

Allow the system to learn:

Which attack paths attackers prefer

over time.

Hidden Markov Models

Use observed events:

Failed Login
Port Scan
Suspicious DNS

to infer hidden attacker states.

Graph Neural Networks

Analyze attack graphs for:

Most vulnerable attack path

Why This Project Stands Out

Most student projects do one of these:

  • Vulnerability Scanner
  • Attack Graph Generator
  • Intrusion Detection System
  • Risk Dashboard

This project combines all four plus predictive analytics.

It demonstrates knowledge of:

  • Network Security
  • Ethical Hacking
  • Threat Modeling
  • Markov Chains
  • Graph Theory
  • Data Analytics
  • AI for Cybersecurity
  • Attack Surface Management

This is a cybersecurity project that has a clear path from a simple version (Nmap + Markov Chains + Dashboard) to an advanced research-grade system.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors