ac3ss0r / obfusheader.h

Obfusheader.h is a portable header file for C++14 compile-time obfuscation.
Apache License 2.0
379 stars 50 forks source link

Watermark/Fake sig doesn't apply #5

Closed LionHackerman closed 2 months ago

LionHackerman commented 2 months ago

When compiling with your test application, the watermark and fake signature features do not work. If I drop it in DetectItEasy (latest version), it doesn't show any protectors and in IDA Pro, the watermark isn't in the flow graphs.

Do I need to disable some compiler features? I've disabled whole program optimization so far...

90th commented 2 months ago

For the Fake sig ac3ss0r has already answered this. and for the watermark to show I believe you need to do some call hiding for example CALL(printf, "hello world");

fcDJilK

LionHackerman commented 2 months ago

For the Fake sig ac3ss0r has already answered this. and for the watermark to show I believe you need to do some call hiding for example CALL(printf, "hello world");

fcDJilK

I've already disabled WPO and I used the example code which includes numerous "CALL"s

90th commented 2 months ago

And did you make sure to enable it in the config?

LionHackerman commented 2 months ago

Yep. I tried with default settings, enabling most options (not kernel). Not too sure why it isn't working...

90th commented 2 months ago

qsm2t88

Works fine for me.