AiSOC क्या है?
AiSOC सेल्फ-होस्टेड AI Security Operations Center, जो security telemetry लेता है, detections को incidents में जोड़ता है और LLM agents से उनकी triage करवाता है, जिसका हर रिकॉर्ड ऑडिट योग्य ledger में रहता है।. यह Agents & Automation टूल्स की Security Agents श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और MIT लाइसेंस के तहत है।
सारांश
AiSOC एक ओपन सोर्स, सेल्फ-होस्टेड AI Security Operations Center है। यह आपके security tools से telemetry लेता है, उसे normalize करता है, उस पर detection rule library चलाता है, जो फायर होता है उसे incidents में समूह बनाता है और हर incident को triage के लिए एक AI agent को सौंपता है। फिर वह एक response सुझाता है, जिसे किसी vendor तक पहुँचने से पहले एक इंसान approve करता है। यह ज़्यादातर Python में लिखा गया है, इसमें web console है, यह Docker Compose पर चलता है और इसका लाइसेंस MIT है।

Events दो तरह से आते हैं: ingest API पर push करके, या Splunk, Sentinel, Elastic, CrowdStrike, Okta, AWS और Kubernetes audit logs जैसे click-and-connect data connectors से pull करके। इसके अलावा S3 पर SQS के ज़रिए CloudTrail, GCP Pub/Sub, Azure Event Hubs और syslog/CEF के collectors भी हैं। Kafka normalized events को एक fusion stage तक ले जाता है, जो bundled library के executable rules चलाता है, हर tenant की अपनी tuning लागू करता है और तय करता है कि कौन सा event alert बनेगा; इसके बाद correlation संबंधित alerts को समूह में रखता है। `packages/aisoc-migrate` tool मौजूदा Splunk SPL, Sentinel KQL और Elastic EQL detections का अनुवाद करता है, और जो वह नहीं ले जा सकता उसे अनुमान से approximate करने के बजाय मना कर देता है।
Agents एक alert, उससे correlated दूसरे alerts, entity context और पिछले verdicts पढ़ते हैं, और SQL लिखने की बजाय lake queries, graph traversals और enrichment के लिए typed tools कॉल करते हैं। हर prompt, tool call, citation, verdict और token cost एक Investigation Ledger में जाता है, जिसे signed evidence bundle के रूप में export किया जा सकता है। अगर कोई verdict ऐसे indicator का हवाला देता है जो evidence में था ही नहीं, तो उसे human review के लिए वापस भेज दिया जाता है। core profile अपना छोटा local model Ollama के ज़रिए साथ लाता है (`llama3.2:3b-instruct-q4_K_M` पर pinned), इसलिए नया install बिना API key के भी असली triage verdicts देता है; README साफ़ कहता है कि प्रोजेक्ट ने किसी भी hosted model provider को आज़माया नहीं है।
यह क्या करता है
- Ingest से लेकर detection, correlation और alerting होते हुए AI triage और web console तक पूरा end-to-end pipeline
- Push ingest API, vendor-specific normalization वाले दर्जनों data connectors, और AWS, GCP, Azure व syslog/CEF के लिए cloud log collectors

