2

I'm currently working on a crackme exercise for a GUI application using QT as practice. The application uses a server login authentication.

I can see from the logs that the application output that there should be some QML files, and some of the messages seem to be coming from QML objects.

I have no prior experience working with QT before. There is qmldir provided which lists some QML files under qrc://. After googling I know know that the QRC should be a resource file that will contain the QML files, however I have no idea where this is. How should I go about finding this?

Also I seem to be finding snippets of java code in the dll files itself which is very confusing. Is this somehow related to how QT works? Do my questions even make sense?

FYI I am using Ghidra and x96dbg to reverse the program Any pointers are greatly appreciated

1 Answer 1

1

Qt resources are stored in a pseudo-filesystem in the program itself as binary blobs of data. I'm not aware of any ready-made project to extract them from a compiled binary but you can exploit the fact that they are usually stored using zlib compression and use something like offzip to extract all zlib-compressed streams in the binary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.