Skip to content

Latest commit

 

History

History
386 lines (318 loc) · 17.6 KB

CHANGELOG.md

File metadata and controls

386 lines (318 loc) · 17.6 KB

Change Log

v1.4.1 (2020-10-23)

This release fixes an issue building capa on our CI server, which prevented us from building standalone binaries for v1.4.1.

Bug Fixes

  • install VC dependencies for Python 2.7 during Windows build

Raw diffs

v1.4.0 (2020-10-23)

This capa release includes changes to the rule parsing, enhanced feature extraction, various bug fixes, and improved capa scripts. Everyone should benefit from the improved functionality and performance. The community helped to add 69 new rules. We appreciate everyone who opened issues, provided feedback, and contributed code and rules. A special shout out to the following new project contributors:

  • @mwilliams31
  • @yt0ng

@dzbeck added Malware Behavior Catalog (MBC) and ATT&CK mappings for 86 rules.

Download a standalone binary below and checkout the readme here on GitHub. Report issues on our issue tracker and contribute new rules at capa-rules.

New features

  • script that demonstrates bulk processing @williballenthin #307
  • main: render MBC table @mr-tz #332
  • ida backend: improve detection of APIs called via two or more chained thunks @mike-hunhoff #340
  • viv backend: improve detection of APIs called via two or more chained thunks @mr-tz #341
  • features: extract APIs called via jmp instruction @mr-tz #337

New rules

  • clear the Windows event log @mike-hunhoff
  • crash the Windows event logging service @mike-hunhoff
  • packed with kkrunchy @re-fox
  • packed with nspack @re-fox
  • packed with pebundle @re-fox
  • packed with pelocknt @re-fox
  • packed with peshield @re-fox
  • packed with petite @re-fox
  • packed with rlpack @re-fox
  • packed with upack @re-fox
  • packed with y0da crypter @re-fox
  • compiled with rust @re-fox
  • compute adler32 checksum @mwilliams31
  • encrypt-data-using-hc-128 @recvfrom
  • manipulate console @williballenthin
  • references logon banner @re-fox
  • terminate process via fastfail @re-fox
  • delete volume shadow copies @mr-tz
  • authenticate HMAC @mr-tz
  • compiled from EPL @williballenthin
  • compiled with Go @williballenthin
  • create Restart Manager session @mike-hunhoff
  • decode data using Base64 via WinAPI @mike-hunhoff
  • empty recycle bin quietly @mwilliams31
  • enumerate network shares @mike-hunhoff
  • hook routines via microsoft detours @williballenthin
  • hooked by API Override @williballenthin
  • impersonate user @mike-hunhoff
  • the @williballenthin packer detection package, thanks to Hexacorn for the data, see https://www.hexacorn.com/blog/2016/12/15/pe-section-names-re-visited/
    • packed with CCG
    • packed with Crunch
    • packed with Dragon Armor
    • packed with enigma
    • packed with Epack
    • packed with MaskPE
    • packed with MEW
    • packed with Mpress
    • packed with Neolite
    • packed with PECompact
    • packed with Pepack
    • packed with Perplex
    • packed with ProCrypt
    • packed with RPCrypt
    • packed with SeauSFX
    • packed with Shrinker
    • packed with Simple Pack
    • packed with StarForce
    • packed with SVKP
    • packed with Themida
    • packed with TSULoader
    • packed with VProtect
    • packed with WWPACK
    • rebuilt by ImpRec
    • packaged as a Pintool
    • packaged as a CreateInstall installer
    • packaged as a WinZip self-extracting archive
  • reference 114DNS DNS server @williballenthin
  • reference AliDNS DNS server @williballenthin
  • reference Cloudflare DNS server @williballenthin
  • reference Comodo Secure DNS server @williballenthin
  • reference Google Public DNS server @williballenthin
  • reference Hurricane Electric DNS server @williballenthin
  • reference kornet DNS server @williballenthin
  • reference L3 DNS server @williballenthin
  • reference OpenDNS DNS server @williballenthin
  • reference Quad9 DNS server @williballenthin
  • reference Verisign DNS server @williballenthin
  • run as service @mike-hunhoff
  • schedule task via ITaskService @mike-hunhoff
  • references DNS over HTTPS endpoints @yt0ng

