“Privilege Misuse is the third most prevalent cause of data breaches.” – Verizon 2017 Data Breach Investigations Report.
This post details a post-mortem investigation scenario after a third-party administrator was accused with a data theft. We also show how an advanced Privileged Access Management solution helped security analysts conduct the forensic investigation.
The victim is a government contractor with a national security profile. Therefore, they monitor and record all third party access to their internal systems. Unexpectedly, they received an urgent warning that one of their third-party administrators was suspected of stealing a classified document one week prior. The incident was being investigated by law enforcement which required evidence stored in the government contractor’s IT systems. The investigation occurred in two phases.
Investigation Phase One – Proving the allegation
- Immediately after receiving the police request, the security analyst of the contractor starts an investigation searching for digital evidence of malicious activity in the systems.
- First, he reviews the logs of the corrupted file server around the specified date and time.
- Server logs show that the suspected admin was indeed logged in that server in question.
- However, as the logs don’t show the detailed activity flow of the admin on the server, the analyst continues the investigation looking for more reliable evidence.
- He switches to the GUI of the PAM tool and searches for the session recordings (replayable audit trails) of the suspected admin.
- Based on the specified date and time, the analyst quickly finds the relevant audit trail.
- Using the free text content search in the PAM tool, he searches for typical file moving applications opened within the Windows session (e.g. “explorer.exe”, “total commander”, “winSCP”, “cmd.exe”, etc.)
- The PAM tool lists one occurrence of a file moving application in the session.
- The analyst double checks: following the security protocol*, he starts the video-like replay of the session.
(Note: Due to the sensitive nature of the contractor’s operations, the audit trails are digitally signed, timestamped and encrypted with multiple encryption keys. To open and replay the trails the presence of a second key is necessary which is possessed by the CISO (4-eyes principle)).
- The session is 2-hours long, so the analyst quickly navigates to those parts of the session where the PAM tool marks any user activity
- While reviewing the session of the suspected admin, the analyst identifies the unauthorized file copy operation by using the “explorer” program.
Figure 1. Replay of a Windows (RDP) session in a PAM tool
The first phase of the investigation took just 30 minutes! Without the fast search and easily accessible evidence of the PAM tool, aggregating and investigating logs would have likely taken days or weeks. The video-like audit trails clearly showed the administrator’s malicious activity. Thanks to the tamper-proof nature of the network-based PAM technology the authorities accepted the audit trail as an authentic source of evidence.
Phase Two – Adding analytics to look for other suspicious activity
The investigators still have two important questions to answer. Were the system administrator’s credentials stolen and was the document theft the only malicious activity? To answer these two questions, the company could run historical data through an analytics tool.
- All of the session recordings in the previous year concerning the system admin were run through the privileged account analytics engine.
- The analytics builds a baseline of the system admin’s behavior over the course of a year.
- It doesn’t show any deviation from the admin’s baseline activity in the session in question: he logged in at a usual time (i.e. in the maintenance window), from his usual machine, via usual connection and, except for “Windows Explorer”, he opened the usual applications. His behavioral biometric identifiers, such as his keystroke dynamics and mouse movement characteristics were also typical for him.
- The analyst draws the conclusion: during his regular maintenance work, the admin illegally accessed and transferred a classified document.
- No other suspicious behavior was detected by the analytics so the analyst concludes the investigation.
The second phase of the forensics answered two important remaining questions. The system admin’s credentials were not stolen and he was he at fault. Secondly, this incident is the only session that shows abnormal behavior, in the form of a file transfer so the scope of the investigation does not need to be expanded.
Using Privileged Access Management, the security team was able to quickly verify the third party administrator’s malicious activity with tamper-proof audit trails. Moreover, they were able to confirm that the administrator’s credentials had not been compromised, nor had there been any other suspicious activity.