Skip to content

Commit 647d3ef

Browse files
committed
Learn Editor: Update run-analyzer-macos.md
1 parent 3ab52fa commit 647d3ef

File tree

1 file changed

+30
-17
lines changed

1 file changed

+30
-17
lines changed

defender-endpoint/run-analyzer-macos.md

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,50 +86,63 @@ The tool currently requires Python version 3 or later to be installed on your de
8686
1. Download the [XMDE Client Analyzer](https://aka.ms/XMDEClientAnalyzer) tool to the Mac machine you're investigating.
8787

8888
If you're using a terminal, download the tool by running the following command:
89-
89+
9090
```bash
9191
wget --quiet -O XMDEClientAnalyzer.zip https://aka.ms/XMDEClientAnalyzer
92-
```
93-
94-
2. Verify the download.
92+
```
93+
94+
1. Verify the download.
9595

9696
| OS | Command |
9797
|--|--|
98-
| Linux | `echo '84C9718FF3D29DA0EEE650FB2FC0625549A05CD1228AC253DBB92C8B1D9F1D11 XMDEClientAnalyzer.zip' | sha256sum -c` |
99-
| macOS | `echo '84C9718FF3D29DA0EEE650FB2FC0625549A05CD1228AC253DBB92C8B1D9F1D11 XMDEClientAnalyzer.zip' | shasum -a 256 -c` |
100-
101-
3. Extract the contents of `XMDEClientAnalyzer.zip` on the machine.
98+
| Linux | `echo '84C9718FF3D29DA0EEE650FB2FC0625549A05CD1228AC253DBB92C8B1D9F1D11 XMDEClientAnalyzer.zip'| sha256sum -c` |
99+
| macOS | `echo '84C9718FF3D29DA0EEE650FB2FC0625549A05CD1228AC253DBB92C8B1D9F1D11 XMDEClientAnalyzer.zip'| shasum -a 256 -c` |
100+
101+
1. Extract the contents of `XMDEClientAnalyzer.zip` on the machine.
102102

103103
If you're using a terminal, extract the files by using the following command:
104-
104+
105105
```bash
106106
unzip -q XMDEClientAnalyzer.zip -d XMDEClientAnalyzer
107107
```
108-
109-
4. Change directory to the extracted location.
108+
109+
1. Change directory to the extracted location.
110110
111111
```bash
112112
cd XMDEClientAnalyzer
113113
```
114-
115-
5. Give the tool executable permission:
114+
115+
1. Give the tool executable permission:
116116
117117
```bash
118118
chmod a+x mde_support_tool.sh
119119
```
120-
121-
6. Run as a nonroot user to install required dependencies:
120+
121+
1. Run as a nonroot user to install required dependencies:
122122
123123
```bash
124124
./mde_support_tool.sh
125125
```
126+
127+
1. When you download files on macOS, it automatically adds a new extended attribut called com.apple.quarantine which is scanned by Gatekeeper. Before running, you will want to remove this extended attribute:
128+
129+
130+
```bash
131+
xattr -c MDESupportTools
132+
```
133+
134+
Otherwise you might get the following warning:
135+
136+
"You might get a "MDESupportTool" Not Opened
137+
138+
Apple could not verify "MDESupportTool" is free of malware that may harm your Mac or compromise your privacy"
126139
127140
1. To collect actual diagnostic package and generate the result archive file, run again as root:
128141
129142
```bash
130143
sudo ./mde_support_tool.sh -d
131-
```
132-
144+
```
145+
133146
## Command line options
134147
135148
### Primary command lines

0 commit comments

Comments
 (0)