Bug fixes

  • ida plugin: fix tree-view exception @mike-hunhoff #315
  • ida plugin: fix feature count @mike-hunhoff
  • main: fix reported total rule count @williballenthin #325
  • features: fix handling of API names with multiple periods @mike-hunhoff #329
  • ida backend: find all byte sequences instead of only first @mike-hunhoff #335
  • features: display 0 value @mr-tz #338
  • ida backend: extract ordinal and name imports @mr-tz #343
  • show-features: improvements and support within IDA @mr-tz #342
  • main: sanity check MBC rendering @williballenthin
  • main: handle sample path that contains non-ASCII characters @mr-tz #328

Changes

  • rules: use yaml.CLoader for better performance @williballenthin #306
  • rules: parse descriptions for statements @mr-tz #312

Raw diffs

v1.3.0 (2020-09-14)

This release brings newly updated mappings to the Malware Behavior Catalog version 2.0, many enhancements to the IDA Pro plugin, flare-capa on PyPI, a bunch of bug fixes to improve feature extraction, and four new rules. We received contributions from ten reverse engineers, including seven new ones:

  • @dzbeck
  • @recvfrom
  • @toomanybananas
  • @cclauss
  • @adamprescott91
  • @weslambert
  • @stevemk14ebr

Download a standalone binary below and checkout the readme here on GitHub. Report issues on our issue tracker and contribute new rules at capa-rules.

Key changes to IDA Plugin

The IDA Pro integration is now distributed as a real plugin, instead of a script. This enables a few things:

  • keyboard shortcuts and file menu integration
  • updates distributed PyPI/pip install --upgrade without touching your %IDADIR%
  • generally doing thing the "right way"

How to get this new version? Its easy: download capa_explorer.py to your IDA plugins directory and update your capa installation (incidentally, this is a good opportunity to migrate to pip install flare-capa instead of git checkouts). Now you should see the plugin listed in the Edit > Plugins > FLARE capa explorer menu in IDA.

Please refer to the plugin readme for additional information on installing and using the IDA Pro plugin.

Please open an issue in this repository if you notice anything weird.

New features

  • ida plugin: now a real plugin, not a script @mike-hunhoff
  • core: distributed via PyPI as flare-capa @williballenthin
  • features: enable automatic A/W handling for imports @williballenthin @Ana06 #246
  • ida plugin: persist rules directory setting via ida-settings @williballenthin #268
  • ida plugin: add search bar to results view @williballenthin #285
  • ida plugin: add Analyze and Reset buttons to tree view @mike-hunhoff #304
  • ida plugin: add status label to tree view @mike-hunhoff
  • ida plugin: add progress indicator @mike-hunhoff, @mr-tz

New rules

  • compiled with py2exe @re-fox
  • resolve path using msvcrt @re-fox
  • decompress data using QuickLZ @edeca
  • encrypt data using sosemanuk @recvfrom

Bug fixes

  • rule: reduce FP in DNS resolution @toomanybananas
  • engine: report correct strings matched via regex @williballenthin #262
  • formatter: correctly format descriptions in two-line syntax @williballenthin @recvfrom #263
  • viv: better extract offsets from SibOper operands @williballenthin @edeca #276
  • import-to-ida: fix import error @cclauss
  • viv: don't write settings to ~/.viv/viv.json @williballenthin @rakuy0 @weslambert #244
  • ida plugin: remove dependency loop that resulted in unnecessary overhead @mike-hunhoff #303
  • ida plugin: correctly highlight regex matches in IDA Disassembly view @mike-hunhoff #305
  • ida plugin: better handle rule directory prompt and failure case @stevemk14ebr @mike-hunhoff #309

