Security

Difference between Event hashing and IT block signing

lohit
Path Finder

Hi all,

I would like to know the difference between Event Hashing & IT block signing on measures like which is more secure, better on performance.

Also can someone guide me to a script for signing archive data as well. It would be of great help.

Thank you

Regards
Lohit

Tags (2)
0 Karma

kristian_kolb
Ultra Champion

I think the docs say it pretty well regarding performance and differences. If your installation supports Block Signing, go with that. For signing of archived data, see below as well.

/Kristian

Block signing.

http://docs.splunk.com/Documentation/Splunk/latest/Security/ITDataSigning

Performance implications
Because of the additional processing overhead, indexing with IT data signing enabled can negatively affect indexing performance. Smaller blocks mean more blocks to sign and larger blocks require more work on display. Experiment with block size to determine optimal performance, as small events can effectively use slightly larger blocks. The block size setting is a maximum, you may have smaller blocks if you are not indexing enough events to fill a block in a few seconds. This allows incoming events to be signed even when the indexing rate is very slow.

Turning IT data signing ON slows indexing.
Setting the blockSignSize attribute to high integer values (such as 1000) slows indexing performance.
For best performance, set blockSignSize to a value near 100.

Distributed search
Block signing is not supported for distributed search.

Event Hashing.

http://docs.splunk.com/Documentation/Splunk/latest/Security/Eventhashing

About event hashing
Event hashing provides a lightweight way to detect if events have been tampered with between index time and search time.

Event hashes aren't cryptographically secure. Someone could tamper with an event if they have physical access to a machine's file system.

You should use event hashing only if you don't have the capability to run Splunk's IT data block signing feature; individual event hashing is more resource intensive than data block signing.

Note: Event hashing is not available for cluster configurations.

Archiving script.

http://docs.splunk.com/Documentation/Splunk/6.0/Indexer/Automatearchiving#Specify_an_archiving_scrip...

Splunk ships with an example archiving script that you can edit, $SPLUNK_HOME/bin/coldToFrozenExample.py.

Signing archived data.

http://docs.splunk.com/Documentation/Splunk/latest/Security/Configurearchivesigning#Add_archive_sign...

You can add signing to any custom archiving script. You just add a single line for the signtool -s utility. Place this line anywhere after the data formatting lines in the script, but before the lines that copy the data to the archive.
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...