Merge pull request #240 from 0xmilkmix/support_osquery_win_named_obj

super simple support for mutexes through winbaseobj in osquery 3.3
pull/247/head
Alexandre Dulaunoy 4 years ago committed by GitHub
commit 78cf1f79d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      misp_modules/modules/export_mod/osqueryexport.py

@ -42,7 +42,7 @@ def handle_regkeyvalue(value):
return 'SELECT * FROM registry WHERE path LIKE \'%s\' AND data LIKE \'%s\';' % (key, value)
def handle_mutex(value):
return 'not implemented yet'
return 'SELECT * FROM winbaseobj WHERE object_name LIKE \'%s\';' % value
def handle_service(value):
return 'SELECT * FROM services WHERE display_name LIKE \'%s\' OR name like \'%s\';' % (value, value)

Loading…
Cancel
Save