LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-03-2005, 08:59 PM   #1
rcase5
Member
 
Registered: Apr 2004
Distribution: Fedora & Debian
Posts: 38

Rep: Reputation: 15
Reverse assemble code on Linux (or even MacOS X?)


Hi everyone,

I just got what I think is a Windows-based worm or spyware in one of my email inboxes. It was an otherwise blank message with a ZIP file attached. I uncompressed the ZIP file and it contains a .exe file. Since the system I received this message on is a Mac (running OS X), this was all fairly safe. I would like to transfer this file to one of my Linux systems and try to reverse-assemble the file. I'm curious as to what it is trying to do. I took classes in Assembly a long time ago, and haven't used it very much since then. This is more of an exercise than anything.

I know I could probably transfer the file to my one Windows system and use DEBUG to see what it's doing, but that's just tempting fate, and wouldn't be too bright on my part.

So, I was wondering if Linux had any tools to reverse-assemble code. I tried looking on Google and all I get are EULAs telling me not to reverse assemble the programs people are trying to sell. When I try to filter those out, I get a smattering of results ranging from reverse DNS to resumes of people who assemble computer systems for a living, along with still a few EULAs in languages other than English. But I don't get anything helpful. I would also consider a tool for MacOS X that understands x86 opcodes.

Thanks!
 
Old 06-03-2005, 09:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I was wondering if Linux had any tools to reverse-assemble code."

I have used disassemblers, but never on x86. I googled for x86 disassembler and this is the first one I found. It is called Bastard.
http://bastard.sourceforge.net/

----------------------
Steve Stites
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Burn a Linux ISO / MacOS X michaelsanford LinuxAnswers Discussion 3 08-17-2014 11:42 AM
Reverse engineering code barrythai SUSE / openSUSE 4 09-08-2005 05:29 AM
Moving Linux accounts to MacOS X server? evilchild Linux - General 1 04-09-2005 07:05 PM
MacOS vs. Linux koyi General 13 11-18-2003 11:21 PM
MacOS X and linux log Linux - General 7 11-18-2003 01:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration