# scutil

> Display basic network information, check the dns config, set the computer hostname and perform several other tasks.

scutil provides a command line interface to the dynamic store data maintained by configd. Interaction with this data (using the SystemConfiguration.framework SCDynamicStore APIs) is handled with a set of commands read from standard input.

- Page: https://loobins.io/binaries/scutil/
- Author: Ethan Nay
- Created: 2023-06-21
- Tactics: Discovery

## Paths

- `/usr/bin/scutil`

## Example Use Cases

### DNS configuration

Get the current DNS configuration of the systems

```bash
scutil --dns
```

- Tactics: Discovery
- Tags: network

### Proxy configuration

Get the current proxy configuration of the systems

```bash
scutil --proxy
```

- Tactics: Discovery
- Tags: network, configuration

### Network reachability

Check if the destination host is reachable from your Mac

```bash
scutil -r { nodename | address | local-address remote-address }
```

- Tactics: Discovery
- Tags: network, configuration

### Hostname, localhost name and computername

Display the current hostname, localhost name and computername

```bash
scutil --get { HostName | LocalHostName | ComputerName }
```

- Tactics: Discovery
- Tags: configuration

## Detections

- No detections at time of publishing

## Resources

- [macOS/binaries/scutil](https://macosbin.com/bin/scutil)
- [scutil man page](https://ss64.com/osx/scutil.html)
