Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does nothing #18

Open
FirowMD opened this issue May 20, 2024 · 7 comments
Open

Does nothing #18

FirowMD opened this issue May 20, 2024 · 7 comments

Comments

@FirowMD
Copy link

FirowMD commented May 20, 2024

Command I've used to perform:

"C:\Users\geork\Documents\Github\obfuscator\build\src\RelWithDebInfo\obfuscator.exe" C:\Users\geork\Documents\Github\obfox\test_app\AppKey\x64\Debug\AppKey.exe -pdb C:\Users\geork\Documents\Github\obfox\test_app\AppKey\x64\Debug\AppKey.pdb -f main -t ConstantCrypt -t BogusControlFlow -t DecompBreak -t Substitution -v SomeValue0 133

AppKey source code:

#include <stdio.h>
#include <string.h>


#define PASS "key01234"
#define BUFF_SIZE 0xFF

int main(void) {
	printf("Enter key: ");
	char key[BUFF_SIZE];

	fgets(key, BUFF_SIZE, stdin);
	key[sizeof(PASS) - 1] = '\0';

	if (strcmp(key, PASS) == 0) {
		printf("Correct key!\n");
	} else {
		printf("Incorrect key!\n");
	}

	getchar();
	return 0;
}

I've tried both Release and Release with debug info versions of obfuscator. Both do nothing, guess it because of exception:

image

Console output:

image

If I remove all of the transforms I want to apply to program and leave only, for example, ConstantCrypt still doesn't work.

@es3n1n
Copy link
Owner

es3n1n commented May 20, 2024

Hello,
I am not too sure what you exactly meant. Can you be more precise?
The screenshot from x64dbg you attached: were you attached to the protected binary or the obfuscator itself?
The second screenshot: after this state it just crashes?
Also please upload the binary+pdb that you were trying to process.

@FirowMD
Copy link
Author

FirowMD commented May 20, 2024

Hello, I am not too sure what you exactly meant. Can you be more precise? The screenshot from x64dbg you attached: were you attached to the protected binary or the obfuscator itself? The second screenshot: after this state it just crashes? Also please upload the binary+pdb that you were trying to process.

I mean when I run obfuscator it doesn't do something with my own binary AppKey.
You see at screenshot that I've attached x64dbg to obfuscator and it shows call stack when exception was raised.
The second screenshot - yes. After this, obfuscator just closes, nothing more will appear.

AppKey, which I've tried to obfuscate:
https://mega.nz/file/GqoS0YRK#HKAAdkZTkrN2eTSm-sqwpWmMsze4M_Okk-Ih8gRaZhI

@es3n1n
Copy link
Owner

es3n1n commented May 20, 2024

I mean when I run obfuscator it doesn't do something with my own binary AppKey. You see at screenshot that I've attached x64dbg to obfuscator and it shows call stack when exception was raised. The second screenshot - yes. After this, obfuscator just closes, nothing more will appear.

AppKey, which I've tried to obfuscate: https://mega.nz/file/GqoS0YRK#HKAAdkZTkrN2eTSm-sqwpWmMsze4M_Okk-Ih8gRaZhI

Thank you! I will take a look at it as soon as I can, however there's no ETA.

@es3n1n
Copy link
Owner

es3n1n commented May 20, 2024

in the meanwhile, @FirowMD can you please confirm that this issue remains unsolved on the dev branch?

@FirowMD
Copy link
Author

FirowMD commented May 20, 2024

in the meanwhile, @FirowMD can you please confirm that this issue remains unsolved on the dev branch?

Same

image

@FirowMD
Copy link
Author

FirowMD commented May 20, 2024

Launched via Visual Studio 2022 Debug version:

image

@es3n1n
Copy link
Owner

es3n1n commented May 20, 2024

Alright, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants