google-site-verification: googlebaca44933768a824.html sse mutation idea - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

sse mutation idea

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    sse mutation idea

    I was working on a mutation crap for SSE and maybe the idea might be interesting for other coders here, I got this idea years ago from a document of z0mbie and never cared to do something until today.

    The concept it's very simple and can be summarized in swapping the order of sse registers, for instance if we have movss xmm1, xmm2; sqrtss xmm1, xmm1 will be changed in
    movss xmm3, xmm5; sqrtss xmm3, xmm3 without affecting the mathematic of your routine. Obviously you have to take in account all the mmx/sse instructions ( or at least the one you use inside your code ).



    Another interesting part I've found ( only for movss instruction for now ) that can be used to change the bytes some more:
    Code:
    00401000      F30F10C1              MOVSS XMM0,XMM1
    00401000      F30F11C8              MOVSS XMM0,XMM1
    That won't stop you to permutate sse instructions too, an idea on-the-fly: xorpss xmm0, xmm0 -> subss xmm0, xmm0
Working...
X