Skip to content

Commit 7973d98

Browse files
authored
Merge pull request #221128 from Shereen-Bhar/sensor-forensic-data
forensics data stored by the sensor
2 parents c2d481a + baaa446 commit 7973d98

File tree

3 files changed

+92
-64
lines changed

3 files changed

+92
-64
lines changed

articles/defender-for-iot/organizations/how-to-manage-individual-sensors.md

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ A unique activation file is uploaded to each sensor that you deploy. For more in
4141

4242
Locally connected sensors are associated with an Azure subscription. The activation file for your locally connected sensors contains an expiration date. One month before this date, a warning message appears in the System Messages window in the top-right corner of the console. The warning remains until after you've updated the activation file.
4343

44-
You can continue to work with Defender for IoT features even if the activation file has expired.
44+
You can continue to work with Defender for IoT features even if the activation file has expired.
4545

4646
### About activation files for cloud-connected sensors
4747

@@ -51,9 +51,9 @@ Sensors that are cloud connected aren't limited by time periods for their activa
5151

5252
You might need to upload a new activation file for an onboarded sensor when:
5353

54-
- An activation file expires on a locally connected sensor.
54+
- An activation file expires on a locally connected sensor.
5555

56-
- You want to work in a different sensor management mode.
56+
- You want to work in a different sensor management mode.
5757

5858
- For sensors connected via an IoT Hub ([legacy](architecture-connections.md)), you want to assign a new Defender for IoT hub to a cloud-connected sensor.
5959

@@ -97,7 +97,7 @@ You'll receive an error message if the activation file couldn't be uploaded. The
9797

9898
## Manage certificates
9999

100-
Following sensor installation, a local self-signed certificate is generated and used to access the sensor web application. When logging in to the sensor for the first time, Administrator users are prompted to provide an SSL/TLS certificate.
100+
Following sensor installation, a local self-signed certificate is generated and used to access the sensor web application. When logging in to the sensor for the first time, Administrator users are prompted to provide an SSL/TLS certificate.
101101

102102
Sensor Administrators may be required to update certificates that were uploaded after initial login. This may happen, for example, if a certificate expired.
103103

@@ -138,7 +138,7 @@ This section describes how to ensure connection between the sensor and the on-pr
138138

139139
3. In the **Sensor Setup – Connection String** section, copy the automatically generated connection string.
140140

141-
:::image type="content" source="media/how-to-manage-individual-sensors/connection-string-screen.png" alt-text="Copy the connection string from this screen.":::
141+
:::image type="content" source="media/how-to-manage-individual-sensors/connection-string-screen.png" alt-text="Copy the connection string from this screen.":::
142142

143143
4. Sign in to the sensor console.
144144

