[IntelMQ-dev] classification attributes in IntelMQ Shadowserver parser schema

elsif elsif at shadowserver.org
Fri Feb 2 17:08:25 CET 2024


Hello,

Attached is the revised schema which matches yours except 
population6_msmq was updated to match population_msmq.  Please let me 
know if you have any other changes.

As we add new reports I will post the draft schema here for review so 
that we can get the classifications set correctly.

Regards

On 2/2/24 2:48 AM, Thomas Hungenberg wrote:
> Hi,
>
> thanks a lot for your prompt response and sorry for the delay on my side.
>
> The changes look good!
>
> However, I have made a few additional changes:
>
> 1)
> Make classification.identifier for honeypot_ics_scan consistent
> with other honeypot scans:
> =====================
>     "event_honeypot_ics_scan" : {
>        "constant_fields" : {
> -         "classification.identifier" : "ics",
> +         "classification.identifier" : "honeypot-ics-scan",
> =====================
>
> This change should be documented here:
> https://github.com/The-Shadowserver-Foundation/report_schema/blob/main/completed-changes.md 
>
>
>
> 2)
> Change classification.taxonomy and classification.type from
>
>          "classification.taxonomy" : "other",
>          "classification.type" : "other",
>
> to
>          "classification.taxonomy" : "vulnerable",
>          "classification.type" : "vulnerable-system",
>
> for accessible-bgp and accessible-msmq.
>
> Not included in old _config.py, so no need to document.
>
>
> 3)
> Change classification.taxonomy and classification.type from
>
>          "classification.taxonomy" : "other",
>          "classification.type" : "other",
>
> to
>          "classification.taxonomy" : "vulnerable",
>          "classification.type" : "vulnerable-system",
>
> for open-mysql, open-postgres, open-couchdb, open-epmd.
>
> This change should be documented here:
> https://github.com/The-Shadowserver-Foundation/report_schema/blob/main/completed-changes.md 
>
>
>
> 4)
> Correct classification.identifier for vulnerable-http:
> =====================
>    "scan_http_vulnerable" : {
>        "constant_fields" : {
> -         "classification.identifier" : "accessible-http",
> +         "classification.identifier" : "vulnerable-http",
>
>     "scan6_http_vulnerable" : {
>        "constant_fields" : {
> -         "classification.identifier" : "accessible-http",
> +         "classification.identifier" : "vulnerable-http",
> =====================
>
> This change should be documented here:
> https://github.com/The-Shadowserver-Foundation/report_schema/blob/main/completed-changes.md 
>
>
>
> Please find the updates intelmq.json attached.
>
>
> Kind regards
> Thomas
>
>
> On 31.01.24 16:42, elsif wrote:
>> Hello,
>>
>> Proposed changes are attached. Please let me know if you agree with 
>> the changes or have any alterations.
>>
>> Regards
>>
>> On 1/31/24 7:05 AM, Thomas Hungenberg wrote:
>>> Hi,
>>>
>>> Sebastian (sebix) told me it was agreed that with the translation
>>> from the current parser _config.py (included with IntelMQ 3.2.1)
>>> to the new schema, no classification.* attributes will be changed.
>>>
>>> This is very important as our setup (and most probably others as well)
>>> heavily depends on known classification identifiers like "open-rdp"
>>> and classification types from the initial parsing of events up to
>>> notification_rules and formats/templates for mailgen.
>>> So with a change of a classification attribute lots of scripts and
>>> configs would need to be changed as well.
>>>
>>> Looking at the current schema, I see the classification identifiers
>>> are still correct for some feeds for both IPv4 and IPv6 like here:
>>>
>>>    "scan_dns" : {
>>>       "constant_fields" : {
>>>          "classification.identifier" : "dns-open-resolver",
>>>
>>>    "scan6_dns" : {
>>>       "constant_fields" : {
>>>          "classification.identifier" : "dns-open-resolver",
>>>
>>>
>>> However, for other feeds the classification identifier has been kept
>>> correctly for IPv4 like here:
>>>
>>>    "scan_rdp" : {
>>>       "constant_fields" : {
>>>          "classification.identifier" : "open-rdp",
>>>
>>>    "compromised_website" : {
>>>       "constant_fields" : {
>>>          "classification.identifier" : "compromised-website",
>>>
>>>
>>> but for IPv6 it has changed to the name of the feed:
>>>
>>>    "scan6_rdp" : {
>>>       "constant_fields" : {
>>>          "classification.identifier" : "scan6-rdp",   <- should be 
>>> "open-rdp"
>>>
>>>    "compromised_website6" : {
>>>       "constant_fields" : {
>>>          "classification.identifier" : "compromised-website6", <- 
>>> should be "compromised-website"
>>>
>>>
>>> The classification.identifier should describe the incident (like 
>>> "open-rdp")
>>> and not the source (like "scan6-rdp").
>>>
>>> May I ask you to check and adjust all classification identifiers and 
>>> types
>>> in the schema so they are consistent with the ones generated by the 
>>> current
>>> _config.py?
>>>
>>>
>>> Thanks a lot for all your work on the new schema based parser!
>>>
>>>
>>> Kind regards
>>> Thomas
>>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intelmq.json
Type: application/json
Size: 587312 bytes
Desc: not available
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20240202/59b2820b/attachment-0001.json>


More information about the IntelMQ-dev mailing list