File tree Expand file tree Collapse file tree 5 files changed +166
-9
lines changed
data_stream/sysmon_operational
elasticsearch/ingest_pipeline Expand file tree Collapse file tree 5 files changed +166
-9
lines changed Original file line number Diff line number Diff line change 11# newer versions go on top
2+ - version : " 1.23.0"
3+ changes :
4+ - description : Allow DNS query responses to have no data.
5+ type : enhancement
6+ link : https://github.com/elastic/integrations/pull/6508
27- version : " 1.22.0"
38 changes :
49 - description : Set `host.os.type` and `host.os.family` in forwarded events.
510 type : enhancement
6- link : https://github.com/elastic/integrations/pull/1
11+ link : https://github.com/elastic/integrations/pull/6180
712- version : " 1.21.1"
813 changes :
914 - description : Improve regular expression search efficiency to allow parsing large events.
Original file line number Diff line number Diff line change 94839483 "log": {
94849484 "level": "information"
94859485 }
9486+ },
9487+ {
9488+ "event": {
9489+ "code": "22",
9490+ "kind": "event",
9491+ "provider": "Microsoft-Windows-Sysmon"
9492+ },
9493+ "host": {
9494+ "name": "internal.network.org"
9495+ },
9496+ "log": {
9497+ "level": "information"
9498+ },
9499+ "winlog": {
9500+ "channel": "Microsoft-Windows-Sysmon/Operational",
9501+ "computer_name": "internal.network.org",
9502+ "event_data": {
9503+ "Image": "C:\\Windows\\System32\\lsass.exe",
9504+ "ProcessGuid": "{00000000-0000-0000-0000-000000000000}",
9505+ "ProcessId": "500",
9506+ "QueryName": "some.other.domain.com",
9507+ "QueryResults": "type: 33 ;type: 33 ;81.2.69.144;81.2.69.142;",
9508+ "QueryStatus": "0",
9509+ "RuleName": "-",
9510+ "User": "NT AUTHORITY\\SYSTEM",
9511+ "UtcTime": "2000-01-01T00:00:00.000"
9512+ },
9513+ "event_id": "22",
9514+ "level": "information",
9515+ "opcode": "Info",
9516+ "process": {
9517+ "pid": 1000,
9518+ "thread": {
9519+ "id": 2000
9520+ }
9521+ },
9522+ "provider_guid": "{00000000-0000-0000-0000-000000000000}",
9523+ "provider_name": "Microsoft-Windows-Sysmon",
9524+ "record_id": 1111,
9525+ "time_created": "2000-01-01T00:00:00Z",
9526+ "user": {
9527+ "identifier": "A-0-0-00"
9528+ },
9529+ "version": 5
9530+ }
94869531 }
94879532 ]
94889533}
Original file line number Diff line number Diff line change @@ -22758,6 +22758,108 @@
2275822758 },
2275922759 "version": 5
2276022760 }
22761+ },
22762+ {
22763+ "dns": {
22764+ "answers": [
22765+ {
22766+ "type": "SRV"
22767+ },
22768+ {
22769+ "type": "SRV"
22770+ },
22771+ {
22772+ "data": "81.2.69.144",
22773+ "type": "A"
22774+ },
22775+ {
22776+ "data": "81.2.69.142",
22777+ "type": "A"
22778+ }
22779+ ],
22780+ "question": {
22781+ "name": "some.other.domain.com",
22782+ "registered_domain": "domain.com",
22783+ "subdomain": "some.other",
22784+ "top_level_domain": "com"
22785+ },
22786+ "resolved_ip": [
22787+ "81.2.69.144",
22788+ "81.2.69.142"
22789+ ]
22790+ },
22791+ "ecs": {
22792+ "version": "8.0.0"
22793+ },
22794+ "event": {
22795+ "category": [
22796+ "network"
22797+ ],
22798+ "code": "22",
22799+ "created": "2000-01-01T00:00:00.000Z",
22800+ "kind": "event",
22801+ "provider": "Microsoft-Windows-Sysmon",
22802+ "type": [
22803+ "connection",
22804+ "protocol",
22805+ "info"
22806+ ]
22807+ },
22808+ "host": {
22809+ "name": "internal.network.org"
22810+ },
22811+ "log": {
22812+ "level": "information"
22813+ },
22814+ "network": {
22815+ "protocol": "dns"
22816+ },
22817+ "process": {
22818+ "executable": "C:\\Windows\\System32\\lsass.exe",
22819+ "name": "lsass.exe",
22820+ "pid": 500
22821+ },
22822+ "related": {
22823+ "hosts": [
22824+ "some.other.domain.com"
22825+ ],
22826+ "ip": [
22827+ "81.2.69.144",
22828+ "81.2.69.142"
22829+ ],
22830+ "user": [
22831+ "SYSTEM"
22832+ ]
22833+ },
22834+ "sysmon": {
22835+ "dns": {
22836+ "status": "SUCCESS"
22837+ }
22838+ },
22839+ "user": {
22840+ "domain": "NT AUTHORITY",
22841+ "id": "A-0-0-00",
22842+ "name": "SYSTEM"
22843+ },
22844+ "winlog": {
22845+ "channel": "Microsoft-Windows-Sysmon/Operational",
22846+ "computer_name": "internal.network.org",
22847+ "event_id": "22",
22848+ "opcode": "Info",
22849+ "process": {
22850+ "pid": 1000,
22851+ "thread": {
22852+ "id": 2000
22853+ }
22854+ },
22855+ "provider_guid": "{00000000-0000-0000-0000-000000000000}",
22856+ "provider_name": "Microsoft-Windows-Sysmon",
22857+ "record_id": "1111",
22858+ "user": {
22859+ "identifier": "A-0-0-00"
22860+ },
22861+ "version": 5
22862+ }
2276122863 }
2276222864 ]
2276322865}
Original file line number Diff line number Diff line change @@ -788,15 +788,20 @@ processors:
788788
789789 if (answer.startsWith("type:")) {
790790 def parts = /\s+/.split(answer);
791- if (parts.length != 3 ) {
791+ if (parts.length < 2 ) {
792792 throw new Exception("unexpected QueryResult format");
793793 }
794-
795- answers.add([
796- "type": params[parts[1]],
797- "data": parts[2]
798- ]);
799- relatedHosts.add(parts[2]);
794+ if (parts.length == 3) {
795+ answers.add([
796+ "type": params[parts[1]],
797+ "data": parts[2]
798+ ]);
799+ relatedHosts.add(parts[2]);
800+ } else {
801+ answers.add([
802+ "type": params[parts[1]]
803+ ]);
804+ }
800805 } else {
801806 answer = answer.replace("::ffff:", "");
802807 ips.add(answer);
Original file line number Diff line number Diff line change 11name : windows
22title : Windows
3- version : 1.22 .0
3+ version : 1.23 .0
44description : Collect logs and metrics from Windows OS and services with Elastic Agent.
55type : integration
66categories :
You can’t perform that action at this time.
0 commit comments