Skip to content
cccskills
FreePublished on GitHub

detection-and-monitoring

Design and assess security monitoring that can surface an attack in progress. Decide which logs to retain, build detections around attacker behavior, reduce noisy alerts, define response steps, and verify that alerts reach someone who can act.

OriginalShow the original description

Builds the capability to notice an attack in progress — deciding what to log and retain, centralizing it somewhere tamper-resistant, writing detections that fire on attacker behavior rather than on individual events, tuning out the noise that trains people to ignore alerts, and defining what happens when something fires. Use this to design or assess monitoring coverage, work out why an incident went unnoticed, cut alert volume without losing signal, or decide what a detection capability should cost.

Run score Not tested

See how to install

Good for

  • Assessing security monitoring coverage
  • Investigating why an incident went unnoticed
  • Reducing noisy alerts while keeping useful signal
  • Planning detection response steps

Files included (2)

  • SKILL.md5.0 KB
  • references/sources.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Detection and monitoring

Incident response assumes someone noticed. Most organizations that respond well to incidents found out from a customer, a vendor, or an extortion note, and the gap between compromise and discovery is where nearly all of the damage accumulates.

Decide what to log by asking what you would need afterward

Work backwards from the questions an investigation asks: who authenticated, from where, and what did they then do. That points at a short list that matters far more than volume.

  • Identity events — authentication success and failure, MFA changes, privilege grants, new API keys and tokens, consent grants to applications.
  • Endpoint process activity — what ran, what spawned it, what it connected to.
  • Administrative actions in the platforms that hold your data, especially permission and sharing changes.
  • Network egress where you have it, and DNS, which is cheap and unusually informative.

Retention decides whether you can investigate at all. Intrusions are commonly discovered months after entry, so logs kept for thirty days answer none of the useful questions. Split it: a short hot window you can search fast, and a longer cold archive you can still reach.

Centralize, and make the copy hard to erase

Logs stored only on the system that produced them are logs the attacker controls. Ship them off the host as they are written, to a destination with different credentials from the systems it collects from — otherwise one compromised administrator account ends both the intrusion and the evidence of it.

Write detections for behavior, not for events

A single event is almost never an incident. What distinguishes an attacker is a sequence: authentication from a new location, followed by a mailbox rule creation, followed by a bulk download.

  • Start from the techniques that actually apply to you. Coverage is a property of your own estate, not of a vendor's rule count.
  • Detect the steps an attacker cannot skip — persistence, privilege escalation, credential access, and exfiltration — rather than the tools they might use, which change.
  • High-signal detections available cheaply: inbox rules that forward or delete externally, new federation or identity-provider trust, disabled logging, impossible travel on administrative accounts, and mass file access by a single principal.

Every detection needs a documented response. A detection that fires with no defined next step becomes noise on its second occurrence.

Tune ruthlessly, because alert fatigue is the real failure mode

An alert that is wrong most of the time trains people to close it without reading. The team stops noticing, and the eventual real one closes the same way.

Measure the proportion of alerts that are actually actioned. Anything consistently below roughly half is a tuning problem, and the fix is narrowing or suppressing the rule rather than adding another analyst. A smaller number of trustworthy detections beats broad coverage nobody believes.

Decide who is watching, and when

Coverage hours are an explicit decision with a cost. Business-hours monitoring means an intrusion starting on Friday evening runs unobserved for two days, which is exactly why attacks are timed that way. If you cannot staff around the clock, say so, and choose a small number of detections that page a human at any hour rather than pretending the queue is monitored.

Outsourcing detection is legitimate and does not outsource the decision. The provider escalates; someone inside still has to be reachable and authorized to disconnect something.

Test that it would actually fire

Detection coverage is assumed far more often than it is verified. Run the behavior — a benign version of the technique — and confirm the alert arrives, reaches a person, and carries enough context to act on. Coverage claimed from a configuration page is not coverage.

Sources

references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.

Never

  • Retain logs for a window shorter than the time it typically takes to discover an intrusion.
  • Store the only copy of a log on the system it describes.
  • Ship a detection with no defined response.
  • Claim coverage for a technique nobody has tested end to end.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Design and review access so people and services have appropriate permissions. Use it to plan roles, audit accounts, reduce always-on admin rights, manage credentials, handle departures, and improve sign-in with single sign-on or multi-factor authentication.

  • Reviewing who can access each system
  • Planning role based permissions
  • Removing access during offboarding
cbrock84/headcount2.1KUpdated Oct 19, 2026

Plan account-based marketing for a defined set of companies. Assess whether the economics fit, prioritize accounts, map the people involved in buying, coordinate outreach across sales and marketing, and track account movement through the pipeline.

  • Assess whether account-based marketing fits the business
  • Build and prioritize a target account list
  • Map buying roles within target companies
cbrock84/headcount2.1KUpdated Oct 19, 2026

activation

FreeSummary

Improve the path from signup to a new user’s first meaningful result. Define the action that signals real value, refine signup and onboarding, and diagnose where people drop off so more accounts become active users sooner.

  • Designing or fixing signup and onboarding
  • Finding why signups do not become active users
  • Reducing time to a first meaningful result
cbrock84/headcount2.1KUpdated Oct 19, 2026

agent-hierarchy

FreeSummary

Design a repository’s multi-agent structure by assigning exclusive file areas, defining builder and reviewer roles, and checking ownership rules with a CI script. Use it to divide work, prevent overlapping edits, and decide whether another agent is needed.

  • Dividing repository work among agents
  • Defining agent roles and file ownership
  • Auditing overlapping agent responsibilities
cbrock84/headcount2.1KUpdated Oct 19, 2026

ai-ml-governance

FreeSummary

Use this skill to define an AI system’s intended use, evaluate its errors across user groups, plan monitoring and meaningful human review, and document its limits. It supports deployment and retirement decisions, especially when AI could affect consequential outcomes for people.

  • Set evaluation criteria before deployment
  • Investigate model behavior drift
  • Plan monitoring and human review
cbrock84/headcount2.1KUpdated Oct 19, 2026

Use this skill to analyze markets, map competitors, assess trends, and compare strategic options such as market entry or build versus buy. It produces a cited research brief that separates established facts from inferences and estimates, states confidence, and connects findings to a decision.

  • Sizing a market or analyzing an industry
  • Mapping competitors and buyer differences
  • Comparing market entry or build versus buy
cbrock84/headcount2.1KUpdated Oct 19, 2026

See all skills by cbrock84

Report a problem with this skill