capa-rules
capa-rules copied to clipboard
[Rule Idea] - aPLib Compression
Prerequisites
- [x] Put an X between the brackets on this line if you have done all of the following:
- Checked that your rule idea isn't already filed: search
Summary
Identify the aPLib compression algorithm
Examples
Present in sample 5ef7d0c13ec748206da57ce2ed9749936aff69d837d98dd150e43360f59ec63b
There are implementations on github ex: https://github.com/secretsquirrel/the-backdoor-factory/tree/master/aPLib
Features
-
0x32335041AP32 Magic -
aPLib v1.1.1 – the smaller the better :)(Strings may not be reliable - easy to modify/remove) - Constants and operations of the compression algo.
Additional context
Rule details
Namespace
/data-manipulation/compression/
References
- https://ibsensoftware.com/products_aPLib.html
- https://0xc0decafe.com/malware-analysts-guide-to-aplib-decompression/
Other rule meta information
https://0xc0decafe.com/malware-analysts-guide-to-aplib-decompression has a couple of cool features we should also cover, see for example the yara rules.
https://github.com/mandiant/capa-rules/blob/master/linking/static/aplib/linked-against-aplib.yml covers the version string now.