Changes

  • rules: update meta mapping to MBC 2.0! @dzbeck
  • render: don't display rules that are also matched by other rules @williballenthin @Ana06 #224
  • ida plugin: simplify tabs, removing summary and adding detail to results view @williballenthin #286
  • ida plugin: analysis is no longer automatically started when plugin is first opened @mike-hunhoff #304
  • ida plugin: user must manually select a capa rules directory before analysis can be performed @mike-hunhoff
  • ida plugin: user interface controls are disabled until analysis is performed @mike-hunhoff #304

Raw diffs

v1.2.0 (2020-08-31)

This release brings UI enhancements, especially for the IDA Pro plugin, investment towards py3 support, fixes some bugs identified by the community, and 46 (!) new rules. We received contributions from ten reverse engineers, including five new ones:

  • @agithubuserlol
  • @recvfrom
  • @D4nch3n
  • @edeca
  • @winniepe

Download a standalone binary below and checkout the readme here on GitHub. Report issues on our issue tracker and contribute new rules at capa-rules.

New features

  • ida plugin: display arch flavors @mike-hunhoff
  • ida plugin: display block descriptions @mike-hunhoff
  • ida backend: extract features from nested pointers @mike-hunhoff
  • main: show more progress output @williballenthin
  • core: pin dependency versions #258 @recvfrom

New rules

  • bypass UAC via AppInfo ALPC @agithubuserlol
  • bypass UAC via token manipulation @agithubuserlol
  • check for sandbox and av modules @re-fox
  • check for sandbox username @re-fox
  • check if process is running under wine @re-fox
  • validate credit card number using luhn algorithm @re-fox
  • validate credit card number using luhn algorithm with no lookup table @re-fox
  • hash data using FNV @edeca @mr-tz
  • link many functions at runtime @mr-tz
  • reference public RSA key @mr-tz
  • packed with ASPack @williballenthin
  • delete internet cache @mike-hunhoff
  • enumerate internet cache @mike-hunhoff
  • send ICMP echo request @mike-hunhoff
  • check for debugger via API @mike-hunhoff
  • check for hardware breakpoints @mike-hunhoff
  • check for kernel debugger via shared user data structure @mike-hunhoff
  • check for protected handle exception @mike-hunhoff
  • check for software breakpoints @mike-hunhoff
  • check for trap flag exception @mike-hunhoff
  • check for unexpected memory writes @mike-hunhoff
  • check process job object @mike-hunhoff
  • reference anti-VM strings targeting Parallels @mike-hunhoff
  • reference anti-VM strings targeting Qemu @mike-hunhoff
  • reference anti-VM strings targeting VirtualBox @mike-hunhoff
  • reference anti-VM strings targeting VirtualPC @mike-hunhoff
  • reference anti-VM strings targeting VMWare @mike-hunhoff
  • reference anti-VM strings targeting Xen @mike-hunhoff
  • reference analysis tools strings @mike-hunhoff
  • reference WMI statements @mike-hunhoff
  • get number of processor cores @mike-hunhoff
  • get number of processors @mike-hunhoff
  • enumerate disk properties @mike-hunhoff
  • get disk size @mike-hunhoff
  • get process heap flags @mike-hunhoff
  • get process heap force flags @mike-hunhoff
  • get Explorer PID @mike-hunhoff
  • delay execution @mike-hunhoff
  • check for process debug object @mike-hunhoff
  • check license value @mike-hunhoff
  • check ProcessDebugFlags @mike-hunhoff
  • check ProcessDebugPort @mike-hunhoff
  • check SystemKernelDebuggerInformation @mike-hunhoff
  • check thread yield allowed @mike-hunhoff
  • enumerate system firmware tables @mike-hunhoff
  • get system firmware table @mike-hunhoff
  • hide thread from debugger @mike-hunhoff

Bug fixes

  • ida backend: extract unmapped immediate number features @mike-hunhoff
  • ida backend: fix stack cookie check #257 @mike-hunhoff
  • viv backend: better extract gs segment access @williballenthin
  • core: enable counting of string features #241 @D4nch3n @williballenthin
  • core: enable descriptions on feature with arch flavors @mike-hunhoff
  • core: update git links for non-SSH access #259 @recvfrom

