DEV Community

Saurabh Kumar
Saurabh Kumar

Posted on

CyberMoranda CIDS: Building a Security System That Thinks Before It Acts

For a long time, I have been working on an idea called CyberMoranda CIDS.

CIDS stands for Cognitive Intrusion Defense System.

The idea started with a simple question:

What if a security system could understand behavior before deciding how to respond?

Traditional security systems often make decisions from individual events, signatures, rules, or predefined patterns.

But real attacks are not always a single event.

Sometimes the intent becomes visible only when multiple actions are connected over time.

That is where CIDS begins.

The Core Philosophy

Think Before You Act.

CIDS is being designed around this pipeline:

Observation

Context

Behavior

Security Signals

Risk + Confidence

Decision

Adaptive Response

Feedback

Instead of immediately treating every suspicious request as an attack, the system builds context around the behavior.

The Backend Is the Product

One thing I have become increasingly clear about while developing CIDS is that the dashboard is not the product.

The security engine is the product.

The backend needs to understand:

What happened?

Who/what generated the activity?

What happened before it?

Is this behavior normal for the session?

Which security signals were triggered?

How confident are we?

What is the current risk?

What response should the policy allow?

This leads to a more structured architecture.

Traffic / Host Telemetry

Event Normalizer

Session Context

Behavior Analysis

Signal Engine

Risk Engine

Policy Engine

Response Engine

Audit / Events

Behavioral Detection

The goal is not simply:

Request → Rule → Block

Instead, CIDS should be able to observe a sequence such as:

Login

Repeated authentication failures

Endpoint enumeration

Restricted path probing

Abnormal request frequency

Each individual event may not be enough to make a decision.

Together, however, they can form a much stronger behavioral signal.

Adaptive Defense

CIDS is not designed around a single response.

Depending on context and risk, the response layer can move through different levels:

ALLOW

MONITOR

SLOW / CHALLENGE

CONTAIN

DECEPTION

The purpose is defensive.

CIDS will not hack back or retaliate against attackers.

The goal is to protect the system while making malicious activity less useful.

Where I Want to Take It

The architecture is evolving toward several areas:

Host-based telemetry

eBPF-based observability

JA4 and fingerprint-based signals

Context-aware deception

Honeytokens

Feedback loops for detection tuning

Standardized security signals and rules

Event-driven processing

Strong auditing

Replay-based testing

Performance and reliability testing

These are part of the engineering direction, not claims that every component is already production-ready.

From a Phone-Built MVP

The first CIDS MVP was built with extremely limited resources.

It was built on a phone.

It is not the final system.

But building that MVP proved something important to me:

The idea could become a working system.

Now I want to take that prototype much further.

The next goal is not simply to make CIDS look impressive.

The goal is to make its backend technically strong, explainable, testable, and scalable.

I am still building.

And I am documenting the journey as I go.

CyberMoranda CIDS

Think Before You Act.

cybersecurity

rust

security

opensource

devops

cybermoranda

Top comments (0)