@@ -157,6 +157,7 @@ Continue with additional settings, such as [adding users](how-to-create-and-mana
157157
## Change the name of a sensor
158158

159159
You can change the name of your sensor console. The new name will appear in:
160+
160161
- The sensor console web browser
161162
- Various console windows
162163
- Troubleshooting logs
@@ -233,6 +234,7 @@ System backup is performed automatically at 3:00 AM daily. The data is saved on
233234
You can automatically transfer this file to the internal network.
234235

235236
> [!NOTE]
237+
>
236238
> - The backup and restore procedure can be performed between the same versions only.
237239
> - In some architectures, the backup is disabled. You can enable it in the `/var/cyberx/properties/backup.properties` file.
238240
@@ -272,7 +274,7 @@ Sensor backup files are automatically named through the following format: `<sens
272274

273275
4. Edit and create credentials to share for the SMB server:
274276

275-
`sudo nano /etc/samba/user`
277+
`sudo nano /etc/samba/user`
276278

277279
5. Add:
278280

@@ -299,30 +301,30 @@ You can restore a sensor from a backup file using the sensor console or the CLI.
299301
To restore a backup from the sensor console, the backup file must be accessible from the sensor.
300302

301303
- **To download a backup file:**
302-
304+
303305
1. Access the sensor using an SFTP client.
304-
306+
305307
1. Sign in to an administrative account and enter the sensor IP address.
306-
308+
307309
1. Download the backup file from your chosen location and save it. The default location for system backup files is `/var/cyberx/backups`.
308-
310+
309311
- **To restore the sensor**:
310-
312+
311313
1. Sign in to the sensor console and go to **System settings** > **Sensor management** > **Backup & restore** > **Restore**. For example:
312-
314+
313315
:::image type="content" source="media/how-to-manage-individual-sensors/restore-sensor-screen.png" alt-text="Screenshot of Restore tab in sensor console.":::
314-
315-
1. Select **Browse** to select your downloaded backup file. The sensor will start to restore from the selected backup file.
316-
317-
1. When the restore process is complete, select **Close**.
316+
317+
1. Select **Browse** to select your downloaded backup file. The sensor will start to restore from the selected backup file.
318+
319+
1. When the restore process is complete, select **Close**.
318320

319321
**To restore the latest backup file by using the CLI:**
320322

321323
- Sign in to an administrative account and enter `cyberx-xsense-system-restore`.
322324

323325
## Configure SMTP settings
324326

325-
Define SMTP mail server settings for the sensor so that you configure the sensor to send data to other servers.
327+
Define SMTP mail server settings for the sensor so that you configure the sensor to send data to other servers.
326328

327329
You'll need an SMTP mail server configured to enable email alerts about disconnected sensors, failed sensor backup retrievals, and SPAN monitoring port failures from the on-premises management console, and to set up mail forwarding and configure [forwarding alert rules](how-to-forward-alert-information-to-partners.md).
328330

@@ -344,7 +346,7 @@ Make sure you can reach the SMTP server from the [sensor's management port](/azu
344346
|**SSL** | Toggle on for secure connections from your sensor. |
345347
|**Authentication** | Toggle on and then enter a username and password for your email account. |
346348
|**Use NTLM** | Toggle on to enable [NTLM](/windows-server/security/kerberos/ntlm-overview). This option only appears when you have the **Authentication** option toggled on. |
347-
349+
348350
1. Select **Save** when you're done.
349351

350352
## Forward sensor failure alerts
@@ -415,7 +417,7 @@ To access system properties:
415417

416418
## Download a diagnostics log for support
417419

418-
This procedure describes how to download a diagnostics log to send to support in connection with a specific support ticket.
420+
This procedure describes how to download a diagnostics log to send to support in connection with a specific support ticket.
419421

420422
This feature is supported for the following sensor versions:
421423

@@ -434,6 +436,18 @@ This feature is supported for the following sensor versions:
434436

435437
1. For a locally managed sensor, version 22.1.3 or higher, continue with [Upload a diagnostics log for support](how-to-manage-sensors-on-the-cloud.md#upload-a-diagnostics-log-for-support-public-preview).
436438

439+
## Retrieve forensics data stored on the sensor
440+
441+
Use Defender for IoT data mining reports on an OT network sensor to retrieve forensic data from that sensor’s storage. The following types of forensic data is stored locally on OT sensors, for devices detected by that sensor:
442+
443+
- Device data
444+
- Alert data
445+
- Alert PCAP files
446+
- Event timeline data
447+
- Log files
448+
449+
Each type of data has a different retention period and maximum capacity. For more information see [Create data mining queries](how-to-create-data-mining-queries.md).
450+
437451
## Clearing sensor data
438452

439453
In cases where the sensor needs to be relocated or erased, the sensor can be reset.

articles/defender-for-iot/organizations/how-to-manage-sensors-from-the-on-premises-management-console.md

Lines changed: 45 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ You can define the following sensor system settings from the management console:
5353

5454
1. Select **Save**.
5555

56-
57-
5856
## Update threat intelligence packages
5957

6058
The data package for threat intelligence is provided with each new Defender for IoT version, or if needed between releases. The package contains signatures (including malware signatures), CVEs, and other security content.
@@ -63,20 +61,19 @@ You can manually upload this file in the Azure portal and automatically update i
6361

6462
[!INCLUDE [root-of-trust](includes/root-of-trust.md)]
6563

66-
6764
**To update the threat intelligence data:**
6865

69-
1. Go to the Defender for IoT **Updates** page.
66+
1. Go to the Defender for IoT **Updates** page.
7067

7168
1. Download and save the file.
7269

73-
1. Sign in to the management console.
70+
1. Sign in to the management console.
7471

75-
1. On the side menu, select **System Settings**.
72+
1. On the side menu, select **System Settings**.
7673

7774
1. Select the sensors that should receive the update in the **Sensor Engine Configuration** section.
7875

79-
1. In the **Select Threat Intelligence Data** section, select the plus sign (**+**).
76+
1. In the **Select Threat Intelligence Data** section, select the plus sign (**+**).
8077

8178
1. Upload the package that you downloaded from the Defender for IoT **Updates** page.
8279

@@ -111,12 +108,24 @@ Sensors are protected by Defender for IoT engines. You can enable or disable the
111108
1. In the console's left pane, select **System Settings**.
112109

113110
1. In the **Sensor Engine Configuration** section, select **Enable** or **Disable** for the engines.
114-
111+
115112
1. Select **SAVE CHANGES**.
116113

117114
A red exclamation mark appears if there's a mismatch of enabled engines on one of your enterprise sensors. The engine might have been disabled directly from the sensor.
118115

119-
:::image type="content" source="media/how-to-manage-sensors-from-the-on-premises-management-console/red-exclamation-example.png" alt-text="Mismatch of enabled engines.":::
116+
:::image type="content" source="media/how-to-manage-sensors-from-the-on-premises-management-console/red-exclamation-example.png" alt-text="Mismatch of enabled engines.":::
117+
118+
## Retrieve forensics data stored on the sensor
119+
120+
Use Defender for IoT data mining reports on an OT network sensor to retrieve forensic data from that sensor’s storage. The following types of forensic data is stored locally on OT sensors, for devices detected by that sensor:
121+
122+
- Device data
123+
- Alert data
124+
- Alert PCAP files
125+
- Event timeline data
126+
- Log files
127+
128+
Each type of data has a different retention period and maximum capacity. For more information see [Create data mining queries](how-to-create-data-mining-queries.md).
120129

121130
## Define sensor backup schedules
122131

@@ -130,53 +139,53 @@ By default, sensors are automatically backed up at 3:00 AM daily. The backup sch
130139

131140
:::image type="content" source="media/how-to-manage-sensors-from-the-on-premises-management-console/sensor-backup-schedule-screen.png" alt-text="A view of the sensor backup screen.":::
132141

133-
When the default sensor backup location is changed, the on-premises management console automatically retrieves the files from the new location on the sensor or an external location, provided that the console has permission to access the location.
142+
When the default sensor backup location is changed, the on-premises management console automatically retrieves the files from the new location on the sensor or an external location, provided that the console has permission to access the location.
134143

135144
When the sensors aren't registered with the on-premises management console, the **Sensor Backup Schedule** dialog box indicates that no sensors are managed.
136145

137146
The restore process is the same regardless of where the files are stored. For more information on how to restore a sensor, see [Restore sensors](how-to-manage-individual-sensors.md#restore-sensors).
138147

139148
### Backup storage for sensors
140149

141-
You can use the on-premises management console to maintain up to nine backups for each managed sensor, provided that the backed-up files don't exceed the maximum backup space that's allocated.
150+
You can use the on-premises management console to maintain up to nine backups for each managed sensor, provided that the backed-up files don't exceed the maximum backup space that's allocated.
142151

143-
The available space is calculated based on the management console model you're working with:
152+
The available space is calculated based on the management console model you're working with:
144153

145-
- **Production model**: Default storage is 40 GB; limit is 100 GB.
154+
- **Production model**: Default storage is 40 GB; limit is 100 GB.
146155

147-
- **Medium model**: Default storage is 20 GB; limit is 50 GB.
156+
- **Medium model**: Default storage is 20 GB; limit is 50 GB.
148157

149-
- **Laptop model**: Default storage is 10 GB; limit is 25 GB.
158+
- **Laptop model**: Default storage is 10 GB; limit is 25 GB.
150159

151-
- **Thin model**: Default storage is 2 GB; limit is 4 GB.
160+
- **Thin model**: Default storage is 2 GB; limit is 4 GB.
152161

153-
- **Rugged model**: Default storage is 10 GB; limit is 25 GB.
162+
- **Rugged model**: Default storage is 10 GB; limit is 25 GB.
154163

155-
The default allocation is displayed in the **Sensor Backup Schedule** dialog box.
164+
The default allocation is displayed in the **Sensor Backup Schedule** dialog box.
156165

157166
:::image type="content" source="media/how-to-manage-sensors-from-the-on-premises-management-console/edit-mail-server-configuration.png" alt-text="The Edit Mail Server Configuration screen.":::
158167

159-
There's no storage limit when you're backing up to an external server. You must, however, define an upper allocation limit in the **Sensor Backup Schedule** > **Custom Path** field. The following numbers and characters are supported: `/, a-z, A-Z, 0-9, and _`.
168+
There's no storage limit when you're backing up to an external server. You must, however, define an upper allocation limit in the **Sensor Backup Schedule** > **Custom Path** field. The following numbers and characters are supported: `/, a-z, A-Z, 0-9, and _`.
160169

161170
Here's information about exceeding allocation storage limits:
162171

163-
- If you exceed the allocated storage space, the sensor isn't backed up.
172+
- If you exceed the allocated storage space, the sensor isn't backed up.
164173

165174
- If you're backing up more than one sensor, the management console tries to retrieve sensor files for the managed sensors.
166175

167-
- If the retrieval from one sensor exceeds the limit, the management console tries to retrieve backup information from the next sensor.
176+
- If the retrieval from one sensor exceeds the limit, the management console tries to retrieve backup information from the next sensor.
168177

169178
When you exceed the retained number of backups defined, the oldest backed-up file is deleted to accommodate the new one.
170179

171-
Sensor backup files are automatically named in the following format: `<sensor name>-backup-version-<version>-<date>.tar`. For example: `Sensor_1-backup-version-2.6.0.102-2019-06-24_09:24:55.tar`.
180+
Sensor backup files are automatically named in the following format: `<sensor name>-backup-version-<version>-<date>.tar`. For example: `Sensor_1-backup-version-2.6.0.102-2019-06-24_09:24:55.tar`.
172181

173182
**To back up sensors:**
174183

175184
1. Select **Schedule Sensor Backup** from the **System Settings** window. Sensors that your on-premises management console manages appear in the **Sensor Backup Schedule** dialog box.
176185

177186
1. Enable the **Collect Backups** toggle.
178187

179-
1. Select a calendar interval, date, and time zone. The time format is based on a 24-hour clock. For example, enter 6:00 PM as **18:00**.
188+
1. Select a calendar interval, date, and time zone. The time format is based on a 24-hour clock. For example, enter 6:00 PM as **18:00**.
180189

181190
1. In the **Backup Storage Allocation** field, enter the storage that you want to allocate for your backups. You're notified if you exceed the maximum space.
182191

@@ -186,27 +195,27 @@ Sensor backup files are automatically named in the following format: `<sensor na
186195

187196
- To back up to the on-premises management console, disable the **Custom Path** toggle. The default location is `/var/cyberx/sensor-backups`.
188197

189-
- To back up to an external server, enable the **Custom Path** toggle and enter a location. The following numbers and characters are supported: `/, a-z, A-Z, 0-9, and, _`.
198+
- To back up to an external server, enable the **Custom Path** toggle and enter a location. The following numbers and characters are supported: `/, a-z, A-Z, 0-9, and, _`.
190199

191-
1. Select **Save**.
200+
1. Select **Save**.
192201

193202
**To back up immediately:**
194203

195-
- Select **Back Up Now**. The on-premises management console creates and collects sensor backup files.
204+
- Select **Back Up Now**. The on-premises management console creates and collects sensor backup files.
196205

197-
### Receiving backup notifications for sensors
206+
### Receiving backup notifications for sensors
198207

199208
The **Sensor Backup Schedule** dialog box and the backup log automatically list information about backup successes and failures.
200209

201210
:::image type="content" source="media/how-to-manage-sensors-from-the-on-premises-management-console/sensor-location.png" alt-text="View your sensors and where they're located and all relevant information.":::
202211

203-
Failures might occur because:
212+
Failures might occur because:
204213

205-
- No backup file is found.
214+
- No backup file is found.
206215

207216
- A file was found but can't be retrieved.
208217

209-
- There's a network connection failure.
218+
- There's a network connection failure.
210219

211220
- There's not enough room allocated to the on-premises management console to complete the backup.
212221

@@ -216,17 +225,17 @@ You can send an email notification, syslog updates, and system notifications whe
216225

217226
**To set up an SMB server so you can save a sensor backup to an external drive:**
218227

219-
1. Create a shared folder in the external SMB server.
228+
1. Create a shared folder in the external SMB server.
220229

221-
1. Get the folder path, username, and password required to access the SMB server.
230+
1. Get the folder path, username, and password required to access the SMB server.
222231

223-
1. In Defender for IoT, make a directory for the backups:
232+
1. In Defender for IoT, make a directory for the backups:
224233

225234
```bash
226235
sudo mkdir /<backup_folder_name_on_server>
227236

228237
sudo chmod 777 /<backup_folder_name_on_server>/
229-
```
238+
```
230239

231240
1. Edit fstab: 
232241

@@ -235,14 +244,12 @@ You can send an email notification, syslog updates, and system notifications whe
235244
236245
add - //<server_IP>/<folder_path> /<backup_folder_name_on_cyberx_server> cifs rw,credentials=/etc/samba/user,vers=3.0,uid=cyberx,gid=cyberx,file_mode=0777,dir_mode=0777 0 0
237246
```
238-
239247

240-
1. Edit or create credentials to share. These are the credentials for the SMB server:
248+
1. Edit or create credentials to share. These are the credentials for the SMB server:
241249

242250
```bash
243251
sudo nano /etc/samba/user
244252
```
245-
246253

247254
1. Add: 
248255

@@ -251,21 +258,18 @@ You can send an email notification, syslog updates, and system notifications whe
251258
252259
password=<password>
253260
```
254-
255261

256-
1. Mount the directory:
262+
1. Mount the directory:
257263

258264
```bash
259265
sudo mount -a
260266
```
261-
262267

263268
1. Configure a backup directory to the shared folder on the Defender for IoT sensor: 
264269

265270
```bash
266271
sudo nano /var/cyberx/properties/backup.properties
267272
```
268-
269273

270274
1. Set `Backup.shared_location` to `<backup_folder_name_on_cyberx_server>`.
271275

@@ -281,4 +285,3 @@ For more information, see:
281285
- [Manage sensors with Defender for IoT in the Azure portal](how-to-manage-sensors-on-the-cloud.md)
282286
- [Threat intelligence research and packages](how-to-work-with-threat-intelligence-packages.md)
283287
- [Troubleshoot the sensor and on-premises management console](how-to-troubleshoot-the-sensor-and-on-premises-management-console.md)
284-

0 commit comments

Comments
 (0)