intelligence_src_f9879f264b7a8ec1d7
- Source-provided label
- Publisher RSS metadata
- Evidence class
- mentioned in report
- Confidence
- Not reported
- Observed
- Oct 29, 2026 11:31 UTC
- Retrieved
- Oct 29, 2026 11:45 UTC
﷽ Introduction to Malware Binary Triage (IMBT) Course Looking to level up your skills? Get 10% off using coupon code: MWNEWS10 for any flavor. Enroll Now and Save 10%: Coupon Code MWNEWS10 Note: Affiliate link – your enrollment helps support this platform at no extra cost to you. Hello, cybersecurity enthusiasts and white hackers! In part 42, I implemented Speck to transform a payload before restoring it. In part 37 and part 38, we looked at nonlinearity, output differences, and S-box properties. Today I want to connect these ideas to a small machine-learning experiment: can a tiny neural network recognize a statistical relationship between two encrypted blocks? We will implement a reference cipher in C, build a simple statistical classifier, and train a small neural network on ciphertext pairs. The GPU experiment is intended for my NVIDIA L20. An optional final example asks a local Qwen model to explain the measurements. The target here is Speck32/64 with a configurable number of rounds. Part 42 used Speck128/128. These are different members of the same family: changing the word size also changes the rotation constants, key schedule parameters, and full round count. This PoC post includes the runnable experiment. NVIDIA L20 accuracy and timing results were obtained from an actual run on my VM. the idea Suppose we encrypt one block and then encrypt another block with a small, fixed difference in its input. After only a few rounds, that relationship may still leave a measurable pattern in the outputs. Let the first plaintext be \(P\), and choose a fixed XOR difference \(\Delta\): [P’ = P \oplus \Delta] Encrypt both blocks using the same key within that pair: [C = E_K^{(r)}(P), \qquad C’ = E_K^{(r)}(P’)] Here, \(r\) is the number of rounds. The superscript means “run the first \(r\) rounds of this cipher,” not exponentiation. We create two equally sized classes: class 1: the plaintexts have the selected difference; class 0: the plaintexts are independent uniform random blocks, encrypted under the same key within the pair. The model receives only the ciphertexts. It never receives the plaintexts, the key, or the label as an input feature. Each pair has a newly generated key. For a fixed key, encryption is a permutation of the block space. Encrypting two independent uniform inputs therefore produces two independent uniform outputs. This makes the second class a useful control, while keeping both classes on the same encryption path. Our input difference, written as two 16-bit words, is: Delta = (0x0040, 0x0000) This experiment is inspired by Aron Gohr’s research on neural distinguishers for round-reduced Speck32/64. His work studies much more sophisticated models and attacks. Here we build a smaller classifier and measure its limits; the results of that paper are not measurements of our implementation. For malware research, this is useful when reviewing a custom decoder or a modified cryptographic routine: a random-looking byte distribution does not tell us whether relationships between inputs survived the transformation. The experiment assumes that we can generate the chosen plaintext pairs. It is not a method for identifying arbitrary encrypted blobs from their bytes alone. Speck32/64 in a few equations Speck32/64 uses two 16-bit data words, a 64-bit key, and 22 rounds in its full configuration. Its rotation constants are 7 and 2. The original cipher description and test vectors are available through the designers’ publications page. One round transforms the words \((x,y)\) using a round key \(k_i\): [x’ = \left(\operatorname{ROR}_{16}(x,7) + y \pmod{2^{16}}\right) \oplus k_i] [y’ = \operatorname{ROL}_{16}(y,2) \oplus x’] Addition, rotation, XOR: this is an ARX construction. The modular addition introduces carry interactions between bits. Those interactions are one reason that examining each output bit separately can miss useful structure. The inverse round is also short: [y = \operatorname{ROR}_
5d5e3dd0671c27099080a02ff7c833c7b2e84eda53cb3238f5f9ab715028f6a9Network indicators are visibly defanged. This page does not make them clickable or send them to another service.
No validated file hashes or network indicators are stored for this record.
This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.
Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.
1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.
Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.