BOAZ_beta icon indicating copy to clipboard operation
BOAZ_beta copied to clipboard

error execution

Open tXambe opened this issue 1 year ago • 1 comments

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

tXambe avatar Nov 21 '24 13:11 tXambe

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.

thomasxm avatar Nov 23 '24 11:11 thomasxm