Results 1 to 15 of 15

Thread: Qt Crypter

  1. #1
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Qt Crypter

    Has any body tried to build a C++ crypter with Qt?
    Thank you.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,004 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt Crypter

    I don't understand what you really want, but do you mean something like: Qt Cryptographic Architecture (QCA)?

  3. #3
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Re: Qt Crypter

    Well,what I want is to make a Crypter..that's a program,that allows you to select an .exe virus/infected file and makes it fully undetectable(FUD)...
    There are millions of them made in VB.NET..and as I understood,they work by seeing the virus's code,encypt it(xor or something) and then recompile it(approximately like that.. )
    Maybe somebody knows?

    Look at an example here:http://img269.imageshack.us/img269/9819/41830039.png

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Crypter

    Right, so the first thing you need to learn is the PE file format and how the Windows PE loader works so you can simulate it's behavior. I'd also learn about relocatable code and how the IAT (import address table) works.

  5. #5
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Re: Qt Crypter

    Wow...nice said,but I did not get anything..lol

    Can you please give some links to thigs u mentioned?

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Crypter

    I could google some links for you, but I'm sure you'll be able to that yourself, too.

  7. #7
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Re: Qt Crypter

    Should I read bytes from an exe with the QDataStream?

  8. #8
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Crypter

    As long as the data is compatible at the raw level, then sure, you can use QDataStream to read bytes from an exe.

    Personally, I'd probably just use QFile::map.

  9. #9
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Re: Qt Crypter

    But first I need to take the bytes from an exe and save them as txt(I want a text file to contain 10101001)
    None of the tutorials I have seen does that.

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Crypter

    Sorry to butt in but since I've known these guys on the forum for quite a while I can tell you squidge is giving you subtle hints that you have no idea what you are doing and you should improve your theorethical knowledge in the domain before writing any code. No tutorials will be sufficient to understand the subject, you need to do proper research both in the domain of the problem and the tools (such as Qt) you wish to use. I have no idea why you want a text file with zeroes and ones but I'm pretty certain that if you don't know how to solve this issue, you should forget about manipulating contents of the exe file.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  11. #11
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Qt Crypter

    Or use commercial tools if you only intent to make your program difficult to reverse engineer (it's always possible to reverse engineer though, otherwise your program will never run).

  12. #12
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Crypter

    The only problem with commercial tools is that the most common ones all have unpackers written for them.

    Then again, if you write your own, it'll only be a small matter of time before someone writes an unpacker for it.

  13. #13
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Crypter

    Especially if you use xor as the obfuscating method
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  14. #14
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Re: Qt Crypter

    Quote Originally Posted by wysota View Post
    Sorry to butt in but since I've known these guys on the forum for quite a while I can tell you squidge is giving you subtle hints that you have no idea what you are doing and you should improve your theorethical knowledge in the domain before writing any code. No tutorials will be sufficient to understand the subject, you need to do proper research both in the domain of the problem and the tools (such as Qt) you wish to use. I have no idea why you want a text file with zeroes and ones but I'm pretty certain that if you don't know how to solve this issue, you should forget about manipulating contents of the exe file.
    Well,what should I read/learn to improve my knowledge?

  15. #15
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Crypter

    The PE file format may be a good start: http://msdn.microsoft.com/en-us/wind.../gg463119.aspx

    Whatever you don't understand in that document you need to learn.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.