MITRE ATT&CK / Techniques / T1124

System Time Discovery

ID
T1124
Tactics
TA0007 Discovery
Platforms
ESXi, Linux, macOS, Network Devices, Windows
Data sources
Process Creation, Module Load, Process Access, File Creation, Command Execution, OS API Execution, Scheduled Job Creation, Scheduled Job Metadata, Process Metadata, User Account Authentication, File Modification
Source
attack.mitre.org
MITRE last modified
12 Sep 2026

An adversary may gather the system time and/or time zone settings from a local or remote system. The system time is set and stored by services, such as the Windows Time Service on Windows or systemsetup on macOS.[1][2][3] These time settings may also be synchronized between systems and services in an enterprise network, typically accomplished with a network time server within a domain.[4][5]

System time information may be gathered in a number of ways, such as with Net on Windows by performing net time \\hostname to gather the system time on a remote system. The victim's time zone may also be inferred from the current system time or gathered by using w32tm /tz.[2] In addition, adversaries can discover device uptime through functions such as GetTickCount() to determine how long it has been since the system booted up.[6]

On network devices, Network Device CLI commands such as show clock detail can be used to see the current time configuration.[7] On ESXi servers, esxcli system clock get can be used for the same purpose.

In addition, system calls – such as time() – have been used to collect the current time on Linux devices.[8] On macOS systems, adversaries may use commands such as systemsetup -gettimezone or timeIntervalSinceNow to gather current time zone information or current date and time.[9][10]

This information could be useful for performing other techniques, such as executing a file with a Scheduled Task/Job[11], or to discover locality information based on time zone to assist in victim targeting (i.e. System Location Discovery). Adversaries may also use knowledge of system time as part of a time bomb, or delaying execution until a specified date/time.[12]

Detection

Groups (15)

Software (86)

Showing 60 of 86. Full list on attack.mitre.org.

References

  1. MSDN System Time
  2. Technet Windows Time Service
  3. systemsetup mac time
  4. Mac Time Sync
  5. linux system time
  6. Virtualization/Sandbox Evasion
  7. show_clock_detail_cisco_cmd
  8. MAGNET GOBLIN
  9. System Information Discovery Technique
  10. ESET DazzleSpy Jan 2022
  11. RSA EU12 They're Inside
  12. AnyRun TimeBomb