Bitwise-01 / Loki

Remote Access Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal error detected - Failed to execute script

sp00kyhacker opened this issue · comments

I am getting the error "failed to execute script stub2"

I followed exactly the directions on this video.

https://www.youtube.com/watch?v=aBEtwJ5gxSw

The file it generates is a bit bigger than the one in the video, I'm assuming as there's been some updates since then. It appears with the error but generates the second file "_stub2.exe" as an empty 0kb file that does nothing essentially. I'm on Windows 10 using python3.6

Also for my server setup I'm using a vpn IP with port forwarded, the server is started in the panel and loki.py is running fine. Just seems to be the builder, instead of 127.0.0.1 in the builder command I put my VPN server public IP and the port that is forwarded.

Thanks for taking the time to read!

Yeah I changed something yesterday but I didn’t test the chance because I was in a rush. I will test it today and fix the errors

Thanks brother. I'll be waiting for your reply :D I'm in no rush.

I've tried reverting the change you made yesterday from "create_persist" back to "create_task" and I still received the same error. Hopefully this helps with debugging. I also have latest .net framework, I'm not sure if that will effect things.

After waiting the delay from running the payload I generated, for testing if it connects to my server. It will appear with this error.

https://gyazo.com/3d3e009ef55c5a8faa0135d2ab256a31

The name of my executable I generated was "stub2".

I've noticed under /build/stub2/warn-stub2.txt there is a warning for a list of 15 or so modules that are missing. I used pip3.6 to install the requirements.txt and everything went successfully, so I ran into a dead end there. Not too sure where I went wrong

I just added support for Python 3.7, can you check if the problem went away

Shows a lot of libraries not found while trying to build. Also when I run pip install -r requirements.txt it shows venom 425 requires certain dependencies and that they're not installed. It keeps loading new commands then automatically clears the CMD when it finishes building so I cant stop it long enough to read what libraries exactly.

This is with using python 3.7

Yeah, it do be like that. Pyinstaller shows a lot of libraries not found errors, just ignore it

It worked! Thanks so much :D Im curious to know, on a separate note, what would be the correct compatibility type to use when crypting the payload? (vbc.exe, self inject, applaunch, cvtres, Manual Image Map, .net self inject) Those types are my main options

It's pointless encrypting the payload. It will be detected when it's decrypted

So now way to make it undetectable from AV then? Or different method?

I mean if you don't upload it to Virus-total it should stay FUD. I'll change it once it starts getting detected

Sounds good man. Thanks for all the help. And I use scanmybin

No don't

Not use any scanners

That's like the first rule

I havent used it to scan this stub, but I thought just to not use ones that distribute? Antiscan, Scanmybin, these ones don't distribute.

Okay, I just just making sure.

This program was f**king painful to write, I don't want it getting messed up

Np I paid for subscription just for these testing purposes :D Once im home im going to test it on malwarebytes, windows defender and if it gets hit im going to try couple crypting processes and obfuscate, see if it still connects and the tasks work, hopefully.

Alright.

@sp00kyhacker I added encryption to the payload. Encryption is just for transfer though, nothing else