Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3391608
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:49:19+00:00 2026-05-18T03:49:19+00:00

I have to program a simple polymorphic engine. I use linux (32-bit) and i

  • 0

I have to program a simple polymorphic engine. I use linux (32-bit) and i can code in assembly and c. I don’t know how to start.

Can you give me a schema for constructing such an engine? My idea is to make a program that:

  1. read the code section of a file
  2. encrypts it in a buffer,
  3. make space at the beginning (is it possible?) to add the decrypt routine
  4. write the new buffer inside the code section of the program.

Is that right? Does it reflect the operation of such an engine?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T03:49:20+00:00Added an answer on May 18, 2026 at 3:49 am

    The basic schema is quite different from that you’ve described. Usually only the virus body is encrypted, an not the whole code section. Consider a simple virus that either extends code section, either creates a new one for its body. Now, to make it polymorphic, you have to add encryption and make the decryptor code to be non-constant, eg:

    1) insert nops randomly (nop, add reg, 0, push reg; pop reg, etc)

    2) change the program flow with ( jmp next, clc; jc next, etc)

    3) use instructions with the same arithmetic effect (add eax, 3 -> add eax, 9; sub eax, 6)

    Polymorphic means that it could have a fixed number of encodings, so the simpliest way to create one is to break the decryptor code in several blocks, and provide several encoding with the same length for each.

    EDIT: Yes, it’s a part of the virus body. In order to use it you put all these “bricks” in the virus body, and when another file is infected, you create a random version of the decriptor for it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have simple program that emulates a board game with a number of
I have to program a simple threaded program with MFC/C++ for a uni assignment.
As part of a homework assignment, I have to program a simple chess game
I have a program that I use on several sites. It uses require('config.php'); to
I am trying to write a simple custom button in wx.Python. My code is
I have a program that uses the win32com library to control iTunes, but have
I have a program that works fine on VS2008 and Vista , but I'm
Okay, I've seen but haven't programmed in C# before. You can assume I'm competent
In the name of efficiency in game programming, some programmers do not trust several
I want to create a generic class, whose builder would not return an instance

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.