Advice Request AV DB Engine

Please provide comments and solutions that are helpful to the author of this topic.
And no response..... What a community.
cry-sad.gif
 
Except for our great Robot @RoboMan, father of all robots, destroyer of all chains, slayer of all dragons...
I can confirm.

Regarding OP's question, I think that's a good question for our developers that are active in this forums, like @danb or @Andy Ful
 
What database engine AV companies uses for their malware database. "sqlite, Access, Excell :D, csv, realm" or something else ?
What exactly do you mean with malware database?
Are you referring to malware signatures or blocklists in the engine?
Or is this a question about backend systems?
And why is this important?
 
What exactly do you mean with malware database?
Are you referring to malware signatures or blocklists in the engine?
Or is this a question about backend systems?
And why is this important?
Virus stand alone database that is loaded into the usher system when he install let's say G-Data. Because as i know you can't depend only on cloud engine.... You need to have database inside the product with regular signature updates.
 
Virus stand alone database that is loaded into the usher system when he install let's say G-Data. Because as i know you can't depend only on cloud engine.... You need to have database inside the product with regular signature updates.

So you are referring to the signature database on the client with the patterns, hashes, and scripts that are checked by the scanning engine?
Those are usually custom-made formats to optimize performance and RAM usage and also to avoid making it obvious for malware devs how the signatures look like.

Edit: If you want to see an open source example, check out Yara and its compiled signature database.
 
So you are referring to the signature database on the client with the patterns, hashes, and scripts that are checked by the scanning engine?
Those are usually custom-made formats to optimize performance and RAM usage and also to avoid making it obvious for malware devs how the signatures look like.

Edit: If you want to see an open source example, check out Yara and its compiled signature database.
Yes i know yara and i am working with it. the interesting part is the to store this rules or hashes in db... After runing a few test's with app that i build with SQLITE in memory db and about 30 million hashes i get fast reading and writing but the cpu performace was even higher than read write time :D... About 25 to 50% of Amd ryzen 16 thread's cpu. So my question is if you can give us some advice how to make our own format just to see if there is going to be a difference between Sqlite and costume made format.
 
  • Like
Reactions: Guilhermesene
Yes i know yara and i am working with it. the interesting part is the to store this rules or hashes in db... After runing a few test's with app that i build with SQLITE in memory db and about 30 million hashes i get fast reading and writing but the cpu performace was even higher than read write time :D... About 25 to 50% of Amd ryzen 16 thread's cpu. So my question is if you can give us some advice how to make our own format just to see if there is going to be a difference between Sqlite and costume made format.
I am a malware analyst. In my daily work I program mostly just short scripts for malware deobfuscation and I have not much to do with engine development. So this is not something I am experienced in.
 
So my question is if you can give us some advice how to make our own format just to see if there is going to be a difference between Sqlite and costume made format.
You probably asked the wrong question. It is not especially important what format has the database as a file on disk. A more important question is how the data from this file looks in the memory (RAM) and how the AV access the data from this memory. Interesting information about how AVs can manage such data can be found somewhere on the web, for example: US8745743B2 - Anti-virus trusted files database - Google Patents
 
I am a malware analyst. In my daily work I program mostly just short scripts for malware deobfuscation and I have not much to do with engine development. So this is not something I am experienced in.

Malware analyst ? For which antivirus if you can tell? :)
 
Malware analyst ? For which antivirus if you can tell? :)
Just look at his profile:
Hello. My name is Karsten. I have been working as malware analyst for G DATA since 2015. This is a private account, though, I don't represent my employer.