Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
de33c11
wip behavior change
parkiino Dec 16, 2024
11f7e0d
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Dec 17, 2024
6a99658
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Jan 14, 2025
704c7f2
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Jan 29, 2025
824525d
wip adjusted behavior
parkiino Feb 10, 2025
4c6be56
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Feb 12, 2025
47d86bf
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Feb 14, 2025
3871e23
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Feb 18, 2025
53d833c
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Feb 21, 2025
e75ec46
modified file, process and dll helper functions
parkiino Feb 25, 2025
14d6067
working code
parkiino Feb 27, 2025
71d4a46
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Mar 13, 2025
6a9f480
fix tests, remove console logs
parkiino Mar 13, 2025
fa1e0c3
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Mar 13, 2025
2270bd6
wip resolving types
parkiino Mar 18, 2025
46da789
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Mar 18, 2025
982468a
Merge branch 'bug/nested-exceptions' of github.com:parkiino/kibana in…
parkiino Mar 18, 2025
8ba3c88
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Mar 19, 2025
2a4c00c
fix type errors
parkiino Mar 24, 2025
14ece84
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Mar 24, 2025
ad14345
prevent duplicate code signatures
parkiino Mar 26, 2025
91d205b
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Mar 26, 2025
e17cf7f
revert generator chagnes for now
parkiino Mar 31, 2025
9f6657d
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Mar 31, 2025
8aab9b1
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Mar 31, 2025
ea575a3
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Apr 3, 2025
58b1293
adjust codeSignature.trusted type to reflect actual ecs data
parkiino Apr 3, 2025
199e40c
types
parkiino Apr 4, 2025
c0e6387
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Apr 9, 2025
88211c1
Merge branch 'main' into bug/nested-exceptions
elasticmachine Apr 9, 2025
ee8f905
Merge branch 'main' into bug/nested-exceptions
elasticmachine Apr 14, 2025
6713268
Merge branch 'main' into bug/nested-exceptions
elasticmachine Apr 15, 2025
68e2200
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Apr 18, 2025
7bc8bb0
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Apr 22, 2025
7421c40
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Apr 22, 2025
c777296
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino Apr 26, 2025
776dfa8
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino May 5, 2025
472aa7a
reduce duplication
parkiino May 7, 2025
69ff229
fix types
parkiino May 8, 2025
36ff782
Merge remote-tracking branch 'upstream/main' into bug/nested-exceptions
parkiino May 8, 2025
2fe4bbb
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine May 8, 2025
22d9a9f
Merge branch 'main' into bug/nested-exceptions
elasticmachine May 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/

import type { CodeSignature } from '../file';
import type { CodeSignature, Ext } from '../file';
import type { ProcessPe } from '../process';

export interface DllEcs {
Ext?: Ext;
path?: string;
code_signature?: CodeSignature;
pe?: ProcessPe;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface Original {

export interface CodeSignature {
subject_name: string[];
trusted: string[];
trusted: boolean;
}

export interface Token {
Expand Down Expand Up @@ -72,6 +72,8 @@ export interface FileEcs {

type?: string[];

code_signature?: CodeSignature;

device?: string[];

inode?: string[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ export class EndpointDocGenerator extends BaseDataGenerator {
trusted: false,
subject_name: 'bad signer',
},
{
trusted: true,
subject_name: 'a good signer',
},
],
malware_classification: {
identifier: 'endpointpe',
Expand Down Expand Up @@ -900,6 +904,10 @@ export class EndpointDocGenerator extends BaseDataGenerator {
trusted: false,
subject_name: 'bad signer',
},
{
trusted: true,
subject_name: 'good signer',
},
],
user: 'SYSTEM',
token: {
Expand All @@ -921,36 +929,34 @@ export class EndpointDocGenerator extends BaseDataGenerator {
* Returns the default DLLs used in alerts
*/
private getAlertsDefaultDll() {
return [
{
pe: {
architecture: 'x64',
},
code_signature: {
subject_name: 'Cybereason Inc',
trusted: true,
},
return {
pe: {
architecture: 'x64',
},
code_signature: {
subject_name: 'Cybereason Inc',
trusted: true,
},

hash: {
md5: '1f2d082566b0fc5f2c238a5180db7451',
sha1: 'ca85243c0af6a6471bdaa560685c51eefd6dbc0d',
sha256: '8ad40c90a611d36eb8f9eb24fa04f7dbca713db383ff55a03aa0f382e92061a2',
},
hash: {
md5: '1f2d082566b0fc5f2c238a5180db7451',
sha1: 'ca85243c0af6a6471bdaa560685c51eefd6dbc0d',
sha256: '8ad40c90a611d36eb8f9eb24fa04f7dbca713db383ff55a03aa0f382e92061a2',
},

path: 'C:\\Program Files\\Cybereason ActiveProbe\\AmSvc.exe',
Ext: {
compile_time: 1534424710,
mapped_address: 5362483200,
mapped_size: 0,
malware_classification: {
identifier: 'Whitelisted',
score: 0,
threshold: 0,
version: '3.0.0',
},
path: 'C:\\Program Files\\Cybereason ActiveProbe\\AmSvc.exe',
Ext: {
compile_time: 1534424710,
mapped_address: 5362483200,
mapped_size: 0,
malware_classification: {
identifier: 'Whitelisted',
score: 0,
threshold: 0,
version: '3.0.0',
},
},
];
};
}

/**
Expand Down
Loading