super simple support for mutexes through winbaseobj in osquery 3.3

pull/240/head
milkmix 4 years ago
parent 4c48873820
commit e8761c1664
  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