Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Security Apps
Other security for Windows, Mac, Linux
Zemana Quarantine Action
Message
<blockquote data-quote="436880927" data-source="post: 826340"><p>OK.</p><p></p><p>Zemana Anti-Malware 3.0/+ uses amsdk.sys (zam.sys and zam64.sys seem to be gone now?).</p><p></p><p>amsdk.sys follows the File System Mini-Filter model.</p><p></p><p>1. Integrates with the Filter Manager (fltMgr.sys) via FltRegisterFilter & FltStartFiltering.</p><p>2. The registration instructs the Filter Manager that they want notifications for IRP_MJ_CREATE (Post).</p><p>3. The IRP_MJ_CREATE (Post) callback routine performs an EICAR scan check.</p><p></p><p>The callback routine is named <em>ZmnMfPostCreateCallback </em>(from a source file named MiniFilter.c according to logging info that is left in the code)<em>. </em>It will call another routine to perform an EICAR scan - I have named this routine "ZamEicarScan" for the screenshot.</p><p></p><p></p><p><img src="https://snag.gy/ugM2qG.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>ZamEicarScan:</p><p>1. FltQueryInformationFile.</p><p>2. FltAllocatePoolAlignedWithTag.</p><p>3. FltReadFile -> into allocated pool memory.</p><p>4. memcmp - check for the EICAR signature ("X5O!P%@AP[4\\PZX54(P^)7CC)7")</p><p>5. Cleanup</p><p></p><p></p><p><img src="https://snag.gy/RUnIbZ.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p><img src="https://snag.gy/SNZR4b.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>Afterwards, if EICAR is to be blocked, FltCancelFileOpen is used to cancel the operation.</p><p></p><p></p><p><img src="https://snag.gy/dTgHaA.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>I haven't debugged it to ensure that the blocks are *always* coming from amsdk.sys so you can wait for Zemana to help you but this at-least confirms what I previously said about how they have EICAR hard-coded in their FS driver. However, I was wrong about it being done for IRP_MJ_WRITE so I did recall wrong - as we can see, it's post operation of IRP_MJ_CREATE.</p></blockquote><p></p>
[QUOTE="436880927, post: 826340"] OK. Zemana Anti-Malware 3.0/+ uses amsdk.sys (zam.sys and zam64.sys seem to be gone now?). amsdk.sys follows the File System Mini-Filter model. 1. Integrates with the Filter Manager (fltMgr.sys) via FltRegisterFilter & FltStartFiltering. 2. The registration instructs the Filter Manager that they want notifications for IRP_MJ_CREATE (Post). 3. The IRP_MJ_CREATE (Post) callback routine performs an EICAR scan check. The callback routine is named [I]ZmnMfPostCreateCallback [/I](from a source file named MiniFilter.c according to logging info that is left in the code)[I]. [/I]It will call another routine to perform an EICAR scan - I have named this routine "ZamEicarScan" for the screenshot. [IMG]https://snag.gy/ugM2qG.jpg[/IMG] ZamEicarScan: 1. FltQueryInformationFile. 2. FltAllocatePoolAlignedWithTag. 3. FltReadFile -> into allocated pool memory. 4. memcmp - check for the EICAR signature ("X5O!P%@AP[4\\PZX54(P^)7CC)7") 5. Cleanup [IMG]https://snag.gy/RUnIbZ.jpg[/IMG] [IMG]https://snag.gy/SNZR4b.jpg[/IMG] Afterwards, if EICAR is to be blocked, FltCancelFileOpen is used to cancel the operation. [IMG]https://snag.gy/dTgHaA.jpg[/IMG] I haven't debugged it to ensure that the blocks are *always* coming from amsdk.sys so you can wait for Zemana to help you but this at-least confirms what I previously said about how they have EICAR hard-coded in their FS driver. However, I was wrong about it being done for IRP_MJ_WRITE so I did recall wrong - as we can see, it's post operation of IRP_MJ_CREATE. [/QUOTE]
Insert quotes…
Verification
Post reply
Top