Following Remote Access from Identity to Session
The contractor's login was successful. The account passed the organization's remote-access checks shortly after midnight, and the connection remained active for nearly an hour. The first alert came later, when that account reached a server used to manage payroll. The contractor's approved assignment was to support a warehouse application. The payroll server was outside the assignment. That difference creates a security question the successful login cannot answer: did the person who was supposed to use the account actually make this connection, and how did the account acquire the ability to reach that server?
Remote access often looks like one event from the employee's perspective. They sign in and their work begins. For an analyst, it is a sequence of decisions made by different systems. An identity service accepts an account and its evidence of authentication. A device may be checked for compliance. A gateway establishes a path through the network. An authorization policy determines which resources the account can use. The target application or server then makes its own access decisions. Those decisions may be logged in different places, with different timestamps and different levels of detail. A complete investigation has to connect them.
Begin with the contractor's identity. The account name identifies the credential that was accepted; it does not establish who was physically holding the device. Even multi-factor authentication needs interpretation. A second factor can prevent many password-only compromises, but a user can be tricked into approving a request, a session can be stolen after authentication, or an attacker may already control the enrolled device. Ask what the authentication service actually recorded: the method used, whether it matched organizational policy, which device or session it was associated with, and whether there were unusual requests immediately beforehand. The absence of failed logins does not mean that the credentials were used legitimately.
This is a useful point for a short review after listening. The independent Bare Metal Cyber study guide can help you revisit the relationship between identity checks, device health, and the resources a remote user is permitted to reach. While listening, keep the contractor in mind. A passed authentication is one piece of the story, and the next question is whether the approved access was narrow enough for the assigned work.
Now add the device. A familiar account used from a new unmanaged laptop presents a different risk from the same account on an enrolled, monitored machine. Device posture describes facts a policy can use, such as enrollment, operating-system maintenance, disk protection, endpoint-security health, and ownership. A posture check is only as trustworthy as its measurements and enforcement. An old device record can be stale. A reporting failure can make a healthy computer appear noncompliant. A machine that passed a check yesterday may be compromised today. The analyst must identify what was measured, when, by which system, and whether access was actually restricted by the result.
A virtual private network, usually called a VPN, creates a protected communications path between endpoints. A remote-access VPN commonly connects one user's device through a gateway to resources selected by organizational policy. A site-to-site VPN instead connects networks or locations, such as a branch office and a data center. Both can protect traffic crossing an untrusted link. Neither, by itself, decides whether the person or application sending the traffic is allowed to use every system reachable through the tunnel. Encryption protects the journey; it does not make all activity at the destination safe.
Consider the contractor's connection. A VPN gateway may have given the device an internal address and allowed traffic into several subnets. The identity system could have correctly accepted the account while the gateway's access rule remained much broader than the warehouse project required. If so, two control questions arise. Was the account misused? And why was the payroll management service reachable from that remote-access group? Solving only the first problem would leave the second exposure available to the next compromised credential.
Authentication and authorization happen at different points. The gateway might authorize the network path. A server might require a separate login. The server's operating system might grant the account membership in a privileged group. An application might allow one user to read records but another to change them. The contractor could therefore establish a VPN tunnel and still be denied access to payroll, or gain access because a group inherited permissions from an unrelated contract. The analyst needs the actual target-system decision, not merely the gateway's record that packets were allowed.
Network access control addresses a related problem when devices join an organization's wired or wireless network. Depending on its design, it can use device identity, certificates, user identity, and posture policy to permit access, restrict the device to a limited network, or deny admission. Think about a visitor's laptop that connects to corporate wireless. The network may accept the wireless credentials while the admission policy places the laptop on a guest network where sensitive internal systems are unavailable. That access decision is distinct from whether the visitor can later authenticate to a particular application.
The same limitation applies to posture enforcement. Imagine that an employee's laptop is denied access because the protection agent reports itself as inactive. The employee says the software is running. Bypassing the restriction immediately may restore service but also remove a safeguard for genuinely unhealthy devices. A better investigation checks whether the agent is reporting, whether its policy and enrollment are current, and whether the access controller is receiving the correct posture information. If the device is healthy, repairing the reporting problem can restore access without turning the exception into a permanent weakness. If the protection is actually disabled, the restriction has identified a condition worth addressing.
Remote administration raises the stakes because the destination can change other systems. Remote Desktop, secure shell services, web administration portals, and cloud management consoles all provide different ways to operate a machine or service without standing beside it. A successful session to a backup controller or identity server may provide far more influence than a normal file read. Administrative access should therefore be evaluated by its destination, the account's privileges, the allowed origin, and whether a separate management path restricts who can connect. Merely recognizing the protocol cannot tell you whether the session was authorized.
Return to the contractor alert. The VPN record identifies an assigned address. A firewall record shows a permitted connection from that address toward payroll management. The target system reports a successful remote login. That is stronger evidence than the first alert, but it still leaves several explanations open. Perhaps an emergency support assignment was approved and never recorded in the original access request. Perhaps the account's privileges expanded through a stale group membership. Or perhaps someone other than the contractor is using the account. Each explanation suggests a different correction, and each can be tested through people, change records, and technical evidence.
The identity-provider logs might show repeated second-factor requests shortly before the successful sign-in. Those records would raise the likelihood of social engineering, especially if the contractor reports unexpected prompts. But a log showing that an approval was received is not proof of the human's intention. A report from the contractor, managed-device records, and the sequence of target-system actions can help establish whether the session was legitimate. Treat an unfamiliar geographic location cautiously as well. Addresses can appear distant because of cellular networks, commercial VPN providers, or network routing. Geography can help direct a question, but it should not decide the case alone.
Once the destination has been reached, follow what happened there. Did the account list users, open management tools, alter a service, copy data, or simply encounter an access-denied message? A network connection can be successful while the application refuses the requested operation. A privileged login can be genuine while the subsequent action is inappropriate. Time alignment is essential. A VPN assignment may be reused after one session ends, so the analyst should correlate the actual session period rather than attach every event from that address to the same user. Where translation or shared gateways exist, additional session context may be necessary.
For optional practice after the episode, the Bare Metal Cyber Cyber Challenge is useful for testing whether you can separate those observations. A defensible scenario answer should explain what the identity system accepted, what the network allowed, what the target recorded, and which missing fact could change your decision. The purpose is to practice the investigation, not to memorize which product name appears beside an alert.
Now suppose the contractor confirms that they never signed in. The unusual second-factor requests and successful payroll login become part of a credible compromise hypothesis. The immediate concern is that the attacker may still control an active session. Disabling the account or changing its password may not invalidate every token, ticket, key, or remote session already issued. The response may require revoking active sessions, restricting the affected identity, checking alternate credentials, and coordinating with owners of the payroll system. The correct steps depend on how the actual identity and access technologies handle session termination.
Containment needs an operational boundary as well as a technical one. Suspending a contractor's account might be acceptable while the project owner confirms another support arrangement. Cutting off every remote connection could interrupt an unrelated production recovery. If the attacker has already installed a new service or created another administrative account, closing the VPN session alone may not remove their access. Verify which attacker capability was stopped and investigate whether a second path remains. Evidence from the destination, not only the entry gateway, determines whether the incident is contained.
The principle of least privilege applies both to which destinations are reachable and to the actions permitted at those destinations. A warehouse contractor who needs one web application usually does not require general connectivity to finance servers. An administrator who maintains a small group of machines may not require broad interactive access to the entire network. Some organizations grant narrow application access instead of placing a remote device on a large internal network. That can reduce exposed paths, but it still requires trustworthy identity, policy enforcement, and good logging. An application that grants excessive permission can defeat a narrow network design.
What about split tunneling? In some VPN arrangements, selected traffic enters the corporate tunnel while other traffic uses the device's ordinary internet connection. That can reduce unnecessary backhaul and improve performance. It can also change where web filtering and network monitoring see the traffic. Full tunneling may provide a more centralized observation point, but it introduces capacity and availability dependencies and does not guarantee endpoint safety. The proper question is which traffic is supposed to be protected and inspected, where the controls actually operate, and whether the organization's policy accounts for the difference.
That routing distinction can explain an apparently suspicious incident. A remote employee connects to a protected application, then the security team sees web traffic from the employee's home address to a cloud service. If the VPN sends that destination outside the tunnel, there may be no corporate gateway record for that web session. Missing gateway telemetry cannot prove the web session did not occur. Endpoint, application, or cloud records may still provide the needed evidence. At the same time, the analyst should not infer a personal device compromise solely from traffic that used a permitted split-tunnel route.
There is another kind of remote-access case that can look like a security failure but is actually a connectivity outage. Imagine that users authenticate successfully to the VPN, yet an internal application stops responding immediately after a gateway change. A new address pool has been assigned to remote sessions, but a downstream firewall still permits only the old pool. The identity system is working. The encrypted tunnel may also be working. The missing piece is authorization for traffic from the new source range. Resetting every user's password would be ineffective; disabling the firewall broadly would create unnecessary exposure. Checking the actual assigned source address against the effective policy points toward a controlled rule correction.
Site-to-site connections create similar attribution challenges. A partner company may reach an approved service over an encrypted tunnel. The organization's gateway can establish the partner network from which a request arrived, but it may not identify the individual worker or workstation behind that partner's infrastructure. If suspicious access occurs, the receiving service logs and the partner's own records may be needed. The fact that the tunnel is contractually approved does not establish that every system on the partner side is healthy or every request from it is legitimate.
Access relationships change over time. A consultant may complete a project without having their account disabled. An employee may move departments while retaining old groups. An emergency exception may be left open after the repair ends. These conditions can accumulate quietly because nobody sees a dramatic login failure. Reviews of actual permissions, session use, ownership, and expiration dates can expose that drift before an attacker uses it. When an incident does occur, a stale permission is not merely a paperwork problem. It may explain how a valid account crossed a boundary it should never have been able to cross.
Cloud applications add another layer. A person may sign into a provider through a corporate identity service, receive an application session, and then use a separate administrative role or service credential. Some access decisions occur in the identity provider, others in the cloud service or application. A password change in one system may not immediately invalidate an independent token. A network block may not prevent an application from continuing to process requests that already arrived. Analysts need to know who issues each kind of credential, how it expires, and which control can remove the specific capability that was abused.
Modern zero-trust guidance puts emphasis on evaluating access to resources rather than assuming that being connected to an internal network makes a requester trustworthy. That does not make a VPN useless. It changes what a VPN is expected to prove. The tunnel can secure transport while identity, device condition, authorization, and resource policy determine whether access should be granted. A device located inside an office should not receive broader confidence merely because of its address. The same identity and authorization weaknesses can exist on internal and remote paths.
Consider a final variation on the contractor case. The target logs show that payroll access was attempted but denied. The account had permission to enter the VPN and reach the management interface, yet the server refused authentication. That is a narrower confirmed result than successful administrative compromise. It still justifies investigating why the contractor tried to reach payroll and why the interface was reachable. It may call for changing network policy even if no payroll data was accessed. The analyst should report the access attempt, the denial, any remaining uncertainty, and the exposure separately.
Useful case notes make these layers clear for the next responder. Record the accepted account, authentication method, device evidence, connection window, gateway assignment, destinations reached, target-system decisions, privileges exercised, and any changes made during containment. Identify what was verified and what remains an interpretation. If an access owner approved an exception, retain the authority and scope of that approval. A shift handoff should allow another analyst to follow the investigation without having to guess whether an allowed network session was also an approved business action.
The contractor's successful login was never the conclusion. It was the first reliable point on a longer path. Remote access can protect communications, evaluate devices, and limit destinations, but those protections work at different stages and leave different evidence. The analyst's task is to establish whose credentials were accepted, which device and path were involved, what authority was actually granted, and what occurred at the resource. When those answers conflict, the conflict tells you where to investigate and where a control needs to change.