cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 1 of 2

Qakbot Maldoc Mitigation

Thought I’d take a mental break and look at mitigating another threat, Qakbot.  Hopefully McAfee doesn’t mind.  😄

MD5: 0fc54823374e54cc329461da7ca38db2

In this particular sample we see a few things going on.  First, Word drops a .vbs file.  The execution is proxied through Explorer using default file type association.  Additionally, it looks as though a second attempt is made to execute it via a com object. 

The simplest method here is to block Word (and other Office apps… might as well) from creating .vbs files.  But you would want to also do other file types, like .vbe, etc... basically anything that can be ran by WSH. This can be done via a simple Access Protection Rule, or an Expert Rule.

 

Rule {
Process {
Include OBJECT_NAME {
-v "winword.exe"
-v "excel.exe"
-v "whateverYouWant.exe"
}
}
Target {
Match FILE {
Include OBJECT_NAME {
-v "*.vbs"
-v "*.vbe"
-v "*.WhateverYouWant"
}
#Exclude OBJECT_NAME {
# -v "c:\\InsertFullPath\\Whatever.YourExtension"
#}
Include -access "CREATE"
}
}
}

Fill in whatever you want in the placeholder spaces, and of course if you need an exclusion just remove the #s and add the paths you need by duplicating the line starting with -v.  

Hopefully this is helpful to someone.  

1 Reply
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: Qakbot Maldoc Mitigation

This is good information @Daveb3d , Thanks a lot for taking your time in posting it here.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community