A remote-access tool in a software inventory looks like routine IT, and that is why it can work as a hiding place. This composite case study describes a common pattern and what to look for, not one organization’s story.
Composite case study: based on patterns observed across incident response engagements; details are blended and illustrative.
The situation
A software inventory review is routine housekeeping, and it commonly surfaces a remote-access agent that nobody on the IT team can place. The complication is that IT often uses a similar remote-support tool for helpdesk work. The first reaction is typically a shrug: it was probably one of ours, or a predecessor’s.
Probably is not an answer. The useful questions are when the tool first ran, which account put it there, and whether the approved tooling list includes it. A recent install is a lead worth following, not proof of compromise, because IT may well have installed it.
What the investigator saw
The investigator typically starts from the inventory entry and asks three plain questions: when it was installed, from which account, and whether it is on the approved list.
A common pitfall at this stage is the instinctive cleanup: uninstalling the agent to get it off the host. The intent is good, but if the tool’s configuration is not recorded first, evidence can be lost. Configuration and log files for tools like this commonly name connection partners and times, and an uninstall can take that record with it.
Another point responders keep in mind: remote tools are often legitimately signed. A valid signature says who built the software, not who deployed it or why, so it does not settle whether the install was authorized.
How it was confirmed
Responders typically corroborate across several sources rather than relying on one:
- Firewall and proxy records for outbound connections from the host to remote-access relay infrastructure, which a host of that role would not normally make.
- Scheduled tasks and service creation events around the time of the install, outside change windows.
- Execution history showing the tool or a related binary launched from a user profile or a temporary folder.
- Authentication records for the account that performed the install, including where it signed in from.
When these sources agree, the picture can support the view that the agent was an access mechanism rather than IT tooling, for example an install by an account that does not normally deploy software, plus connections to relay infrastructure the host has no business reason to reach.
Responders also search for portable copies, because operators sometimes drop a version that needs no installation alongside the installed one. Removing only the visible agent can leave a way back.
What it cost
The cost of this pattern is commonly time and certainty rather than a dramatic outage. When configuration files are missing, timing questions such as when the first connection occurred may be answerable only with a range and a caveat.
Containment
Once the agent is understood to be an access mechanism rather than IT tooling, containment starts promptly. Evidence capture runs in parallel with it, and the configuration and logs are captured before removal or at the same time as removal, so the record is not lost.
1. Block the relay domains at the firewall so any remaining agent or portable copy cannot call out.
2. Isolate the affected host where it is safe to do so, with an eye to dependencies and a rollback plan.
3. In parallel, export the tool’s configuration and logs, the firewall, authentication and endpoint records, and preserve the host state, before or alongside removal.
4. Remove the software, its services and its scheduled tasks, and sweep for portable copies in profile and temporary folders.
5. Rotate credentials that were used on the host, including the account that performed the install, and revoke active sessions and tokens.
6. Add application control so only approved remote tools can run, and consider alerting on unapproved ones.
Lessons
- A recent install is a lead, not evidence of compromise. Establish when a tool first ran and who deployed it before deciding whether it is routine.
- Standardize on one remote-support tool and consider alerting on others. A second, similar tool is a gap that cover stories can hide in.
- Capture before or alongside removal. Record configuration and logs while containment actions proceed.
- Look beyond one host and beyond the installed copy. Portable versions are easy to miss.
- A valid signature is not proof of authorization. Signed software can still be deployed by someone who should not have deployed it.
Checklist for your next incident
- Does your inventory show remote-access tools nobody can explain?
- Can you tell who installed each one, from which account, and when it first ran?
- Is there one approved remote-support tool, with alerts on unapproved ones?
- Do you capture a tool’s configuration and logs before or alongside removing it?
- Do you block unapproved relay destinations at the firewall?
- Do you search for portable copies, and other hosts, not just the first one found?
Message us to talk through your remote access tool plan.
Related
Discover more from Core-Infosec
Subscribe to get the latest posts sent to your email.