ethical.blue Magazine

// Cybersecurity clarified.

x64 Assembly Project in Visual Studio 2022

2022-05-23   Dawid Farbaniec
...
The ethical.blue Magazine has received e-mail messages that build instructions are needed for source codes in x64 Assembly Language (MASM x64). So if you want to build Nanomites Technique from Nanomites.w32 Virus or other code samples then here we go.

First get Microsoft Visual Studio installed with Visual C++ language support. Open the environment and click Create a new project.


Select Windows Desktop Wizard. It's easy choice for creating classic Windows applications.


Set project name and source files location.


Choose Desktop Application and check Empty project field.


Add new source code file.


Name the file Main.asm.


Write MASM x64 Assembly code to Main.asm file.


In Build Dependencies and Build Customizations check the MASM field.



Right click on Main.asm and select Properties. Set Item Type to Microsoft Macro Assembler.


Open the Project Properties window and set Entry Point to Main.



Click Build and Rebuild Solution to create executable file.


Build successful.


Hope you like this tutorial.

Bibliography

https://docs.microsoft.com/en-us/cpp/assembler/masm/masm-for-x64-ml64-exe [access: 2022-05-23]

ethical.blue Appz

Categories

Archives


Donate to ethical.blue Magazine website maintenance with cryptocurrency or PayPal.

aspnet
Connections: 26

bitcoin diesel