Skip to content

Commit eb1536f

Browse files
committed
chg: [pe] Added characteristics & machine-type enumerations
- Characteristics are usually in a list, so we have now both the list of characteristics with their name, and the hex value of the addition of all the characteristics numeric values - We represent the machine type with its name
1 parent ad952be commit eb1536f

1 file changed

Lines changed: 49 additions & 1 deletion

File tree

objects/pe/definition.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,30 @@
88
"characteristics": {
99
"description": "The characteristics that indicate the attributes of the file",
1010
"disable_correlation": true,
11+
"misp-attribute": "text",
12+
"multiple": true,
13+
"sane_defaults": [
14+
"AGGRESSIVE_WS_TRIM",
15+
"BYTES_REVERSED_HI",
16+
"BYTES_REVERSED_LO",
17+
"DEBUG_STRIPPED",
18+
"DLL",
19+
"EXECUTABLE_IMAGE",
20+
"LARGE_ADDRESS_AWARE",
21+
"LINE_NUMS_STRIPPED",
22+
"LOCAL_SYMS_STRIPPED",
23+
"NEED_32BIT_MACHINE",
24+
"NET_RUN_FROM_SWAP",
25+
"RELOCS_STRIPPED",
26+
"REMOVABLE_RUN_FROM_SWAP",
27+
"SYSTEM",
28+
"UP_SYSTEM_ONLY"
29+
],
30+
"ui-priority": 0
31+
},
32+
"characteristics_hex": {
33+
"description": "The characteristics in a single hex value",
34+
"disable_correlation": true,
1135
"misp-attribute": "hex",
1236
"ui-priority": 0
1337
},
@@ -77,7 +101,31 @@
77101
"machine-type": {
78102
"description": "Type of machine",
79103
"disable_correlation": true,
80-
"misp-attribute": "hex",
104+
"misp-attribute": "text",
105+
"sane_default": [
106+
"AM33",
107+
"AMD64",
108+
"ARM",
109+
"ARM64",
110+
"ARMNT",
111+
"EBC",
112+
"I386",
113+
"IA64",
114+
"M32R",
115+
"MIPS16",
116+
"MIPSFPU",
117+
"MIPSFPU16",
118+
"POWERPC",
119+
"POWERPCFP",
120+
"R4000",
121+
"SH3",
122+
"SH3DSP",
123+
"SH4",
124+
"SH5",
125+
"THUMB",
126+
"UNKNOWN",
127+
"WCEMIPSV2"
128+
],
81129
"ui-priority": 0
82130
},
83131
"number-of-symbols": {

0 commit comments

Comments
 (0)