I would like to ask you about what I think is a variation of BB'06 signature forgery¹.
Unlike BB'06 where the forged signature is valid for any pkey with e=3 the one I have is valid only for one pkey. Interesting in it is that out of the 128 bytes long signature the first 85 bytes is actually part of the pkey that I used to decrypt the message, the rest 43 is the forged part.
When decoded it gives garbage + correct ASN.1. On system with proper ASN.1 padding check the signature is invalid, on BB'06 vulnerable system the signature is valid.
Do anyone have idea which variation/method is used to produce it?
¹ Moderator note: BB'06 refers the Daniel Bleichenbacher's attack on incorrect verification of PKCS#1 V1.5 type 01 signature, which abound; see Daniel Bleichenbacher's RSA signature forgery based on implementation error (archived account by Hal Finney of Crypto 2006 rump session; alternate link); Ulrich Kühn, Andrei Pyshkin, Erik Tews, Ralf-Philipp Weinmann Variants of Bleichenbacher’s Low-Exponent Attack on PKCS#1 RSA Signatures; and yet other reports.