joyce8 commited on
Commit
e90225a
·
verified ·
1 Parent(s): 9cce319

Update EMBER2024 dataset with capa metadata

Browse files
APK_test.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:058d255e80f8390ce2b87c43a918f2ca9fdd2a114cc2162df54b9d002af1998d
3
- size 81122668
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caadda48f332dd2dae425c7e33d04aa66f28286431c9e4cfed23409fe06385cc
3
+ size 177491965
APK_train.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:95f222aae5c2f68216952e12f837367bdb4e7fc206e4ddd9319d45b14e031960
3
- size 357950829
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa9e0b026efd65d916fa3e9f81aaadcf5519e721311d2e7959226721a56d0041
3
+ size 783638534
Dot_Net_test.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bc31b48cc9f4317e56620fed2f1084384292a8b50603066a88ab532cbf9f19ff
3
- size 85518369
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74c4181dbd77565fce16ba47c8ab0f7c7044ae6d880d859ec2c27365dea6299
3
+ size 220481493
Dot_Net_train.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed9d17040135da955bd5667075eb4b499a5ab97e74d7e763dd11d6879b6d8fcf
3
- size 368639403
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9f6e90ab75293a7ceb9339700586dd033a03d19766282755ee31dfa0836e625
3
+ size 937108923
ELF_test.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7449414e4993df34604b4efb64ae92c6844daafd607cb5002fb98e612bed002
3
- size 7350991
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c86fa72164d7ac5d47ac4798d27b65978402f39f8cad0b2186b01ba55d528bfe
3
+ size 16763975
ELF_train.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3385e7c5089f04c46d42ecac8361c6d5141d4b76ba8343c06282430b21e2b06f
3
- size 30514963
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd22c65c1a4b6b1c0680717814c74c1569256cf4ef6e7629c1b2b94b8e11afe3
3
+ size 69249829
PDF_test.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8667c85dfff1986a858839ffe3dc41b4cf0e9651c29302e00fdeab9c9cf655d0
3
- size 13225216
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:953742edb8bbe1f729f32b546c142f8600811a16652822473222e48fc9e826dc
3
+ size 28833740
PDF_train.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:14decb6bb1a7bd037cad92082205ecbda5514a3295786974d330a91ca869b60e
3
- size 56115817
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83a52378e9e5ea2478832443ff449ecba85050bbda111df074b633f822c8a2de
3
+ size 122602464
README.md CHANGED
@@ -37,6 +37,72 @@ EMBER also includes features and labels for 6,315 malicious files in a "challeng
37
 
