mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-08-02 00:57:42 +03:00
- Fix 25 shell=True subprocess calls with list-based commands - Fix 49 verify=False in defensive skills (env-var override) - Add timeout to 231 HTTP/subprocess/socket calls - Fix 6 SQL injection patterns with whitelist validation - Replace 8 __import__() with standard imports - Remove 701 unused imports across 442 files - Add authorized-testing disclaimers to all offensive skills - Complete 11 incomplete skill directories - Expand 10 stub SKILL.md files with full content - Fix 2 YAML parse errors in frontmatter - Fix 5 pre-existing syntax errors - Convert 22 hardcoded paths/ports to environment variables - Back up 21 redundant skill pairs to .bak - Fix 2 global declaration errors - 724/724 skills with full folder anatomy (SKILL.md + agent.py + api-reference.md + LICENSE) - 0 compile errors across all 724 agent.py files
44 lines
1.4 KiB
Markdown
44 lines
1.4 KiB
Markdown
---
|
|
name: implementing-network-traffic-analysis-with-arkime
|
|
description: >-
|
|
Deploy and query Arkime (formerly Moloch) for full packet capture network
|
|
traffic analysis. Uses the Arkime API v3 to search sessions, download PCAPs,
|
|
analyze connection patterns, detect beaconing behavior, and identify suspicious
|
|
network flows. Monitors DNS queries, HTTP traffic, and TLS certificate anomalies
|
|
across captured traffic.
|
|
domain: cybersecurity
|
|
subdomain: network-security
|
|
tags: [implementing, network, traffic, analysis]
|
|
version: "1.0"
|
|
author: mahipal
|
|
license: Apache-2.0
|
|
---
|
|
|
|
|
|
# Implementing Network Traffic Analysis with Arkime
|
|
|
|
## Instructions
|
|
|
|
1. Install dependencies: `pip install requests`
|
|
2. Configure Arkime viewer URL and credentials.
|
|
3. Run the agent to query Arkime sessions and analyze traffic:
|
|
- Search sessions by IP, port, protocol, or expression
|
|
- Download PCAP data for forensic analysis
|
|
- Detect C2 beaconing via connection interval analysis
|
|
- Identify DNS tunneling through query length statistics
|
|
- Flag connections to known-bad TLS certificate issuers
|
|
|
|
```bash
|
|
python scripts/agent.py --arkime-url https://arkime.local:8005 --user admin --password secret --output arkime_report.json
|
|
```
|
|
|
|
## Examples
|
|
|
|
### Beaconing Detection
|
|
```
|
|
Source: 10.1.2.50 -> 185.220.101.34:443
|
|
Sessions: 288 over 24 hours
|
|
Avg interval: 300s, Jitter: 4.2%
|
|
Verdict: HIGH confidence C2 beaconing (jitter < 5%)
|
|
```
|