Repository navigation
Replies: 1 comment
|
We achieved this in a different way. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to add hueristic detections to ScanCore. We should flag files for things like....
Having the core know some of this information gives us the ability to flag files as suspicious when we see several flags put together, or a certain threshold of flags has been reached. So if a database was recently moved to a hosted location by the sudo user (and the rest of the files in that folder are owned by www-data) we can flag that file as suspicious. The core should not need any definitions to tell it that this file needs attention.
But if we also add one additional column to the Definition File for "Hueristic Flags" which contain a comma-separated list of two or three character strings that represent some suspicious behaviour, we can use this information to look for specific behaviour in scanned files. So if an IOC is a batch file that gets copied to a temporary location, is obfuscated, recently created, and has specific network connections open we can flag that combination as a specific IOC.
There are two components we need to develop in the Core;
.hdefDefinition Files..defDefinition Files.Implicit Hueristics
Stored in
.hdef"Hueristic Definition Files". These files are going to contain combinations of "Suspiscious Traits" which the core will stack up into a "Suspiscion Score". If the score gets too high, a file is flagged even if it does not have an associated definition from a.defDefinition File.Explicit Hueristics
Stored in
.def"Definition Files" alongside existing Definition Data. These files already contain infection specific data regarding specific IOCs, so naturally this is the place where we should store IOC specific hueristic data. By addint another column to our existing Definition Files we can store a CSV string of flags which identify specific behaviour we want to flag.Examples
General Flags:
Implicit Only Flags:
Explicit Only Flags:
All reactions