title: Discovery of a System Time
id: b243b280-65fe-48df-ba07-6ddea7646427
status: test
description: Identifies use of various commands to query a systems time. This technique may be used before executing a scheduled task or to discover the time zone of a target system.
author: E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community
references:
  - https://eqllib.readthedocs.io/en/latest/analytics/fcdb99c2-ac3c-4bde-b664-4b336329bed2.html
  - https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1124/T1124.md
date: 2019/10/24
modified: 2021/11/27
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    - Image|endswith:
        - '\net.exe'
        - '\net1.exe'
      CommandLine|contains: 'time'
    - Image|endswith: '\w32tm.exe'
      CommandLine|contains: 'tz'
    - Image|endswith: '\powershell.exe'
      CommandLine|contains: 'Get-Date'
  condition: selection
falsepositives:
  - Legitimate use of the system utilities to discover system time for legitimate reason
level: low
tags:
  - attack.discovery
  - attack.t1124
