Các tham số sự cố

Đối với EDR Threat Response, bạn cần chỉ định các tham số yêu cầu cơ bản, ví dụ như ở định dạng JSON:

Để cấu hình EDR Threat Response, bạn cần chỉ định thiết lập tác vụ ở định dạng JSON trong tham số "KLINCDT_BODY": json.dumps(data). Kết quả là, ứng dụng sẽ tạo ra [Response][KUMA] <task type> - <Date> <Time> - <ID> trong bảng điều khiển Kaspersky Security Center.

Lấy tập tingetFile

Thiết lập tác vụ Lấy tập tin

Tham số

Loại

Mô tả

md5hash

string

Giá trị hash MD5 của tập tin bạn muốn lấy.

sha256hash

string

Giá trị hash SHA256 của tập tin bạn muốn lấy.

path

string

Đường dẫn đến tập tin bạn muốn lấy.

Ví dụ

type getFile = {

task: 'getFile';

targetHost: string;

params: {

// an empty string or a valid md5 hash of the file

md5hash: string;

// an empty string or a valid sha256 hash of the file

sha256hash: string;

// the path to the file

path: string;

};

responseEventIncidentArea: string;

};

Xóa tập tindeleteFile

Thiết lập tác vụ Xóa tập tin

Tham số

Loại

Mô tả

md5hash

string

Giá trị hash MD5 của tập tin bạn muốn xóa.

sha256hash

string

Giá trị hash SHA256 của tập tin bạn muốn xóa.

path

string

Đường dẫn đến tập tin bạn muốn xóa.

searchInSubfolders?

boolean

Tìm kiếm tập tin mà bạn muốn xóa trong các thư mục con.

Ví dụ

type deleteFile = {

task: 'deleteFile';

targetHost: string;

params: {

// an empty string or a valid md5 hash of the file

md5hash: string;

// an empty string or a valid sha256 hash of the file

sha256hash: string;

// the path to the file

path: string;

// recursive search for a file (subfolder), optional

searchInSubfolders?: boolean;

};

responseEventIncidentArea: string;

};

Di chuyển tập tin đến Khu vực cách lyquarantineFile

Thiết lập tác vụ Di chuyển tập tin đến Khu vực cách ly

Tham số

Loại

Mô tả

md5hash

string

Giá trị hash MD5 của tập tin bạn muốn cách ly.

sha256hash

string

Giá trị hash SHA256 của tập tin bạn muốn cách ly.

path

string

Đường dẫn đến tập tin bạn muốn cách ly.

Ví dụ

type quarantineFile = {

task: 'quarantineFile';

targetHost: string;

params: {

// an empty string or a valid md5 hash of the file

md5hash: string;

// an empty string or a valid sha256 hash of the file

sha256hash: string;

// the path to the file

path: string;

};

responseEventIncidentArea: string;

};

Quét IOCiocScan

Thiết lập tác vụ Quét IOC

Tham số

Loại

Mô tả

ioc

string

Đường dẫn đến tập tin ZIP chứa tập tin IOC được mã hóa theo chuẩn base64 mà bạn muốn sử dụng để quét. Đối số bắt buộc. Nhập đối số này theo cách thủ công.

isolateHost

boolean

Cô lập máy tính khỏi mạng khi phát hiện dấu hiệu xâm nhập để ngăn chặn mối đe dọa lây lan.

scanCriticalAreas

boolean

Chạy tác vụ Quét khu vực quan trọng khi phát hiện dấu hiệu xâm nhập.

quarantineObject

boolean

Xóa đối tượng độc hại khi phát hiện dấu hiệu xâm nhập. Trước khi xóa đối tượng, Kaspersky Endpoint Security sẽ tạo một bản sao lưu trong trường hợp đối tượng cần được khôi phục sau này. Kaspersky Endpoint Security sẽ di chuyển bản sao lưu vào Khu vực cách ly.

Ví dụ

