Skip to content

cicero343/IoCFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IoCFinder

Introducing “IoC Finder” - A Simple, Interactive Script to Find Files Matching IoC Values

Available as a PowerShell or Bash script.

new122

What is an “Indicator of Compromise” (IoC)?

An IoC is esentially an attribute of a file (such as a hash, file name or string) that matches a known malicious file.

IoC Finder isn't just useful for threat hunting though! When you search for ‘strings’, you extract readable text within files and binaries. If, for example, you have a file containing the word “password” lost somewhere in a folder, this tool can help you locate the file.

Abstraction

You might know how to recursively search a directory for a file hash and print matching files to the terminal, but what if you need to search for a different attribute? The interactive nature of this tool saves you time by elimating the need to retype commands, and allowing you to easily return to any part of the search logic.

Reactive vs Proactive Threat Hunting

Tools such as YARA are typically used for proactive threat hunting, where you don’t know the exact indicators you're looking for. Instead, you compare directories against predefined YARA rule sets containing IoCs. In contrast, IoC Finder can work great when you need to perform quick reactive threat hunting, and you already know the specific attribute you’re looking for.

Search Options

Hashes:

  1. MD5 Hash
  2. SHA-1 Hash
  3. SHA-256 Hash

File Data:

  1. File Name
  2. File Extension Search
  3. File Size (in bytes)
  4. Strings search
  5. Files Recently Created/Accessed/Modified

Executable Files:

  1. Metadata Search (Executable Files only)
  2. Authenticode Signature Check (Unsigned Executables - WINDOWS ONLY)

About

A Simple, Interactive Script to Find Files Matching IoC Values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors