From 581435d3b11effe65e84de1d6b30e826a28873b3 Mon Sep 17 00:00:00 2001 From: olio Date: Sun, 5 Sep 2021 10:05:50 +0200 Subject: [PATCH] Fixed YARA Error check --- icons/icon.png | Bin 16307 -> 0 bytes manifest.json | 72 +++++++++++++++++++++++++------------------------ popup/popup.js | 3 ++- yobi.js | 6 ++--- 4 files changed, 41 insertions(+), 40 deletions(-) delete mode 100644 icons/icon.png diff --git a/icons/icon.png b/icons/icon.png deleted file mode 100644 index d4ff73afac8ea800df58de1d87eb4c6703d31a8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16307 zcmW+-RX|+L4h9Ovid&($vp{Ka*TvnnI7Nys6t~5_EVj72yIX;l#l5&MTHK+?<-ZT- z;mk=g`7)Vga%Lt{O+^+9gA4-!0Rc;14yb{EfC&2UL3{h!vQMv$j({NMEf18?@?1Lh zLru-nZgT&cFe$+jBscYr7fo5qet*tKy)}Z5U`8pJdq#=N;i4q%rUW8x&KT(`UfbKm z3NY>h9R4WP!#&c&?PS&!M`S@_;d(JPbJAP%-5V8HU-aww=Vi=DA8*;+aQm<7soJAz zuH?rck4-PD;m-UHlGM(Rf9Rzqr@^72p+tS=owJhhV$Who1wvN*iH1yhFXy0y;s^XqRo-iv1wrUt^uN1U%hdJ#t4 z=({CA#G5i;so8+U<^BVv9_$nx3yyxao11>b0l)|FW$=7ZSIC?ty^6^{O#8&lCPjZg zt&O6?o{{5P7Fv@bN(_i+%VWFIvtT|;r3R|1zlin*Cs?W}XRyDo+=GJ!{mvBpqrNw> z)$YgRt%pnB#10~hd2!1!6dt_5-g6P&pf0^b?OKUX|11fn8t%F>qs+44Fym>3#^K&& z5=XL1megb{jB#Xy7gCNZBA-|zuN4fjU2WsAbdgUH>byZcRRf>au3-ADMj2A-P}qSV z>NK$82=3BXq9Fo?rIPa%atiazrw-kxFxVbT-6+yLw&mp3wt8kBVD#|Fx$i zdhw#-RH)&s6X{i-{9>*q3VUJinT+x^UTEbme+qe+Qf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1^V9jXXML>v;qHr&@o5w^SJu7yDz1X{|qJEuleq+KtMUYS~vOP|2aeG zPU`6O{-ZLISml<`>7T1Bj!*2JM6uPcC~6<^1#h!7Wq<7;{jiy8OHhAS&^$`xAV>a> zjY!RHya=L;>6<9MeRZ8^@cpaF&C8aV`Kux*lDoo!Vsg1s8y~@n@S3JxlDOohhnG7I X&*X1Vw$s-uDhRI^6@b-}ra}J$H1mE_ diff --git a/manifest.json b/manifest.json index 43567dc..34f739f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,39 +1,41 @@ { + "manifest_version": 2, + "name": "Yobi", + "version": "0.1.1", - "manifest_version": 2, - "name": "Yobi", - "version": "0.1", + "description": "Yara Based Detection Engine for web browsers", + "icons": { + "48": "icons/icon64.png", + "96": "icons/icon128.png" + }, + "background": { + "page":"Yobi.html" + }, + + "browser_action": { + "browser_style": true, + "default_popup": "popup/popup.html", + "default_icon": { + "16": "icons/emoji-laughing.svg", + "32": "icons/emoji-laughing.svg" + } + }, + "permissions": [ + "webRequest", + "webRequestBlocking", + "notifications", + "storage", + "downloads", + "" + ], + "content_security_policy": "script-src 'self' 'sha256-mlhRIuI1L2yvZjzLr1ruxKOhxybExil/apGVHVo2o8I=' 'unsafe-eval'; object-src 'self';", + "options_ui": { + "page": "options.html" + }, - "description": "Yara Based Detection Engine for web browsers", - - "background": { - "page":"Yobi.html" - }, - - "browser_action": { - "browser_style": true, - "default_popup": "popup/popup.html", - "default_icon": { - "16": "icons/emoji-laughing.svg", - "32": "icons/emoji-laughing.svg" - } - }, - "permissions": [ - "webRequest", - "webRequestBlocking", - "notifications", - "storage", - "downloads", - "" - ], - "content_security_policy": "script-src 'self' 'sha256-mlhRIuI1L2yvZjzLr1ruxKOhxybExil/apGVHVo2o8I=' 'unsafe-eval'; object-src 'self';", - "options_ui": { - "page": "options.html" - }, - - "browser_specific_settings": { - "gecko": { - "id": "{b5cd734c-ce82-44fa-88c9-c700486eba4c}" - } - } + "browser_specific_settings": { + "gecko": { + "id": "{b5cd734c-ce82-44fa-88c9-c700486eba4c}" + } + } } diff --git a/popup/popup.js b/popup/popup.js index ce252f5..8c65328 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -26,6 +26,7 @@ class MatchesUpdater{ storage_listener (item) { var matches = item['rule_matches']; + console.log(matches); if (matches && Object.keys(matches).length){ this.matches_dict = item["rule_matches"]; this.add_rule_matches(matches); @@ -79,7 +80,7 @@ class MatchesUpdater{ $link.html(`

${host}

- ${matches[sha256].file_name}`); } var desc_html = `Matches: ${Object.keys(matches[sha256].matches).join(', ')}
- Sha256:
${sha256}
`; + Sha256:
${sha256}
`; desc_html += `VT`; desc_html += ``; desc_html += ``; diff --git a/yobi.js b/yobi.js index c53ffa3..acbaa65 100644 --- a/yobi.js +++ b/yobi.js @@ -45,16 +45,14 @@ class YaraScanner // Queue filled by Yarascanner of messages that the contentReceiver needs to send this._messages_qu = []; // Yara parser for extracting metadata - this.get_yara_rules() - - this.check_for_yara_errors(); + this.get_yara_rules().then(x => {self.check_for_yara_errors();}); this.yara_worker_loop = setInterval(function(x){ self.yara_worker(); }, 1000); } - async check_for_yara_errors(){ + check_for_yara_errors(){ const yara_matches = this.yara_eng.run("test", this.raw_yara_rules); if (yara_matches.compileErrors.size() === 0) { return false;