Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
ALLERSLIT22-Jun-10 14:34
ALLERSLIT22-Jun-10 14:34 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Richard Andrew x6422-Jun-10 14:39
professionalRichard Andrew x6422-Jun-10 14:39 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
ALLERSLIT22-Jun-10 14:44
ALLERSLIT22-Jun-10 14:44 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Richard Andrew x6422-Jun-10 14:53
professionalRichard Andrew x6422-Jun-10 14:53 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
David Crow22-Jun-10 16:04
David Crow22-Jun-10 16:04 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Stephen Hewitt22-Jun-10 18:07
Stephen Hewitt22-Jun-10 18:07 
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
MrWhiteboard23-Jun-10 5:58
MrWhiteboard23-Jun-10 5:58 
AnswerRe: Creating an executable from hexcode ( c++ ) Pin
Aescleal22-Jun-10 22:03
Aescleal22-Jun-10 22:03 
As other people have said you need something to convert the textual representation of the code back into binary again. It's a fairly pointless excercise though as it'll be the same as the original.

IF you want to do this so you can change the executable then there's going to be a few things that stand in your way:

- checksums and signatures need to be recalculated. The checksum's easy enough, the signature is going to be a bind

- You'll have to modify the executable header to take into account any change in section offsets

It's a lot hard modifying a windows executable than it was an old DOS one. This is one of the reasons why viruses are so much less prevalent under Windows and malware authors have turned their attention to Worms and Trojans.

Cheers,

Ash
GeneralRe: Creating an executable from hexcode ( c++ ) Pin
Stephen Hewitt23-Jun-10 13:27
Stephen Hewitt23-Jun-10 13:27 
QuestionNetwork byte transfer count Pin
Krishnakumartg22-Jun-10 7:53
Krishnakumartg22-Jun-10 7:53 
AnswerRe: Network byte transfer count Pin
Code-o-mat22-Jun-10 9:15
Code-o-mat22-Jun-10 9:15 
AnswerRe: Network byte transfer count Pin
Luc Pattyn22-Jun-10 9:44
sitebuilderLuc Pattyn22-Jun-10 9:44 
GeneralRe: Network byte transfer count Pin
Code-o-mat22-Jun-10 9:53
Code-o-mat22-Jun-10 9:53 
GeneralRe: Network byte transfer count Pin
Luc Pattyn22-Jun-10 9:55
sitebuilderLuc Pattyn22-Jun-10 9:55 
GeneralRe: Network byte transfer count Pin
Code-o-mat22-Jun-10 10:02
Code-o-mat22-Jun-10 10:02 
AnswerRe: Network byte transfer count Pin
Aescleal22-Jun-10 10:21
Aescleal22-Jun-10 10:21 
GeneralRe: Network byte transfer count Pin
Krishnakumartg22-Jun-10 17:50
Krishnakumartg22-Jun-10 17:50 
AnswerRe: Network byte transfer count Pin
David Crow22-Jun-10 16:06
David Crow22-Jun-10 16:06 
QuestionPausing Current Executing Thread and Until the new Thread Returns Pin
Fareed Rizkalla22-Jun-10 5:58
Fareed Rizkalla22-Jun-10 5:58 
AnswerRe: Pausing Current Executing Thread and Until the new Thread Returns PinPopular
Richard MacCutchan22-Jun-10 6:01
mveRichard MacCutchan22-Jun-10 6:01 
AnswerRe: Pausing Current Executing Thread and Until the new Thread Returns Pin
«_Superman_»22-Jun-10 6:06
professional«_Superman_»22-Jun-10 6:06 
AnswerRe: Pausing Current Executing Thread and Until the new Thread Returns Pin
El Corazon22-Jun-10 6:07
El Corazon22-Jun-10 6:07 
AnswerRe: Pausing Current Executing Thread and Until the new Thread Returns Pin
Aescleal22-Jun-10 6:15
Aescleal22-Jun-10 6:15 
GeneralRe: Pausing Current Executing Thread and Until the new Thread Returns Pin
Richard MacCutchan22-Jun-10 7:20
mveRichard MacCutchan22-Jun-10 7:20 
GeneralRe: Pausing Current Executing Thread and Until the new Thread Returns Pin
Aescleal22-Jun-10 10:17
Aescleal22-Jun-10 10:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.