Changes

  • ida plugin: better default display showing first level nesting @winniepe
  • remove unused characteristic(switch) feature @ana06
  • prepare testing infrastructure for multiple backends/py3 @williballenthin
  • ci: zip build artifacts @ana06
  • ci: build all supported python versions @ana06
  • code style and formatting @mr-tz

Raw diffs

v1.1.0 (2020-08-05)

This release brings new rule format updates, such as adding offset/x32 and negative offsets, fixes some bugs identified by the community, and 28 (!) new rules. We received contributions from eight reverse engineers, including four new ones:

  • @re-fox
  • @psifertex
  • @bitsofbinary
  • @threathive

Download a standalone binary below and checkout the readme here on GitHub. Report issues on our issue tracker and contribute new rules at capa-rules.

New features

  • import: add Binary Ninja import script #205 #207 @psifertex
  • rules: offsets can be negative #197 #208 @williballenthin
  • rules: enable descriptions for statement nodes #194 #209 @Ana06
  • rules: add arch flavors to number and offset features #210 #216 @williballenthin
  • render: show SHA1/SHA256 in default report #164 @threathive
  • tests: add tests for IDA Pro backend #202 @williballenthin

New rules

  • check for unmoving mouse cursor @BitsOfBinary
  • check mutex and exit @re-fox
  • parse credit card information @re-fox
  • read ini file @re-fox
  • validate credit card number with luhn algorithm @re-fox
  • change the wallpaper @re-fox
  • acquire debug privileges @williballenthin
  • import public key @williballenthin
  • terminate process by name @williballenthin
  • encrypt data using DES @re-fox
  • encrypt data using DES via WinAPI @re-fox
  • hash data using sha1 via x86 extensions @re-fox
  • hash data using sha256 via x86 extensions @re-fox
  • capture network configuration via ipconfig @re-fox
  • hash data via WinCrypt @mike-hunhoff
  • get file attributes @mike-hunhoff
  • allocate thread local storage @mike-hunhoff
  • get thread local storage value @mike-hunhoff
  • set thread local storage @mike-hunhoff
  • get session integrity level @mike-hunhoff
  • add file to cabinet file @mike-hunhoff
  • flush cabinet file @mike-hunhoff
  • open cabinet file @mike-hunhoff
  • gather firefox profile information @re-fox
  • encrypt data using skipjack @re-fox
  • encrypt data using camellia @re-fox
  • hash data using tiger @re-fox
  • encrypt data using blowfish @re-fox
  • encrypt data using twofish @re-fox

Bug fixes

  • linter: fix exception when examples is None @Ana06
  • linter: fix suggested recommendations via templating @williballenthin
  • render: fix exception when rendering counts @williballenthin
  • render: fix render of negative offsets @williballenthin
  • extractor: fix segmentation violation from vivisect @williballenthin
  • main: fix crash when .viv cannot be saved #168 @secshoggoth @williballenthin
  • main: fix shellcode .viv save path @williballenthin

Changes

  • doc: explain how to bypass gatekeeper on macOS @psifertex
  • doc: explain supported linux distributions @Ana06
  • doc: explain submodule update with --init @psifertex
  • main: improve program help output @mr-tz
  • main: disable progress when run in quiet mode @mr-tz
  • main: assert supported IDA versions @mr-tz
  • extractor: better identify nested pointers to strings @williballenthin
  • setup: specify vivisect download url @Ana06
  • setup: pin vivisect version @williballenthin
  • setup: bump vivisect dependency version @williballenthin
  • setup: set Python project name to flare-capa @williballenthin
  • ci: run tests and linter via Github Actions @Ana06
  • hooks: run style checkers and hide stashed output @Ana06
  • linter: ignore period in rule filename @williballenthin
  • linter: warn on nursery rule with no changes needed @williballenthin

Raw diffs