Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error execution #5

Open
tXambe opened this issue Nov 21, 2024 · 1 comment
Open

error execution #5

tXambe opened this issue Nov 21, 2024 · 1 comment

Comments

@tXambe
Copy link

tXambe commented Nov 21, 2024

Hello,

When I run

./Boaz  -f notepad.exe -o ./Mi_notepad.exe -t donut -obf -l 1 -c pluto -e uuid -g

I have this error

    ╭━━╮╱╱╱╱╱╱╱╱╱╱╱╭━━━╮╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━━━━╮╱╱╱╱╭╮
    ┃╭╮┃╱╱╱╱╱╱╱╱╱╱╱┃╭━━╯╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱┃╭╮╭╮┃╱╱╱╱┃┃
    ┃╰╯╰┳━━┳━━┳━━━╮┃╰━━┳╮╭┳━━┳━━┳┳━━┳━╮╱╰╯┃┃┣┻━┳━━┫┃
    ┃╭━╮┃╭╮┃╭╮┣━━┃┃┃╭━━┫╰╯┃╭╮┃━━╋┫╭╮┃╭╮╮╱╱┃┃┃╭╮┃╭╮┃┃
    ┃╰━╯┃╰╯┃╭╮┃┃━━┫┃╰━━╋╮╭┫╭╮┣━━┃┃╰╯┃┃┃┃╱╱┃┃┃╰╯┃╰╯┃╰╮
    ╰━━━┻━━┻╯╰┻━━━╯╰━━━╯╰╯╰╯╰┻━━┻┻━━┻╯╰╯╱╱╰╯╰━━┻━━┻━╯

                                                            
    .@@@@@@&%#%                                             
    .@@@@@@@%#(                                             
    #@@@@@@@&#((                                            
   @@@@@@@@@&&%%%                                           
    %#%%@@@@%(/*,                               ..          
    %**,,,,*****.                          #%##((////(.     
     .//***//*/                          ,%%%##(((((((#(    
   .%&%%/,,,**(#%&,                       */(##########%.   
  &@@@&&%(//   *%&@#                      ********/%%%%%    
 &@@@&%%&%(/   *%&@&,.                     *//////#&&&&#    
.@@@&&%##&%#(/ /&&&&*.                  .*  ***/(#&&&#      
 @@@@&&%%%%&&%%%&&*               ((  .(    /***.   .,,*    
   *%&&&&&%#/,                    .//,(((/(%#/(.**,.*,,,*,  
                                 /**,,/(((#&&&%, *%*******. 
                                 ,//*/%(((%&(// ....,/**//. 
                                       (*((((/////////////. 
                                              .,*//**,                                                                                 
                                                                                

          
    
Boaz mini-evasion framework is starting...

[+] Option 'input_file' is selected with argument: notepad.exe 
[+] Option 'output_file' is selected with argument: ./Mi_notepad.exe 
[+] Option 'loader' is selected with argument: 1 
[+] Option 'god_speed' is selected with argument: True 
[+] Option 'shellcode_type' is selected with argument: donut 
[+] Option 'encoding' is selected with argument: uuid 
[+] Option 'compiler' is selected with argument: pluto 
[+] Option 'obfuscate' is selected with argument: True 
[+] Option 'entropy' is selected with argument: 0 
[+] Option 'watermark' is selected with argument: 1 
Input file is not a raw shellcode ends with .bin

  [ Suagr shellcode generator v1 (built Mar  9 2024 12:43:20)
  [ Copyleft no signature!!!!

  [ Error : Cannot open file.
[+] Shellcode type used: donut
[+] Shellcode saved to: note_donut
/bin/sh: 1: cannot create note_donut: Permission denied
Traceback (most recent call last):
  File "Boaz.py", line 1344, in <module>
    print("Exiting the signing process as per user request.")
  File "Boaz.py", line 1165, in main
      File "Boaz.py", line 166, in generate_shellcode
    subprocess.run(' '.join(cmd), shell=True, check=True)
  File "subprocess.py", line 571, in run
subprocess.CalledProcessError: Command 'python3 ./encoders/bin2uuid.py note_donut.bin > note_donut' returned non-zero exit status 2.
[202656] Failed to execute script 'Boaz' due to unhandled exception!

A greeting and thanks

@thomasxm
Copy link
Owner

Where did you run the code from? Make sure ./Boaz has enough permission to save the output file "note_donut" - which is the file that contains the PIC shellcode - to the current directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants