Overview
overview
10Static
static
5LoudestOnCord.exe
windows10-2004-x64
10LoudestOnCord.exe
windows11-ltsc_2024-x64
10VCRUNTIME140.dll
windows10-2004-x64
1VCRUNTIME140.dll
windows11-ltsc_2024-x64
1VCRUNTIME140_1.dll
windows10-2004-x64
1VCRUNTIME140_1.dll
windows11-ltsc_2024-x64
1glib-2.0.dll
windows10-2004-x64
10glib-2.0.dll
windows11-ltsc_2024-x64
10gmodule-2.0.dll
windows10-2004-x64
10gmodule-2.0.dll
windows11-ltsc_2024-x64
10gobject-2.0.dll
windows10-2004-x64
10gobject-2.0.dll
windows11-ltsc_2024-x64
10intl.dll
windows10-2004-x64
10intl.dll
windows11-ltsc_2024-x64
8pcre.dll
windows10-2004-x64
1pcre.dll
windows11-ltsc_2024-x64
1vmtools.dll
windows10-2004-x64
10vmtools.dll
windows11-ltsc_2024-x64
10General
- Target LoudestOnCord.zip
- Size 3.1MB
- Sample261104-s6f2tadh38
- SHA256 f9b08fabfddc95ae6d7d13a859e05a564e374e6f4b05f060c3f0fc92f8cffbd7
- MD5 930d569eb40ba986335a11ca15a9e018
- SHA1 0e7e333a1052ff439d244ccd0ba584535b7a43a0
- SHA512 5709ddaa7a140dc9bf2d6dc1e284fbf78072cc0d8d816197661a6dca2ad138b85280a10e5cdd2055f63813610163ece2244d99628279e41a62606ffa3e5d08c2
- SSDEEP 49152:UaThYXgexdMbimUKrrmYFAsSKtvcH3c9peHFaY8aaxBE4lO3Zdhi40hSgIEEmVtn:RNimzrmYew9peHWx24E3ZdhW
- TLSH T1D1E56D45B35434A6FBAAC83585A29313E2B174040B6356DF2E6CC6691F3FBE2123EF05
- MD5 SHA1 SHA512 SSDEEP TLSH
Static task
static1
Behavioral task
behavioral1
Sample
LoudestOnCord.exe
Resource
win10v2004-20260911-en
Behavioral task
behavioral2
Sample
LoudestOnCord.exe
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral3
Sample
VCRUNTIME140.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral4
Sample
VCRUNTIME140.dll
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral5
Sample
VCRUNTIME140_1.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral6
Sample
VCRUNTIME140_1.dll
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral7
Sample
glib-2.0.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral8
Sample
glib-2.0.dll
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral9
Sample
gmodule-2.0.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral10
Sample
gmodule-2.0.dll
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral11
Sample
gobject-2.0.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral12
Sample
gobject-2.0.dll
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral13
Sample
intl.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral14
Sample
intl.dll
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral15
Sample
pcre.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral16
Sample
pcre.dll
Resource
win11ltsc2024-20260911-en
Behavioral task
behavioral17
Sample
vmtools.dll
Resource
win10v2004-20260911-en
Behavioral task
behavioral18
Sample
vmtools.dll
Resource
win11ltsc2024-20260911-en
Malware Config
Extracted
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto\Cipher\__pycache__\_mode_siv.cpython-312.pyc
- � ���� S�j�4����������������������������d�Z�ddlmZ�ddlmZ�ddlmZmZmZm Z �dgZ ddlmZ�ddl mZ�ddlmZ�dd lmZ�dd lmZ�erddlmZ�eeeef���Z�G�d��d�������Zd ��Zy)z- Synthetic Initialization Vector (SIV) mode. �����)�annotations)�compare_digest)� TYPE_CHECKING�Optional�Union�overload�SivMode)� unhexlify)�Method)�_S2V)� is_buffer)� bytes_to_long)� ModuleTypec�������������������������e�Zd�ZdZdd�Zd��Zdd�Zdd�Zdd�Zdd�Z dd�Z dd �Zdd �Ze dd���������Ze � � � � � �dd���������Z �d � � � � �dd�Ze dd���������Ze � � � � � � � �dd���������Z �d � � � � � � �d d�Zy )!r ���a���Synthetic Initialization Vector (SIV). This is an Authenticated Encryption with Associated Data (`AEAD`_) mode. It provides both confidentiality and authenticity. The header of the message may be left in the clear, if needed, and it will still be subject to authentication. The decryption step tells the receiver if the message comes from a source that really knows the secret key. Additionally, decryption detects if any part of the message - including the header - has been modified or corrupted. Unlike other AEAD modes such as CCM, EAX or GCM, accidental reuse of a nonce is not catastrophic for the confidentiality of the message. The only effect is that an attacker can tell when the same plaintext (and same associated data) is protected with the same key. The length of the MAC is fixed to the block size of the underlying cipher. The key size is twice the length of the key of the underlying cipher. This mode is only available for AES ciphers. +--------------------+---------------+-------------------+ | Cipher | SIV MAC size | SIV key length | | | (bytes) | (bytes) | +====================+===============+===================+ | AES-128 | 16 | 32 | +--------------------+---------------+-------------------+ | AES-192 | 16 | 48 | +--------------------+---------------+-------------------+ | AES-256 | 16 | 64 | +--------------------+---------------+-------------------+ See `RFC5297`_ and the `original paper`__. .. _RFC5297: https://tools.ietf.org/html/rfc5297 .. _AEAD: http://blog.cryptographyengineering.com/2012/05/how-to-choose-authenticated-encryption.html .. __: http://www.cs.ucdavis.edu/~rogaway/papers/keywrap.pdf c�����������������t����|j�������������������|�_��������� �||�_��������||�_��������t��������|�������dvrt ��������dt��������|�������z����������|�@t��������|�������st ��������d��������t��������|�������dk(��rt ��������d��������t��������|�������|�_�������� �t��������|�������dz��}d�|�_ ��������t��������|d�|�||�j��������������������������|�_��������||d��|�_���������|j������������������|d�|�|j������������������fi�|���t��������j ������������������t��������j"������������������t��������j$������������������t��������j&������������������t��������j(������������������g|�_��������y�)N)� ����0����@���zIncorrect key length (%d bytes)z?When provided, the nonce must be bytes, bytearray or memoryviewr���z*When provided, the nonce must be non-empty����)� ciphermod� cipher_params)� block_size�_factory�_cipher_params�len� ValueErrorr ���� TypeError�bytes�nonce�_mac_tagr����_kdf�_subkey_cipher�new�MODE_ECBr����UPDATE�ENCRYPT�DECRYPT�DIGEST�VERIFY�_next)�self�factory�keyr����kwargs�subkey_sizes��� �jC:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto/Cipher/_mode_siv.py�__init__zSivMode.__init__D���s�����!�,�,���@��� �$����s�8�<�'��>��S��I�J�J����U�#�� a�b�b��5�z�Q�� �!M�N�N��u��D�J� ���#�h�!�m��)-�� ���\�k�*�g�T�M`�M`�a�� �!�+�,�/���� ����C���%�w�'7�'7�B�6�B���m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �����c�����������������������t��������|�������}|dz��}�|�j������������������j������������������|�j������������������|�j������������������j������������������f|dd�|�j ��������������������S�)z*Create a new CTR cipher from V in SIV model �������������r2���)� initial_valuer���)r���r���r#���r"����MODE_CTRr���)r+����v�v_int�qs��� r0����_create_ctr_cipherzSivMode._create_ctr_cipherf���s`��������a� ���6�6�� �t�}�}� � �������!7�!7� �GH�PS� �W[�Wj�Wj� �� r2���c�����������������.����t���������j������������������|�j������������������vrt��������d��������t���������j������������������t���������j������������������t���������j ������������������t���������j������������������t���������j������������������g|�_��������|�j������������������j������������������|��������|�S�)a���Protect one associated data component For SIV, the associated data is a sequence (*vector*) of non-empty byte strings (*components*). This method consumes the next component. It must be called once for each of the components that constitue the associated data. Note that the components have clear boundaries, so that: >>> cipher.update(b"builtin") >>> cipher.update(b"securely") is not equivalent to: >>> cipher.update(b"built") >>> cipher.update(b"insecurely") If there is no associated data, this method must not be called. Args: component (bytes/bytearray/memoryview): The next associated data component. z<update() can only be called immediately after initialization) r���r%���r*���r���r&���r'���r(���r)���r!����update)r+���� components��� r0���r;���zSivMode.updateo���s`������4��=�=�� � �*��Z�[�[��m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �� � ����#��r2���c����������������������t��������d��������)z� For SIV, encryption and MAC authentication must take place at the same point. This method shall not be used. Use `encrypt_and_digest` instead. zEencrypt() not allowed for SIV mode. Use encrypt_and_digest() instead.�r����r+���� plaintexts��� r0����encryptzSivMode.encrypt�������������_�`�`r2���c����������������������t��������d��������)z� For SIV, decryption and verification must take place at the same point. This method shall not be used. Use `decrypt_and_verify` instead. zEdecrypt() not allowed for SIV mode. Use decrypt_and_verify() instead.r>���)r+���� ciphertexts��� r0����decryptzSivMode.decrypt����rB���r2���c�����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������|�j������������������S�)a ��Compute the *binary* MAC tag. The caller invokes this function at the very end. This method returns the MAC that shall be sent to the receiver, together with the ciphertext. Returns: the MAC, as a byte string. zAdigest() cannot be called when decrypting or validating a message)r���r(���r*���r���r ���r!����derive�r+���s��� r0����digestzSivMode.digest����sU��������=�=�� � �*��_�`�`��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��}�}�r2���c�����������������>�����|�j��������������������������j��������������������������S�)z�Compute the *printable* MAC tag. This method is like `digest`. Returns: the MAC, as a hexadecimal string. )rI����hexrH���s��� r0���� hexdigestzSivMode.hexdigest����s��������{�{�}� � �"�"r2���c���������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������t��������|�j������������������|�������st��������d��������y)a<��Validate the *binary* MAC tag. The caller invokes this function at the very end. This method checks if the decrypted message is indeed valid (that is, if the key is correct) and it has not been tampered with while in transit. Args: received_mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z3verify() cannot be called when encrypting a messageNzMAC check failed) r���r)���r*���r���r ���r!���rG���r���r���)r+����received_mac_tags��� r0����verifyzSivMode.verify����sk������$��=�=�� � �*��Q�R�R��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��d�m�m�-=�>��/�0�0��?r2���c�����������������8�����|�j������������������t��������|���������������y)ak��Validate the *printable* MAC tag. This method is like `verify`. Args: hex_mac_tag (string): This is the *printable* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. N)rO���r ���)r+����hex_mac_tags��� r0���� hexverifyzSivMode.hexverify����s������� ���I�k�*�+r2���c�����������������������y��N��r?���s��� r0����encrypt_and_digestzSivMode.encrypt_and_digest����s������LOr2���c�����������������������y�rT���rU���)r+���r@����outputs��� r0���rV���zSivMode.encrypt_and_digest����s�������!r2���Nc����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|��������|�j������������������j��������������������������|�_ ��������|�j������������������|�j�������������������������}|j������������������||��������|�j������������������fS�)a)��Perform encrypt() and digest() in one step. Args: plaintext (bytes/bytearray/memoryview): The piece of data to encrypt. Keyword Args: output (bytearray/memoryview): The location where the ciphertext must be written to. If ``None``, the ciphertext is returned. Returns: The tuple ``(ciphertext, tag)``, both ``bytes``. The ciphertext is ``None`` when the ``output`` parameter specified a location for the result. z@encrypt() can only be called after initialization or an update()r����rX���) r���r&���r*���r���r(����hasattrr!���r;���r���rG���r ���r9���rA���)r+���r@���rX����ciphers��� r0���rV���zSivMode.encrypt_and_digest����s�������$��>�>����+��^�_�_��m�m�_�� ���4��!��I�I���T�Z�Z�(�� � ����#�� � �(�(�*�� ��(�(����7���~�~�i��~�7����F�Fr2���c�����������������������y�rT���rU���)r+���rD����mac_tags��� r0����decrypt_and_verifyzSivMode.decrypt_and_verify��s������PSr2���c�����������������������y�rT���rU���)r+���rD���r^���rX���s��� r0���r_���zSivMode.decrypt_and_verify��s�������r2���c����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j������������������|�������|�_��������|�j������������������j������������������||��������}t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|�|n|��������|�j������������������|��������|S�)a���Perform decryption and verification in one step. A cipher object is stateful: once you have decrypted a message you cannot decrypt (or encrypt) another message with the same object. You cannot reuse an object for encrypting or decrypting other data with the same key. This function does not remove any padding from the plaintext. Args: ciphertext (bytes/bytearray/memoryview): The piece of data to decrypt. It can be of any length. mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Keyword Args: output (bytearray/memoryview): The location where the plaintext must be written to. If ``None``, the plaintext is returned. Returns: the plaintext as ``bytes`` or ``None`` when the ``output`` parameter specified a location for the result. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z@decrypt() can only be called after initialization or an update()rZ���r���) r���r'���r*���r���r)���r9����_cipherrE���r[���r!���r;���r���rO���)r+���rD���r^���rX���r@���s��� r0���r_���zSivMode.decrypt_and_verify��s�������B��>�>����+��^�_�_��m�m�_�� ���.�.�w�7����L�L�(�(��F�(�C� ��4��!��I�I���T�Z�Z�(�� � ���f�n��&�A����G���r2���) r,���r���r-����Bufferr���rc���r.����dict�return�None)r<���rc���re���r ���)r@���rc���re���r���)rD���rc���re���r���)re���r���)re����str)rN���rc���re���rf���)rQ���rg���re���rf���)r@���rc���re���ztuple[bytes, bytes])r@���rc���rX����Union[bytearray, memoryview]re���ztuple[None, bytes]rT���)r@���rc���rX����&Optional[Union[bytearray, memoryview]]re���ztuple[Optional[bytes], bytes])rD���rc���r^���rc���re���r���)rD���rc���r^���rc���rX���rh���re���rf���)rD���rc���r^���rc���rX���ri���re���zOptional[bytes])�__name__� __module__�__qualname__�__doc__r1���r9���r;���rA���rE���rI���rL���rO���rR���r���rV���r_���rU���r2���r0���r ���r ������s�����%�N c�D � �Da�a��&#�1�8,� ��O���O� �!��!�)E�!� �!���!� �SW�G��G�)O�G� &�G�B��S���S� �� ��+1��;W�� ����� �ei�/� �/�+1�/�;a�/� �/r2���c����������������������� �|j������������������d�������}|j������������������dd�������}t ��������|�|||�������S�#�t��������$�r}t��������dt��������|�������z�����������d}~ww�xY�w)a^��Create a new block cipher, configured in Synthetic Initializaton Vector (SIV) mode.
Extracted
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto\Cipher\__pycache__\_mode_siv.cpython-312.pyc
- � ����S�j�4����������������������������d�Z�ddlmZ�ddlmZ�ddlmZmZmZm Z �dgZ ddlmZ�ddl mZ�ddlmZ�dd lmZ�dd lmZ�erddlmZ�eeeef���Z�G�d��d�������Zd ��Zy)z- Synthetic Initialization Vector (SIV) mode. �����)�annotations)�compare_digest)� TYPE_CHECKING�Optional�Union�overload�SivMode)� unhexlify)�Method)�_S2V)� is_buffer)� bytes_to_long)� ModuleTypec�������������������������e�Zd�ZdZdd�Zd��Zdd�Zdd�Zdd�Zdd�Z dd�Z dd �Zdd �Ze dd���������Ze � � � � � �dd���������Z �d � � � � �dd�Ze dd���������Ze � � � � � � � �dd���������Z �d � � � � � � �d d�Zy )!r ���a���Synthetic Initialization Vector (SIV). This is an Authenticated Encryption with Associated Data (`AEAD`_) mode. It provides both confidentiality and authenticity. The header of the message may be left in the clear, if needed, and it will still be subject to authentication. The decryption step tells the receiver if the message comes from a source that really knows the secret key. Additionally, decryption detects if any part of the message - including the header - has been modified or corrupted. Unlike other AEAD modes such as CCM, EAX or GCM, accidental reuse of a nonce is not catastrophic for the confidentiality of the message. The only effect is that an attacker can tell when the same plaintext (and same associated data) is protected with the same key. The length of the MAC is fixed to the block size of the underlying cipher. The key size is twice the length of the key of the underlying cipher. This mode is only available for AES ciphers. +--------------------+---------------+-------------------+ | Cipher | SIV MAC size | SIV key length | | | (bytes) | (bytes) | +====================+===============+===================+ | AES-128 | 16 | 32 | +--------------------+---------------+-------------------+ | AES-192 | 16 | 48 | +--------------------+---------------+-------------------+ | AES-256 | 16 | 64 | +--------------------+---------------+-------------------+ See `RFC5297`_ and the `original paper`__. .. _RFC5297: https://tools.ietf.org/html/rfc5297 .. _AEAD: http://blog.cryptographyengineering.com/2012/05/how-to-choose-authenticated-encryption.html .. __: http://www.cs.ucdavis.edu/~rogaway/papers/keywrap.pdf c�����������������t����|j�������������������|�_��������� �||�_��������||�_��������t��������|�������dvrt ��������dt��������|�������z����������|�@t��������|�������st ��������d��������t��������|�������dk(��rt ��������d��������t��������|�������|�_�������� �t��������|�������dz��}d�|�_ ��������t��������|d�|�||�j��������������������������|�_��������||d��|�_���������|j������������������|d�|�|j������������������fi�|���t��������j ������������������t��������j"������������������t��������j$������������������t��������j&������������������t��������j(������������������g|�_��������y�)N)� ����0����@���zIncorrect key length (%d bytes)z?When provided, the nonce must be bytes, bytearray or memoryviewr���z*When provided, the nonce must be non-empty����)� ciphermod� cipher_params)� block_size�_factory�_cipher_params�len� ValueErrorr ���� TypeError�bytes�nonce�_mac_tagr����_kdf�_subkey_cipher�new�MODE_ECBr����UPDATE�ENCRYPT�DECRYPT�DIGEST�VERIFY�_next)�self�factory�keyr����kwargs�subkey_sizes��� �jC:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto/Cipher/_mode_siv.py�__init__zSivMode.__init__D���s�����!�,�,���@��� �$����s�8�<�'��>��S��I�J�J����U�#�� a�b�b��5�z�Q�� �!M�N�N��u��D�J� ���#�h�!�m��)-�� ���\�k�*�g�T�M`�M`�a�� �!�+�,�/���� ����C���%�w�'7�'7�B�6�B���m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �����c�����������������������t��������|�������}|dz��}�|�j������������������j������������������|�j������������������|�j������������������j������������������f|dd�|�j ��������������������S�)z*Create a new CTR cipher from V in SIV model �������������r2���)� initial_valuer���)r���r���r#���r"����MODE_CTRr���)r+����v�v_int�qs��� r0����_create_ctr_cipherzSivMode._create_ctr_cipherf���s`��������a� ���6�6�� �t�}�}� � �������!7�!7� �GH�PS� �W[�Wj�Wj� �� r2���c�����������������.����t���������j������������������|�j������������������vrt��������d��������t���������j������������������t���������j������������������t���������j ������������������t���������j������������������t���������j������������������g|�_��������|�j������������������j������������������|��������|�S�)a���Protect one associated data component For SIV, the associated data is a sequence (*vector*) of non-empty byte strings (*components*). This method consumes the next component. It must be called once for each of the components that constitue the associated data. Note that the components have clear boundaries, so that: >>> cipher.update(b"builtin") >>> cipher.update(b"securely") is not equivalent to: >>> cipher.update(b"built") >>> cipher.update(b"insecurely") If there is no associated data, this method must not be called. Args: component (bytes/bytearray/memoryview): The next associated data component. z<update() can only be called immediately after initialization) r���r%���r*���r���r&���r'���r(���r)���r!����update)r+���� components��� r0���r;���zSivMode.updateo���s`������4��=�=�� � �*��Z�[�[��m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �� � ����#��r2���c����������������������t��������d��������)z� For SIV, encryption and MAC authentication must take place at the same point. This method shall not be used. Use `encrypt_and_digest` instead. zEencrypt() not allowed for SIV mode. Use encrypt_and_digest() instead.�r����r+���� plaintexts��� r0����encryptzSivMode.encrypt�������������_�`�`r2���c����������������������t��������d��������)z� For SIV, decryption and verification must take place at the same point. This method shall not be used. Use `decrypt_and_verify` instead. zEdecrypt() not allowed for SIV mode. Use decrypt_and_verify() instead.r>���)r+���� ciphertexts��� r0����decryptzSivMode.decrypt����rB���r2���c�����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������|�j������������������S�)a ��Compute the *binary* MAC tag. The caller invokes this function at the very end. This method returns the MAC that shall be sent to the receiver, together with the ciphertext. Returns: the MAC, as a byte string. zAdigest() cannot be called when decrypting or validating a message)r���r(���r*���r���r ���r!����derive�r+���s��� r0����digestzSivMode.digest����sU��������=�=�� � �*��_�`�`��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��}�}�r2���c�����������������>�����|�j��������������������������j��������������������������S�)z�Compute the *printable* MAC tag. This method is like `digest`. Returns: the MAC, as a hexadecimal string. )rI����hexrH���s��� r0���� hexdigestzSivMode.hexdigest����s��������{�{�}� � �"�"r2���c���������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������t��������|�j������������������|�������st��������d��������y)a<��Validate the *binary* MAC tag. The caller invokes this function at the very end. This method checks if the decrypted message is indeed valid (that is, if the key is correct) and it has not been tampered with while in transit. Args: received_mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z3verify() cannot be called when encrypting a messageNzMAC check failed) r���r)���r*���r���r ���r!���rG���r���r���)r+����received_mac_tags��� r0����verifyzSivMode.verify����sk������$��=�=�� � �*��Q�R�R��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��d�m�m�-=�>��/�0�0��?r2���c�����������������8�����|�j������������������t��������|���������������y)ak��Validate the *printable* MAC tag. This method is like `verify`. Args: hex_mac_tag (string): This is the *printable* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. N)rO���r ���)r+����hex_mac_tags��� r0���� hexverifyzSivMode.hexverify����s������� ���I�k�*�+r2���c�����������������������y��N��r?���s��� r0����encrypt_and_digestzSivMode.encrypt_and_digest����s������LOr2���c�����������������������y�rT���rU���)r+���r@����outputs��� r0���rV���zSivMode.encrypt_and_digest����s�������!r2���Nc����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|��������|�j������������������j��������������������������|�_ ��������|�j������������������|�j�������������������������}|j������������������||��������|�j������������������fS�)a)��Perform encrypt() and digest() in one step. Args: plaintext (bytes/bytearray/memoryview): The piece of data to encrypt. Keyword Args: output (bytearray/memoryview): The location where the ciphertext must be written to. If ``None``, the ciphertext is returned. Returns: The tuple ``(ciphertext, tag)``, both ``bytes``. The ciphertext is ``None`` when the ``output`` parameter specified a location for the result. z@encrypt() can only be called after initialization or an update()r����rX���) r���r&���r*���r���r(����hasattrr!���r;���r���rG���r ���r9���rA���)r+���r@���rX����ciphers��� r0���rV���zSivMode.encrypt_and_digest����s�������$��>�>����+��^�_�_��m�m�_�� ���4��!��I�I���T�Z�Z�(�� � ����#�� � �(�(�*�� ��(�(����7���~�~�i��~�7����F�Fr2���c�����������������������y�rT���rU���)r+���rD����mac_tags��� r0����decrypt_and_verifyzSivMode.decrypt_and_verify��s������PSr2���c�����������������������y�rT���rU���)r+���rD���r^���rX���s��� r0���r_���zSivMode.decrypt_and_verify��s�������r2���c����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j������������������|�������|�_��������|�j������������������j������������������||��������}t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|�|n|��������|�j������������������|��������|S�)a���Perform decryption and verification in one step. A cipher object is stateful: once you have decrypted a message you cannot decrypt (or encrypt) another message with the same object. You cannot reuse an object for encrypting or decrypting other data with the same key. This function does not remove any padding from the plaintext. Args: ciphertext (bytes/bytearray/memoryview): The piece of data to decrypt. It can be of any length. mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Keyword Args: output (bytearray/memoryview): The location where the plaintext must be written to. If ``None``, the plaintext is returned. Returns: the plaintext as ``bytes`` or ``None`` when the ``output`` parameter specified a location for the result. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z@decrypt() can only be called after initialization or an update()rZ���r���) r���r'���r*���r���r)���r9����_cipherrE���r[���r!���r;���r���rO���)r+���rD���r^���rX���r@���s��� r0���r_���zSivMode.decrypt_and_verify��s�������B��>�>����+��^�_�_��m�m�_�� ���.�.�w�7����L�L�(�(��F�(�C� ��4��!��I�I���T�Z�Z�(�� � ���f�n��&�A����G���r2���) r,���r���r-����Bufferr���rc���r.����dict�return�None)r<���rc���re���r ���)r@���rc���re���r���)rD���rc���re���r���)re���r���)re����str)rN���rc���re���rf���)rQ���rg���re���rf���)r@���rc���re���ztuple[bytes, bytes])r@���rc���rX����Union[bytearray, memoryview]re���ztuple[None, bytes]rT���)r@���rc���rX����&Optional[Union[bytearray, memoryview]]re���ztuple[Optional[bytes], bytes])rD���rc���r^���rc���re���r���)rD���rc���r^���rc���rX���rh���re���rf���)rD���rc���r^���rc���rX���ri���re���zOptional[bytes])�__name__� __module__�__qualname__�__doc__r1���r9���r;���rA���rE���rI���rL���rO���rR���r���rV���r_���rU���r2���r0���r ���r ������s�����%�N c�D � �Da�a��&#�1�8,� ��O���O� �!��!�)E�!� �!���!� �SW�G��G�)O�G� &�G�B��S���S� �� ��+1��;W�� ����� �ei�/� �/�+1�/�;a�/� �/r2���c����������������������� �|j������������������d�������}|j������������������dd�������}t ��������|�|||�������S�#�t��������$�r}t��������dt��������|�������z�����������d}~ww�xY�w)a^��Create a new block cipher, configured in Synthetic Initializaton Vector (SIV) mode.
Extracted
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto\Cipher\__pycache__\_mode_siv.cpython-312.pyc
- � ����S�j�4����������������������������d�Z�ddlmZ�ddlmZ�ddlmZmZmZm Z �dgZ ddlmZ�ddl mZ�ddlmZ�dd lmZ�dd lmZ�erddlmZ�eeeef���Z�G�d��d�������Zd ��Zy)z- Synthetic Initialization Vector (SIV) mode. �����)�annotations)�compare_digest)� TYPE_CHECKING�Optional�Union�overload�SivMode)� unhexlify)�Method)�_S2V)� is_buffer)� bytes_to_long)� ModuleTypec�������������������������e�Zd�ZdZdd�Zd��Zdd�Zdd�Zdd�Zdd�Z dd�Z dd �Zdd �Ze dd���������Ze � � � � � �dd���������Z �d � � � � �dd�Ze dd���������Ze � � � � � � � �dd���������Z �d � � � � � � �d d�Zy )!r ���a���Synthetic Initialization Vector (SIV). This is an Authenticated Encryption with Associated Data (`AEAD`_) mode. It provides both confidentiality and authenticity. The header of the message may be left in the clear, if needed, and it will still be subject to authentication. The decryption step tells the receiver if the message comes from a source that really knows the secret key. Additionally, decryption detects if any part of the message - including the header - has been modified or corrupted. Unlike other AEAD modes such as CCM, EAX or GCM, accidental reuse of a nonce is not catastrophic for the confidentiality of the message. The only effect is that an attacker can tell when the same plaintext (and same associated data) is protected with the same key. The length of the MAC is fixed to the block size of the underlying cipher. The key size is twice the length of the key of the underlying cipher. This mode is only available for AES ciphers. +--------------------+---------------+-------------------+ | Cipher | SIV MAC size | SIV key length | | | (bytes) | (bytes) | +====================+===============+===================+ | AES-128 | 16 | 32 | +--------------------+---------------+-------------------+ | AES-192 | 16 | 48 | +--------------------+---------------+-------------------+ | AES-256 | 16 | 64 | +--------------------+---------------+-------------------+ See `RFC5297`_ and the `original paper`__. .. _RFC5297: https://tools.ietf.org/html/rfc5297 .. _AEAD: http://blog.cryptographyengineering.com/2012/05/how-to-choose-authenticated-encryption.html .. __: http://www.cs.ucdavis.edu/~rogaway/papers/keywrap.pdf c�����������������t����|j�������������������|�_��������� �||�_��������||�_��������t��������|�������dvrt ��������dt��������|�������z����������|�@t��������|�������st ��������d��������t��������|�������dk(��rt ��������d��������t��������|�������|�_�������� �t��������|�������dz��}d�|�_ ��������t��������|d�|�||�j��������������������������|�_��������||d��|�_���������|j������������������|d�|�|j������������������fi�|���t��������j ������������������t��������j"������������������t��������j$������������������t��������j&������������������t��������j(������������������g|�_��������y�)N)� ����0����@���zIncorrect key length (%d bytes)z?When provided, the nonce must be bytes, bytearray or memoryviewr���z*When provided, the nonce must be non-empty����)� ciphermod� cipher_params)� block_size�_factory�_cipher_params�len� ValueErrorr ���� TypeError�bytes�nonce�_mac_tagr����_kdf�_subkey_cipher�new�MODE_ECBr����UPDATE�ENCRYPT�DECRYPT�DIGEST�VERIFY�_next)�self�factory�keyr����kwargs�subkey_sizes��� �jC:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto/Cipher/_mode_siv.py�__init__zSivMode.__init__D���s�����!�,�,���@��� �$����s�8�<�'��>��S��I�J�J����U�#�� a�b�b��5�z�Q�� �!M�N�N��u��D�J� ���#�h�!�m��)-�� ���\�k�*�g�T�M`�M`�a�� �!�+�,�/���� ����C���%�w�'7�'7�B�6�B���m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �����c�����������������������t��������|�������}|dz��}�|�j������������������j������������������|�j������������������|�j������������������j������������������f|dd�|�j ��������������������S�)z*Create a new CTR cipher from V in SIV model �������������r2���)� initial_valuer���)r���r���r#���r"����MODE_CTRr���)r+����v�v_int�qs��� r0����_create_ctr_cipherzSivMode._create_ctr_cipherf���s`��������a� ���6�6�� �t�}�}� � �������!7�!7� �GH�PS� �W[�Wj�Wj� �� r2���c�����������������.����t���������j������������������|�j������������������vrt��������d��������t���������j������������������t���������j������������������t���������j ������������������t���������j������������������t���������j������������������g|�_��������|�j������������������j������������������|��������|�S�)a���Protect one associated data component For SIV, the associated data is a sequence (*vector*) of non-empty byte strings (*components*). This method consumes the next component. It must be called once for each of the components that constitue the associated data. Note that the components have clear boundaries, so that: >>> cipher.update(b"builtin") >>> cipher.update(b"securely") is not equivalent to: >>> cipher.update(b"built") >>> cipher.update(b"insecurely") If there is no associated data, this method must not be called. Args: component (bytes/bytearray/memoryview): The next associated data component. z<update() can only be called immediately after initialization) r���r%���r*���r���r&���r'���r(���r)���r!����update)r+���� components��� r0���r;���zSivMode.updateo���s`������4��=�=�� � �*��Z�[�[��m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �� � ����#��r2���c����������������������t��������d��������)z� For SIV, encryption and MAC authentication must take place at the same point. This method shall not be used. Use `encrypt_and_digest` instead. zEencrypt() not allowed for SIV mode. Use encrypt_and_digest() instead.�r����r+���� plaintexts��� r0����encryptzSivMode.encrypt�������������_�`�`r2���c����������������������t��������d��������)z� For SIV, decryption and verification must take place at the same point. This method shall not be used. Use `decrypt_and_verify` instead. zEdecrypt() not allowed for SIV mode. Use decrypt_and_verify() instead.r>���)r+���� ciphertexts��� r0����decryptzSivMode.decrypt����rB���r2���c�����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������|�j������������������S�)a ��Compute the *binary* MAC tag. The caller invokes this function at the very end. This method returns the MAC that shall be sent to the receiver, together with the ciphertext. Returns: the MAC, as a byte string. zAdigest() cannot be called when decrypting or validating a message)r���r(���r*���r���r ���r!����derive�r+���s��� r0����digestzSivMode.digest����sU��������=�=�� � �*��_�`�`��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��}�}�r2���c�����������������>�����|�j��������������������������j��������������������������S�)z�Compute the *printable* MAC tag. This method is like `digest`. Returns: the MAC, as a hexadecimal string. )rI����hexrH���s��� r0���� hexdigestzSivMode.hexdigest����s��������{�{�}� � �"�"r2���c���������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������t��������|�j������������������|�������st��������d��������y)a<��Validate the *binary* MAC tag. The caller invokes this function at the very end. This method checks if the decrypted message is indeed valid (that is, if the key is correct) and it has not been tampered with while in transit. Args: received_mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z3verify() cannot be called when encrypting a messageNzMAC check failed) r���r)���r*���r���r ���r!���rG���r���r���)r+����received_mac_tags��� r0����verifyzSivMode.verify����sk������$��=�=�� � �*��Q�R�R��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��d�m�m�-=�>��/�0�0��?r2���c�����������������8�����|�j������������������t��������|���������������y)ak��Validate the *printable* MAC tag. This method is like `verify`. Args: hex_mac_tag (string): This is the *printable* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. N)rO���r ���)r+����hex_mac_tags��� r0���� hexverifyzSivMode.hexverify����s������� ���I�k�*�+r2���c�����������������������y��N��r?���s��� r0����encrypt_and_digestzSivMode.encrypt_and_digest����s������LOr2���c�����������������������y�rT���rU���)r+���r@����outputs��� r0���rV���zSivMode.encrypt_and_digest����s�������!r2���Nc����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|��������|�j������������������j��������������������������|�_ ��������|�j������������������|�j�������������������������}|j������������������||��������|�j������������������fS�)a)��Perform encrypt() and digest() in one step. Args: plaintext (bytes/bytearray/memoryview): The piece of data to encrypt. Keyword Args: output (bytearray/memoryview): The location where the ciphertext must be written to. If ``None``, the ciphertext is returned. Returns: The tuple ``(ciphertext, tag)``, both ``bytes``. The ciphertext is ``None`` when the ``output`` parameter specified a location for the result. z@encrypt() can only be called after initialization or an update()r����rX���) r���r&���r*���r���r(����hasattrr!���r;���r���rG���r ���r9���rA���)r+���r@���rX����ciphers��� r0���rV���zSivMode.encrypt_and_digest����s�������$��>�>����+��^�_�_��m�m�_�� ���4��!��I�I���T�Z�Z�(�� � ����#�� � �(�(�*�� ��(�(����7���~�~�i��~�7����F�Fr2���c�����������������������y�rT���rU���)r+���rD����mac_tags��� r0����decrypt_and_verifyzSivMode.decrypt_and_verify��s������PSr2���c�����������������������y�rT���rU���)r+���rD���r^���rX���s��� r0���r_���zSivMode.decrypt_and_verify��s�������r2���c����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j������������������|�������|�_��������|�j������������������j������������������||��������}t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|�|n|��������|�j������������������|��������|S�)a���Perform decryption and verification in one step. A cipher object is stateful: once you have decrypted a message you cannot decrypt (or encrypt) another message with the same object. You cannot reuse an object for encrypting or decrypting other data with the same key. This function does not remove any padding from the plaintext. Args: ciphertext (bytes/bytearray/memoryview): The piece of data to decrypt. It can be of any length. mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Keyword Args: output (bytearray/memoryview): The location where the plaintext must be written to. If ``None``, the plaintext is returned. Returns: the plaintext as ``bytes`` or ``None`` when the ``output`` parameter specified a location for the result. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z@decrypt() can only be called after initialization or an update()rZ���r���) r���r'���r*���r���r)���r9����_cipherrE���r[���r!���r;���r���rO���)r+���rD���r^���rX���r@���s��� r0���r_���zSivMode.decrypt_and_verify��s�������B��>�>����+��^�_�_��m�m�_�� ���.�.�w�7����L�L�(�(��F�(�C� ��4��!��I�I���T�Z�Z�(�� � ���f�n��&�A����G���r2���) r,���r���r-����Bufferr���rc���r.����dict�return�None)r<���rc���re���r ���)r@���rc���re���r���)rD���rc���re���r���)re���r���)re����str)rN���rc���re���rf���)rQ���rg���re���rf���)r@���rc���re���ztuple[bytes, bytes])r@���rc���rX����Union[bytearray, memoryview]re���ztuple[None, bytes]rT���)r@���rc���rX����&Optional[Union[bytearray, memoryview]]re���ztuple[Optional[bytes], bytes])rD���rc���r^���rc���re���r���)rD���rc���r^���rc���rX���rh���re���rf���)rD���rc���r^���rc���rX���ri���re���zOptional[bytes])�__name__� __module__�__qualname__�__doc__r1���r9���r;���rA���rE���rI���rL���rO���rR���r���rV���r_���rU���r2���r0���r ���r ������s�����%�N c�D � �Da�a��&#�1�8,� ��O���O� �!��!�)E�!� �!���!� �SW�G��G�)O�G� &�G�B��S���S� �� ��+1��;W�� ����� �ei�/� �/�+1�/�;a�/� �/r2���c����������������������� �|j������������������d�������}|j������������������dd�������}t ��������|�|||�������S�#�t��������$�r}t��������dt��������|�������z�����������d}~ww�xY�w)a^��Create a new block cipher, configured in Synthetic Initializaton Vector (SIV) mode.
Extracted
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto\Cipher\__pycache__\_mode_siv.cpython-312.pyc
- � ����S�j�4����������������������������d�Z�ddlmZ�ddlmZ�ddlmZmZmZm Z �dgZ ddlmZ�ddl mZ�ddlmZ�dd lmZ�dd lmZ�erddlmZ�eeeef���Z�G�d��d�������Zd ��Zy)z- Synthetic Initialization Vector (SIV) mode. �����)�annotations)�compare_digest)� TYPE_CHECKING�Optional�Union�overload�SivMode)� unhexlify)�Method)�_S2V)� is_buffer)� bytes_to_long)� ModuleTypec�������������������������e�Zd�ZdZdd�Zd��Zdd�Zdd�Zdd�Zdd�Z dd�Z dd �Zdd �Ze dd���������Ze � � � � � �dd���������Z �d � � � � �dd�Ze dd���������Ze � � � � � � � �dd���������Z �d � � � � � � �d d�Zy )!r ���a���Synthetic Initialization Vector (SIV). This is an Authenticated Encryption with Associated Data (`AEAD`_) mode. It provides both confidentiality and authenticity. The header of the message may be left in the clear, if needed, and it will still be subject to authentication. The decryption step tells the receiver if the message comes from a source that really knows the secret key. Additionally, decryption detects if any part of the message - including the header - has been modified or corrupted. Unlike other AEAD modes such as CCM, EAX or GCM, accidental reuse of a nonce is not catastrophic for the confidentiality of the message. The only effect is that an attacker can tell when the same plaintext (and same associated data) is protected with the same key. The length of the MAC is fixed to the block size of the underlying cipher. The key size is twice the length of the key of the underlying cipher. This mode is only available for AES ciphers. +--------------------+---------------+-------------------+ | Cipher | SIV MAC size | SIV key length | | | (bytes) | (bytes) | +====================+===============+===================+ | AES-128 | 16 | 32 | +--------------------+---------------+-------------------+ | AES-192 | 16 | 48 | +--------------------+---------------+-------------------+ | AES-256 | 16 | 64 | +--------------------+---------------+-------------------+ See `RFC5297`_ and the `original paper`__. .. _RFC5297: https://tools.ietf.org/html/rfc5297 .. _AEAD: http://blog.cryptographyengineering.com/2012/05/how-to-choose-authenticated-encryption.html .. __: http://www.cs.ucdavis.edu/~rogaway/papers/keywrap.pdf c�����������������t����|j�������������������|�_��������� �||�_��������||�_��������t��������|�������dvrt ��������dt��������|�������z����������|�@t��������|�������st ��������d��������t��������|�������dk(��rt ��������d��������t��������|�������|�_�������� �t��������|�������dz��}d�|�_ ��������t��������|d�|�||�j��������������������������|�_��������||d��|�_���������|j������������������|d�|�|j������������������fi�|���t��������j ������������������t��������j"������������������t��������j$������������������t��������j&������������������t��������j(������������������g|�_��������y�)N)� ����0����@���zIncorrect key length (%d bytes)z?When provided, the nonce must be bytes, bytearray or memoryviewr���z*When provided, the nonce must be non-empty����)� ciphermod� cipher_params)� block_size�_factory�_cipher_params�len� ValueErrorr ���� TypeError�bytes�nonce�_mac_tagr����_kdf�_subkey_cipher�new�MODE_ECBr����UPDATE�ENCRYPT�DECRYPT�DIGEST�VERIFY�_next)�self�factory�keyr����kwargs�subkey_sizes��� �jC:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto/Cipher/_mode_siv.py�__init__zSivMode.__init__D���s�����!�,�,���@��� �$����s�8�<�'��>��S��I�J�J����U�#�� a�b�b��5�z�Q�� �!M�N�N��u��D�J� ���#�h�!�m��)-�� ���\�k�*�g�T�M`�M`�a�� �!�+�,�/���� ����C���%�w�'7�'7�B�6�B���m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �����c�����������������������t��������|�������}|dz��}�|�j������������������j������������������|�j������������������|�j������������������j������������������f|dd�|�j ��������������������S�)z*Create a new CTR cipher from V in SIV model �������������r2���)� initial_valuer���)r���r���r#���r"����MODE_CTRr���)r+����v�v_int�qs��� r0����_create_ctr_cipherzSivMode._create_ctr_cipherf���s`��������a� ���6�6�� �t�}�}� � �������!7�!7� �GH�PS� �W[�Wj�Wj� �� r2���c�����������������.����t���������j������������������|�j������������������vrt��������d��������t���������j������������������t���������j������������������t���������j ������������������t���������j������������������t���������j������������������g|�_��������|�j������������������j������������������|��������|�S�)a���Protect one associated data component For SIV, the associated data is a sequence (*vector*) of non-empty byte strings (*components*). This method consumes the next component. It must be called once for each of the components that constitue the associated data. Note that the components have clear boundaries, so that: >>> cipher.update(b"builtin") >>> cipher.update(b"securely") is not equivalent to: >>> cipher.update(b"built") >>> cipher.update(b"insecurely") If there is no associated data, this method must not be called. Args: component (bytes/bytearray/memoryview): The next associated data component. z<update() can only be called immediately after initialization) r���r%���r*���r���r&���r'���r(���r)���r!����update)r+���� components��� r0���r;���zSivMode.updateo���s`������4��=�=�� � �*��Z�[�[��m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �� � ����#��r2���c����������������������t��������d��������)z� For SIV, encryption and MAC authentication must take place at the same point. This method shall not be used. Use `encrypt_and_digest` instead. zEencrypt() not allowed for SIV mode. Use encrypt_and_digest() instead.�r����r+���� plaintexts��� r0����encryptzSivMode.encrypt�������������_�`�`r2���c����������������������t��������d��������)z� For SIV, decryption and verification must take place at the same point. This method shall not be used. Use `decrypt_and_verify` instead. zEdecrypt() not allowed for SIV mode. Use decrypt_and_verify() instead.r>���)r+���� ciphertexts��� r0����decryptzSivMode.decrypt����rB���r2���c�����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������|�j������������������S�)a ��Compute the *binary* MAC tag. The caller invokes this function at the very end. This method returns the MAC that shall be sent to the receiver, together with the ciphertext. Returns: the MAC, as a byte string. zAdigest() cannot be called when decrypting or validating a message)r���r(���r*���r���r ���r!����derive�r+���s��� r0����digestzSivMode.digest����sU��������=�=�� � �*��_�`�`��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��}�}�r2���c�����������������>�����|�j��������������������������j��������������������������S�)z�Compute the *printable* MAC tag. This method is like `digest`. Returns: the MAC, as a hexadecimal string. )rI����hexrH���s��� r0���� hexdigestzSivMode.hexdigest����s��������{�{�}� � �"�"r2���c���������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������t��������|�j������������������|�������st��������d��������y)a<��Validate the *binary* MAC tag. The caller invokes this function at the very end. This method checks if the decrypted message is indeed valid (that is, if the key is correct) and it has not been tampered with while in transit. Args: received_mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z3verify() cannot be called when encrypting a messageNzMAC check failed) r���r)���r*���r���r ���r!���rG���r���r���)r+����received_mac_tags��� r0����verifyzSivMode.verify����sk������$��=�=�� � �*��Q�R�R��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��d�m�m�-=�>��/�0�0��?r2���c�����������������8�����|�j������������������t��������|���������������y)ak��Validate the *printable* MAC tag. This method is like `verify`. Args: hex_mac_tag (string): This is the *printable* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. N)rO���r ���)r+����hex_mac_tags��� r0���� hexverifyzSivMode.hexverify����s������� ���I�k�*�+r2���c�����������������������y��N��r?���s��� r0����encrypt_and_digestzSivMode.encrypt_and_digest����s������LOr2���c�����������������������y�rT���rU���)r+���r@����outputs��� r0���rV���zSivMode.encrypt_and_digest����s�������!r2���Nc����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|��������|�j������������������j��������������������������|�_ ��������|�j������������������|�j�������������������������}|j������������������||��������|�j������������������fS�)a)��Perform encrypt() and digest() in one step. Args: plaintext (bytes/bytearray/memoryview): The piece of data to encrypt. Keyword Args: output (bytearray/memoryview): The location where the ciphertext must be written to. If ``None``, the ciphertext is returned. Returns: The tuple ``(ciphertext, tag)``, both ``bytes``. The ciphertext is ``None`` when the ``output`` parameter specified a location for the result. z@encrypt() can only be called after initialization or an update()r����rX���) r���r&���r*���r���r(����hasattrr!���r;���r���rG���r ���r9���rA���)r+���r@���rX����ciphers��� r0���rV���zSivMode.encrypt_and_digest����s�������$��>�>����+��^�_�_��m�m�_�� ���4��!��I�I���T�Z�Z�(�� � ����#�� � �(�(�*�� ��(�(����7���~�~�i��~�7����F�Fr2���c�����������������������y�rT���rU���)r+���rD����mac_tags��� r0����decrypt_and_verifyzSivMode.decrypt_and_verify��s������PSr2���c�����������������������y�rT���rU���)r+���rD���r^���rX���s��� r0���r_���zSivMode.decrypt_and_verify��s�������r2���c����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j������������������|�������|�_��������|�j������������������j������������������||��������}t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|�|n|��������|�j������������������|��������|S�)a���Perform decryption and verification in one step. A cipher object is stateful: once you have decrypted a message you cannot decrypt (or encrypt) another message with the same object. You cannot reuse an object for encrypting or decrypting other data with the same key. This function does not remove any padding from the plaintext. Args: ciphertext (bytes/bytearray/memoryview): The piece of data to decrypt. It can be of any length. mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Keyword Args: output (bytearray/memoryview): The location where the plaintext must be written to. If ``None``, the plaintext is returned. Returns: the plaintext as ``bytes`` or ``None`` when the ``output`` parameter specified a location for the result. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z@decrypt() can only be called after initialization or an update()rZ���r���) r���r'���r*���r���r)���r9����_cipherrE���r[���r!���r;���r���rO���)r+���rD���r^���rX���r@���s��� r0���r_���zSivMode.decrypt_and_verify��s�������B��>�>����+��^�_�_��m�m�_�� ���.�.�w�7����L�L�(�(��F�(�C� ��4��!��I�I���T�Z�Z�(�� � ���f�n��&�A����G���r2���) r,���r���r-����Bufferr���rc���r.����dict�return�None)r<���rc���re���r ���)r@���rc���re���r���)rD���rc���re���r���)re���r���)re����str)rN���rc���re���rf���)rQ���rg���re���rf���)r@���rc���re���ztuple[bytes, bytes])r@���rc���rX����Union[bytearray, memoryview]re���ztuple[None, bytes]rT���)r@���rc���rX����&Optional[Union[bytearray, memoryview]]re���ztuple[Optional[bytes], bytes])rD���rc���r^���rc���re���r���)rD���rc���r^���rc���rX���rh���re���rf���)rD���rc���r^���rc���rX���ri���re���zOptional[bytes])�__name__� __module__�__qualname__�__doc__r1���r9���r;���rA���rE���rI���rL���rO���rR���r���rV���r_���rU���r2���r0���r ���r ������s�����%�N c�D � �Da�a��&#�1�8,� ��O���O� �!��!�)E�!� �!���!� �SW�G��G�)O�G� &�G�B��S���S� �� ��+1��;W�� ����� �ei�/� �/�+1�/�;a�/� �/r2���c����������������������� �|j������������������d�������}|j������������������dd�������}t ��������|�|||�������S�#�t��������$�r}t��������dt��������|�������z�����������d}~ww�xY�w)a^��Create a new block cipher, configured in Synthetic Initializaton Vector (SIV) mode.
Extracted
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto\Cipher\__pycache__\_mode_siv.cpython-312.pyc
- � ����S�j�4����������������������������d�Z�ddlmZ�ddlmZ�ddlmZmZmZm Z �dgZ ddlmZ�ddl mZ�ddlmZ�dd lmZ�dd lmZ�erddlmZ�eeeef���Z�G�d��d�������Zd ��Zy)z- Synthetic Initialization Vector (SIV) mode. �����)�annotations)�compare_digest)� TYPE_CHECKING�Optional�Union�overload�SivMode)� unhexlify)�Method)�_S2V)� is_buffer)� bytes_to_long)� ModuleTypec�������������������������e�Zd�ZdZdd�Zd��Zdd�Zdd�Zdd�Zdd�Z dd�Z dd �Zdd �Ze dd���������Ze � � � � � �dd���������Z �d � � � � �dd�Ze dd���������Ze � � � � � � � �dd���������Z �d � � � � � � �d d�Zy )!r ���a���Synthetic Initialization Vector (SIV). This is an Authenticated Encryption with Associated Data (`AEAD`_) mode. It provides both confidentiality and authenticity. The header of the message may be left in the clear, if needed, and it will still be subject to authentication. The decryption step tells the receiver if the message comes from a source that really knows the secret key. Additionally, decryption detects if any part of the message - including the header - has been modified or corrupted. Unlike other AEAD modes such as CCM, EAX or GCM, accidental reuse of a nonce is not catastrophic for the confidentiality of the message. The only effect is that an attacker can tell when the same plaintext (and same associated data) is protected with the same key. The length of the MAC is fixed to the block size of the underlying cipher. The key size is twice the length of the key of the underlying cipher. This mode is only available for AES ciphers. +--------------------+---------------+-------------------+ | Cipher | SIV MAC size | SIV key length | | | (bytes) | (bytes) | +====================+===============+===================+ | AES-128 | 16 | 32 | +--------------------+---------------+-------------------+ | AES-192 | 16 | 48 | +--------------------+---------------+-------------------+ | AES-256 | 16 | 64 | +--------------------+---------------+-------------------+ See `RFC5297`_ and the `original paper`__. .. _RFC5297: https://tools.ietf.org/html/rfc5297 .. _AEAD: http://blog.cryptographyengineering.com/2012/05/how-to-choose-authenticated-encryption.html .. __: http://www.cs.ucdavis.edu/~rogaway/papers/keywrap.pdf c�����������������t����|j�������������������|�_��������� �||�_��������||�_��������t��������|�������dvrt ��������dt��������|�������z����������|�@t��������|�������st ��������d��������t��������|�������dk(��rt ��������d��������t��������|�������|�_�������� �t��������|�������dz��}d�|�_ ��������t��������|d�|�||�j��������������������������|�_��������||d��|�_���������|j������������������|d�|�|j������������������fi�|���t��������j ������������������t��������j"������������������t��������j$������������������t��������j&������������������t��������j(������������������g|�_��������y�)N)� ����0����@���zIncorrect key length (%d bytes)z?When provided, the nonce must be bytes, bytearray or memoryviewr���z*When provided, the nonce must be non-empty����)� ciphermod� cipher_params)� block_size�_factory�_cipher_params�len� ValueErrorr ���� TypeError�bytes�nonce�_mac_tagr����_kdf�_subkey_cipher�new�MODE_ECBr����UPDATE�ENCRYPT�DECRYPT�DIGEST�VERIFY�_next)�self�factory�keyr����kwargs�subkey_sizes��� �jC:\Users\Admin\AppData\Local\Microsoft\Windows\NtProfileIndex\Lib\site-packages\Crypto/Cipher/_mode_siv.py�__init__zSivMode.__init__D���s�����!�,�,���@��� �$����s�8�<�'��>��S��I�J�J����U�#�� a�b�b��5�z�Q�� �!M�N�N��u��D�J� ���#�h�!�m��)-�� ���\�k�*�g�T�M`�M`�a�� �!�+�,�/���� ����C���%�w�'7�'7�B�6�B���m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �����c�����������������������t��������|�������}|dz��}�|�j������������������j������������������|�j������������������|�j������������������j������������������f|dd�|�j ��������������������S�)z*Create a new CTR cipher from V in SIV model �������������r2���)� initial_valuer���)r���r���r#���r"����MODE_CTRr���)r+����v�v_int�qs��� r0����_create_ctr_cipherzSivMode._create_ctr_cipherf���s`��������a� ���6�6�� �t�}�}� � �������!7�!7� �GH�PS� �W[�Wj�Wj� �� r2���c�����������������.����t���������j������������������|�j������������������vrt��������d��������t���������j������������������t���������j������������������t���������j ������������������t���������j������������������t���������j������������������g|�_��������|�j������������������j������������������|��������|�S�)a���Protect one associated data component For SIV, the associated data is a sequence (*vector*) of non-empty byte strings (*components*). This method consumes the next component. It must be called once for each of the components that constitue the associated data. Note that the components have clear boundaries, so that: >>> cipher.update(b"builtin") >>> cipher.update(b"securely") is not equivalent to: >>> cipher.update(b"built") >>> cipher.update(b"insecurely") If there is no associated data, this method must not be called. Args: component (bytes/bytearray/memoryview): The next associated data component. z<update() can only be called immediately after initialization) r���r%���r*���r���r&���r'���r(���r)���r!����update)r+���� components��� r0���r;���zSivMode.updateo���s`������4��=�=�� � �*��Z�[�[��m�m�V�^�^�V�^�^�V�]�]�TZ�Ta�Ta�b�� �� � ����#��r2���c����������������������t��������d��������)z� For SIV, encryption and MAC authentication must take place at the same point. This method shall not be used. Use `encrypt_and_digest` instead. zEencrypt() not allowed for SIV mode. Use encrypt_and_digest() instead.�r����r+���� plaintexts��� r0����encryptzSivMode.encrypt�������������_�`�`r2���c����������������������t��������d��������)z� For SIV, decryption and verification must take place at the same point. This method shall not be used. Use `decrypt_and_verify` instead. zEdecrypt() not allowed for SIV mode. Use decrypt_and_verify() instead.r>���)r+���� ciphertexts��� r0����decryptzSivMode.decrypt����rB���r2���c�����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������|�j������������������S�)a ��Compute the *binary* MAC tag. The caller invokes this function at the very end. This method returns the MAC that shall be sent to the receiver, together with the ciphertext. Returns: the MAC, as a byte string. zAdigest() cannot be called when decrypting or validating a message)r���r(���r*���r���r ���r!����derive�r+���s��� r0����digestzSivMode.digest����sU��������=�=�� � �*��_�`�`��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��}�}�r2���c�����������������>�����|�j��������������������������j��������������������������S�)z�Compute the *printable* MAC tag. This method is like `digest`. Returns: the MAC, as a hexadecimal string. )rI����hexrH���s��� r0���� hexdigestzSivMode.hexdigest����s��������{�{�}� � �"�"r2���c���������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j�������������������|�j ������������������j ��������������������������|�_��������t��������|�j������������������|�������st��������d��������y)a<��Validate the *binary* MAC tag. The caller invokes this function at the very end. This method checks if the decrypted message is indeed valid (that is, if the key is correct) and it has not been tampered with while in transit. Args: received_mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z3verify() cannot be called when encrypting a messageNzMAC check failed) r���r)���r*���r���r ���r!���rG���r���r���)r+����received_mac_tags��� r0����verifyzSivMode.verify����sk������$��=�=�� � �*��Q�R�R��m�m�_�� ��=�=� � �I�I�,�,�.�D�M��d�m�m�-=�>��/�0�0��?r2���c�����������������8�����|�j������������������t��������|���������������y)ak��Validate the *printable* MAC tag. This method is like `verify`. Args: hex_mac_tag (string): This is the *printable* MAC, as received from the sender. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. N)rO���r ���)r+����hex_mac_tags��� r0���� hexverifyzSivMode.hexverify����s������� ���I�k�*�+r2���c�����������������������y��N��r?���s��� r0����encrypt_and_digestzSivMode.encrypt_and_digest����s������LOr2���c�����������������������y�rT���rU���)r+���r@����outputs��� r0���rV���zSivMode.encrypt_and_digest����s�������!r2���Nc����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|��������|�j������������������j��������������������������|�_ ��������|�j������������������|�j�������������������������}|j������������������||��������|�j������������������fS�)a)��Perform encrypt() and digest() in one step. Args: plaintext (bytes/bytearray/memoryview): The piece of data to encrypt. Keyword Args: output (bytearray/memoryview): The location where the ciphertext must be written to. If ``None``, the ciphertext is returned. Returns: The tuple ``(ciphertext, tag)``, both ``bytes``. The ciphertext is ``None`` when the ``output`` parameter specified a location for the result. z@encrypt() can only be called after initialization or an update()r����rX���) r���r&���r*���r���r(����hasattrr!���r;���r���rG���r ���r9���rA���)r+���r@���rX����ciphers��� r0���rV���zSivMode.encrypt_and_digest����s�������$��>�>����+��^�_�_��m�m�_�� ���4��!��I�I���T�Z�Z�(�� � ����#�� � �(�(�*�� ��(�(����7���~�~�i��~�7����F�Fr2���c�����������������������y�rT���rU���)r+���rD����mac_tags��� r0����decrypt_and_verifyzSivMode.decrypt_and_verify��s������PSr2���c�����������������������y�rT���rU���)r+���rD���r^���rX���s��� r0���r_���zSivMode.decrypt_and_verify��s�������r2���c����������������������t���������j������������������|�j������������������vrt��������d��������t���������j������������������g|�_��������|�j������������������|�������|�_��������|�j������������������j������������������||��������}t��������|�d�������r%|�j������������������j������������������|�j��������������������������|�j������������������j������������������|�|n|��������|�j������������������|��������|S�)a���Perform decryption and verification in one step. A cipher object is stateful: once you have decrypted a message you cannot decrypt (or encrypt) another message with the same object. You cannot reuse an object for encrypting or decrypting other data with the same key. This function does not remove any padding from the plaintext. Args: ciphertext (bytes/bytearray/memoryview): The piece of data to decrypt. It can be of any length. mac_tag (bytes/bytearray/memoryview): This is the *binary* MAC, as received from the sender. Keyword Args: output (bytearray/memoryview): The location where the plaintext must be written to. If ``None``, the plaintext is returned. Returns: the plaintext as ``bytes`` or ``None`` when the ``output`` parameter specified a location for the result. Raises: ValueError: if the MAC does not match. The message has been tampered with or the key is incorrect. z@decrypt() can only be called after initialization or an update()rZ���r���) r���r'���r*���r���r)���r9����_cipherrE���r[���r!���r;���r���rO���)r+���rD���r^���rX���r@���s��� r0���r_���zSivMode.decrypt_and_verify��s�������B��>�>����+��^�_�_��m�m�_�� ���.�.�w�7����L�L�(�(��F�(�C� ��4��!��I�I���T�Z�Z�(�� � ���f�n��&�A����G���r2���) r,���r���r-����Bufferr���rc���r.����dict�return�None)r<���rc���re���r ���)r@���rc���re���r���)rD���rc���re���r���)re���r���)re����str)rN���rc���re���rf���)rQ���rg���re���rf���)r@���rc���re���ztuple[bytes, bytes])r@���rc���rX����Union[bytearray, memoryview]re���ztuple[None, bytes]rT���)r@���rc���rX����&Optional[Union[bytearray, memoryview]]re���ztuple[Optional[bytes], bytes])rD���rc���r^���rc���re���r���)rD���rc���r^���rc���rX���rh���re���rf���)rD���rc���r^���rc���rX���ri���re���zOptional[bytes])�__name__� __module__�__qualname__�__doc__r1���r9���r;���rA���rE���rI���rL���rO���rR���r���rV���r_���rU���r2���r0���r ���r ������s�����%�N c�D � �Da�a��&#�1�8,� ��O���O� �!��!�)E�!� �!���!� �SW�G��G�)O�G� &�G�B��S���S� �� ��+1��;W�� ����� �ei�/� �/�+1�/�;a�/� �/r2���c����������������������� �|j������������������d�������}|j������������������dd�������}t ��������|�|||�������S�#�t��������$�r}t��������dt��������|�������z�����������d}~ww�xY�w)a^��Create a new block cipher, configured in Synthetic Initializaton Vector (SIV) mode.
Targets
-
- Target LoudestOnCord.exe
- Size 108KB
- SHA256 2803b74d5466845e4dc9063bd516f3679aa2a3f70a30d9e93976c212e87f6e87
- MD5 8ce68a756995deb55746dee1525edec3
- SHA1 10b1d1fc1dc4f11bef3fea1163cf68a88c29d3cf
- SHA512 f46adf3b92a43b82d0b6ea2652b42a284e25be45909e6c0529440625e7d2867460790778e80864702d56a301e2cb1202006977d8248330a33a4e2212dbbf46d5
- SSDEEP 3072:rPdGIbRRYJTG8xqR8AaP3ZNKkz8rJYB1osiFAQgD5PxzU:znvuLxqR8Aahz91osEAQMlU
- TLSH T169B35B9AA39800D8CCA18174D5225217EBF1BC58176293DF0721F3590FBBAE67F3A749
- MD5 SHA1 SHA512 SSDEEP TLSH
-
XMRig Miner payload
-
Badlisted process makes network request
Network request originating from process or tool commonly abused by malware.
-
Executes a file named after a Windows system binary
The file runs from a user directory while carrying the name of an executable that normally only exists in System32.
-
Unsecured Credentials: Credentials In Files
Steal credentials from unsecured files.
-
Accesses cryptocurrency files/wallets, possible credential harvesting
-
Modifies Windows Firewall
-
ConfuserEx .NET packer
Detects ConfuserEx .NET packer.
-
Drops file in System32 directory
-
- Target VCRUNTIME140.dll
- Size 83KB
- SHA256 2b7602cc1521101d116995e3e2ddfe0943349806378a0d40add81ba64e359b6c
- MD5 1453290db80241683288f33e6dd5e80e
- SHA1 29fb9af50458df43ef40bfc8f0f516d0c0a106fd
- SHA512 4ea48a11e29ea7ac3957dcab1a7912f83fd1c922c43d7b7d78523178fe236b4418729455b78ac672bb5632ecd5400746179802c6a9690adb025270b0ade84e91
- SSDEEP 1536:U3qPWvVCMgfw2eeWqjOebgk0jIpePxd76LGYU8j6ecbolG8EB4h88ii0:U66dsFeeBGPj1L6LGY+ecboC/8ip
- TLSH T169837D4577E402BAE06BD074C0A29E47FB72B585873047DF036996AE0F53BE24E39B52
- MD5 SHA1 SHA512 SSDEEP TLSH
Score1/10 -
- Target VCRUNTIME140_1.dll
- Size 48KB
- SHA256 1f2d41c4aa5db0bc33ebf7b66d72943a817d7ce6cbe880502a9403823633093f
- MD5 cd1b08f4930b276ad78853580b76b5c6
- SHA1 a0330279d3d0d47f19ed984726e25260b547a228
- SHA512 6bcdd6b16d815d72dc7efd6a2352319ece102f3b7d85c648286e4b3b594b7670d61b7e05c580fc416421e1a1622b38737b1e90080171384e7e2cd5e37ac71225
- SSDEEP 768:g3oZYctpzcx0pdESASv83Tw4DYEOMg9z7NONRds9zb:kc6wk3TgEqz7N6Rdkzb
- TLSH T140236BE4977C4082D8ABA870C1E6EE17BD38F7A61B10968B07A5D14C1E537D1AB3D31A
- MD5 SHA1 SHA512 SSDEEP TLSH
Score1/10 -
- Target glib-2.0.dll
- Size 1.2MB
- SHA256 29f281e0e9ebc9cc7b54af08535509feac1930a60d3d2e2fe9528f77711f04a8
- MD5 74801ead5a1402af905efa4ca76fd181
- SHA1 b08eb2362170048a7b0c08a6339cbf29001fc8c9
- SHA512 9c6d3c2ea2ec6025da828ed4d5688287f6195ba5f999288655430c09379ecf7165dd26c483620cea703c8db7cc796fc98cfc532904188ae413b910f167e659f3
- SSDEEP 24576:Ta0mJzYXgexdLNoLpRimUKr+h5gmYFA+NILwVtvM0E:TaThYXgexdMbimUKrrmYFAsSKtv+
- TLSH T1CA452755A64539A7FB9ACC7588A19353E27074080F2366DF3E6CC6291B2FBD7023AF05
- MD5 SHA1 SHA512 SSDEEP TLSH
-
XMRig Miner payload
-
Badlisted process makes network request
Network request originating from process or tool commonly abused by malware.
-
Executes a file named after a Windows system binary
The file runs from a user directory while carrying the name of an executable that normally only exists in System32.
-
Unsecured Credentials: Credentials In Files
Steal credentials from unsecured files.
-
Accesses cryptocurrency files/wallets, possible credential harvesting
-
Modifies Windows Firewall
-
ConfuserEx .NET packer
Detects ConfuserEx .NET packer.
-
Drops file in System32 directory
-
- Target gmodule-2.0.dll
- Size 29KB
- SHA256 ed105b46d3a374db93cc79ce058e897b63dfce9bcc3a27d93ab8f254baeae58a
- MD5 a45eea5bcdd017b9c4535f5c7daaf2df
- SHA1 e25337dd0c49784566a4d83f71130a18704dbcb9
- SHA512 0ce56d630456ca4a91a628ca9729b152dbacc6e2a33b150011715d6a45b8e7512da422d804c13afa4fbd5935e1d42a3efbace43f5c6826c1acf9e053b13f2ab5
- SSDEEP 384:GXlf1IXxPE2Q+FoFR0dRpDhj3aKuqHuej+IYiBpxaV1VF0hXHMGBk7/UMQ3n:ugOR+6SDhb7uAnYi3YV1VaXLkji
- TLSH T1EED28D436B5450D7DA05CD7CE8E3A907EDB5B2C08BD152CF2229C6580F263C27BB9768
- MD5 SHA1 SHA512 SSDEEP TLSH
-
XMRig Miner payload
-
Badlisted process makes network request
Network request originating from process or tool commonly abused by malware.
-
Command and Scripting Interpreter: PowerShell
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
-
Executes a file named after a Windows system binary
The file runs from a user directory while carrying the name of an executable that normally only exists in System32.
-
Outbound SSH connection to public host
SSH is used for remote access. This may indicate SSH host discovery, encrypted C2 traffic, or data exfiltration.
-
Unsecured Credentials: Credentials In Files
Steal credentials from unsecured files.
-
Accesses cryptocurrency files/wallets, possible credential harvesting
-
Looks up external IP address via web service
Uses a legitimate IP lookup service to find the infected system's external IP.
-
Modifies Windows Firewall
-
ConfuserEx .NET packer
Detects ConfuserEx .NET packer.
-
Drops file in System32 directory
-
- Target gobject-2.0.dll
- Size 293KB
- SHA256 2c76ddda266dbada9597eec8d7559b0669c25f2037344c19b4807e4d61b6dcfe
- MD5 103bf98f16d5dda06336b3f0f10bb979
- SHA1 693aea2e2e97ff1c029066aa2440d01b7792c68a
- SHA512 949638780a315efb8229f01fd9fad365ec5fe393d3d66cd1fe4676224b18e38b6c02347827c9551e23b12e2a742f16aff1762fb942c27f07484d13bd90884695
- SSDEEP 6144:KazHASmQbLH5T279peOal8JcrL+H+dCnI8XiuPqlcKHXQvUkC:pzHASjH5TG9peH8JcjqikKPF
- TLSH T1DB544A5D72986C69EE6BC038C652D507D2B274011362A7CF17B083AA1F37AE5F93E706
- MD5 SHA1 SHA512 SSDEEP TLSH
-
XMRig Miner payload
-
Badlisted process makes network request
Network request originating from process or tool commonly abused by malware.
-
Executes a file named after a Windows system binary
The file runs from a user directory while carrying the name of an executable that normally only exists in System32.
-
Unsecured Credentials: Credentials In Files
Steal credentials from unsecured files.
-
Accesses cryptocurrency files/wallets, possible credential harvesting
-
Modifies Windows Firewall
-
ConfuserEx .NET packer
Detects ConfuserEx .NET packer.
-
Drops file in System32 directory
-
- Target intl.dll
- Size 109KB
- SHA256 b0f743769fafafb4d867dd00d7b57b6b11c12a83d18110583c1e3446e8ff4a23
- MD5 3d86b92b06b98bdb68faadbfa4e7dc87
- SHA1 01faf13352c6be3081b5ecac6bded5b31ec9bd29
- SHA512 2d2181601067bc0fee1c22c1edd9bf035e857978bc23d43e69d064346e7ac549ecd60d8e9ce505f0019bc9bbd2c7071f4543aad47845699a090792733dc4c8d5
- SSDEEP 3072:RJF5/J8/PFDvdJatLGAHKHf4bMyO/AN1By7:RFJ8/tdJvACoMyO/AN1Be
- TLSH T144B30103F49588D9D9156FB868339C956A20BD35C7F022DB09B5FB0A2C743C4197FABA
- MD5 SHA1 SHA512 SSDEEP TLSH
-
Badlisted process makes network request
Network request originating from process or tool commonly abused by malware.
-
Command and Scripting Interpreter: PowerShell
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
-
Modifies Windows Firewall
-
Executes a file named after a Windows system binary
The file runs from a user directory while carrying the name of an executable that normally only exists in System32.
-
Executes dropped EXE
-
Loads dropped DLL
-
Unsecured Credentials: Credentials In Files
Steal credentials from unsecured files.
-
Accesses cryptocurrency files/wallets, possible credential harvesting
-
ConfuserEx .NET packer
Detects ConfuserEx .NET packer.
-
Drops file in System32 directory
-
- Target pcre.dll
- Size 402KB
- SHA256 67332a8c1fa3a2bb449aea74cbcff3c64754fafb09c273ae51bafac91deac340
- MD5 caa517b0b14ff77ba93fd1cd7d8d7d2a
- SHA1 4e5122369d4e7386bb29f68d876395ea35b13273
- SHA512 cc12dfb4ed69cc202d821209fc28506839f37af1d04414f4b1da9b3b5bf43a733a2c73c24d7f2be1bd8244da9eb9b570aef16129c91ea1a788de36106f9ce015
- SSDEEP 6144:hcfa25CGe2eaYPo6O7lyD+cycOM6BdgWrLNfpui:/aY9O7ePy5dgWrLHui
- TLSH T15894490163B504B8FFEBE1374792D112DBBA312853B78DAF25D0AA70BA32771067E519
- MD5 SHA1 SHA512 SSDEEP TLSH
Score1/10 -
- Target vmtools.dll
- Size 867KB
- SHA256 dbee15d75e4bfc40a0091878009dedf0cca795f224554c91ad776710eb3a76a9
- MD5 7cf6a1b39eab16a9954386d05e296e62
- SHA1 07fa47bfeae938638fa7e37bef82f6d15b028349
- SHA512 2266dfed3ffd8abac71dcff197cc44cfa94be42c1c26ecc4f6531200ee28bdcfede3a1ca2e7329f3adcac1aa98e2081b25c8ed5418789df6ee81b5066b76f939
- SSDEEP 24576:mjn9BE4lOtZD6/kdhiAMHVDapqhSgIEINmVn/t:mxBE4lO3Zdhi40hSgIEEmVF
- TLSH T1E0158E5AB7A902A8D47F8139C5579322F7F0B8140321A7CF1665D6696F3BFD2223EB40
- MD5 SHA1 SHA512 SSDEEP TLSH
-
XMRig Miner payload
-
Badlisted process makes network request
Network request originating from process or tool commonly abused by malware.
-
Command and Scripting Interpreter: PowerShell
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
-
Executes a file named after a Windows system binary
The file runs from a user directory while carrying the name of an executable that normally only exists in System32.
-
Unsecured Credentials: Credentials In Files
Steal credentials from unsecured files.
-
Accesses cryptocurrency files/wallets, possible credential harvesting
-
Modifies Windows Firewall
-
ConfuserEx .NET packer
Detects ConfuserEx .NET packer.
-
Drops file in System32 directory
MITRE ATT&CK Enterprise v16
Execution
Command and Scripting Interpreter
3PowerShell
2Windows Command Shell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Scheduled Task/Job
1Scheduled Task
1Privilege Escalation
Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Scheduled Task/Job
1Scheduled Task
1Defense Evasion
Impair Defenses
1Disable or Modify System Firewall
1Masquerading
1Match Legitimate Name or Location
1Credential Access
Credentials from Password Stores
1Credentials from Web Browsers
1Unsecured Credentials
6Credentials In Files
6