mandiant / capa-rules

Standard collection of rules for capa: the tool for enumerating the capabilities of programs
https://github.com/mandiant/capa/
Apache License 2.0
514 stars 157 forks source link

self delete using alternate data streams #894

Closed dstepanic closed 3 months ago

dstepanic commented 4 months ago

Prerequisites

Summary

This technique is based off a self-deletion proof-of-concept using alternate data streams where a running file can be deleted from disk. I have observed this in malware families such as LATRODECTUS and ROOK ransomware. The main behaviors are centered around:

Examples

Family: LATRODECTUS SHA256: 388021747b85453adff2680c8a0e13e230f4eeada1a1055e3fb8e09800d4fb79 Offset: 0x180003A24

image

Family: ROOK SHA256: c2d46d256b8f9490c9599eea11ecef19fde7d4fdd2dea93604cee3cea8e172ac Offset: 0x1400019C0

image

References