Skip to content

Commit

Permalink
feat: add limacharlie edr scan
Browse files Browse the repository at this point in the history
  • Loading branch information
arush15june committed Sep 20, 2022
1 parent e06624e commit 66c637a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/resources/scan_edr.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ var (
SophosEDR EDRType = "sophos"
FortinetEDR EDRType = "fortinet"
MalwareBytesEDR EDRType = "malwarebytes"
LimacharlieEDR EDRType = "limacharlie"
)
28 changes: 28 additions & 0 deletions pkg/scanners/scan_limacharlie.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package scanners

import "github.com/FourCoreLabs/EDRHunt/pkg/resources"

type LimacharlieDetection struct{}

func (w *LimacharlieDetection) Name() string {
return "Limacharlie EDR"
}

func (w *LimacharlieDetection) Type() resources.EDRType {
return resources.LimacharlieEDR
}

var LimacharlieHeuristic = []string{
"lc_sensor.exe",
"refractionPOINT HCP",
"LimaCharlie",
}

func (w *LimacharlieDetection) Detect(data resources.SystemData) (resources.EDRType, bool) {
_, ok := data.CountMatchesAll(LimacharlieHeuristic)
if !ok {
return "", false
}

return resources.DeepInstinctEDR, true
}
1 change: 1 addition & 0 deletions pkg/scanners/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ var (
&SophosDetection{},
&FortinetDetection{},
&MalwareBytesDetection{},
&LimacharlieDetection{},
}
)

0 comments on commit 66c637a

Please sign in to comment.