
특정 단어가 포함된 특정 파일을 찾는 검색 도구, 예: 비밀번호가 포함된 파일..
SauronEye는 레드 팀이 특정 키워드가 포함된 파일을 찾는 데 도움을 주기 위해 제작된 검색 도구입니다.
기능:
.doc, .docx, .xls, .xlsx) 내용 검색.xls 및 .doc 파일에서 VBA 매크로 찾기execute-assembly와 호환또한 상당히 빠르며, 실제 파일 필터를 사용하여 네트워크 드라이브에서 총 1,3 TB의 5만 개 파일을 1분 이내에 처리할 수 있습니다. 저렴한 SATA SSD에서 C:\ 드라이브를 약 15초 만에 검색합니다.
C:\>SauronEye.exe -d C:\Users\vincent\Desktop\ --filetypes .txt .doc .docx .xls --contents --keywords password pass* -v`
=== SauronEye ===
Directories to search: C:\Users\vincent\Desktop\
For file types: .txt, .doc, .docx, .xls
Containing: wacht, pass
Search contents: True
Search Office 2003 files for VBA: True
Max file size: 1000 KB
Search Program Files directories: False
Searching in parallel: C:\Users\vincent\Desktop\
[+] C:\Users\vincent\Desktop\test\wachtwoord - Copy (2).txt
[+] C:\Users\vincent\Desktop\test\wachtwoord - Copy (3).txt
[+] C:\Users\vincent\Desktop\test\wachtwoord - Copy.txt
[+] C:\Users\vincent\Desktop\test\wachtwoord.txt
[+] C:\Users\vincent\Desktop\pass.txt
[*] Done searching file system, now searching contents
[+] C:\Users\vincent\Desktop\pass.txt
...the admin password=admin123...
[+] C:\Users\vincent\Desktop\test.docx:
...this is a testPassword = "welkom12...
Done. Time elapsed = 00:00:01.6656911
여러 디렉토리(네트워크 드라이브 포함) 검색:
SauronEye.exe --directories C:\ \\SOMENETWORKDRIVE\C$ --filetypes .txt .bat .docx .conf --contents --keywords password pass*
공백이 포함된 경로 및 공유 검색:
SauronEye.exe -d "C:\Users\user\Path with a space" -d "\\SOME NETWORK DRIVE\C$" --filetypes .txt --keywords password pass*
C:\>SauronEye.exe --help
=== SauronEye ===
Usage: SauronEye.exe [OPTIONS]+ argument
Search directories for files containing specific keywords.
Options:
-d, --directories=VALUE Directories to search
-f, --filetypes=VALUE Filetypes to search for/in
-k, --keywords=VALUE Keywords to search for
-c, --contents Search file contents
-m, --maxfilesize=VALUE Max file size to search contents in, in kilobytes
-b, --beforedate=VALUE Filter files last modified before this date,
format: yyyy-MM-dd
-a, --afterdate=VALUE Filter files last modified after this date,
format: yyyy-MM-dd
-s, --systemdirs Search in filesystem directories %APPDATA% and %
WINDOWS%
-v, --vbamacrocheck Check if 2003 Office files (*.doc and *.xls)
contain a VBA macro
-h, --help Show help
SauronEye는 %WINDIR% 및 %APPDATA%를 검색하지 않습니다.
Program Files*의 내용을 검색하려면 --systemdirs 플래그를 사용하세요.
SauronEye는 .NET 4.7.2 이상에서만 사용할 수 있는 기능에 의존하므로 실행하려면 .NET 4.7.2 이상이 필요합니다.