Skip to content

Commit 4683bf9

Browse files
authored
Merge pull request #1781 from YongRhee-MSFT/docs-editor/run-analyzer-linux-1730421483
Update run-analyzer-linux.md
2 parents f5fce55 + 73aaadf commit 4683bf9

File tree

1 file changed

+40
-13
lines changed

1 file changed

+40
-13
lines changed

defender-endpoint/run-analyzer-linux.md

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: defender-endpoint
99
ms.subservice: linux
1010
ms.localizationpriority: medium
1111
ms.topic: troubleshooting-general
12-
ms.date: 10/31/2024
12+
ms.date: 11/01/2024
1313
ms.custom: partner-contribution
1414
ms.collection:
1515
- m365-security
@@ -163,7 +163,7 @@ The Python version of the client analyzer accepts command line parameters to per
163163

164164
```
165165

166-
#### Rung the client analyzer script
166+
#### Run the client analyzer script
167167

168168
> [!NOTE]
169169
> If you have an active live response session you can skip Step 1.
@@ -189,6 +189,34 @@ This section provides instructions on how to run the tool locally on the Linux m
189189

190190
### Run the binary version of the client analyzer
191191

192+
#### Summary:
193+
194+
1. Obtain from [https://aka.ms/xmdeclientanalyzerbinary](https://aka.ms/xmdeclientanalyzerbinary). Or, if your Linux server has internet access use `wget` to download the file:
195+
196+
```bash
197+
wget --quiet -O XMDEClientAnalyzerBinary.zip https://aka.ms/XMDEClientAnalyzerBinary
198+
```
199+
200+
2. Unzip the file that is downloaded, and then of the extracted files unzip again the SupportToolLinuxBinary.zip
201+
202+
```bash
203+
unzip -q XMDEClientAnalyzerBinary.zip -d XMDEClientAnalyzerBinary
204+
```
205+
206+
3. Run the binary
207+
208+
```
209+
sudo ./MDESupportTool -d --mdatp-log debug
210+
```
211+
212+
4. Follow the on-screen instructions and then follow up with at the end of the log collection, the logs will be located in the `/tmp` directory.
213+
214+
5. The log set will be owned by root user so you may need root privileges to remove the log set.
215+
216+
6. Upload the file for the support engineer.
217+
218+
#### Details:
219+
192220
1. Download the [XMDE Client Analyzer Binary](https://aka.ms/XMDEClientAnalyzerBinary) tool to the Linux machine you need to investigate.
193221

194222
If you're using a terminal, download the tool by entering the following command:
@@ -217,18 +245,17 @@ This section provides instructions on how to run the tool locally on the Linux m
217245
cd XMDEClientAnalyzerBinary
218246
```
219247

220-
4. Two new zip files are produced:
248+
1. Two new zip files are produced:
221249

222250
- `SupportToolLinuxBinary.zip`: For all Linux devices
223-
- `SupportToolMacOSBinary.zip`: For Mac devices
224-
225-
5. Depending on the operating system, unzip the appropriate file for the machine you want to investigate.
226-
227-
| OS type | Command |
228-
|--|--|
229-
| Linux | `unzip -q SupportToolLinuxBinary.zip` |
230-
| Mac | `unzip -q SupportToolMacOSBinary.zip` |
251+
- `SupportToolMacOSBinary.zip`: For Mac devices, ignore this one.
252+
253+
1. Unzip the SupportToolLinuxBinary.zip for the Linux machine you want to investigate.
231254

255+
```bash
256+
unzip -q SupportToolLinuxBinary.zip
257+
```
258+
232259
6. Run the tool as root to generate diagnostic package:
233260

234261
```bash
@@ -245,11 +272,11 @@ This section provides instructions on how to run the tool locally on the Linux m
245272
> [!WARNING]
246273
> Running the Python-based client analyzer requires the installation of PIP packages which may cause some issues in your environment. To avoid issues from occurring, it is recommended that you install the packages into a user PIP environment.
247274
248-
1. Download the [XMDE Client Analyzer](https://aka.ms/XMDEClientAnalyzer) tool to the macOS or Linux machine you need to investigate.
275+
1. Download the [XMDE Client Analyzer](https://aka.ms/XMDEClientAnalyzer) tool to the Linux machine you need to investigate.
249276

250277
If you're using a terminal, download the tool by running the following command:
251278

252-
```bash
279+
```bash
253280
wget --quiet -O XMDEClientAnalyzer.zip https://aka.ms/XMDEClientAnalyzer
254281
```
255282

0 commit comments

Comments
 (0)