Registry micro-behavior #100
-
Hello. I am implementing a C++ corpus of behavior examples and I am using MBC as reference. I have a question about a specific Registry Micro-behavior. Specifically, about Set Registry Key | C0036.001. I would like to know what does "setting a registry key" actually imply. How is it any different from Create Registry Key | C0036.004? In fact, taking a look at the examples of malware use, none of them matches C0036.001. Thank you. P.S: I am not quite sure this discussion belongs here. If not, feel free to move it to its corresponding discussion/issue thread. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I suspect that C0036.001 should probably be "Set Registry Value" since a Registry key doesn't have any associated value to manipulate or "set" (well, it has the default value, I suppose, but that's an edge case). With this in mind, I'd imagine:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @RazviOverflow for pointing out this issue, and thanks @williballenthin for the links/fix. Looking at winreg.h, RegCreateKey and RegSetKeyValue/RegSetValue functions are defined, but not "RegCreateValue" functions. So, how about (Willi's suggestion): Create Registry Key | C0036.004 | Malware creates a registry key. Or should the second instead be "Set Registry Value" (no "Key")? |
Beta Was this translation helpful? Give feedback.
-
Thanks @RazviOverflow - that makes sense. I'll make the change "Set Registry Key" to "Set Registry Value" for C0036.001. |
Beta Was this translation helpful? Give feedback.
Thanks @RazviOverflow - that makes sense. I'll make the change "Set Registry Key" to "Set Registry Value" for C0036.001.