- LLM triage agents सिर्फ typed tools तक सीमित हैं, हर कदम Investigation Ledger में दर्ज होता है और signed evidence bundle के रूप में export हो सकता है
- Ollama के ज़रिए bundled local model, ताकि triage offline भी चले; GPU, होस्ट model या अपने खुद के provider पर चलाने के विकल्प भी
- Playbooks जो कार्रवाई करने से पहले preview दिखाते हैं; deployment, tenant और playbook switches के साथ, और किसी vendor को छूने के लिए human approval ज़रूरी
- CISA के सार्वजनिक Known Exploited Vulnerabilities catalog से threat intelligence पहले से शामिल, और नई intel आने पर retro-hunts
शुरू करें
README को Docker Compose v2 चाहिए, जिसके Docker VM में 8 GB memory और 20 GB खाली disk हो, साथ में python3 (3.9+) और bash। पहले run में एक volume में ~2 GB का model डाउनलोड होता है।
क्लोन करें और stack शुरू करें
`make up` `.env` बनाता है, stack के secrets जेनरेट करता है, एक administrator बनाता है और उसका password एक बार प्रिंट करता है। कुछ छूट गया हो तो `make doctor` prerequisites की जाँच करता है।
git clone https://github.com/beenuar/AiSOC && cd AiSOC
make upPipeline काम करता है, यह साबित करें
`make smoke` ingest API पर एक असली event भेजता है, उसे Kafka, detection, correlation और Postgres से होकर ले जाता है, और public API से alert वापस पढ़ता है; हर stage के लिए PASS या FAIL रिपोर्ट करता है।
make smokeSign in करें और sample data लोड करें
`make up` द्वारा प्रिंट किया गया address खोलें। जिस tenant के साथ कुछ भी connect नहीं है, वह setup wizard पर पहुँचता है; वहाँ का Load sample data बटन पाँच labelled scenarios को उसी ingest path से भेजता है जिससे असली connector गुजरता है।
असली telemetry connect करें
`make ingest-token` से मिले credential के साथ events push करें, या Settings → Connectors के अंतर्गत data connector configure करें। `make up-full` event lake, entity graph, full-text search और enrichment जोड़ देता है।
curl -X POST http://localhost:8081/v1/ingest/batch \
-H 'Content-Type: application/json' -H "Authorization: Bearer $AISOC_INGEST_TOKEN" \
-d '{"connector_id":"edr-1","connector_type":"crowdstrike","events":[{"severity":"high",
"title":"Encoded PowerShell from Office","host":"WIN-FIN-01"}]}'कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।
कब इस्तेमाल करें
- छोटी security टीम के लिए self-hosted SOC pipeline खड़ी करें, जो AI triage चाहती है पर alerts किसी hosted model को न भेजे

- AI triage के हर निर्णय का ऑडिट योग्य रिकॉर्ड रखें, जिसे समीक्षा के लिए signed evidence के रूप में export किया जा सके
- मौजूदा Splunk, Sentinel या Elastic detections को ओपन सोर्स stack पर ले जाएँ, साथ में इसकी स्पष्ट रिपोर्ट कि क्या अनुवाद नहीं हुआ
How AiSOC compares
AiSOC alongside other open-source security agents tools AI/TLDR tracks, ranked by GitHub stars.
| टूल | स्टार | यह क्या करता है |
|---|---|---|
| REA | ★ 487k | अपने coding agent को किसी ऐप के व्यवहार से लेकर native binary तक reverse engineer करने दें |
| PentAGI | ★ 35.5k | AI एजेंट जो अलग Docker sandbox में अपने-आप पेनिट्रेशन टेस्ट चलाता है |
| PentestGPT | ★ 16.7k | AI से संचालित ऑटोनॉमस पेनटेस्टिंग एजेंट, जो USENIX Security 2024 में प्रकाशित हुआ |
| HexStrike AI | ★ 14.1k | एक AI agent को 150+ security tools के लिए एक ही interface दें |
| IDA Pro MCP | ★ 13.7k | LLM को आपके IDA डेटाबेस में बाइनरी पढ़ने और एनोटेट करने दें |
| CAI | ★ 9.9k | सिक्योरिटी की जाँच और बचाव करने वाले AI एजेंट बनाने के लिए ओपन सोर्स फ्रेमवर्क |
| AiSOC | ★ 8.8k | सेल्फ-होस्टेड AI Security Operations Center, जो security telemetry लेता है, detections को incidents में जोड़ता है और LLM agents से उनकी triage करवाता है, जिसका हर रिकॉर्ड ऑडिट योग्य ledger में रहता है। |
| AI-Infra-Guard | ★ 7.8k | एजेंट, स्किल, MCP सर्वर और AI infra में सुरक्षा कमज़ोरियाँ स्कैन करें, फिर मॉडल का jailbreak टेस्ट करें |
