🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Cybersecurity › Security Operations: Monitoring, Defense, and Controls › Lesson 11
TEC-CYBE44-03 · Lesson 11 · 15 clock hours · lab

Security Monitoring: Logs, Alerts, and Baseline Behavior

Objective. Students will collect and review system and network logs, identify anomalous events indicating a potential security issue, and generate a structured alert summary.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

What Is Security Monitoring?

Security monitoring is the continuous process of collecting, reviewing, and acting on data from systems and networks to detect threats, policy violations, and anomalies. Every device on a network—servers, firewalls, endpoints, and applications—generates records of its activity. These records are logs. When something in a log matches a rule or pattern that suggests trouble, the monitoring system raises an alert. Your job as a security analyst begins with understanding both.

Logs: The Raw Material of Detection

Logs are timestamped records of events. Common log sources include:

Logs follow formats. The syslog format is one of the oldest and most widely used on Linux and network devices. A syslog entry typically contains a priority value, timestamp, hostname, process name, process ID, and the message text. The ELK Stack (Elasticsearch, Logstash, Kibana) is a popular open-source platform that ingests logs from many sources, normalizes them, and makes them searchable through a web dashboard.

Log Forwarding

Logs generated on individual machines are only useful if analysts can see them in one place. Log forwarding sends log data from each source host to a central log collector (also called a SIEM collector or syslog server). Tools such as `syslog-ng` or Logstash act as the forwarding agent or collector. Centralizing logs prevents an attacker who compromises one machine from deleting local evidence, because copies already exist on the collector.

To verify that forwarding is working: check the collector's incoming log directory or dashboard, confirm the source IP matches the host you configured, and confirm the timestamp and format are as expected.

Baseline Behavior

A baseline is a documented picture of what normal looks like on a system or network—typical login times, expected outbound destinations, normal CPU and bandwidth usage. Without a baseline you cannot reliably distinguish anomalies from routine activity.

When you see events that deviate from baseline, treat them as candidates for investigation:

Identifying Suspicious Events

When reviewing logs, work systematically:

1. Filter by time – look for clusters of events in short windows.

2. Filter by severity – many syslog events are informational; focus on `warning`, `error`, and `critical` levels first.

3. Cross-reference sources – a failed SSH login on a server followed by a successful login two minutes later from the same IP is more significant than either event alone.

4. Check for known indicators – repeated authentication failures, access to sensitive files, unexpected cron job additions, and outbound traffic to unusual ports are all common indicators of compromise (IoCs).

Annotate each suspicious entry with: what you saw, why it is suspicious, and what harm it could cause.

Writing a Structured Alert Summary

A structured alert summary turns your observation into an actionable document. It must include:

| Field | Purpose |

|---|---|

| Timestamp | Exact date and time from the log (include time zone) |

| Source | Hostname or IP address where the event originated |

| Event Description | Clear, factual description of what the log shows |

| Potential Impact | What could happen if this is a real attack |

| Recommended Next Step | The immediate action an analyst or responder should take |

Be specific and objective. Avoid guessing in the description field; save interpretation for the impact field.

Lab Safety and Responsible Use

All lab work takes place on isolated virtual machines provided for classroom use. Never forward traffic or test tools against systems you do not own or have explicit written permission to test. Unauthorized scanning or log manipulation of external systems violates the Computer Fraud and Abuse Act (CFAA) and institutional policy. Treat all pre-generated log files as confidential; they may contain simulated personal data. Follow your program's acceptable-use policy at all times.

Why This Matters for Your Credentials

CompTIA Security+ tests your understanding of log types, monitoring concepts, and incident response procedures. CompTIA CySA+ goes deeper, emphasizing threat and vulnerability analysis using log data and security tools. ISC2 CC covers foundational security operations including monitoring and alerting. Mastering log review is one of the most transferable, daily-use skills in this field.

Key terms9

LogA timestamped record of an event generated by an operating system, application, or network device, used to track activity and support security analysis.
SyslogA widely used standard protocol and format for transmitting log messages from network devices and operating systems to a central log collector.
Log forwardingThe process of automatically sending log data from individual source hosts to a central collector so that logs are preserved and can be reviewed in one place.
BaselineA documented description of normal, expected system or network behavior against which current activity is compared to detect anomalies.
AnomalyAn event or pattern of activity that deviates from established baseline behavior and may indicate a security incident or policy violation.
AlertA notification generated by a monitoring tool or analyst when log data matches a rule or pattern that suggests a potential security threat.
Indicator of Compromise (IoC)Observable evidence in logs or system data—such as repeated failed logins or unexpected outbound connections—that suggests a system may have been attacked or breached.
SIEM (Security Information and Event Management)A platform that aggregates, normalizes, and analyzes log data from many sources to support real-time monitoring and incident detection.
Privilege escalationAn action in which a user or process gains a higher level of system access than was originally authorized, often a sign of attacker activity.
In class: Configure basic log forwarding from a Linux VM to a central log collector (e.g., syslog-ng or the ELK stack lite instance provided by the instructor), verify logs are arriving, and confirm the log format is correct. · Analyze a provided set of pre-generated log files containing planted suspicious events (repeated failed logins, unusual outbound connection times, privilege escalation commands) and mark each suspicious entry with an explanation. · Write a structured alert summary for one identified suspicious event using a provided template that includes timestamp, source, event description, potential impact, and recommended next step.
Materials: Linux VMs, syslog-ng or instructor-configured ELK Lite instance, pre-generated log files (instructor-created), alert summary template.
Check: Log forwarding is verified as working; student correctly identifies at least 80% of planted suspicious events with accurate explanations; alert summary is complete and uses the correct fields; score 75% or higher.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

Threats, Attacks, and Vulnerabilities (Security+)
1. A Linux server's `/var/log/auth.log` shows 87 failed SSH login attempts from the same IP address within 60 seconds, followed by one successful login. Which term best describes the failed-login phase of this activity?
Security Operations (Security+)
2. Why is centralizing logs on a dedicated collector more secure than relying only on logs stored locally on each host?
Threat Intelligence and Threat Hunting (CySA+)
3. An analyst notices outbound TCP connections leaving the corporate network to an unfamiliar external IP address every night at 2:15 a.m. The baseline shows no scheduled jobs at that time. What is the most likely concern?
Security Operations (Security+)
4. A student configures log forwarding from a Linux VM using syslog-ng. Which action best confirms that forwarding is working correctly?
Incident Response (Security+)
5. Which field in a structured alert summary describes what could happen to the organization if the suspicious event represents a real attack?
Threats, Attacks, and Vulnerabilities (Security+)
6. A standard user account on a Linux system runs the command `sudo su -` to become root, which is not part of any documented administrative task. This is best categorized as which type of suspicious activity?
Security Operations (CySA+)
7. An analyst is reviewing a large log file and wants to prioritize which entries to investigate first. Which syslog severity levels should receive the earliest attention?
Governance, Risk, and Compliance (Security+)
8. Which law primarily governs unauthorized access to computer systems in the United States and makes it illegal for a student to scan or probe systems without permission, even for practice?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.