mandiant / mandiant/capa-rules

[Rule Idea] - aPLib Compression

Open
#294 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

  • #310 by @fboldewin — closed without merging
Dominant language
No language data
Stars
736
Forks
245
Avg merge
4d 53m
Merged PRs (30d)
2

Description

## 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](https://github.com/fireeye/capa-rules/issues?q=is%3Aissue+is%3Aopen+)

## 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
- `0x32335041` AP32 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the sample identified by hash 5ef7d0c13ec748206da57ce2ed9749936aff69d837d98dd150e43360f59ec63b and review the aPLib implementation and references linked in the issue. Inspect the work associated with closed pull request #310 before proceeding. Done means adding a rule under /data-manipulation/compression/ that identifies aPLib using reliable algorithm features rather than strings alone.

Written by the indexing model from the issue text.

Assessment

Domain
reverse-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.