Infrastructure hypotheses and evidence chains
Lesson 1. Object relationships matter more than tool names
An infrastructure assessment connects an identity, permitted operation, and object. AD directories and cloud identity systems require attention to groups, ACLs, delegation, and permission lifecycles. AD DS and Entra ID are not interchangeable systems: an on-premises domain has its own objects and protocols, while cloud identity has distinct roles and access models. A conclusion about a local group cannot establish a cloud tenant role without evidence of that relationship.
A risk-path graph is a collection of evidenced edges. Group membership does not always establish effective access. Deny entries, nested groups, policy scope, and additional conditions can change the result. Graph visualization helps navigation, but each critical edge still needs a source and a verifiable interpretation.
Lesson 2. Artifact: a simplified access model
user=trainee belongs_to=Helpdesk
Helpdesk can_write=config:/srv/training/deploy.conf
/srv/training/deploy.conf configured_input_for=DeployService
DeployService identity=svc_deploy
svc_deploy can_read=share:TrainingReports
Entra role of trainee=unknown
current DeployService configuration=not supplied
The first observation concerns control over service configuration. The path to TrainingReports remains a hypothesis until the current service configuration confirms that it consumes this file and applies the stated settings. Cloud roles remain unknown: the local group record does not establish them.
Lesson 3. Permission paths versus observed use
A graph represents subjects, objects, and operations. Each edge needs provenance, scope, time, and conditions. can-write does not mean a file was changed, and configured-input does not prove the running service consumes it. Several plausible relationships form a hypothesis that must be checked edge by edge.
Active Directory and Entra ID use different management models. User synchronization does not automatically transfer local rights into cloud roles. A Russian organization may operate only local AD or Samba and a separate IAM system. Identify actual products and trust paths rather than assuming foreign cloud services exist.
Lesson 4. Reproduce the evidence graph locally
Save path_evidence.py and run Python 3. It prints five supplied relationships and unknowns, obtains no privileges, and starts no service.
# path_evidence.py: only relationships stated in the training export
edges = [
('trainee','Helpdesk','member'),
('Helpdesk','/srv/training/deploy.conf','can-write'),
('/srv/training/deploy.conf','DeployService','configured-input'),
('DeployService','svc_deploy','runs-as'),
('svc_deploy','TrainingReports','can-read'),
]
for source, target, kind in edges:
print(source, '--'+kind+'-->', target)
missing = {'current service consumption', 'restart permission', 'Entra role mapping'}
assert len(edges) == 5
assert 'Entra role mapping' in missing
print('observed successful attack: no evidence')
print('missing checks:', ', '.join(sorted(missing)))
Expect five arrows. The last one shows that the model grants the svc_deploy account read access to TrainingReports. The artifact contains no read event. Add source_id and observed_at to every edge. Missing time stays unknown rather than being replaced with today’s date. Time differences can invalidate assumptions that prerequisites coexist.
Separate checks for effective membership, file and parent permissions, active service configuration, and lifecycle-management authority. To verify the last permission, ask the owner for the effective permissions of svc_deploy on TrainingReports.
Propose the earliest unnecessary relationship to constrain. Limiting writes to deploy.conf can break this particular path while preserving deployment requirements. Assign an owner and a functional positive control. Removing Helpdesk entirely may break support operations and is not a proportionate generic recommendation. Deliver a graph, confirmed and unknown edges, and an approved verification plan without changing objects. Defend the differences between capability, prerequisite, and observed action.
Exercise
Draw the six objects in the model and label each relationship type. Preserve a source line for every edge. Mark the links supported by the supplied model and those requiring current configuration or an effective-access check. Write a minimal read-only evidence request to the owner. Propose one configuration-management change and an independent way to verify it.
Review criteria
The report must not claim domain compromise or assign an unknown cloud role. It should describe the potential configuration-change chain and identify the unconfirmed file-consumption step. Remediation removes unnecessary write access; retesting examines the file ACL, process group membership, and configuration actually consumed by the service. Possessing an account, certificate, or known CVE identifier does not prove a risk path without applicable prerequisites. Detailed Kerberos, AD CS, and dMSA assessment belongs in the separate AD course after the directory foundations.
Sources
Why a service cannot be reached
Change the conditions and observe this training model. It runs in your browser and does not change your computer.
Choose conditions above to see an explanation of the result.
Independent exercise · Russian
В декабре 2026 года служба доступа уральского завода разбирает замечание по роли согласования закупок. Аналитик получил снимок каталога и две строки журнала приложения. Нужно установить, что можно утверждать о полномочии на конкретную дату.
Evidence
Снимок от 9 декабря: учебная запись svc-report входит в группу Отчёты, группа Отчёты — в Закупки, а Закупки назначена на роль Согласующий. В журнале 8 декабря указан вход svc-report, 9 декабря — чтение сводки. Журнал решений согласования в пакет не попал.
Assignment
Нарисуйте три связи назначения и расположите события на короткой шкале времени. Отдельно подпишите дату, на которую подтверждена роль, и источник для проверки её использования.
Compare your reasoning
Цепочка назначений подтверждена снимком на 9 декабря. Ни вход, ни чтение сводки не фиксируют согласование закупки. Для вывода за 8 декабря понадобятся исторические назначения, для факта согласования — журнал бизнес-операций с идентификатором исполнителя. Хороший ответ сохраняет обе неопределённости.
Personal practice environment
Check an excerpt, find matching lines and compute the SHA-256 of the original text. Temporary data expires after 30 minutes or when you close the environment.
Sign in