
D3fend Evict
- 28 installs
- 7 repo stars
- Updated May 20, 2026
- daemon-blockint-tech/agentic-enteprises-skill
Runs incident eviction with MITRE D3FEND: credential revocation, account locking, process termination, file removal, and system recovery.
About
An agent skill for eviction and incident response using MITRE D3FEND, covering credential revocation, account locking, process termination, file removal, and system recovery. A security engineer uses it during active incident containment and eradication.
- Killing malicious processes and revoking compromised credentials
- Removing persistent files and restoring systems
D3fend Evict by the numbers
- 28 all-time installs (skills.sh)
- Ranked #1,512 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-evictAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 28 |
|---|---|
| repo stars | ★ 7 |
| Last updated | May 20, 2026 |
| Repository | daemon-blockint-tech/agentic-enteprises-skill ↗ |
What it does
Runs incident eviction with MITRE D3FEND: credential revocation, account locking, process termination, file removal, and system recovery.
Files
D3FEND — Evict
When to Use
- Responding to active security incidents requiring containment
- Revoking compromised credentials and locking accounts
- Terminating malicious processes and sessions
- Removing malicious files, registry keys, and email
- Evicting adversary presence (shutdown, reboot, disk operations)
- Coordinating takedowns (domain registration, DNS cache)
When NOT to Use
- Building detection or monitoring →
d3fend-detect - System hardening or prevention →
d3fend-harden - Network segmentation →
d3fend-isolate - Forensic investigation and evidence preservation →
incident-management-engineer - Post-incident recovery and restoration →
d3fend-restore
Core Workflows
1. Credential Eviction
| Action | When | Considerations |
|---|---|---|
| Account locking | Immediate containment | May disrupt business; have unlock procedure |
| Authentication cache invalidation | Session hijacking confirmed | Force re-auth across all systems |
| Credential revocation | Stolen cert/token | Update CRL, rotate secrets |
See `references/credential_eviction.md`
2. Object & File Eviction
- File eviction (quarantine, delete, restore from clean backup)
- Email removal (phishing, malware delivery)
- Registry key deletion (persistence removal)
- DNS cache eviction (poisoning response)
- Domain registration takedown (phishing sites)
See `references/object_eviction.md`
3. Process & System Eviction
- Process suspension (pause for analysis)
- Process termination (kill malicious process)
- Session termination (disconnect attacker)
- Host shutdown/reboot (emergency containment)
- Disk operations (format, erase, partition for sanitization)
See `references/process_system_eviction.md`
When to load references
- Credential eviction →
references/credential_eviction.md - Object & file eviction →
references/object_eviction.md - Process & system eviction →
references/process_system_eviction.md
Credential Eviction
Technique Coverage
| D3FEND Technique | Description |
|---|---|
| Credential Eviction | Remove compromised credentials |
| Account Locking | Disable account access |
| Authentication Cache Invalidation | Clear auth caches |
| Credential Revocation | Revoke certificates/tokens |
Eviction Procedures
Account Locking
Trigger: Confirmed compromise or suspicious activity
Action: Disable account in AD/IdP
Notification: User + security team
Unlock: After verification + credential reset
Consideration: May disrupt business - plan for emergency accessAuthentication Cache Invalidation
| System | Method |
|---|---|
| Active Directory | Clear Kerberos tickets (klist purge) |
| OAuth/OIDC | Revoke refresh tokens |
| SAML | Force re-authentication |
| API Keys | Rotate or revoke in key vault |
| Cached Credentials | Clear local credential cache |
Credential Revocation
| Type | Revocation Method |
|---|---|
| Certificates | Publish to CRL, OCSP |
| API Keys | Disable in key management |
| Tokens | Blacklist or rotate signing key |
| Passwords | Force reset on next login |
| Service Accounts | Rotate via secret vault |
Coordination Checklist
- [ ] Identify all systems using the credential
- [ ] Revoke/rotate in identity provider first
- [ ] Clear all cached sessions
- [ ] Verify no active sessions remain
- [ ] Issue new credentials through secure channel
- [ ] Monitor for attempts to use old credentials
Object & File Eviction
Technique Coverage
| D3FEND Technique | Description |
|---|---|
| Object Eviction | Remove malicious objects |
| Disk Formatting | Reformat storage |
| Disk Erasure | Secure wipe |
| Disk Partitioning | Repartition |
| DNS Cache Eviction | Clear DNS cache |
| Domain Registration Takedown | Take down domain |
| File Eviction | Remove malicious files |
| Email Removal | Delete malicious email |
| Registry Key Deletion | Remove persistence |
File Eviction
Quarantine vs Delete
| Action | When | Risk |
|---|---|---|
| Quarantine | Need forensics | Attacker may recover |
| Delete | Confirmed malicious | Evidence loss |
| Replace | Known good backup | Restore integrity |
Registry Cleanup
Common persistence locations:
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
Services (legitimate names, malicious binaries)
WMI event subscriptions
Scheduled tasksEmail Removal
- Delete from all mailboxes
- Purge from recoverable items
- Block sender domain
- Update email gateway rules
DNS & Domain
| Action | Method |
|---|---|
| DNS cache eviction | ipconfig /flushdns, restart resolver |
| Domain takedown | Contact registrar/hosting provider |
| Sinkhole | Redirect to internal block page |
Disk Operations
| Method | Use Case | Standard |
|---|---|---|
| Format | Quick rebuild | NIST 800-88 |
| Secure erase | Sensitive data | DoD 5220.22-M |
| Degauss | Magnetic media | Physical destruction |
| Crypto erase | Self-encrypting drives | TCG Opal |
Process & System Eviction
Technique Coverage
| D3FEND Technique | Description |
|---|---|
| Process Eviction | Remove malicious processes |
| Host Shutdown | Emergency shutdown |
| Host Reboot | Restart system |
| Process Suspension | Pause process |
| Process Termination | Kill process |
| Session Termination | End user session |
Process Eviction
Suspension vs Termination
| Action | Use Case | Benefit |
|---|---|---|
| Suspend | Need to analyze process | Preserve memory for forensics |
| Terminate | Confirmed malicious | Immediate containment |
Termination Methods
Graceful: SIGTERM, service stop
Forceful: SIGKILL, taskkill /F
Kernel: Delete process object
Remote: EDR kill commandSession Termination
| Session Type | Termination Method |
|---|---|
| RDP | Log off user, disconnect session |
| SSH | Kill PTY, revoke authorized_keys |
| Web | Invalidate cookie/token |
| VPN | Disconnect from concentrator |
| Application | Revoke app-specific token |
System Eviction
Shutdown
- Immediate: Cut power (last resort)
- Graceful:
shutdown /s /t 0 - Network: Isolate first, then shutdown
Reboot
- Use for: Clearing memory-resident malware
- Risk: Persistent malware restarts
- Combine with: Boot from clean media
Coordination
1. Identify all malicious processes 2. Document parent-child relationships 3. Terminate in dependency order (children first) 4. Verify termination (process not respawning) 5. Check for persistence mechanisms 6. Verify system stability after eviction