Hostd.log is the log file written by hostd, the management service on a VMware ESXi host that handles VM operations and requests from vSphere clients. Analysts review it for unexpected logins, configuration changes and VM power or snapshot operations during investigations. Forward it to a remote syslog server, because attackers with host access can delete local logs.
What Hostd.log Captures and Why It Matters
hostd.log is the operational record for ESXi host management activity, so it is valuable when you need to reconstruct who interacted with the host and what changed. It can show unexpected logins, VM power actions, snapshot activity and configuration changes, which are often the exact events investigators need to time-correlate during an intrusion review.
Because hostd sits on the management plane, its entries are often more useful for proving control-plane abuse than for explaining guest-level behaviour. That makes the log a core source for understanding whether an ESXi host was managed normally or manipulated under adversary control.
How Analysts Use hostd.log in Investigations
Analysts typically read hostd.log alongside related ESXi logs rather than in isolation. The practical goal is to connect a management action to a user, client path or sequence of operations, then compare it with expected administrative activity and maintenance windows.
A single event in hostd.log may not prove compromise, but repeated power operations, inventory changes or unfamiliar management requests can become strong indicators when they line up with other host evidence. That is especially important in ESXi incidents where adversaries often try to enumerate virtual machines, interfere with snapshots or manipulate power state before encryption or destruction.
For a focused detection workflow, the ESXi Logs Detection Guide shows how hostd, shell and audit logs fit together for intrusion hunting on ESXi hosts.
Protecting and Preserving Hostd.log
hostd.log should be treated as evidence that an attacker may try to tamper with. On an ESXi host with local access, an intruder can often delete or alter local logs to hide their activity, so relying only on on-host copies creates a blind spot during exactly the period you care about most.
The usual defensive answer is to forward logs to a remote syslog server so the record survives if the host is modified or wiped. In practice, durable log forwarding reduces the chance that the management trail disappears with the compromised host, and it improves the odds of detecting hostile actions after the fact.
That preservation mindset also supports broader ESXi monitoring patterns such as alerting on SSH enablement, defence changes and unusual bursts of VM power-off activity, which often matter more than any single log line.
What hostd.log Reveals About ESXi Attack Paths
hostd.log is important because many ESXi attacks are management-plane attacks. If an adversary reaches the host, they may use legitimate management capabilities to enumerate VMs, change settings, take snapshots, power systems off or prepare the environment for follow-on impact. Those actions can look administrative unless the analyst has a baseline for normal operations.
When hostd.log shows unexpected management activity, it can also point to access abuse rather than malware alone. That makes it useful for detecting the stage where an attacker is using host control to move from foothold to broad virtual infrastructure impact.
Risk and Threat Considerations
hostd.log becomes especially important during ESXi compromise because attackers may delete local logs, suppress visibility or use management actions to cover their tracks. The risk is not just loss of evidence, but the loss of the sequence that would otherwise show how the host was controlled and what was changed.
Failure mechanism: If local logs are kept only on the host, an intruder with host access can erase the management trail after making unauthorised changes, leaving investigators with incomplete or misleading evidence.
Impact: That can delay incident scoping, hide VM tampering or power disruption, and reduce confidence in the timeline used for containment and recovery.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1673 — Virtual Machine Discovery | ESXi management logs often reveal VM enumeration and control-plane abuse. |
| Recommendation — Map hostd activity to T1673 and hunt for VM discovery before destructive actions. | ||
| NIST SP 800-53 Rev 5 | AU-6 — Audit Record Review, Analysis, and Reporting | hostd.log is an audit source used to review and analyse host administration events. |
| AU-9 — Protection of Audit Information | The log must be protected because attackers with host access may delete local records. | |
| AU-11 — Audit Record Retention | Retention matters when host logs are needed after compromise or delayed investigation. | |
| Recommendation — Review hostd.log under AU-6 to detect unexpected host administration and VM actions. Apply AU-9 to protect hostd.log from tampering and loss through remote forwarding. Retain forwarded hostd.log records long enough to support post-incident analysis. | ||
Practitioner Guidance
Why practitioners should care: hostd.log is most useful when it is part of a deliberate ESXi logging strategy, not when it is inspected only after an incident. Forwarding the log off-host gives you a durable management record that survives host compromise and supports later correlation with other ESXi evidence.
Practitioner takeaway: Treat hostd.log as a high-value management-plane artifact, and make sure the retention path is outside the ESXi host before you need it.
Related resources from NHI Mgmt Group
- How should security teams handle AI agents that need to log into SaaS applications?
- What breaks when hospitals do not log access to electronic patient data?
- How should security teams log privileged SSH access from bastion hosts?
- How should security teams log PostgreSQL activity without hurting performance?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org