During  threat actors used `nbtscan` and `ping` to discover remote systems as well as `dsquery subnet` on a domain controller to retrieve all subnets in the Active Directory.
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: List the MITRE techniques contained in the text. ### Input: During  threat actors used `nbtscan` and `ping` to discover remote systems as well as `dsquery subnet` on a domain controller to retrieve all subnets in the Active Directory. ### Response: T1018.