
FWT هي أداة تحليل أمني ومراقبة ملفات تستخدم أحداث Sysmon.
ملاحظة: لم يعد هذا المشروع قيد الصيانة وقد تم نشره من مشاريع مؤرشفة كمرجع. وهو متاح لأي شخص مهتم بتطوير برامج تحليل الملفات.
FWT هي أداة لتحليل الأمان ومراقبة الملفات تستخدم أحداث Sysmon. تقوم بتتبع الملفات التي أبلغت عنها مصادر سجل أحداث Sysmon، وتجري تحليلًا أمنيًا متعمقًا، ثم تنشئ تقارير بتنسيق XML أو JSON. يمكن إرسال هذه التقارير إلى ملف سجل، أو واجهة برمجة تطبيقات خارجية، أو أحداث Windows.
الدافع وراء هذا المشروع هو جمع معلومات إضافية حول الملفات المنشأة أو المعدلة حديثًا على النظام، وبالتالي توفير رؤى أعمق لمحللي الأمان وتقليل وقت التحليل. علاوة على ذلك، تتيح المعلومات التي يولدها FWT إنشاء مجموعة واسعة من قواعد الكشف الجديدة لـ SIEM.
ملاحظة: تأكد من تشغيل Visual Studio كمسؤول (Administrator).
<FileWatchTower schemaversion="1.0">
<HashAlgorithms>md5,sha256,imphash,ssdeep</HashAlgorithms>
<CheckRevocation>true</CheckRevocation>
<AnalyzeDiscImages>true</AnalyzeDiscImages>
<AnalyzeLnkFiles>true</AnalyzeLnkFiles>
<ExtractFileNtfsZoneIdentifierInformation>true</ExtractFileNtfsZoneIdentifierInformation>
<MaxTargetFileSize>33554432</MaxTargetFileSize>
<!-- كتابة الأحداث إلى سجلات أحداث Windows.-->
<WriteToWinEventLogs>true</WriteToWinEventLogs>
<!-- القيم المقبولة: 'json', 'xml' -->
<WinEventLogOutputFormat>xml</WinEventLogOutputFormat>
<!-- كتابة الأحداث إلى ملف. اتركه فارغًا لتعطيل مبلغ الملف -->
<LogDirectoryPath>C:\logs</LogDirectoryPath>
<!-- القيم المقبولة: 'xml', 'json'. -->
<LogFileOutputFormat>json</LogFileOutputFormat>
<!-- القيم المقبولة: 'json' -->
<ApiLogOutputFormat>json</ApiLogOutputFormat>
<!-- اتركه فارغًا لتعطيل مبلغ API -->
<ApiLogEndpointUrl></ApiLogEndpointUrl>
<ApiExtraHeaders>
<ApiExtraHeader>Authorization: OAuth xxx</ApiExtraHeader>
<ApiExtraHeader>User-agent: curl</ApiExtraHeader>
</ApiExtraHeaders>
</FileWatchTower>
{
"EventId": 11,
"RuleName": "Downloads",
"UtcTime": "2024-07-09T06:58:53.102",
"CreationUtcTime": "2024-07-09T06:58:52.653",
"EventName": "FileCreate",
"ProcessId": "10768",
"Image": "C:\\Program Files\\Mozilla Firefox\\firefox.exe",
"TargetFilename": "C:\\Users\\user\\Downloads\\good.exe:Zone.Identifier",
"User": "example\\user",
"ComputerName": "WKSTN-A.example.local",
"Md5": "a673313aa0a8885e4b7b5ed36bc90cb0",
"Sha256": "59a3dc89b1e629fe2c423d34c00a56771eeae794bffb7cee7e1f62d042e283e9",
"Entropy": 4.83,
"HasExportTable": false,
"HasImportTable": false,
"IsExecutableImage": false,
"IsDotNet": false,
"IsSigned": false,
"IsTrustedAuthenticodeSignature": false,
"HasValidAuthenticodeCertChain": false,
"CertificateNotValidBefore": "0001-01-01T00:00:00",
"CertificateNotValidAfter": "0001-01-01T00:00:00",
"InterestingStrings": "Go Compiler"
}
{
"EventId": 11,
"RuleName": "Downloads",
"UtcTime": "2024-07-11T03:52:58.919",
"CreationUtcTime": "2024-07-11T03:52:58.919",
"EventName": "FileCreate",
"ProcessId": "7128",
"Image": "C:\\Windows\\Explorer.EXE",
"TargetFilename": "C:\\Users\\user\\Downloads\\pageant(2) - Copy.exe",
"User": "example\\user",
"ComputerName": "WKSTN-2.example.local",
"FileTimeDateStamp": "2024-04-06T12:49:38+03:00",
"Md5": "5ea699678f3f6d822276f84e16160a3d",
"Sha1": null,
"Sha256": "7addf7a1de108be44d4de20f7f6c35760087486eba44655d2e6b3b0dccffd519",
"ImpHash": "b8b6b1c2144f4f51c01ec39e077201b4",
"SsDeep": "24576:iGHy3QhuG8vaKIe0MStS/o6ui2O9iMMSJ:CAhn8SKIeVSc/zuiJiM9",
"TypeRefHash": null,
"Entropy": 7.41,
"ZoneIdentifier": "[ZoneTransfer] ZoneId=3; ReferrerUrl=https://www.chiark.greenend.org.uk/; HostUrl=https://the.earth.li/~sgtatham/putty/0.81/w32/pageant.exe[/ZoneTransfer]",
"PdbFileName": null,
"Machine": "I386",
"SubSystem": "WindowsGui",
"MetaDataHeaderSignature": null,
"HasExportTable": false,
"HasImportTable": true,
"Architecture": "32Bit",
"IsExecutableImage": true,
"IsDotNet": false,
"IsSigned": true,
"IsTrustedAuthenticodeSignature": false,
"HasValidAuthenticodeCertChain": false,
"SigningAuthenticodeCertificateIssuer": "CN=Sectigo Public Code Signing CA R36, O=Sectigo Limited, C=GB",
"CertificateSubject": "CN=Simon Tatham, O=Simon Tatham, S=Cambridgeshire, C=GB",
"InterestingStrings": "",
"CertificateNotValidBefore": "2021-11-06T03:00:00+03:00",
"CertificateNotValidAfter": "2024-11-06T02:59:59+03:00",
"IsoDisc": null,
"LnkFile": null
}
تم تطوير هذا المشروع لأغراض الاختبار والبحث ويتم توفيره "كما هو".