Professor Franklin
Accessibility settings

Preferences are saved in this browser when storage is available.

Chapter 4 · Reading 11 of 12

Logic bombs and conditional impact

Security+ SY0-801 · Objectives 2.5, 4.7

A records cleanup job runs quietly for years. After a contract closes, the same job proposes deleting open cases. Nothing unusual happened on most days because the newly relevant condition had never been true. Reviewing yesterday’s successful run would miss the problem.

Separate condition, action and authority

A logic bomb is malicious logic activated when a condition is satisfied. The condition could involve a date, an account state or an application event. A scheduled task, expiry rule or feature flag also has a trigger. Classifying an incident requires evidence that the action is unauthorized or malicious. A payroll task that stops after its service account expires may be an operational dependency failure.

Compare the approved behavior with the release that introduced the condition. Identify access required to modify it, the reviewer of the change and the identity under which the action would run. A job that can remove records across departments has a larger potential impact than a job restricted to one queue. Protect privileged changes with independent review and keep release evidence outside the control of a single operator.

Investigate without activating the condition

Preserve job definitions, release history, approvals and execution records. Ask the service owner what ordinary business condition should cause this action. Inspect dependencies before suspending a scheduled process because payroll or retention obligations may rely on other parts of it. Use a controlled test environment with inert sample records and disabled external side effects to compare expected outcomes.

If the condition has already occurred, reconcile affected objects with an independently protected inventory or backup. Recover a sample and validate it with a business user. Document who authorized containment, how recurring execution was stopped and how the corrected release is verified. Distinguish evidence of unauthorized behavior from any conclusion about a specific person's intent.

Distinguish a prevented action from an executed one

A scheduler may record that a condition evaluated to true while the storage service records that the requested change was refused. Both events matter. One reveals a dangerous rule, while the other limits the demonstrated impact. Check for later retries and examine the state of the intended target. Removing the scheduled entry cannot restore records already changed, and beginning a bulk restore can overwrite later legitimate work. The records owner needs that distinction before authorizing recovery.

Read a rule with the records owner

Ask the records officer to describe the expected outcome for three synthetic cases: a closed case past retention, a recently closed case and an open case belonging to a former vendor. Let the owner predict each result before reviewing the software team’s change history. A difference between the intended and implemented outcomes gives both teams a specific defect to investigate.

Next, determine whether the job could actually apply the proposed deletion. A preview, a rejected request and a completed transaction require different responses. Preserve that distinction when reporting impact. A safe repair limits permissions and verifies the business rule on all three cases. A separate investigation may still be needed to determine intent.

Scheduled action register

Inspect the three records, then use the evidence to answer the question.

1. Change ticket

Approved job archives closed cases after 90 days.

2. Job condition

A new release would remove all cases when vendor status becomes inactive.

3. Release review

No approved ticket authorizes the new removal condition.

Apply the reading

What evidence helps distinguish a malicious condition from an ordinary job?

Compare your reasoning

Compare the approved business rule, release history, effective authority and actual impact.