Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Practical Threat Intelligence and Data-Driven Threat Hunting

You're reading from   Practical Threat Intelligence and Data-Driven Threat Hunting A hands-on guide to threat hunting with the ATT&CK™ Framework and open source tools

Arrow left icon
Product type Paperback
Published in Feb 2021
Publisher Packt
ISBN-13 9781838556372
Length 398 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Valentina Costa-Gazcón Valentina Costa-Gazcón
Author Profile Icon Valentina Costa-Gazcón
Valentina Costa-Gazcón
Arrow right icon
View More author details
Toc

Configuring Winlogbeat

Winlogbeat is an open-source tool that runs as a Windows serivce and is in charge of sending windows logs to a Elasticsearch or Logstash instance.

Download Winlogbeat official package from the following URL: https://www.elastic.co/downloads/beats/winlogbeat. Unzip it and move the folder to C:\Program Files\. Rename the folder to Winlogbeat.

Open PowerShell as Administrator and run the following commands:

  1. cd C:\Users\Administrator
  2. cd 'C:\Program Files\Winlogbeat'
  3. .\install-service-winlogbeat.ps1

If you get an execution policy error, run the following command and select ‘A’ when prompted:

Set-ExecutionPolicy Unrestricted

Figure 7.64 – Installing Winlogbeat

Once installed, open Notepad as an Administrator to be able to edit winlogbeat.yml configuration file from C:\Program Files\Winlogbeat.

Figure 7.65 – Opening Winlogbeat.yml

Scroll to the Output section and commend the uncommented Elasticsearch lines, so it will look as...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images