# Tactics

## Initial Scan

```nmap
sudo nmap -T4 -Pn -sV -sC -v 10.129.123.121 -oA Tactics
```

<figure><img src="/files/QYKpdwHyyXK4iJek9DqQ" alt=""><figcaption></figcaption></figure>

## Task 1

Which Nmap switch can we use to enumerate machines when our ping ICMP packets are blocked by the Windows firewall?

<figure><img src="/files/mWcg1XzbIQlE7o7Pu20L" alt=""><figcaption></figcaption></figure>

Answer: -Pn

## Task 2

What does the 3-letter acronym SMB stand for?

Answer: Server Message Block

## Task 3

What port does SMB use to operate at?

Answer: 445

## Task 4

What command line argument do you give to `smbclient` to list available shares?

<figure><img src="/files/TBNmjMqyj4gPUcPHfLUJ" alt=""><figcaption></figcaption></figure>

Answer: -L

## Task 5

What character at the end of a share name indicates it's an administrative share?

Answer: $

## Task 6

Which Administrative share is accessible on the box that allows users to view the whole file system?

<figure><img src="/files/QqnKGHkRiphV1CvbyhlM" alt=""><figcaption></figcaption></figure>

Answer: C$

## Task 7

What command can we use to download the files we find on the SMB Share?

Answer: get

## Task 8

Which tool that is part of the Impacket collection can be used to get an interactive shell on the system?

Answer: psexec.py

## Task 9

Submit root flag

<figure><img src="/files/2siwX3bdliSzKRznajBK" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/h1XJE0ljpq5oCJ8t7C5b" alt=""><figcaption></figcaption></figure>

Answer: f751c19eda8f61ce81827e6930a1f40c


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cybersec.th4ntis.com/hackthebox/starting-point/tier-1/tactics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
