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 <code>systemsetup</code> on macOS.123 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.45 System time information may be gathered in a number of ways, such as with Net on Windows by performing <code>net time \\hostname</code> 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 <code>w32tm /tz</code>.6 In addition, adversaries can discover device uptime through functions such as <code>GetTickCount()</code> to determine how long it has been since the system booted up.7 On network devices, Network Device CLI commands such as `show clock detail` can be used to see the current time configuration.8 On ESXi servers, `esxcli system clock get` can be used for the same purpose. In addition, system calls – such as <code>time()</code> – have been used to collect the current time on Linux devices.9 On macOS systems, adversaries may use commands such as <code>systemsetup -gettimezone</code> or <code>timeIntervalSinceNow</code> to gather current time zone information or current date and time.1011 This information could be useful for performing other techniques, such as executing a file with a Scheduled Task/Job12, 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.13
- MSDN System Time
- Technet Windows Time Service
- systemsetup mac time
- Mac Time Sync
- linux system time
- Technet Windows Time Service
- Virtualization/Sandbox Evasion
- show_clock_detail_cisco_cmd
- MAGNET GOBLIN
- System Information Discovery Technique
- ESET DazzleSpy Jan 2022
- RSA EU12 They're Inside
- AnyRun TimeBomb
Groups using this technique
| Group | Name | Country |
|---|---|---|
| grp_g0012 | Darkhotel | South Korea |
| grp_g0128 | ZIRCONIUM | — |
| grp_g0089 | The White Company | — |
| grp_g0032 | Lazarus Group | DPRK |
| grp_g0114 | Chimera | China |
| grp_g1048 | UNC3886 | — |
| grp_g0126 | Higaisa | — |
| grp_g1012 | CURIUM | Iran |
| grp_g1017 | Volt Typhoon | — |
| grp_g0082 | APT38 | DPRK |
| grp_g0046 | FIN7 | — |
| grp_g0010 | Turla | Russia |
| grp_g0094 | Kimsuky | DPRK |
| grp_g0060 | BRONZE BUTLER | — |
| grp_g0121 | Sidewinder | India |
Claims
No public claim points at this technique yet.
Auto-ingested and not human-reviewed; confidence and validity read by citation.