type iocScan = {

task: 'iocScan';

targetHost: string;

params: {

// the path to the zip archive with ioc files in base64 encoding

ioc: string;

// isolation of the computer from the network

isolateHost: boolean;

// critical areas scan

scanCriticalAreas: boolean;

// quarantine the file

quarantineObject: boolean;

};

responseEventIncidentArea: string;

};

Bắt đầu tiến trìnhstartProcess

Thiết lập tác vụ Bắt đầu tiến trình

Tham số

Loại

Mô tả

executablePath

string

Đường dẫn đến tập tin thực thi được sử dụng để khởi chạy tiến trình.

arguments?

string

Đối số dòng lệnh bổ sung để khởi chạy tiến trình.

workingFolder?

string

Đường dẫn đến thư mục làm việc của tiến trình.

Ví dụ

type startProcess = {

task: 'startProcess';

targetHost: string;

params: {

// the path to the file

executablePath: string;

// command line arguments, optional

arguments?: string;

// a working folder, optional

workingFolder?: string;

};

responseEventIncidentArea: string;

};

Chấm dứt tiến trìnhterminateProcess

Thiết lập tác vụ Chấm dứt tiến trình

Tham số

Loại

Mô tả

md5hash

string

Giá trị hash MD5 của tập tin mà bạn muốn chấm dứt tiến trình.

sha256hash

string

Giá trị hash SHA256 của tập tin mà bạn muốn chấm dứt tiến trình.

path

string

Đường dẫn đến tập tin bạn muốn xóa.

caseSensitive

boolean

Phân biệt chữ hoa chữ thường khi tìm kiếm tập tin.

Ví dụ

type terminateProcess = {

task: 'terminateProcess';

targetHost: string;

params: {

// an empty string or a valid md5 hash of the file

md5hash: string;

// an empty string or a valid sha256 hash of the file

sha256hash: string;

// the path to the file

path: string;

// case sensitive of the file name

caseSensitive: boolean;

};

responseEventIncidentArea: string;

};

Cách ly mạng máy tính – isolateHost

Thiết lập cách ly mạng máy tính

Tham số

Loại

Mô tả

action

string

Giá trị hash MD5 của tập tin bạn muốn lấy.

Ví dụ

type isolateHost = {

task: 'isolateHost';

targetHost: string;

params: {

// 0 - turning off network isolation, 1 - turning on network isolation

action: number;

};

responseEventIncidentArea: string;

};

Phòng chống thực thi – preventExecution

Thiết lập Phòng chống thực thi

Tham số

Loại

Mô tả

hash

string

Giá trị hash MD5 của tập tin mà bạn muốn ngăn không cho chạy.

path

string

Đường dẫn đến tập tin mà bạn muốn ngăn không cho chạy.

caseSensitive

boolean

Phân biệt chữ hoa chữ thường khi tìm kiếm tập tin.

Ví dụ

type preventExecution = {

task: 'preventExecution';

targetHost: string;

params: {

// a valid md5 hash of the file

hash: string;

// the path to the file

path: string;

// case sensitive of the file name

caseSensitive: boolean;

};

responseEventIncidentArea: string;

};

Quét phần mềm độc hạionDemandScan

Thiết lập tác vụ Quét phần mềm độc hại

Tham số

Loại

Mô tả

path

string

Danh sách các tập tin và thư mục được phân cách bằng dấu cách để Quét tùy chỉnh.

recursive

boolean

Chế độ quét đệ quy.

type

number

Phạm vi quét.

ScanObjectType = Enum("ScanObjectType",

[

("SystemMemory", 14),

("StartupObjectsAndRunningProcesses", 15),

("DiskBootSectors", 16),

("SystemBackupStorage", 17),

("Email", 18),

("Folder", 22),

("AllRemovableDrives", 23),

("AllNetworkDrives", 24),

("AllFixedDrives", 25)])

Ví dụ

type onDemandScan = {

task: 'onDemandScan';

targetHost: string;

// please note, this is an array

// array of scan object

params: [{

// enabling the scan object

enabled: boolean;

// an empty string or the path to the folder to scan

path: string;

// recursive scan mode

recursive: boolean;

// ID scan object

type: number;

}];

responseEventIncidentArea: string;

};

Về đầu trang