# EDRHunt | Scan Installed EDRs And AVs On Windows

**URL:** <https://onehack.st/t/edrhunt-scan-installed-edrs-and-avs-on-windows/214130>\
**Category:** Tools & Scripts\
**Tags:** tools, hacking, windows\
**Created:** [February 9, 2022, 12:34pm UTC](https://onehack.st/t/edrhunt-scan-installed-edrs-and-avs-on-windows/214130 "2022-02-09T12:34:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheStrength](https://onehack.st/user_avatar/onehack.st/thestrength/32/46753_2.png) [@TheStrength](https://onehack.st/u/TheStrength)\
**Post date:** [February 9, 2022, 12:34pm UTC](https://onehack.st/t/edrhunt-scan-installed-edrs-and-avs-on-windows/214130/1 "2022-02-09T12:34:13Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/7/c/7c5db340d27399d554c61ddf7ca455e624f926a4.png)

[![goreleaser](https://github.com/FourCoreLabs/EDRHunt/actions/workflows/goreleaser.yml/badge.svg)](https://github.com/FourCoreLabs/EDRHunt/actions/workflows/goreleaser.yml)

EDRHunt scans Windows services, drivers, processes, registry for installed EDRs (Endpoint Detection And Response). Read more about EDRHunt [here](https://www.fourcore.vision/blogs/red-team-adventure-windows-endpoints-edr-edrhunt).

## Install

- Binary
  - Download the latest release from the release section. Releases are built for windows/amd64.

- Go
  - Requires Go to be installed on system. Tested on Go1.17+.
  - `go install github.com/FourCoreLabs/EDRHunt/cmd/EDRHunt@master`

## Usage

- Find installed EDRs

```auto
$ .\EDRHunt.exe scan
[EDR]
Detected EDR: Windows Defender
Detected EDR: Kaspersky Security

```

- Scan Everything

```auto
$ .\EDRHunt.exe all
Running in user mode, escalate to admin for more details.
Scanning processes, services, drivers, and registry...
[PROCESSES]

Suspicious Process Name: MsMpEng.exe
Description: MsMpEng.exe
Caption: MsMpEng.exe
Binary:
ProcessID: 6764
Parent Process: 1148
Process CmdLine :
File Metadata:
Matched Keyword: [msmpeng]

Suspicious Process Name: NisSrv.exe
Description: NisSrv.exe
Caption: NisSrv.exe
Binary:
ProcessID: 9840
Parent Process: 1148
Process CmdLine :
File Metadata:
Matched Keyword: [nissrv]
...

```

- Find drivers matching EDR keywords

```auto
    ______________  ______  ___________
   / ____/__ \/ __\ / / / / / / / | / /___ /
  / __/ / / / / /_/ / / /_/ / / / / |/ / / /
 / / ___/ /_/ / _, _/ /__ / /_/ / /| / / /
/ _____/_____ /_/ |_| /_/ /_/\ ____ /_/ |_/ /_/

FourCore Labs (https://fourcore.vision) | Version: 1.1

Running in user mode, escalate to admin for more details.
[DRIVERS]
Suspicious Driver Module: WdFilter.sys
Driver FilePath: c:\windows\system32\drivers\wd\wdfilter.sys
Driver File Metadata:
        ProductName: Microsoft® Windows® Operating System
        OriginalFileName: WdFilter.sys
        InternalFileName: WdFilter
        Company Name: Microsoft Corporation
        FileDescription: Microsoft antimalware file system filter driver
        ProductVersion: 4.18.2109.6
        Comments:
        LegalCopyright: © Microsoft Corporation. All rights reserved.
        LegalTrademarks:
Matched Keyword: [antimalware malware]

Suspicious Driver Module: hvsifltr.sys
Driver FilePath: c:\windows\system32\drivers\hvsifltr.sys
Driver File Metadata:
        ProductName: Microsoft® Windows® Operating System
        OriginalFileName: hvsifltr.sys.mui
        InternalFileName: hvsifltr.sys
        Company Name: Microsoft Corporation
        FileDescription: Microsoft Defender Application Guard Filter Driver
        ProductVersion: 10.0.19041.1
        Comments:
        LegalCopyright: © Microsoft Corporation. All rights reserved.
        LegalTrademarks:
Matched Keyword: [defender]

Suspicious Driver Module: WdNisDrv.sys
Driver FilePath: c:\windows\system32\drivers\wd\wdnisdrv.sys
Driver File Metadata:
        ProductName: Microsoft® Windows® Operating System
        OriginalFileName: wdnisdrv.sys
        InternalFileName: wdnisdrv.sys
        Company Name: Microsoft Corporation
        FileDescription: Windows Defender Network Stream Filter
        ProductVersion: 4.18.2109.6
        Comments:
        LegalCopyright: © Microsoft Corporation. All rights reserved.
        LegalTrademarks:
Matched Keyword: [defender]
...

```

- Find services matching EDR keywords

```auto
$ .\EDRHunt.exe -s

```

- Find drivers matching EDR keywords

```auto
$ .\EDRHunt.exe -d

```

- Find registry keys matching EDR keywords

```auto
$ .\EDRHunt.exe -r

```

## Detections

EDR Detections Currently Available

- Windows Defender
- Kaspersky Security
- Symantec Security
- Crowdstrike Security
- Mcafee Security
- Cylance Security
- Carbon Black
- SentinelOne
- FireEye
- Elastic EDR

More to be added soon.

## Community

Would appreciate if you ran EDRHunt on your own deployments and test the detections! Thanks.

## GitHub:

> **[GitHub - FourCoreLabs/EDRHunt: Scan installed EDRs and AVs on Windows](https://github.com/FourCoreLabs/EDRHunt)**
>
> Scan installed EDRs and AVs on Windows