38
  The previous EMBER feature versions were pinned to [LIEF](lief.re) version 0.9.0, which requires Python 3.6. EMBER feature version 3 ("thrember") is a re-implementation of the EMBER feature vector format that uses the [pefile](https://github.com/erocarrera/pefile) library instead. pefile is stable and has no dependencies, making it ideal going forward. We have also made several addition to the EMBER feature vector format, which now includes features from the DOS header, Rich header, PE data directories, Authenticode signatures, and warnings during PE parsing. Furthermore, we have added support for feature extraction from non-PE files using a subset of the EMBER feature version 3 format. We show that effective classifiers for APK, ELF, and PDF files can be trained using just features from general file info, byte statistics, and string statistics.
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  ## Citing
42
 
@@ -48,4 +114,4 @@ If you use EMBER2024 in your own research, please cite it using:
48
  author={Robert J. Joyce and Gideon Miller and Phil Roth and Richard Zak and Elliott Zaresky-Williams and Hyrum Anderson and Edward Raff and James Holt},
49
  year={2025},
50
  booktitle={Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
51
- }
 
37
 
38
  The previous EMBER feature versions were pinned to [LIEF](lief.re) version 0.9.0, which requires Python 3.6. EMBER feature version 3 ("thrember") is a re-implementation of the EMBER feature vector format that uses the [pefile](https://github.com/erocarrera/pefile) library instead. pefile is stable and has no dependencies, making it ideal going forward. We have also made several addition to the EMBER feature vector format, which now includes features from the DOS header, Rich header, PE data directories, Authenticode signatures, and warnings during PE parsing. Furthermore, we have added support for feature extraction from non-PE files using a subset of the EMBER feature version 3 format. We show that effective classifiers for APK, ELF, and PDF files can be trained using just features from general file info, byte statistics, and string statistics.
39
 
40
+ # Capa
41
+
42
+ [Capa](https://github.com/mandiant/capa) is a malware analysis tool that identifies a file's potential behaviors. For each file, it outputs Mitre ATT&CK techniques, objectives and behaviors from the Malware Behavior Catalogue Matrix, and other capabilities. An example is shown below.
43
+
44
+ ```
45
+ +----------------------+---------------------------------------------------------------------------+
46
+ | ATT&CK Tactic | ATT&CK Technique |
47
+ +----------------------+---------------------------------------------------------------------------+
48
+ | COLLECTION | Clipboard Data [T1115] |
49
+ | | Input Capture::Keylogging [T1056.001] |
50
+ | | Screen Capture [T1113] |
51
+ | DEFENSE EVASION | File and Directory Permissions Modification [T1222] |
52
+ | | Obfuscated Files or Information [T1027] |
53
+ | EXECUTION | Shared Modules [T1129] |
54
+ | PRIVILEGE ESCALATION | Access Token Manipulation [T1134] |
55
+ | ... | ... |
56
+ +----------------------+---------------------------------------------------------------------------+
57
+
58
+ +----------------------+---------------------------------------------------------------------------+
59
+ | MBC Objective | MBC Behavior |
60
+ +----------------------+---------------------------------------------------------------------------+
61
+ | ANTI-BEHAVIORAL ANALYSIS | Debugger Detection::Software Breakpoints [B0001.025] |
62
+ | | Debugger Detection::Timing/Delay Check GetTickCount [B0001.032] |
63
+ | COLLECTION | Keylogging::Polling [F0002.002] |
64
+ | | Screen Capture::WinAPI [E1113.m01] |
65
+ | COMMAND AND CONTROL | C2 Communication::Receive Data [B0030.002] |
66
+ | | C2 Communication::Send Data [B0030.001] |
67
+ | ... | ... |
68
+ +----------------------+---------------------------------------------------------------------------+
69
+
70
+ +----------------------+---------------------------------------------------------------------------+
71
+ | Capability | Namespace |
72
+ +----------------------+---------------------------------------------------------------------------+
73
+ | log keystrokes via polling (9 matches) | collection/keylog |
74
+ | capture screenshot (2 matches) | collection/screenshot |
75
+ | receive data (5 matches) | communication |
76
+ | send data (2 matches) | communication |
77
+ | create HTTP request | communication/http/client |
78
+ | get socket status | communication/socket |
79
+ | ... | ... |
80
+ +----------------------+---------------------------------------------------------------------------+
81
+ ```
82
+
83
+ EMBER2024 has been updated to include Capa results for Win32, Win64, .NET, and ELF files.
84
+
85
+ ```
86
+ "caps": [
87
+ {"Capability": "Find process by name", "Namespace": "host-interaction/process/list", "Addrs": []},
88
+ {"Capability": "Terminate process", "Namespace": "host-interaction/process/terminate", "Addrs": ["0x6000025"]},
89
+ {"Capability": "Move file", "Namespace": "host-interaction/file-system/move", "Addrs": []},
90
+ ...
91
+ ]
92
+ "ttps": [
93
+ {"Tactic": "DISCOVERY", "Technique": "Process Discovery [T1057]"},
94
+ {"Tactic": "DISCOVERY", "Technique": "File and Directory Discovery [T1083]"}
95
+ ],
96
+ "mbc": [
97
+ {"Objective": "OPERATING SYSTEM", "Behavior": "Console [C0033]"},
98
+ {"Objective": "PROCESS", "Behavior": "Terminate Process [C0018]"},
99
+ {"Objective": "FILE SYSTEM", "Behavior": "Move File [C0063]"},
100
+ {"Objective": "DISCOVERY", "Behavior": "File and Directory Discovery [E1083]"},
101
+ ....
102
+ ```
103
+
104
+ In many cases, Capa identifies the function(s) that the capability is present in. We created a [supplemental dataset](https://huggingface.co/datasets/joyce8/EMBER2024-capa) with the raw bytes and disassembly of 16,356,790 functions from malicious files in EMBER2024.
105
+
106
 
107
  ## Citing
108
 
 
114
  author={Robert J. Joyce and Gideon Miller and Phil Roth and Richard Zak and Elliott Zaresky-Williams and Hyrum Anderson and Edward Raff and James Holt},
115
  year={2025},
116
  booktitle={Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
117
+ }
Win32_test.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3ff3b81c0a2427e68ad5349fa8e3a6151fa99a2c7404a62774301211d6a724a8
3
- size 1100969426
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c05f6562dee3ace4195087be918eb00181e33bc31464c671fb5ba00c9dd5dfdb
3
+ size 2593425203
Win32_train.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9be451a9cf77ace2d3c6afd332d77da884fb17fc66e5cf6db36254051d1e75c5
3
- size 5252835952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cf9dea847960115f65d405d38b6b09d38c87225c8288dafedf00fed2512b1d4
3
+ size 12321281336
Win64_test.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba5e5df3a01f232fefeec3aca156781b07a9fabcc6d5627ce75cf9fa61e0f9e4
3
- size 516091625
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52a5a05c1bfa5bb021bb8b44c2e0afcf8983dfa1c6c0a9d76db393e5c682ce10
3
+ size 1176459716
Win64_train.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0cccc711b77bbe6c676fbc23f1b11f5bd970136362d4914333b4e6c0da29c8dd
3
- size 2592795813
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b050100ce7bd87149bbfca442de3e02d4bf97d51251566caec2581eebe799fd
3
+ size 5853142901
challenge.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2e09904fbc4541236681e3ca767ea362441d0d0f7541e9cc637b5c960e22bd11
3
- size 23383940
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd215997b10596e4397d2b305d54afe9678e91e3051918262f0172b36e40baf1
3
+ size 32144161