Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 2.37 KB

README.md

File metadata and controls

51 lines (39 loc) · 2.37 KB

EDR-Testing-Script

This repository contains simple script to test EDR solutions against few Mitre ATT&CK framework tests (with some extras). This project is very much in its infancy right now. Only a small subset of tests are presently added but more will be added later. Chances are this script will be redesigned to facilitate this in the future. It is written as a single batch script so it can be easily uploaded and run (as opposed to un-zipped, compiled and installed). It can run either as a normal user or as Administrator however not giving it high privilages will fail some tests.

Right now this script only works on Windows and should work with most security endpoint solutions.

How To

Run the script and observe alerts coming to your EDR console. Cross-verify these alerts to check if your EDR solution identified them correctly. Most tests will just execute calc.exe but it can be easily modified to try to download and exec i.e. Mimikatz.

Why

Because it is hard to figured out how accurate EDR's are. Most endpoint solutions are sold as magic bullet for security but it is actually difficult to verify how much these products actually detect from the most common malicious techniques. MITRE & LOLBAS do pretty good job at mapping common tools and techniques which are being used by attackers out there to pivot, execute code and progress through internal networks. The aim of this tool is to help and verify if the use of tools and techniques is indeed detected by endpoint solution.

Weaponization

The script executes only calc.exe through numerous methods. You can replace this easily with metasploit executable where needed but the script will need to be modified to reflect this.

Tested On

  • Windows 7 x86
  • Windows 7 x64
  • Windows 10 x64

Coverage

ATT&CK LOLBAS
T1197 msiexec.exe
T1118 diskshadow.exe
T1170 esentutl.exe
T1086 replace.exe
T1121 SyncAppvPublishingServer
T1117 hh.exe
T1127 ieexec.exe
T1047 Setupapi
T1128 Shdocvw
T1085 csc.exe
T1130 advpack.dll
T1191 Scriptrunner
T1202 sc
T1028 Register-cimprovider
T1053 control.exe
T1216 manage-bde.wsf
T1218
T1033
T1140
T1183
T1096
T1055
T1015