Fighting Malware With GPUs In Real Time
www.avast.com
Peter Kovac kovac@avast.com
Fighting Malware With GPUs In Real Time Peter Kovac - - PowerPoint PPT Presentation
Fighting Malware With GPUs In Real Time Peter Kovac kovac@avast.com www.avast.com Introduction Sensor network Few hundred million of user machines Hundreds of thousands new files every day Most of them clean files Thousands
www.avast.com
Peter Kovac kovac@avast.com
sensor network
and sent to clients
Sensor network Scavenger Submit servers Malware Analysts Automatic file- based detections
Sensor network Scavenger Submit servers Malware Analysts
Sensor network Scavenger Submit servers Malware Analysts
Expensive pre-processing
Sensor network Scavenger Submit servers Malware Analysts
Expensive pre-processing
– Fixed size binary records (file fingerprint/metadata)
Attribute Data Type Semantic sha256 32 byte array CHECKSUM pe_sect_cnt uint16_t VALUE pe_sect_rawoff_entry uint32_t OFFSET
R1:A1 R1:A2 R1:A3 R1:A1 R2:A1 R3:A1
Data Type Semantic Partial distance function 32 byte array CHECKSUM RETURN_ZERO uint16_t VALUE EQUAL_RET32 uint32_t OFFSET LOG
memset scratchpad to 0 For each kernel: add partial distance to scratchpad [no synchronization required!] thrust::stable_sort_by_key on scratchpad and an index table
Data Type Operator Matching function uint64_t == EQUAL<T>, T = uint64_t uint16_t >= GREATER<T>, T = uint16_t uint32_t RANGE RANGE<T>, T = uint32_t
Usually about 60-80% of attributes can be used
Typical representative of the cluster
Operation CPU GPU Speedup Rule matching query ~220ms ~10ms ~22x 256-NN query 1300ms 100ms 13x Rule generation >60s ~3s >20x
Reduced data size
Sensor network Scavenger Submit servers Malware Analysts Medusa
Reduced data size
Sensor network Scavenger Submit servers Malware Analysts
Medusa
Reduced data size Automated generic detections
Sensor network Scavenger Submit servers Malware Analysts
Medusa
Reduced data size Automated generic detections Better supporting tools for analysts
Sensor network Scavenger Submit servers Malware Analysts
Medusa
low prevalence samples RT Medusa Medusa
RT Medusa Avast users