
D3fend Detect
- 27 installs
- 7 repo stars
- Updated May 20, 2026
- daemon-blockint-tech/agentic-enteprises-skill
Builds detection engineering with MITRE D3FEND: file and malware analysis, network traffic analysis, behavior analytics, and integrity monitoring.
About
An agent skill for detection engineering using MITRE D3FEND, covering file analysis, identifier reputation, network traffic analysis, and platform monitoring. A security engineer uses it when building detection rules, analyzing malware, monitoring networks, or designing SOC workflows.
- Dynamic/emulated malware analysis and traffic signature detection
- Behavior analytics and integrity monitoring
D3fend Detect by the numbers
- 27 all-time installs (skills.sh)
- Ranked #1,533 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/daemon-blockint-tech/agentic-enteprises-skill --skill d3fend-detectAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 27 |
|---|---|
| repo stars | ★ 7 |
| Last updated | May 20, 2026 |
| Repository | daemon-blockint-tech/agentic-enteprises-skill ↗ |
What it does
Builds detection engineering with MITRE D3FEND: file and malware analysis, network traffic analysis, behavior analytics, and integrity monitoring.
Files
D3FEND — Detect
When to Use
- Building file analysis pipelines (static, dynamic, emulated)
- Implementing identifier reputation checks (IP, domain, file hash, URL)
- Designing network traffic analysis and anomaly detection
- Monitoring platform health (OS, firmware, applications)
- Setting up physical access controls and surveillance
- Creating file integrity and behavioral monitoring
When NOT to Use
- System hardening or secure configuration →
d3fend-harden - Network segmentation or access mediation →
d3fend-isolate - Honeypots or decoy operations →
d3fend-deceive - Threat hunting playbooks →
defensive-security-analyst - SIEM/SOAR engineering →
cybersecurity
Core Workflows
1. File Analysis
| Method | What It Finds | Tools |
|---|---|---|
| Static analysis | File structure, hashes, strings, imports | YARA, ssdeep, ExifTool |
| Dynamic analysis | Runtime behavior, API calls, network | Cuckoo, ANY.RUN |
| Emulated analysis | Sandboxed execution, evasion detection | Speakeasy, Unicorn |
| Content rules | Signature matching, entropy analysis | ClamAV, custom YARA |
See `references/file_analysis.md`
2. Identifier & Reputation Analysis
- IP reputation (blocklists, geo, ASN)
- Domain reputation (age, DGA, homoglyphs)
- File hash reputation (VT, local DB)
- URL analysis (phishing, redirect chains)
- Sender/MTP reputation (SPF, DKIM, DMARC)
See `references/identifier_reputation.md`
3. Network Traffic Analysis
- Protocol command analysis (DNS, HTTP, RPC, IPC)
- Payload profiling and byte sequence emulation
- Certificate analysis (active/passive)
- Connection attempt and session volume analysis
- Community deviation and signature matching
See `references/network_traffic.md`
4. Platform & Physical Monitoring
- File integrity monitoring (FIM)
- Firmware behavior analysis and verification
- OS and application performance/exception monitoring
- Scheduled job and system daemon monitoring
- Physical: electronic locks, motion, video, proximity
See `references/platform_monitoring.md`
When to load references
- File analysis →
references/file_analysis.md - Identifier reputation →
references/identifier_reputation.md - Network traffic →
references/network_traffic.md - Platform monitoring →
references/platform_monitoring.md
File Analysis
Technique Coverage
| D3FEND Technique | Description |
|---|---|
| File Analysis | General file inspection |
| Dynamic Analysis | Runtime behavior analysis |
| Emulated File Analysis | Sandboxed execution |
| File Content Analysis | Deep content inspection |
| File Content Rules | Signature matching |
| File Hashing | Hash generation/comparison |
Analysis Stack
Static Analysis
| Check | Tool | Output |
|---|---|---|
| Hash (MD5/SHA256) | sha256sum | Integrity reference |
| Strings | strings, floss | Readable text |
| Imports/Exports | pestudio, objdump | Dependency map |
| Entropy | ent, binwalk | Packing/encryption detection |
| File type | file, libmagic | Format verification |
| YARA rules | yara | Malware family identification |
Dynamic Analysis
Sandbox: Cuckoo, ANY.RUN, Hybrid Analysis
Monitor: API calls, registry, files, network
Duration: 2-5 minutes typical
Report: Behavior summary, IOC extractionEmulated Analysis
Engine: Speakeasy, Unicorn, Binee
Advantage: No full VM overhead
Use: Quick triage, API log extraction
Limitation: Anti-emulation evasionIntegration
# Automated pipeline
file_received → hash_lookup → yara_scan →
if suspicious → sandbox → report
if clean → releaseIdentifier Reputation Analysis
Technique Coverage
| D3FEND Technique | Description |
|---|---|
| Identifier Analysis | General ID inspection |
| Homoglyph Detection | Unicode spoofing detection |
| Identifier Activity Analysis | Behavioral tracking |
| Identifier Reputation Analysis | Score reputation |
| Domain Name Reputation Analysis | Domain risk scoring |
| File Hash Reputation Analysis | Hash lookup |
| IP Reputation Analysis | IP risk scoring |
| URL Reputation Analysis | URL risk scoring |
| URL Analysis | Deep URL inspection |
Reputation Sources
| Type | Sources | Query Method |
|---|---|---|
| IP | VirusTotal, AbuseIPDB, Tor lists | API lookup |
| Domain | VirusTotal, URLVoid, Google Safe Browsing | API + DNS |
| File Hash | VirusTotal, NSRL, local DB | Hash lookup |
| URL | URLScan, PhishTank, OpenPhish | Full URL analysis |
| Sender | SPF, DKIM, DMARC, SenderBase | Email headers |
Homoglyph Detection
# Detect unicode spoofing
def detect_homoglyphs(domain):
confusables = {
'а': 'a', # Cyrillic а vs Latin a
'е': 'e',
'о': 'o',
}
# Normalize and compareScoring
| Score | Action |
|---|---|
| 0-30 | Clean, allow |
| 31-70 | Suspicious, flag for review |
| 71-100 | Malicious, block |
Integration
- DNS firewalls: block known malicious domains
- Email gateways: reject known bad senders
- Web proxies: block malicious URLs
- EDR: alert on known bad file hashes
Network Traffic Analysis
Technique Coverage
| D3FEND Technique | Description |
|---|---|
| Network Traffic Analysis | General traffic inspection |
| Administrative Network Activity Analysis | Admin traffic monitoring |
| Application Protocol Command Analysis | Protocol-specific |
| Remote Firmware Update Monitoring | FW update tracking |
| Byte Sequence Emulation | Payload emulation |
| Certificate Analysis | TLS cert inspection |
| Active Certificate Analysis | Active probing |
| Passive Certificate Analysis | Passive observation |
| Client-server Payload Profiling | Payload analysis |
| Connection Attempt Analysis | Connection tracking |
| DNS Traffic Analysis | DNS monitoring |
| File Carving | Extract files from traffic |
| Inbound Session Volume Analysis | Volume anomalies |
| IPC Traffic Analysis | Inter-process communication |
| Network Traffic Community Deviation | Peer comparison |
| Network Traffic Signature Analysis | Signature matching |
| Per Host Download-Upload Ratio Analysis | Ratio analysis |
| Protocol Metadata Anomaly Detection | Metadata anomalies |
| Relay Pattern Analysis | Proxy/Relay detection |
| Remote Terminal Session Detection | RDP/SSH detection |
| RPC Traffic Analysis | Remote procedure call |
Detection Methods
Signature-based
SNORT/Suricata rules for known threats
YARA over network payloads
Custom IDS rules for IOCsAnomaly-based
Baseline: normal traffic patterns per host/subnet
Deviation: unusual volume, protocols, destinations
Machine learning: auto-encoder, clusteringProtocol Analysis
DNS: DGA detection, tunneling, unusual queries
HTTP: C2 beaconing, data exfiltration
TLS: JA3 fingerprinting, SNI analysis
SMB: lateral movement, suspicious sharesTools
- Zeek, Suricata, Snort
- Wireshark, tshark
- Arkime (Moloch), Corelight
- Vectra, Darktrace
Platform & Physical Monitoring
Technique Coverage
| D3FEND Technique | Description |
|---|---|
| Physical Access Monitoring | Physical security |
| Electronic Lock Monitoring | Badge/lock tracking |
| Motion Sensor Monitoring | Motion detection |
| Proximity Sensor Monitoring | Proximity alerts |
| Video Surveillance | Camera monitoring |
| Platform Monitoring | System monitoring |
| Application Performance Monitoring | App health |
| Application Exception Monitoring | Error tracking |
| File Integrity Monitoring | FIM |
| Firmware Behavior Analysis | Firmware monitoring |
| Firmware Embedded Monitoring Code | Embedded monitors |
| Firmware Verification | Firmware validation |
| Operating Mode Monitoring | Mode/state tracking |
| Operating System Monitoring | OS health |
| Endpoint Health Beacon | Device heartbeat |
| Input Device Analysis | Peripheral monitoring |
| Memory Boundary Tracking | Memory monitoring |
| Scheduled Job Analysis | Job monitoring |
| System Daemon Monitoring | Service monitoring |
| System File Analysis | System file checks |
Platform Monitoring Stack
| Layer | What | Tool Examples |
|---|---|---|
| Application | Errors, performance, logs | Datadog, New Relic, Sentry |
| OS | Processes, services, events | OSQuery, Sysmon, Auditd |
| Firmware | Integrity, behavior | TPM, vendor tools |
| File | Integrity, changes | Tripwire, AIDE, OSQuery |
| Network | Traffic, connections | Zeek, Suricata |
File Integrity Monitoring
Baseline: Known-good file hashes
Frequency: Real-time or periodic
Alerts: Unexpected changes, new files, deletions
Scope: Critical system files, configs, executablesPhysical Security
| Control | Purpose |
|---|---|
| Badge readers | Access logging |
| Motion sensors | After-hours detection |
| Cameras | Visual verification |
| Proximity sensors | Tailgating detection |
| Mantraps | Controlled entry |
Firmware Monitoring
- Boot integrity measurement (TPM)
- Runtime behavior analysis
- Update verification (signed updates)
- Embedded monitoring code