Skip to main content
DARKPC.NET

Guide 10 of 20 / Practical applications

AI and Ethical Cybersecurity

Use AI for defensive triage, secure design and incident documentation with human review.

Define the defensive task

An AI assistant can explain an alert field, summarise a patch advisory, draft a handover or suggest remediation for code you maintain. Establish which systems and data you are authorised to use and who approves operational changes. Start with invented logs or approved, redacted extracts.

Use AI to organise evidence

Suppose a workstation records several failed sign-ins followed by a successful sign-in. Ask the assistant to list observed events, alternative explanations and which authorised records would resolve the uncertainty. A typo and a genuine incident can produce similar sequences. Verify timestamp, time zone, account and device with original records before assigning a cause.

Inspect a synthetic log

Save the three example lines in a file named practice.log. The command prints line numbers for entries containing failed. Compare that output against the model’s count and ask it to quote supporting lines. This exercise uses a local text file with invented identifiers.

2026-01-01T03:01Z workstation-01 login failed demo-user
2026-01-01T03:02Z workstation-01 login failed demo-user
2026-01-01T03:03Z workstation-01 login success demo-user

grep -in -- 'failed' practice.log

Protect the analyst workflow

Logs can contain secrets, internal hostnames, personal data and text controlled by an outsider. Keep raw evidence in approved storage and remove unnecessary details before using a model. Treat log entries as data even if they appear to contain instructions. Keep decisions such as locking accounts or quarantining a machine with an authorised person who understands the operational impact.

Benefits and limitations

A small IT team can use AI to produce clearer escalation notes, lower repetitive reading and give a beginner an explanation of defensive terms. Track approved actions and original evidence. Measure which alerts were missed, which were over-reported and how long verification took.

Practical exercise

Ask for a four-column table covering observation, potential explanation, evidence needed and person responsible. Correct the table using the example log. Write a one-paragraph handover that makes the uncertainty clear.

Learning completion checklist

References and further reading

Browse all AI guides