Giter Site home page Giter Site logo

ciso360ai / ciso360ai Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 4.0 650 KB

CISO360.AI

Home Page: https://ciso360.ai

License: Apache License 2.0

Dockerfile 1.64% JavaScript 83.76% Vue 0.26% Shell 13.34% HTML 0.01% Python 1.00%
attack attack-surface-management cybersecurity gamification identity offensive-security privacy risk risk-management vulnerability-assessment

ciso360ai's Introduction

CISO360AI

CISO360AI ...

Features

  • Attack Surface Discovery: continuous discovery of assets, identities, domains, hosts, IPs, URLs, ports
  • Offensive Toolchain: network and web assets scanning based on passive/active/offensive tools
  • Vulnerability Management: continuous vulnerability management, triage, prioritisation, tracking and alerting
  • Risk management: risk assessment and mitigation tracking. WIP: AI assisted prioritisation and prediction
  • Collaboration: Escalation, sharing, alerting, third-party vendor assessments

CISO360AI in action

Note: not all features are open-sourced yet

TBD

  • Privacy assessment: GDPR web scan, cookies, SSL non-conformance
  • Identity assessment: dark-web compromised identity and IP scanner
  • ISMS Policy bundle: cybersecurity policy pack compliant with recognised standards
  • Gamification: Solving the puzzle...

Architecture

  1. Scanners: saves scan output to files and sends info to the database.

scan_domain:

Domain --> subdomain discovery

scan_tls:

Hosts --> TLS vulns
IPs --> TLS vulns
  1. Database (postgres): stores the app data, including the API internal tables

  2. API backend for AAA, back-end UI, custom workflows, based on Directus

  3. Optional:

Web App Firewall based on Apache/ModSec App frontend based on React-admin

Requirements

Minimum: 2 vCPU, 4GB RAM, 80GB disk, static Public IP

Recommended: 4 vCPU, 8GB RAM, 160GB disk, static Public IP

Setup

On your Linux VM (Ubuntu 22.04) instal docker and docker-compose:

sudo su

#update system and install base
export DEBIAN_FRONTEND=noninteractive
apt update && apt upgrade -yqq && \
apt install -yqq apt-transport-https ca-certificates vim nmap curl software-properties-common git

#configure limits for docker and node
sysctl -w vm.max_map_count=524288 && \
echo "vm.max_map_count=524288" >> /etc/sysctl.conf
sysctl -w fs.file-max=131072 && \
echo "fs.file-max=131072" >> /etc/sysctl.conf

#install docker-ce
apt-get remove docker docker-engine docker.io containerd runc
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
echo \
  "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

apt update && apt install -y -q docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

#add ubuntu user to the docker group
usermod -aG docker ubuntu

Next add this repo and configure the environment:

#install software
su ubuntu
cd /opt
sudo mkdir ciso360ai
sudo chown -R ubuntu:ubuntu ciso360ai
#(or change to your user name/group if not on Ubuntu)

git clone https://github.com/ciso360ai/ciso360ai

cd /opt/ciso360ai && cp example.env .env

NOTE: CHANGE DEFAULTS

Build - optional

docker compose build

Run

cd /opt/ciso360ai

docker compose up -d

This will pull or build the local containers and start the app... Wait until all containers are started:

api INFO: Server started at http://0.0.0.0:8055

IMPORTANT, once the system is up, add constraints, a one off to provision the instance database:

./scripts/fix_constraints.sh

For performance it may be useful to run this as root

ulimit -n 131072
ulimit -u 8192

You can access the CISO360AI UI in a browser:

http://localhost/admin/login
or
http://localhost:8055

Usage

Add a new domain in the UI

You should see some activity in the docker logs:

scan_domain  | 
scan_domain  | CISO360AI scan
scan_domain  | 
scan_domain  | 
scan_domain  | whois scan

Check results after some time in the UI, e.g. discovered subdomain hosts You may need to change the filters to "Show all items" since assets are added as inactive since the scan is passive

Change the status to active for any inactive host (or add a new active host or IP) to do a TLS scan

You should see some activity in the docker logs:

scan_tls     | 
scan_tls     | CISO360AI scan
scan_tls     | 
scan_tls     | 
scan_tls     | TestSSL scan
scan_tls     | 

More relevant modules are available privately, give us a shout if interested in the paid supported version!

Clean-up

Every time you need to test the end-to-end app:

docker compose down -v

Backup

chmod +x scripts/*
./scripts/backup.sh

References

Icons: https://fonts.google.com/icons

Regex domains: https://regexr.com/3au3g

Regex IP: https://regexr.com/38odc

ciso360ai's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ciso360ai's Issues

./uploads error

Hi after run docker-compose up -d in my ubuntu20.04 lts. I'm facing this error in my docker status.

Please checkout and let me know how I can fix this issues thanks.

Screenshot 2023-08-28 at 12 35 24 AM

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Other Branches

These updates are pending. To force PRs open, click the checkbox below.

  • chore(deps): update httpd docker tag to v2.4.58

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
docker-compose.yml
  • redis 7-alpine
  • postgres 16-alpine
dockerfile
api/Dockerfile
  • node 18-alpine
  • directus/directus 10.8.3
rproxy/Dockerfile
  • httpd 2.4.57-alpine
  • httpd 2.4.57-alpine
  • httpd 2.4.57-alpine
scan_domain/Dockerfile
scan_tls/Dockerfile
github-actions
.github/workflows/docker-publish.yml
  • actions/checkout v4
  • docker/setup-buildx-action v3.0.0@f95db51fddba0c2d1ec667646a06c2ce06100226
  • docker/login-action v3.0.0@343f7c4344506bcbf9b4de18042ae17996df046d
  • docker/metadata-action v5.5.0@dbef88086f6cef02e264edb7dbf63250c17cef6c
  • docker/build-push-action v5.1.0@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56
npm
api/extensions/dev/endpoints/upsert/package.json
  • @directus/extensions-sdk 10.3.0
api/extensions/dev/modules/api-explorer/package.json
  • rapidoc ^9.3.3
  • @directus/extensions-sdk 10.3.0
  • vue ^3.2.39
api/package.json
  • directus 10.8.3
  • pg ^8.10.0
  • node >=18.0.0
pip_requirements
scan_domain/scripts/requirements.txt
scan_tls/scripts/requirements.txt

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.