-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve browser stealer & add SQLite lib detection (#757)
* Improve regex for existing browser data gathering detection - Fix erroneous regex capture + Add detections for cookies gathering + Add generic browser detection (some webkit browser for some reason uses the same chromium-based paths?) Signed-off-by: Still Hsu <dev@stillu.cc> * Add rudimentary sqlite db libs detection - Typically used along with browser data collection Signed-off-by: Still Hsu <dev@stillu.cc> --------- Signed-off-by: Still Hsu <dev@stillu.cc>
- Loading branch information
Showing
4 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
rule: | ||
meta: | ||
name: linked against CppSQLite3 | ||
namespace: linking/static/sqlite3 | ||
authors: | ||
- still@teamt5.org | ||
scope: file | ||
examples: | ||
- 253309d8b3675d3cc61d4bf23aa15d4b | ||
features: | ||
- and: | ||
- substring: "CppSQLite3DB" | ||
- substring: "CppSQLite3Query" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
rule: | ||
meta: | ||
name: linked against sqlite3 | ||
namespace: linking/static/sqlite3 | ||
authors: | ||
- still@teamt5.org | ||
scope: file | ||
examples: | ||
- 253309d8b3675d3cc61d4bf23aa15d4b | ||
features: | ||
- or: | ||
- 3 or more: | ||
- string: "database corruption" | ||
- string: "SQLITE_OK" | ||
- string: "SQLite format 3" | ||
- string: "sqlite3_extension_init" | ||
- substring: "cannot INSERT into generated column" | ||
- substring: "UPSERT not implemented for virtual table" | ||
- substring: "sqlite3_get_table()" | ||
- substring: "qualified table names are not allowed on" |